.
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import type { Segment as FlightRouterStateSegment } from '../app-router-types';
|
||||
type Opaque<K, T> = T & {
|
||||
__brand: K;
|
||||
};
|
||||
export type SegmentRequestKeyPart = Opaque<'SegmentRequestKeyPart', string>;
|
||||
export type SegmentRequestKey = Opaque<'SegmentRequestKey', string>;
|
||||
export declare const ROOT_SEGMENT_REQUEST_KEY: SegmentRequestKey;
|
||||
export declare const HEAD_REQUEST_KEY: SegmentRequestKey;
|
||||
export declare function createSegmentRequestKeyPart(segment: FlightRouterStateSegment): SegmentRequestKeyPart;
|
||||
export declare function appendSegmentRequestKeyPart(parentRequestKey: SegmentRequestKey, parallelRouteKey: string, childRequestKeyPart: SegmentRequestKeyPart): SegmentRequestKey;
|
||||
export declare function convertSegmentPathToStaticExportFilename(segmentPath: string): string;
|
||||
export {};
|
||||
Reference in New Issue
Block a user