Files
Webklar.com/node_modules/next/dist/server/async-storage/static-generation-async-storage-wrapper.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

20 lines
833 B
TypeScript

import type { AsyncStorageWrapper } from './async-storage-wrapper';
import type { StaticGenerationStore } from '../../client/components/static-generation-async-storage.external';
import type { IncrementalCache } from '../lib/incremental-cache';
export type StaticGenerationContext = {
urlPathname: string;
renderOpts: {
originalPathname?: string;
incrementalCache?: IncrementalCache;
supportsDynamicHTML: boolean;
isRevalidate?: boolean;
isOnDemandRevalidate?: boolean;
isBot?: boolean;
nextExport?: boolean;
fetchCache?: StaticGenerationStore['fetchCache'];
isDraftMode?: boolean;
isServerAction?: boolean;
};
};
export declare const StaticGenerationAsyncStorageWrapper: AsyncStorageWrapper<StaticGenerationStore, StaticGenerationContext>;