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>
13 lines
494 B
Text
13 lines
494 B
Text
import type { DynamicParamTypes } from '../../app-router-types';
|
|
/**
|
|
* Parse dynamic route segment to type of parameter
|
|
*/
|
|
export declare function getSegmentParam(segment: string): {
|
|
param: string;
|
|
type: DynamicParamTypes;
|
|
} | null;
|
|
export declare function isCatchAll(type: DynamicParamTypes): type is 'catchall' | 'catchall-intercepted' | 'optional-catchall';
|
|
export declare function getParamProperties(paramType: DynamicParamTypes): {
|
|
repeat: boolean;
|
|
optional: boolean;
|
|
};
|