/opt/canhelp/node_modules/next/dist/client/components/segment-cache-impl
NameSizeModeActions
cache-key.d.ts5090644editdlrm
cache-key.js8770644editdlrm
cache-key.js.map14070644editdlrm
cache.d.ts92220644editdlrm
cache.js757180644editdlrm
cache.js.map1189340644editdlrm
lru.d.ts3490644editdlrm
lru.js40920644editdlrm
lru.js.map61180644editdlrm
navigation.d.ts16140644editdlrm
navigation.js178550644editdlrm
navigation.js.map286640644editdlrm
prefetch.d.ts16380644editdlrm
prefetch.js11990644editdlrm
prefetch.js.map28400644editdlrm
scheduler.d.ts55640644editdlrm
scheduler.js469350644editdlrm
scheduler.js.map736450644editdlrm
tuple-map.d.ts8580644editdlrm
tuple-map.js55220644editdlrm
tuple-map.js.map85030644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/client/components/segment-cache-impl/navigation.d.ts (1614B)
import type { FlightRouterState, FlightSegmentPath } from '../../../server/app-render/types'; import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime'; import { NavigationResultTag } from '../segment-cache'; type MPANavigationResult = { tag: NavigationResultTag.MPA; data: string; }; type NoOpNavigationResult = { tag: NavigationResultTag.NoOp; data: { canonicalUrl: string; shouldScroll: boolean; }; }; type SuccessfulNavigationResult = { tag: NavigationResultTag.Success; data: { flightRouterState: FlightRouterState; cacheNode: CacheNode; canonicalUrl: string; scrollableSegments: Array; shouldScroll: boolean; hash: string; }; }; type AsyncNavigationResult = { tag: NavigationResultTag.Async; data: Promise; }; export type NavigationResult = MPANavigationResult | SuccessfulNavigationResult | NoOpNavigationResult | AsyncNavigationResult; /** * Navigate to a new URL, using the Segment Cache to construct a response. * * To allow for synchronous navigations whenever possible, this is not an async * function. It returns a promise only if there's no matching prefetch in * the cache. Otherwise it returns an immediate result and uses Suspense/RSC to * stream in any missing data. */ export declare function navigate(url: URL, currentCacheNode: CacheNode, currentFlightRouterState: FlightRouterState, nextUrl: string | null, shouldScroll: boolean): NavigationResult; export {};