This commit is contained in:
2026-07-31 23:21:51 +02:00
parent f6b4b36df8
commit f14f2cfd98
294 changed files with 5880 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import type { Config } from 'payload';
import type { SeoOption } from './types.js';
/**
* Injects the auto-fill meta hook into every SEO-enabled collection.
*
* Runs after @payloadcms/plugin-seo has added the meta group, appending a
* beforeChange hook that fills empty meta from document content. Existing
* hooks are preserved (plugin hook runs last, so editor input and other hooks
* win first).
*/
export declare function injectAutoFillMeta(config: Config, seo: SeoOption): Config;