- the module writes #seo-routes (static paths and route patterns) from the resolved pages; options seo.routeReport, seo.pagination and seo.htmlSitemap reach the public runtime config - seo-route-report: POST /registry/routes once per process with the route-report token, one retry after 60 s on failure, nothing without a token, with the layer off or with routeReport false - seo-drift: one "[vue-seo-layer] drift:" warning per mismatch between the CMS's site answer (URL patterns, pagination, HTML sitemap paths) and the build - GET /api/__seo__/site and useSeoSite() - smoke grammar routereport and log, fixture registry route, drift run
9 lines
388 B
TypeScript
9 lines
388 B
TypeScript
// The server template the layer's module writes from the resolved pages
|
|
// (lib/routes.ts, addServerTemplate).
|
|
declare module '#seo-routes' {
|
|
/** Paths without parameters that may be indexed (the route report). */
|
|
export const staticRoutes: string[]
|
|
/** Every page's route pattern (the drift check). */
|
|
export const routePatterns: Array<{ pattern: string; catchAll: boolean }>
|
|
}
|