@payloadcms/plugin-seo
Version:
SEO plugin for Payload
34 lines • 859 B
TypeScript
import type { UIField } from 'payload';
interface FieldFunctionProps {
descriptionOverrides?: {
maxLength?: number;
minLength?: number;
};
/**
* Path to the description field to use for the preview
*
* @default 'meta.description'
*/
descriptionPath?: string;
/**
* Path to the image field to use for the preview
*
* @default 'meta.image'
*/
imagePath?: string;
overrides?: Partial<UIField>;
titleOverrides?: {
maxLength?: number;
minLength?: number;
};
/**
* Path to the title field to use for the preview
*
* @default 'meta.title'
*/
titlePath?: string;
}
type FieldFunction = ({ overrides }: FieldFunctionProps) => UIField;
export declare const OverviewField: FieldFunction;
export {};
//# sourceMappingURL=index.d.ts.map