Rocky_Mountain_Vending/.pnpm-store/v10/files/02/fbca601b50219ad99cc838d33bb502f7a76746e5c257606ddc8583d0709ddbd1c2989202e04e5a9fc2137118443447ad7d9f4f6a8256f99161a10d7f3e91e0
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

40 lines
1.7 KiB
Text

import type { Params } from '../../../server/request/params';
import type { AppPageRouteModule } from '../../../server/route-modules/app-page/module.compiled';
import type { AppRouteRouteModule } from '../../../server/route-modules/app-route/module.compiled';
import { type AppSegmentConfig } from './app-segment-config';
import type { FallbackRouteParam } from '../../static-paths/types';
import type { DynamicParamTypes } from '../../../shared/lib/app-router-types';
type GenerateStaticParams = (options: {
params?: Params;
}) => Promise<Params[]>;
export type AppSegment = {
name: string;
paramName: string | undefined;
paramType: DynamicParamTypes | undefined;
filePath: string | undefined;
config: AppSegmentConfig | undefined;
isDynamicSegment: boolean;
generateStaticParams: GenerateStaticParams | undefined;
/**
* Whether this segment is a parallel route segment or descends from a
* parallel route segment.
*/
isParallelRouteSegment: boolean | undefined;
};
/**
* Collects the segments for a given route module.
*
* @param components the loaded components
* @returns the segments for the route module
*/
export declare function collectSegments(routeModule: AppRouteRouteModule | AppPageRouteModule): Promise<AppSegment[]> | AppSegment[];
/**
* Collects the fallback route params for a given app page route module. This is
* a variant of the `collectSegments` function that only collects the fallback
* route params without importing anything.
*
* @param routeModule the app page route module
* @returns the fallback route params for the app page route module
*/
export declare function collectFallbackRouteParams(routeModule: AppPageRouteModule): readonly FallbackRouteParam[];
export {};