Files
vue-seo-layer/server/seo-routes.d.ts
Jakub Zych 7a26692001 feat: the route report sends the noindex static paths (tracer)
- noindexStaticRoutes: requiresAuth, noindex/none seo.robots and static
  pages under seo.noindexRoutes, i18n copies included, never patterns or
  the layer's HTML sitemap pages (G1, gap-2 contract)
- #seo-routes exports noindexPaths; routeReportBody(paths, noindex) answers
  {routes, noindex} with the same limits and keeps the JSON body within the
  older plugin's 4,113,024 bytes, dropping noindex entries first
- smoke grammar noindex= and lacksnoindex=; README carries the contract
2026-11-04 22:40:38 +01:00

11 lines
512 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 }>
/** Static paths the build serves noindex (the route report's noindex list, G1). */
export const noindexPaths: string[]
}