Rocky_Mountain_Vending/.pnpm-store/v10/files/54/b7c004b65a963674caf455ef8c9cbf37fee5dab579333c50a480d0e0476ec5fea5bc4a4b459b96241e7e8d8efc6a38016fa7c8c0c8ea46845863233c5ee0be
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

30 lines
1.6 KiB
Text

import type { CacheNodeSeedData, FlightData, FlightDataPath, FlightRouterState, FlightSegmentPath, Segment, HeadData, InitialRSCPayload } from '../shared/lib/app-router-types';
export type NormalizedFlightData = {
/**
* The full `FlightSegmentPath` inclusive of the final `Segment`
*/
segmentPath: FlightSegmentPath;
/**
* The `FlightSegmentPath` exclusive of the final `Segment`
*/
pathToSegment: FlightSegmentPath;
segment: Segment;
tree: FlightRouterState;
seedData: CacheNodeSeedData | null;
head: HeadData;
isHeadPartial: boolean;
isRootRender: boolean;
};
export declare function getFlightDataPartsFromPath(flightDataPath: FlightDataPath): NormalizedFlightData;
export declare function createInitialRSCPayloadFromFallbackPrerender(response: Response, fallbackInitialRSCPayload: InitialRSCPayload): InitialRSCPayload;
export declare function getNextFlightSegmentPath(flightSegmentPath: FlightSegmentPath): FlightSegmentPath;
export declare function normalizeFlightData(flightData: FlightData): NormalizedFlightData[] | string;
/**
* This function is used to prepare the flight router state for the request.
* It removes markers that are not needed by the server, and are purely used
* for stashing state on the client.
* @param flightRouterState - The flight router state to prepare.
* @param isHmrRefresh - Whether this is an HMR refresh request.
* @returns The prepared flight router state.
*/
export declare function prepareFlightRouterStateForRequest(flightRouterState: FlightRouterState, isHmrRefresh?: boolean): string;