Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
39
node_modules/next/dist/build/segment-config/pages/pages-segment-config.d.ts
generated
vendored
Normal file
39
node_modules/next/dist/build/segment-config/pages/pages-segment-config.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/**
|
||||
* Parse the page segment config.
|
||||
* @param data - The data to parse.
|
||||
* @param route - The route of the page.
|
||||
* @returns The parsed page segment config.
|
||||
*/
|
||||
export declare function parsePagesSegmentConfig(data: unknown, route: string): PagesSegmentConfig;
|
||||
export type PagesSegmentConfigConfig = {
|
||||
/**
|
||||
* Enables AMP for the page.
|
||||
*/
|
||||
amp?: boolean | 'hybrid';
|
||||
/**
|
||||
* The maximum duration for the page render.
|
||||
*/
|
||||
maxDuration?: number;
|
||||
/**
|
||||
* The runtime to use for the page.
|
||||
*/
|
||||
runtime?: 'edge' | 'experimental-edge' | 'nodejs';
|
||||
/**
|
||||
* The preferred region for the page.
|
||||
*/
|
||||
regions?: string[];
|
||||
};
|
||||
export type PagesSegmentConfig = {
|
||||
/**
|
||||
* The runtime to use for the page.
|
||||
*/
|
||||
runtime?: 'edge' | 'experimental-edge' | 'nodejs';
|
||||
/**
|
||||
* The maximum duration for the page render.
|
||||
*/
|
||||
maxDuration?: number;
|
||||
/**
|
||||
* The exported config object for the page.
|
||||
*/
|
||||
config?: PagesSegmentConfigConfig;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue