/
opt
/
canhelp
/
node_modules
/
next
/
dist
/
server
/
app-render
/
/opt/canhelp/node_modules/next/dist/server/app-render
mkdir
upload
Name
Size
Mode
Actions
metadata-insertion/
-
0755
rm
module-loading/
-
0755
rm
rsc/
-
0755
rm
action-async-storage-instance.d.ts
144
0644
edit
dl
rm
action-async-storage-instance.js
446
0644
edit
dl
rm
action-async-storage-instance.js.map
502
0644
edit
dl
rm
action-async-storage.external.d.ts
359
0644
edit
dl
rm
action-async-storage.external.js
399
0644
edit
dl
rm
action-async-storage.external.js.map
704
0644
edit
dl
rm
action-handler.d.ts
1807
0644
edit
dl
rm
action-handler.js
48691
0644
edit
dl
rm
action-handler.js.map
68350
0644
edit
dl
rm
action-utils.d.ts
518
0644
edit
dl
rm
action-utils.js
3867
0644
edit
dl
rm
action-utils.js.map
5488
0644
edit
dl
rm
after-task-async-storage-instance.d.ts
157
0644
edit
dl
rm
after-task-async-storage-instance.js
459
0644
edit
dl
rm
after-task-async-storage-instance.js.map
522
0644
edit
dl
rm
after-task-async-storage.external.d.ts
649
0644
edit
dl
rm
after-task-async-storage.external.js
419
0644
edit
dl
rm
after-task-async-storage.external.js.map
971
0644
edit
dl
rm
app-render-prerender-utils.d.ts
1889
0644
edit
dl
rm
app-render-prerender-utils.js
7252
0644
edit
dl
rm
app-render-prerender-utils.js.map
10883
0644
edit
dl
rm
app-render-render-utils.d.ts
335
0644
edit
dl
rm
app-render-render-utils.js
1152
0644
edit
dl
rm
app-render-render-utils.js.map
1608
0644
edit
dl
rm
app-render.d.ts
4106
0644
edit
dl
rm
app-render.js
165965
0644
edit
dl
rm
app-render.js.map
240673
0644
edit
dl
rm
async-local-storage.d.ts
316
0644
edit
dl
rm
async-local-storage.js
2071
0644
edit
dl
rm
async-local-storage.js.map
2799
0644
edit
dl
rm
cache-signal.d.ts
1279
0644
edit
dl
rm
cache-signal.js
5984
0644
edit
dl
rm
cache-signal.js.map
8141
0644
edit
dl
rm
collect-segment-data.d.ts
1125
0644
edit
dl
rm
collect-segment-data.js
13386
0644
edit
dl
rm
collect-segment-data.js.map
22382
0644
edit
dl
rm
create-component-styles-and-scripts.d.ts
410
0644
edit
dl
rm
create-component-styles-and-scripts.js
1689
0644
edit
dl
rm
create-component-styles-and-scripts.js.map
2420
0644
edit
dl
rm
create-component-tree.d.ts
1030
0644
edit
dl
rm
create-component-tree.js
41700
0644
edit
dl
rm
create-component-tree.js.map
59353
0644
edit
dl
rm
create-error-handler.d.ts
1390
0644
edit
dl
rm
create-error-handler.js
10386
0644
edit
dl
rm
create-error-handler.js.map
14097
0644
edit
dl
rm
create-flight-router-state-from-loader-tree.d.ts
500
0644
edit
dl
rm
create-flight-router-state-from-loader-tree.js
3821
0644
edit
dl
rm
create-flight-router-state-from-loader-tree.js.map
5715
0644
edit
dl
rm
csrf-protection.d.ts
104
0644
edit
dl
rm
csrf-protection.js
3021
0644
edit
dl
rm
csrf-protection.js.map
3937
0644
edit
dl
rm
dynamic-access-async-storage-instance.d.ts
163
0644
edit
dl
rm
dynamic-access-async-storage-instance.js
475
0644
edit
dl
rm
dynamic-access-async-storage-instance.js.map
536
0644
edit
dl
rm
dynamic-access-async-storage.external.d.ts
393
0644
edit
dl
rm
dynamic-access-async-storage.external.js
443
0644
edit
dl
rm
dynamic-access-async-storage.external.js.map
762
0644
edit
dl
rm
dynamic-rendering.d.ts
6174
0644
edit
dl
rm
dynamic-rendering.js
33117
0644
edit
dl
rm
dynamic-rendering.js.map
45831
0644
edit
dl
rm
encryption-utils-server.d.ts
141
0644
edit
dl
rm
encryption-utils-server.js
4823
0644
edit
dl
rm
encryption-utils-server.js.map
7153
0644
edit
dl
rm
encryption-utils.d.ts
1443
0644
edit
dl
rm
encryption-utils.js
7849
0644
edit
dl
rm
encryption-utils.js.map
11257
0644
edit
dl
rm
encryption.d.ts
241
0644
edit
dl
rm
encryption.js
11856
0644
edit
dl
rm
encryption.js.map
16682
0644
edit
dl
rm
entry-base.d.ts
2199
0644
edit
dl
rm
entry-base.js
8467
0644
edit
dl
rm
entry-base.js.map
6257
0644
edit
dl
rm
flight-render-result.d.ts
353
0644
edit
dl
rm
flight-render-result.js
794
0644
edit
dl
rm
flight-render-result.js.map
967
0644
edit
dl
rm
get-asset-query-string.d.ts
153
0644
edit
dl
rm
get-asset-query-string.js
999
0644
edit
dl
rm
get-asset-query-string.js.map
1591
0644
edit
dl
rm
get-css-inlined-link-tags.d.ts
524
0644
edit
dl
rm
get-css-inlined-link-tags.js
1549
0644
edit
dl
rm
get-css-inlined-link-tags.js.map
2576
0644
edit
dl
rm
get-layer-assets.d.ts
599
0644
edit
dl
rm
get-layer-assets.js
3329
0644
edit
dl
rm
get-layer-assets.js.map
5503
0644
edit
dl
rm
get-preloadable-fonts.d.ts
709
0644
edit
dl
rm
get-preloadable-fonts.js
1160
0644
edit
dl
rm
get-preloadable-fonts.js.map
2386
0644
edit
dl
rm
get-script-nonce-from-header.d.ts
94
0644
edit
dl
rm
get-script-nonce-from-header.js
2017
0644
edit
dl
rm
get-script-nonce-from-header.js.map
2785
0644
edit
dl
rm
get-segment-param.d.ts
228
0644
edit
dl
rm
get-segment-param.js
1524
0644
edit
dl
rm
get-segment-param.js.map
2340
0644
edit
dl
rm
get-short-dynamic-param-type.d.ts
362
0644
edit
dl
rm
get-short-dynamic-param-type.js
1069
0644
edit
dl
rm
get-short-dynamic-param-type.js.map
1199
0644
edit
dl
rm
has-loading-component-in-tree.d.ts
135
0644
edit
dl
rm
has-loading-component-in-tree.js
544
0644
edit
dl
rm
has-loading-component-in-tree.js.map
813
0644
edit
dl
rm
interop-default.d.ts
121
0644
edit
dl
rm
interop-default.js
391
0644
edit
dl
rm
interop-default.js.map
409
0644
edit
dl
rm
make-get-server-inserted-html.d.ts
500
0644
edit
dl
rm
make-get-server-inserted-html.js
4641
0644
edit
dl
rm
make-get-server-inserted-html.js.map
6518
0644
edit
dl
rm
parse-and-validate-flight-router-state.d.ts
388
0644
edit
dl
rm
parse-and-validate-flight-router-state.js
1835
0644
edit
dl
rm
parse-and-validate-flight-router-state.js.map
2429
0644
edit
dl
rm
parse-loader-tree.d.ts
430
0644
edit
dl
rm
parse-loader-tree.js
1009
0644
edit
dl
rm
parse-loader-tree.js.map
1426
0644
edit
dl
rm
postponed-state.d.ts
2153
0644
edit
dl
rm
postponed-state.js
6425
0644
edit
dl
rm
postponed-state.js.map
9211
0644
edit
dl
rm
prospective-render-utils.d.ts
115
0644
edit
dl
rm
prospective-render-utils.js
2587
0644
edit
dl
rm
prospective-render-utils.js.map
3412
0644
edit
dl
rm
react-large-shell-error.d.ts
107
0644
edit
dl
rm
react-large-shell-error.js
596
0644
edit
dl
rm
react-large-shell-error.js.map
789
0644
edit
dl
rm
react-server.node.d.ts
152
0644
edit
dl
rm
react-server.node.js
1111
0644
edit
dl
rm
react-server.node.js.map
714
0644
edit
dl
rm
render-css-resource.d.ts
612
0644
edit
dl
rm
render-css-resource.js
2460
0644
edit
dl
rm
render-css-resource.js.map
3947
0644
edit
dl
rm
required-scripts.d.ts
444
0644
edit
dl
rm
required-scripts.js
2855
0644
edit
dl
rm
required-scripts.js.map
4291
0644
edit
dl
rm
segment-explorer-path.d.ts
956
0644
edit
dl
rm
segment-explorer-path.js
3854
0644
edit
dl
rm
segment-explorer-path.js.map
5293
0644
edit
dl
rm
server-inserted-html.d.ts
293
0644
edit
dl
rm
server-inserted-html.js
1503
0644
edit
dl
rm
server-inserted-html.js.map
1771
0644
edit
dl
rm
strip-flight-headers.d.ts
245
0644
edit
dl
rm
strip-flight-headers.js
494
0644
edit
dl
rm
strip-flight-headers.js.map
725
0644
edit
dl
rm
types.d.ts
10185
0644
edit
dl
rm
types.js
2923
0644
edit
dl
rm
types.js.map
13265
0644
edit
dl
rm
use-flight-response.d.ts
1136
0644
edit
dl
rm
use-flight-response.js
6844
0644
edit
dl
rm
use-flight-response.js.map
11174
0644
edit
dl
rm
walk-tree-with-flight-router-state.d.ts
1394
0644
edit
dl
rm
walk-tree-with-flight-router-state.js
11174
0644
edit
dl
rm
walk-tree-with-flight-router-state.js.map
17316
0644
edit
dl
rm
work-async-storage-instance.d.ts
136
0644
edit
dl
rm
work-async-storage-instance.js
438
0644
edit
dl
rm
work-async-storage-instance.js.map
490
0644
edit
dl
rm
work-async-storage.external.d.ts
3745
0644
edit
dl
rm
work-async-storage.external.js
387
0644
edit
dl
rm
work-async-storage.external.js.map
4214
0644
edit
dl
rm
work-unit-async-storage-instance.d.ts
153
0644
edit
dl
rm
work-unit-async-storage-instance.js
455
0644
edit
dl
rm
work-unit-async-storage-instance.js.map
516
0644
edit
dl
rm
work-unit-async-storage.external.d.ts
12301
0644
edit
dl
rm
work-unit-async-storage.external.js
7822
0644
edit
dl
rm
work-unit-async-storage.external.js.map
21037
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/next/dist/server/app-render/work-unit-async-storage.external.d.ts
(12301B)
import type { AsyncLocalStorage } from 'async_hooks'; import type { DraftModeProvider } from '../async-storage/draft-mode-provider'; import type { ResponseCookies } from '../web/spec-extension/cookies'; import type { ReadonlyHeaders } from '../web/spec-extension/adapters/headers'; import type { ReadonlyRequestCookies } from '../web/spec-extension/adapters/request-cookies'; import type { CacheSignal } from './cache-signal'; import type { DynamicTrackingState } from './dynamic-rendering'; import type { FallbackRouteParams } from '../request/fallback-params'; import { workUnitAsyncStorageInstance } from './work-unit-async-storage-instance'; import type { ServerComponentsHmrCache } from '../response-cache'; import type { RenderResumeDataCache, PrerenderResumeDataCache } from '../resume-data-cache/resume-data-cache'; import type { Params } from '../request/params'; import type { ImplicitTags } from '../lib/implicit-tags'; import type { WorkStore } from './work-async-storage.external'; export type WorkUnitPhase = 'action' | 'render' | 'after'; export interface CommonWorkUnitStore { /** NOTE: Will be mutated as phases change */ phase: WorkUnitPhase; readonly implicitTags: ImplicitTags; } export interface RequestStore extends CommonWorkUnitStore { readonly type: 'request'; /** * The URL of the request. This only specifies the pathname and the search * part of the URL. */ readonly url: { /** * The pathname of the requested URL. */ readonly pathname: string; /** * The search part of the requested URL. If the request did not provide a * search part, this will be an empty string. */ readonly search: string; }; readonly headers: ReadonlyHeaders; cookies: ReadonlyRequestCookies; readonly mutableCookies: ResponseCookies; readonly userspaceMutableCookies: ResponseCookies; readonly draftMode: DraftModeProvider; readonly isHmrRefresh?: boolean; readonly serverComponentsHmrCache?: ServerComponentsHmrCache; readonly rootParams: Params; /** * The resume data cache for this request. This will be a immutable cache. */ renderResumeDataCache: RenderResumeDataCache | null; usedDynamic?: boolean; prerenderPhase?: boolean; devFallbackParams?: FallbackRouteParams | null; } /** * The Prerender store is for tracking information related to prerenders. * * It can be used for both RSC and SSR prerendering and should be scoped as close * to the individual `renderTo...` API call as possible. To keep the type simple * we don't distinguish between RSC and SSR prerendering explicitly but instead * use conditional object properties to infer which mode we are in. For instance cache tracking * only needs to happen during the RSC prerender when we are prospectively prerendering * to fill all caches. */ export type PrerenderStoreModern = PrerenderStoreModernClient | PrerenderStoreModernServer | PrerenderStoreModernRuntime; /** Like `PrerenderStoreModern`, but only including static prerenders (i.e. not runtime prerenders) */ export type StaticPrerenderStoreModern = Exclude<PrerenderStoreModern, PrerenderStoreModernRuntime>; export interface PrerenderStoreModernClient extends PrerenderStoreModernCommon, StaticPrerenderStoreCommon { readonly type: 'prerender-client'; } export interface PrerenderStoreModernServer extends PrerenderStoreModernCommon, StaticPrerenderStoreCommon { readonly type: 'prerender'; } export interface PrerenderStoreModernRuntime extends PrerenderStoreModernCommon { readonly type: 'prerender-runtime'; /** * A runtime prerender resolves APIs in two tasks: * * 1. Static data (available in a static prerender) * 2. Runtime data (available in a runtime prerender) * * This separation is achieved by awaiting this promise in "runtime" APIs. * In the final prerender, the promise will be resolved during the second task, * and the render will be aborted in the task that follows it. */ readonly runtimeStagePromise: Promise<void> | null; readonly cookies: RequestStore['cookies']; readonly draftMode: RequestStore['draftMode']; } export interface RevalidateStore { revalidate: number; expire: number; stale: number; tags: null | string[]; } interface PrerenderStoreModernCommon extends CommonWorkUnitStore, RevalidateStore { /** * The render signal is aborted after React's `prerender` function is aborted * (using a separate signal), which happens in two cases: * * 1. When all caches are filled during the prospective prerender. * 2. When the final prerender is aborted immediately after the prerender was * started. * * It can be used to reject any pending I/O, including hanging promises. This * allows React to properly track the async I/O in dev mode, which yields * better owner stacks for dynamic validation errors. */ readonly renderSignal: AbortSignal; /** * This is the AbortController which represents the boundary between Prerender * and dynamic. In some renders it is the same as the controller for React, * but in others it is a separate controller. It should be aborted whenever we * are no longer in the prerender phase of rendering. Typically this is after * one task, or when you call a sync API which requires the prerender to end * immediately. */ readonly controller: AbortController; /** * When not null, this signal is used to track cache reads during prerendering * and to await all cache reads completing, before aborting the prerender. */ readonly cacheSignal: null | CacheSignal; /** * During some prerenders we want to track dynamic access. */ readonly dynamicTracking: null | DynamicTrackingState; readonly rootParams: Params; /** * A mutable resume data cache for this prerender. */ prerenderResumeDataCache: PrerenderResumeDataCache | null; /** * An immutable resume data cache for this prerender. This may be provided * instead of the `prerenderResumeDataCache` if the prerender is not supposed * to fill caches, and only read from prefilled caches, e.g. when prerendering * an optional fallback shell. */ renderResumeDataCache: RenderResumeDataCache | null; /** * The HMR refresh hash is only provided in dev mode. It is needed for the dev * warmup render to ensure that the cache keys will be identical for the * subsequent dynamic render. */ readonly hmrRefreshHash: string | undefined; /** * Only available in dev mode. */ readonly captureOwnerStack: undefined | (() => string | null); } interface StaticPrerenderStoreCommon { /** * The set of unknown route parameters. Accessing these will be tracked as * a dynamic access. */ readonly fallbackRouteParams: FallbackRouteParams | null; /** * When true, the page is prerendered as a fallback shell, while allowing any * dynamic accesses to result in an empty shell. This is the case when there * are also routes prerendered with a more complete set of params. * Prerendering those routes would catch any invalid dynamic accesses. */ readonly allowEmptyStaticShell: boolean; } export interface PrerenderStorePPR extends CommonWorkUnitStore, RevalidateStore { readonly type: 'prerender-ppr'; readonly rootParams: Params; readonly dynamicTracking: null | DynamicTrackingState; /** * The set of unknown route parameters. Accessing these will be tracked as * a dynamic access. */ readonly fallbackRouteParams: FallbackRouteParams | null; /** * The resume data cache for this prerender. */ prerenderResumeDataCache: PrerenderResumeDataCache; } export interface PrerenderStoreLegacy extends CommonWorkUnitStore, RevalidateStore { readonly type: 'prerender-legacy'; readonly rootParams: Params; } export type PrerenderStore = PrerenderStoreLegacy | PrerenderStorePPR | PrerenderStoreModern; export type StaticPrerenderStore = Exclude<PrerenderStore, PrerenderStoreModernRuntime>; export interface CommonCacheStore extends Omit<CommonWorkUnitStore, 'implicitTags'> { /** * A cache work unit store might not always have an outer work unit store, * from which implicit tags could be inherited. */ readonly implicitTags: ImplicitTags | undefined; /** * Draft mode is only available if the outer work unit store is a request * store and draft mode is enabled. */ readonly draftMode: DraftModeProvider | undefined; } export interface CommonUseCacheStore extends CommonCacheStore, RevalidateStore { explicitRevalidate: undefined | number; explicitExpire: undefined | number; explicitStale: undefined | number; readonly hmrRefreshHash: string | undefined; readonly isHmrRefresh: boolean; readonly serverComponentsHmrCache: ServerComponentsHmrCache | undefined; readonly forceRevalidate: boolean; } export interface PublicUseCacheStore extends CommonUseCacheStore { readonly type: 'cache'; } export interface PrivateUseCacheStore extends CommonUseCacheStore { readonly type: 'private-cache'; /** * A runtime prerender resolves APIs in two tasks: * * 1. Static data (available in a static prerender) * 2. Runtime data (available in a runtime prerender) * * This separation is achieved by awaiting this promise in "runtime" APIs. * In the final prerender, the promise will be resolved during the second task, * and the render will be aborted in the task that follows it. */ readonly runtimeStagePromise: Promise<void> | null; /** * As opposed to the public cache store, the private cache store is allowed to * access the request cookies. */ readonly cookies: ReadonlyRequestCookies; /** * Private caches don't currently need to track root params in the cache key * because they're not persisted anywhere, so we can allow root params access * (unlike public caches) */ readonly rootParams: Params; } export type UseCacheStore = PublicUseCacheStore | PrivateUseCacheStore; export interface UnstableCacheStore extends CommonCacheStore { readonly type: 'unstable-cache'; } /** * The Cache store is for tracking information inside a "use cache" or * unstable_cache context. A cache store shadows an outer request store (if * present) as a work unit, so that we never accidentally expose any request or * page specific information to cache functions, unless it's explicitly desired. * For those exceptions, the data is copied over from the request store to the * cache store, instead of generally making the request store available to cache * functions. */ export type CacheStore = UseCacheStore | UnstableCacheStore; export type WorkUnitStore = RequestStore | CacheStore | PrerenderStore; export type WorkUnitAsyncStorage = AsyncLocalStorage<WorkUnitStore>; export { workUnitAsyncStorageInstance as workUnitAsyncStorage }; export declare function throwForMissingRequestStore(callingExpression: string): never; export declare function throwInvariantForMissingStore(): never; export declare function getPrerenderResumeDataCache(workUnitStore: WorkUnitStore): PrerenderResumeDataCache | null; export declare function getRenderResumeDataCache(workUnitStore: WorkUnitStore): RenderResumeDataCache | null; export declare function getHmrRefreshHash(workStore: WorkStore, workUnitStore: WorkUnitStore): string | undefined; export declare function isHmrRefresh(workStore: WorkStore, workUnitStore: WorkUnitStore): boolean; export declare function getServerComponentsHmrCache(workStore: WorkStore, workUnitStore: WorkUnitStore): ServerComponentsHmrCache | undefined; /** * Returns a draft mode provider only if draft mode is enabled. */ export declare function getDraftModeProviderForCacheScope(workStore: WorkStore, workUnitStore: WorkUnitStore): DraftModeProvider | undefined; export declare function getCacheSignal(workUnitStore: WorkUnitStore): CacheSignal | null; export declare function getRuntimeStagePromise(workUnitStore: WorkUnitStore): Promise<void> | null;
Save
cmd:
run