type
Config
Resource selectors, layout, field overrides, and executable generation callbacks.
Members
| Property | Type | Description |
|---|---|---|
Collections | []schema.CollectionSlug | Collections receiving automatic SEO field injection. |
Globals | []schema.CollectionSlug | Globals receiving automatic SEO field injection. |
UploadsCollection | schema.CollectionSlug | Upload-enabled collection used by the optional meta image. |
TabbedUI | bool | Place the meta group in a Payload-familiar SEO tab. |
Fields | FieldsOverride | Optional complete field-list replacement. |
GenerateTitle | GenerateText | Optional title generator. |
GenerateDescription | GenerateText | Optional description generator. |
GenerateImage | GenerateImage | Optional upload-ID generator. |
GenerateURL | GenerateText | Optional result-preview URL generator. |
Full signature
type Config struct {
Collections []schema.CollectionSlug
Globals []schema.CollectionSlug
UploadsCollection schema.CollectionSlug
TabbedUI bool
Fields FieldsOverride
GenerateTitle GenerateText
GenerateDescription GenerateText
GenerateImage GenerateImage
GenerateURL GenerateText
}