Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
19
node_modules/next/dist/lib/metadata/get-metadata-route.d.ts
generated
vendored
Normal file
19
node_modules/next/dist/lib/metadata/get-metadata-route.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* 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, lastSegment: 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;
|
||||
export declare function normalizeMetadataPageToRoute(page: string, isDynamic: boolean): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue