rag-context-optimizer / frontend /node_modules /next /dist /shared /lib /segment-cache /segment-value-encoding.d.ts
Download frontend/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.d.ts
-
curl -L -o segment-value-encoding.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.d.ts
1.26 kB
| import type { Segment as FlightRouterStateSegment } from '../../../server/app-render/types'; | |
| type Opaque<K, T> = T & { | |
| __brand: K; | |
| }; | |
| export type SegmentRequestKeyPart = Opaque<'SegmentRequestKeyPart', string>; | |
| export type SegmentRequestKey = Opaque<'SegmentRequestKey', string>; | |
| export type SegmentCacheKeyPart = Opaque<'SegmentCacheKeyPart', string>; | |
| export type SegmentCacheKey = Opaque<'SegmentCacheKey', string>; | |
| export declare const ROOT_SEGMENT_REQUEST_KEY: SegmentRequestKey; | |
| export declare const ROOT_SEGMENT_CACHE_KEY: SegmentCacheKey; | |
| export declare function createSegmentRequestKeyPart(segment: FlightRouterStateSegment): SegmentRequestKeyPart; | |
| export declare function appendSegmentRequestKeyPart(parentRequestKey: SegmentRequestKey, parallelRouteKey: string, childRequestKeyPart: SegmentRequestKeyPart): SegmentRequestKey; | |
| export declare function createSegmentCacheKeyPart(requestKeyPart: SegmentRequestKeyPart, segment: FlightRouterStateSegment): SegmentCacheKeyPart; | |
| export declare function appendSegmentCacheKeyPart(parentSegmentKey: SegmentCacheKey, parallelRouteKey: string, childCacheKeyPart: SegmentCacheKeyPart): SegmentCacheKey; | |
| export declare function convertSegmentPathToStaticExportFilename(segmentPath: string): string; | |
| export {}; | |