Rocky_Mountain_Vending/.pnpm-store/v10/files/30/d720a62b67433872f389030a5d6bc836bdedd9fde08fa3a4b54f4654cec0dce19106bbd0e4424d8878b57914762a77d7d23e2609eff706fab11b337da49613
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

86 lines
2.3 KiB
Text

export type Prefetch = StaticPrefetch | RuntimePrefetch;
export type PrefetchForTypeCheckInternal = __GenericPrefetch | Prefetch;
interface __GenericPrefetch {
mode: string;
samples?: Array<WideRuntimeSample>;
from?: string[];
expectUnableToVerify?: boolean;
}
interface StaticPrefetch {
mode: 'static';
from?: string[];
expectUnableToVerify?: boolean;
}
interface RuntimePrefetch {
mode: 'runtime';
samples: Array<RuntimeSample>;
from?: string[];
expectUnableToVerify?: boolean;
}
type WideRuntimeSample = {
cookies?: RuntimeSample['cookies'];
headers?: Array<string[]>;
params?: RuntimeSample['params'];
searchParams?: RuntimeSample['searchParams'];
};
type RuntimeSample = {
cookies?: Array<{
name: string;
value: string;
httpOnly?: boolean;
path?: string;
}>;
headers?: Array<[string, string]>;
params?: {
[key: string]: string | string[];
};
searchParams?: {
[key: string]: string | string[] | undefined;
};
};
/**
* Parse the app segment config.
* @param data - The data to parse.
* @param route - The route of the app.
* @returns The parsed app segment config.
*/
export declare function parseAppSegmentConfig(data: unknown, route: string): AppSegmentConfig;
/**
* The configuration for a page.
*/
export type AppSegmentConfig = {
/**
* The revalidation period for the page in seconds, or false to disable ISR.
*/
revalidate?: number | false;
/**
* Whether the page supports dynamic parameters.
*/
dynamicParams?: boolean;
/**
* The dynamic behavior of the page.
*/
dynamic?: 'auto' | 'error' | 'force-static' | 'force-dynamic';
/**
* The caching behavior of the page.
*/
fetchCache?: 'auto' | 'default-cache' | 'default-no-store' | 'force-cache' | 'force-no-store' | 'only-cache' | 'only-no-store';
/**
* How this segment should be prefetched.
* (only applicable when `clientSegmentCache` is enabled)
*/
unstable_prefetch?: Prefetch;
/**
* The preferred region for the page.
*/
preferredRegion?: string | string[];
/**
* The runtime to use for the page.
*/
runtime?: 'edge' | 'nodejs';
/**
* The maximum duration for the page in seconds.
*/
maxDuration?: number;
};
export {};