export interface Breadcrumb { doc: string; label: string; url?: string; } export type GenerateURL = (docs: Array>, currentDoc: Record) => string; export type GenerateLabel = (docs: Array>, currentDoc: Record) => string; export interface PluginConfig { /** * Should be supplied if using an alternative field name for the 'breadcrumbs' field in collections */ breadcrumbsFieldSlug?: string; /** * The slugs of the collections this plugin should extend. If you need different configs for different collections, this plugin can be added to your config more than once having different collections. */ collections: string[]; generateLabel?: GenerateLabel; generateURL?: GenerateURL; /** * Should be supplied if using an alternative field name for the 'parent' field in collections */ parentFieldSlug?: string; } //# sourceMappingURL=types.d.ts.map