Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
21
node_modules/next/dist/client/flight-data-helpers.d.ts
generated
vendored
Normal file
21
node_modules/next/dist/client/flight-data-helpers.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import type { CacheNodeSeedData, FlightData, FlightDataPath, FlightRouterState, FlightSegmentPath, Segment } from '../server/app-render/types';
|
||||
import type { HeadData } from '../shared/lib/app-router-context.shared-runtime';
|
||||
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 getNextFlightSegmentPath(flightSegmentPath: FlightSegmentPath): FlightSegmentPath;
|
||||
export declare function normalizeFlightData(flightData: FlightData): NormalizedFlightData[] | string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue