/
opt
/
canhelp
/
node_modules
/
next
/
dist
/
client
/
components
/
/opt/canhelp/node_modules/next/dist/client/components
mkdir
upload
Name
Size
Mode
Actions
builtin/
-
0755
rm
errors/
-
0755
rm
http-access-fallback/
-
0755
rm
metadata/
-
0755
rm
router-reducer/
-
0755
rm
segment-cache-impl/
-
0755
rm
styles/
-
0755
rm
app-router-announcer.d.ts
196
0644
edit
dl
rm
app-router-announcer.js
3352
0644
edit
dl
rm
app-router-announcer.js.map
4678
0644
edit
dl
rm
app-router-headers.d.ts
1243
0644
edit
dl
rm
app-router-headers.js
3797
0644
edit
dl
rm
app-router-headers.js.map
3110
0644
edit
dl
rm
app-router-instance.d.ts
2081
0644
edit
dl
rm
app-router-instance.js
14432
0644
edit
dl
rm
app-router-instance.js.map
21179
0644
edit
dl
rm
app-router.d.ts
932
0644
edit
dl
rm
app-router.js
24987
0644
edit
dl
rm
app-router.js.map
34863
0644
edit
dl
rm
bailout-to-client-rendering.d.ts
80
0644
edit
dl
rm
bailout-to-client-rendering.js
1877
0644
edit
dl
rm
bailout-to-client-rendering.js.map
1665
0644
edit
dl
rm
bfcache.d.ts
1397
0644
edit
dl
rm
bfcache.js
4035
0644
edit
dl
rm
bfcache.js.map
6376
0644
edit
dl
rm
client-page.d.ts
876
0644
edit
dl
rm
client-page.js
2603
0644
edit
dl
rm
client-page.js.map
3907
0644
edit
dl
rm
client-segment.d.ts
842
0644
edit
dl
rm
client-segment.js
2192
0644
edit
dl
rm
client-segment.js.map
3087
0644
edit
dl
rm
dev-root-http-access-fallback-boundary.d.ts
230
0644
edit
dl
rm
dev-root-http-access-fallback-boundary.js
1862
0644
edit
dl
rm
dev-root-http-access-fallback-boundary.js.map
1290
0644
edit
dl
rm
error-boundary.d.ts
1566
0644
edit
dl
rm
error-boundary.js
5499
0644
edit
dl
rm
error-boundary.js.map
7409
0644
edit
dl
rm
forbidden.d.ts
44
0644
edit
dl
rm
forbidden.js
2077
0644
edit
dl
rm
forbidden.js.map
1986
0644
edit
dl
rm
handle-isr-error.d.ts
78
0644
edit
dl
rm
handle-isr-error.js
1085
0644
edit
dl
rm
handle-isr-error.js.map
1295
0644
edit
dl
rm
hooks-server-context.d.ts
326
0644
edit
dl
rm
hooks-server-context.js
1352
0644
edit
dl
rm
hooks-server-context.js.map
1182
0644
edit
dl
rm
is-next-router-error.d.ts
431
0644
edit
dl
rm
is-next-router-error.js
886
0644
edit
dl
rm
is-next-router-error.js.map
899
0644
edit
dl
rm
layout-router.d.ts
999
0644
edit
dl
rm
layout-router.js
27947
0644
edit
dl
rm
layout-router.js.map
37701
0644
edit
dl
rm
links.d.ts
2241
0644
edit
dl
rm
links.js
14053
0644
edit
dl
rm
links.js.map
21056
0644
edit
dl
rm
match-segments.d.ts
154
0644
edit
dl
rm
match-segments.js
1054
0644
edit
dl
rm
match-segments.js.map
1045
0644
edit
dl
rm
nav-failure-handler.d.ts
123
0644
edit
dl
rm
nav-failure-handler.js
2492
0644
edit
dl
rm
nav-failure-handler.js.map
2868
0644
edit
dl
rm
navigation-untracked.d.ts
11
0644
edit
dl
rm
navigation-untracked.js
2607
0644
edit
dl
rm
navigation-untracked.js.map
3349
0644
edit
dl
rm
navigation.d.ts
4635
0644
edit
dl
rm
navigation.js
7942
0644
edit
dl
rm
navigation.js.map
12713
0644
edit
dl
rm
navigation.react-server.d.ts
1238
0644
edit
dl
rm
navigation.react-server.js
3501
0644
edit
dl
rm
navigation.react-server.js.map
2838
0644
edit
dl
rm
noop-head.d.ts
42
0644
edit
dl
rm
noop-head.js
607
0644
edit
dl
rm
noop-head.js.map
249
0644
edit
dl
rm
not-found.d.ts
43
0644
edit
dl
rm
not-found.js
1888
0644
edit
dl
rm
not-found.js.map
1750
0644
edit
dl
rm
promise-queue.d.ts
192
0644
edit
dl
rm
promise-queue.js
4274
0644
edit
dl
rm
promise-queue.js.map
3607
0644
edit
dl
rm
redirect-boundary.d.ts
776
0644
edit
dl
rm
redirect-boundary.js
3270
0644
edit
dl
rm
redirect-boundary.js.map
3975
0644
edit
dl
rm
redirect-error.d.ts
633
0644
edit
dl
rm
redirect-error.js
1819
0644
edit
dl
rm
redirect-error.js.map
2124
0644
edit
dl
rm
redirect-status-code.d.ts
120
0644
edit
dl
rm
redirect-status-code.js
967
0644
edit
dl
rm
redirect-status-code.js.map
330
0644
edit
dl
rm
redirect.d.ts
2469
0644
edit
dl
rm
redirect.js
3746
0644
edit
dl
rm
redirect.js.map
5919
0644
edit
dl
rm
render-from-template-context.d.ts
100
0644
edit
dl
rm
render-from-template-context.js
1170
0644
edit
dl
rm
render-from-template-context.js.map
645
0644
edit
dl
rm
segment-cache.d.ts
3498
0644
edit
dl
rm
segment-cache.js
7611
0644
edit
dl
rm
segment-cache.js.map
8946
0644
edit
dl
rm
static-generation-bailout.d.ts
205
0644
edit
dl
rm
static-generation-bailout.js
1302
0644
edit
dl
rm
static-generation-bailout.js.map
926
0644
edit
dl
rm
unauthorized.d.ts
47
0644
edit
dl
rm
unauthorized.js
2110
0644
edit
dl
rm
unauthorized.js.map
2018
0644
edit
dl
rm
unrecognized-action-error.d.ts
790
0644
edit
dl
rm
unrecognized-action-error.js
1244
0644
edit
dl
rm
unrecognized-action-error.js.map
1502
0644
edit
dl
rm
unresolved-thenable.d.ts
183
0644
edit
dl
rm
unresolved-thenable.js
769
0644
edit
dl
rm
unresolved-thenable.js.map
450
0644
edit
dl
rm
unstable-rethrow.browser.d.ts
64
0644
edit
dl
rm
unstable-rethrow.browser.js
1011
0644
edit
dl
rm
unstable-rethrow.browser.js.map
832
0644
edit
dl
rm
unstable-rethrow.d.ts
591
0644
edit
dl
rm
unstable-rethrow.js
1250
0644
edit
dl
rm
unstable-rethrow.js.map
1122
0644
edit
dl
rm
unstable-rethrow.server.d.ts
64
0644
edit
dl
rm
unstable-rethrow.server.js
1521
0644
edit
dl
rm
unstable-rethrow.server.js.map
1505
0644
edit
dl
rm
use-action-queue.d.ts
330
0644
edit
dl
rm
use-action-queue.js
2903
0644
edit
dl
rm
use-action-queue.js.map
3300
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/next/dist/client/components/segment-cache.d.ts
(3498B)
/** * Entry point to the Segment Cache implementation. * * All code related to the Segment Cache lives `segment-cache-impl` directory. * Callers access it through this indirection. * * This is to ensure the code is dead code eliminated from the bundle if the * flag is disabled. * * TODO: This is super tedious. Since experimental flags are an essential part * of our workflow, we should establish a better pattern for dead code * elimination. Ideally it would be done at the bundler level, like how React's * build process works. In the React repo, you don't even need to add any extra * configuration per experiment — if the code is not reachable, it gets stripped * from the build automatically by Rollup. Or, shorter term, we could stub out * experimental modules at build time by updating the build config, i.e. a more * automated version of what I'm doing manually in this file. */ export type { NavigationResult } from './segment-cache-impl/navigation'; export type { PrefetchTask } from './segment-cache-impl/scheduler'; export type { NormalizedSearch } from './segment-cache-impl/cache-key'; export declare const prefetch: typeof import('./segment-cache-impl/prefetch').prefetch; export declare const navigate: typeof import('./segment-cache-impl/navigation').navigate; export declare const revalidateEntireCache: typeof import('./segment-cache-impl/cache').revalidateEntireCache; export declare const getCurrentCacheVersion: typeof import('./segment-cache-impl/cache').getCurrentCacheVersion; export declare const schedulePrefetchTask: typeof import('./segment-cache-impl/scheduler').schedulePrefetchTask; export declare const cancelPrefetchTask: typeof import('./segment-cache-impl/scheduler').cancelPrefetchTask; export declare const reschedulePrefetchTask: typeof import('./segment-cache-impl/scheduler').reschedulePrefetchTask; export declare const isPrefetchTaskDirty: typeof import('./segment-cache-impl/scheduler').isPrefetchTaskDirty; export declare const createCacheKey: typeof import('./segment-cache-impl/cache-key').createCacheKey; /** * Below are public constants. They're small enough that we don't need to * DCE them. */ export declare const enum NavigationResultTag { MPA = 0, Success = 1, NoOp = 2, Async = 3 } /** * The priority of the prefetch task. Higher numbers are higher priority. */ export declare const enum PrefetchPriority { /** * Assigned to the most recently hovered/touched link. Special network * bandwidth is reserved for this task only. There's only ever one Intent- * priority task at a time; when a new Intent task is scheduled, the previous * one is bumped down to Default. */ Intent = 2, /** * The default priority for prefetch tasks. */ Default = 1, /** * Assigned to tasks when they spawn non-blocking background work, like * revalidating a partially cached entry to see if more data is available. */ Background = 0 } export declare const enum FetchStrategy { LoadingBoundary = 0, PPR = 1, PPRRuntime = 2, Full = 3 } /** * A subset of fetch strategies used for prefetch tasks. * A prefetch task can't know if it should use `PPR` or `LoadingBoundary` * until we complete the initial tree prefetch request, so we use `PPR` to signal both cases * and adjust it based on the route when actually fetching. * */ export type PrefetchTaskFetchStrategy = FetchStrategy.PPR | FetchStrategy.PPRRuntime | FetchStrategy.Full;
Save
cmd:
run