Initial boiler plate project
This commit is contained in:
18
node_modules/next/dist/lib/metadata/get-metadata-route.d.ts
generated
vendored
Normal file
18
node_modules/next/dist/lib/metadata/get-metadata-route.d.ts
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Fill the dynamic segment in the metadata route
|
||||
*
|
||||
* Example:
|
||||
* fillMetadataSegment('/a/[slug]', { params: { slug: 'b' } }, 'open-graph') -> '/a/b/open-graph'
|
||||
*
|
||||
*/
|
||||
export declare function fillMetadataSegment(segment: string, params: any, imageSegment: string): string;
|
||||
/**
|
||||
* Map metadata page key to the corresponding route
|
||||
*
|
||||
* static file page key: /app/robots.txt -> /robots.xml -> /robots.txt/route
|
||||
* dynamic route page key: /app/robots.tsx -> /robots -> /robots.txt/route
|
||||
*
|
||||
* @param page
|
||||
* @returns
|
||||
*/
|
||||
export declare function normalizeMetadataRoute(page: string): string;
|
||||
Reference in New Issue
Block a user