/opt/canhelp/node_modules/next/dist/server/app-render
NameSizeModeActions
metadata-insertion/-0755rm
module-loading/-0755rm
rsc/-0755rm
action-async-storage-instance.d.ts1440644editdlrm
action-async-storage-instance.js4460644editdlrm
action-async-storage-instance.js.map5020644editdlrm
action-async-storage.external.d.ts3590644editdlrm
action-async-storage.external.js3990644editdlrm
action-async-storage.external.js.map7040644editdlrm
action-handler.d.ts18070644editdlrm
action-handler.js486910644editdlrm
action-handler.js.map683500644editdlrm
action-utils.d.ts5180644editdlrm
action-utils.js38670644editdlrm
action-utils.js.map54880644editdlrm
after-task-async-storage-instance.d.ts1570644editdlrm
after-task-async-storage-instance.js4590644editdlrm
after-task-async-storage-instance.js.map5220644editdlrm
after-task-async-storage.external.d.ts6490644editdlrm
after-task-async-storage.external.js4190644editdlrm
after-task-async-storage.external.js.map9710644editdlrm
app-render-prerender-utils.d.ts18890644editdlrm
app-render-prerender-utils.js72520644editdlrm
app-render-prerender-utils.js.map108830644editdlrm
app-render-render-utils.d.ts3350644editdlrm
app-render-render-utils.js11520644editdlrm
app-render-render-utils.js.map16080644editdlrm
app-render.d.ts41060644editdlrm
app-render.js1659650644editdlrm
app-render.js.map2406730644editdlrm
async-local-storage.d.ts3160644editdlrm
async-local-storage.js20710644editdlrm
async-local-storage.js.map27990644editdlrm
cache-signal.d.ts12790644editdlrm
cache-signal.js59840644editdlrm
cache-signal.js.map81410644editdlrm
collect-segment-data.d.ts11250644editdlrm
collect-segment-data.js133860644editdlrm
collect-segment-data.js.map223820644editdlrm
create-component-styles-and-scripts.d.ts4100644editdlrm
create-component-styles-and-scripts.js16890644editdlrm
create-component-styles-and-scripts.js.map24200644editdlrm
create-component-tree.d.ts10300644editdlrm
create-component-tree.js417000644editdlrm
create-component-tree.js.map593530644editdlrm
create-error-handler.d.ts13900644editdlrm
create-error-handler.js103860644editdlrm
create-error-handler.js.map140970644editdlrm
create-flight-router-state-from-loader-tree.d.ts5000644editdlrm
create-flight-router-state-from-loader-tree.js38210644editdlrm
create-flight-router-state-from-loader-tree.js.map57150644editdlrm
csrf-protection.d.ts1040644editdlrm
csrf-protection.js30210644editdlrm
csrf-protection.js.map39370644editdlrm
dynamic-access-async-storage-instance.d.ts1630644editdlrm
dynamic-access-async-storage-instance.js4750644editdlrm
dynamic-access-async-storage-instance.js.map5360644editdlrm
dynamic-access-async-storage.external.d.ts3930644editdlrm
dynamic-access-async-storage.external.js4430644editdlrm
dynamic-access-async-storage.external.js.map7620644editdlrm
dynamic-rendering.d.ts61740644editdlrm
dynamic-rendering.js331170644editdlrm
dynamic-rendering.js.map458310644editdlrm
encryption-utils-server.d.ts1410644editdlrm
encryption-utils-server.js48230644editdlrm
encryption-utils-server.js.map71530644editdlrm
encryption-utils.d.ts14430644editdlrm
encryption-utils.js78490644editdlrm
encryption-utils.js.map112570644editdlrm
encryption.d.ts2410644editdlrm
encryption.js118560644editdlrm
encryption.js.map166820644editdlrm
entry-base.d.ts21990644editdlrm
entry-base.js84670644editdlrm
entry-base.js.map62570644editdlrm
flight-render-result.d.ts3530644editdlrm
flight-render-result.js7940644editdlrm
flight-render-result.js.map9670644editdlrm
get-asset-query-string.d.ts1530644editdlrm
get-asset-query-string.js9990644editdlrm
get-asset-query-string.js.map15910644editdlrm
get-css-inlined-link-tags.d.ts5240644editdlrm
get-css-inlined-link-tags.js15490644editdlrm
get-css-inlined-link-tags.js.map25760644editdlrm
get-layer-assets.d.ts5990644editdlrm
get-layer-assets.js33290644editdlrm
get-layer-assets.js.map55030644editdlrm
get-preloadable-fonts.d.ts7090644editdlrm
get-preloadable-fonts.js11600644editdlrm
get-preloadable-fonts.js.map23860644editdlrm
get-script-nonce-from-header.d.ts940644editdlrm
get-script-nonce-from-header.js20170644editdlrm
get-script-nonce-from-header.js.map27850644editdlrm
get-segment-param.d.ts2280644editdlrm
get-segment-param.js15240644editdlrm
get-segment-param.js.map23400644editdlrm
get-short-dynamic-param-type.d.ts3620644editdlrm
get-short-dynamic-param-type.js10690644editdlrm
get-short-dynamic-param-type.js.map11990644editdlrm
has-loading-component-in-tree.d.ts1350644editdlrm
has-loading-component-in-tree.js5440644editdlrm
has-loading-component-in-tree.js.map8130644editdlrm
interop-default.d.ts1210644editdlrm
interop-default.js3910644editdlrm
interop-default.js.map4090644editdlrm
make-get-server-inserted-html.d.ts5000644editdlrm
make-get-server-inserted-html.js46410644editdlrm
make-get-server-inserted-html.js.map65180644editdlrm
parse-and-validate-flight-router-state.d.ts3880644editdlrm
parse-and-validate-flight-router-state.js18350644editdlrm
parse-and-validate-flight-router-state.js.map24290644editdlrm
parse-loader-tree.d.ts4300644editdlrm
parse-loader-tree.js10090644editdlrm
parse-loader-tree.js.map14260644editdlrm
postponed-state.d.ts21530644editdlrm
postponed-state.js64250644editdlrm
postponed-state.js.map92110644editdlrm
prospective-render-utils.d.ts1150644editdlrm
prospective-render-utils.js25870644editdlrm
prospective-render-utils.js.map34120644editdlrm
react-large-shell-error.d.ts1070644editdlrm
react-large-shell-error.js5960644editdlrm
react-large-shell-error.js.map7890644editdlrm
react-server.node.d.ts1520644editdlrm
react-server.node.js11110644editdlrm
react-server.node.js.map7140644editdlrm
render-css-resource.d.ts6120644editdlrm
render-css-resource.js24600644editdlrm
render-css-resource.js.map39470644editdlrm
required-scripts.d.ts4440644editdlrm
required-scripts.js28550644editdlrm
required-scripts.js.map42910644editdlrm
segment-explorer-path.d.ts9560644editdlrm
segment-explorer-path.js38540644editdlrm
segment-explorer-path.js.map52930644editdlrm
server-inserted-html.d.ts2930644editdlrm
server-inserted-html.js15030644editdlrm
server-inserted-html.js.map17710644editdlrm
strip-flight-headers.d.ts2450644editdlrm
strip-flight-headers.js4940644editdlrm
strip-flight-headers.js.map7250644editdlrm
types.d.ts101850644editdlrm
types.js29230644editdlrm
types.js.map132650644editdlrm
use-flight-response.d.ts11360644editdlrm
use-flight-response.js68440644editdlrm
use-flight-response.js.map111740644editdlrm
walk-tree-with-flight-router-state.d.ts13940644editdlrm
walk-tree-with-flight-router-state.js111740644editdlrm
walk-tree-with-flight-router-state.js.map173160644editdlrm
work-async-storage-instance.d.ts1360644editdlrm
work-async-storage-instance.js4380644editdlrm
work-async-storage-instance.js.map4900644editdlrm
work-async-storage.external.d.ts37450644editdlrm
work-async-storage.external.js3870644editdlrm
work-async-storage.external.js.map42140644editdlrm
work-unit-async-storage-instance.d.ts1530644editdlrm
work-unit-async-storage-instance.js4550644editdlrm
work-unit-async-storage-instance.js.map5160644editdlrm
work-unit-async-storage.external.d.ts123010644editdlrm
work-unit-async-storage.external.js78220644editdlrm
work-unit-async-storage.external.js.map210370644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/app-render/dynamic-rendering.d.ts (6174B)
/** * The functions provided by this module are used to communicate certain properties * about the currently running code so that Next.js can make decisions on how to handle * the current execution in different rendering modes such as pre-rendering, resuming, and SSR. * * Today Next.js treats all code as potentially static. Certain APIs may only make sense when dynamically rendering. * Traditionally this meant deopting the entire render to dynamic however with PPR we can now deopt parts * of a React tree as dynamic while still keeping other parts static. There are really two different kinds of * Dynamic indications. * * The first is simply an intention to be dynamic. unstable_noStore is an example of this where * the currently executing code simply declares that the current scope is dynamic but if you use it * inside unstable_cache it can still be cached. This type of indication can be removed if we ever * make the default dynamic to begin with because the only way you would ever be static is inside * a cache scope which this indication does not affect. * * The second is an indication that a dynamic data source was read. This is a stronger form of dynamic * because it means that it is inappropriate to cache this at all. using a dynamic data source inside * unstable_cache should error. If you want to use some dynamic data inside unstable_cache you should * read that data outside the cache and pass it in as an argument to the cached function. */ import type { WorkStore } from '../app-render/work-async-storage.external'; import type { WorkUnitStore, RequestStore, PrerenderStoreModern, PrerenderStoreModernRuntime } from '../app-render/work-unit-async-storage.external'; export type DynamicAccess = { /** * If debugging, this will contain the stack trace of where the dynamic access * occurred. This is used to provide more information to the user about why * their page is being rendered dynamically. */ stack?: string; /** * The expression that was accessed dynamically. */ expression: string; }; export type DynamicTrackingState = { /** * When true, stack information will also be tracked during dynamic access. */ readonly isDebugDynamicAccesses: boolean | undefined; /** * The dynamic accesses that occurred during the render. */ readonly dynamicAccesses: Array; syncDynamicErrorWithStack: null | Error; }; export type DynamicValidationState = { hasSuspenseAboveBody: boolean; hasDynamicMetadata: boolean; hasDynamicViewport: boolean; hasAllowedDynamic: boolean; dynamicErrors: Array; }; export declare function createDynamicTrackingState(isDebugDynamicAccesses: boolean | undefined): DynamicTrackingState; export declare function createDynamicValidationState(): DynamicValidationState; export declare function getFirstDynamicReason(trackingState: DynamicTrackingState): undefined | string; /** * This function communicates that the current scope should be treated as dynamic. * * In most cases this function is a no-op but if called during * a PPR prerender it will postpone the current sub-tree and calling * it during a normal prerender will cause the entire prerender to abort */ export declare function markCurrentScopeAsDynamic(store: WorkStore, workUnitStore: undefined | Exclude, expression: string): void; export declare function abortOnSynchronousPlatformIOAccess(route: string, expression: string, errorWithStack: Error, prerenderStore: PrerenderStoreModern): void; export declare function trackSynchronousPlatformIOAccessInDev(requestStore: RequestStore): void; export declare const trackSynchronousRequestDataAccessInDev: typeof trackSynchronousPlatformIOAccessInDev; /** * This component will call `React.postpone` that throws the postponed error. */ type PostponeProps = { reason: string; route: string; }; export declare function Postpone({ reason, route }: PostponeProps): never; export declare function postponeWithTracking(route: string, expression: string, dynamicTracking: null | DynamicTrackingState): never; export declare function isDynamicPostpone(err: unknown): boolean; type DigestError = Error & { digest: string; }; export declare function isPrerenderInterruptedError(error: unknown): error is DigestError; export declare function accessedDynamicData(dynamicAccesses: Array): boolean; export declare function consumeDynamicAccess(serverDynamic: DynamicTrackingState, clientDynamic: DynamicTrackingState): DynamicTrackingState['dynamicAccesses']; export declare function formatDynamicAPIAccesses(dynamicAccesses: Array): string[]; /** * This is a bit of a hack to allow us to abort a render using a Postpone instance instead of an Error which changes React's * abort semantics slightly. */ export declare function createRenderInBrowserAbortSignal(): AbortSignal; /** * In a prerender, we may end up with hanging Promises as inputs due them * stalling on connection() or because they're loading dynamic data. In that * case we need to abort the encoding of arguments since they'll never complete. */ export declare function createHangingInputAbortSignal(workUnitStore: WorkUnitStore): AbortSignal | undefined; export declare function annotateDynamicAccess(expression: string, prerenderStore: PrerenderStoreModern): void; export declare function useDynamicRouteParams(expression: string): undefined; export declare function trackAllowedDynamicAccess(workStore: WorkStore, componentStack: string, dynamicValidation: DynamicValidationState, clientDynamic: DynamicTrackingState): void; export declare enum PreludeState { Full = 0, Empty = 1, Errored = 2 } export declare function logDisallowedDynamicError(workStore: WorkStore, error: Error): void; export declare function throwIfDisallowedDynamic(workStore: WorkStore, prelude: PreludeState, dynamicValidation: DynamicValidationState, serverDynamic: DynamicTrackingState): void; export declare function delayUntilRuntimeStage(prerenderStore: PrerenderStoreModernRuntime, result: Promise): Promise; export {};