/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/async-storage
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/async-storage/work-store.d.ts (1742B)
import type { WorkStore } from '../app-render/work-async-storage.external';
import type { IncrementalCache } from '../lib/incremental-cache';
import type { RenderOpts } from '../app-render/types';
import type { FetchMetric } from '../base-http';
import type { RequestLifecycleOpts } from '../base-server';
import type { AppSegmentConfig } from '../../build/segment-config/app/app-segment-config';
import type { CacheLife } from '../use-cache/cache-life';
export type WorkStoreContext = {
/**
* The page that is being rendered. This relates to the path to the page file.
*/
page: string;
isPrefetchRequest?: boolean;
renderOpts: {
cacheLifeProfiles?: {
[profile: string]: CacheLife;
};
incrementalCache?: IncrementalCache;
isOnDemandRevalidate?: boolean;
fetchCache?: AppSegmentConfig['fetchCache'];
isPossibleServerAction?: boolean;
pendingWaitUntil?: Promise
;
experimental: Pick;
/**
* Fetch metrics attached in patch-fetch.ts
**/
fetchMetrics?: FetchMetric[];
} & Pick & RequestLifecycleOpts & Partial>;
/**
* The build ID of the current build.
*/
buildId: string;
previouslyRevalidatedTags: string[];
};
export declare function createWorkStore({ page, renderOpts, isPrefetchRequest, buildId, previouslyRevalidatedTags, }: WorkStoreContext): WorkStore;