Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
933 B
Text
35 lines
933 B
Text
/**
|
|
* 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 = {
|
|
/**
|
|
* 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;
|
|
};
|