Files
payloadcms/docs
Paul 25d368a7db feat(plugin-seo): export fields from plugin seo so that they can be imported freely in a collection fields config (#6996)
Exports the fields from the SEO plugin so that they can be used anywhere
inside a collection, new exports:

```ts
import { MetaDescriptionField, MetaImageField, MetaTitleField, OverviewField, PreviewField } from '@payloadcms/plugin-seo/fields'

// Used as fields
MetaImageField({
  relationTo: 'media',
  hasGenerateFn: true,
})

MetaDescriptionField({
  hasGenerateFn: true,
})

MetaTitleField({
  hasGenerateFn: true,
})

PreviewField({
  hasGenerateFn: true,
  titlePath: 'meta.title',
  descriptionPath: 'meta.description',
})

OverviewField({
  titlePath: 'meta.title',
  descriptionPath: 'meta.description',
  imagePath: 'meta.image',
})

```
2024-07-02 09:53:52 -04:00
..
2024-06-24 13:17:50 -04:00
2024-06-25 10:38:12 -04:00
2024-05-13 10:29:59 -04:00
2024-06-27 21:22:01 +00:00
2024-06-24 14:12:50 -04:00
2024-06-24 13:57:01 -04:00
2024-05-13 10:29:59 -04:00
2024-05-13 10:29:59 -04:00
2024-05-13 10:29:59 -04:00
2024-06-24 13:17:50 -04:00