.
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
import type { NextConfigComplete } from '../config-shared';
|
||||
import '../require-hook';
|
||||
import '../node-environment';
|
||||
import type { StaticPathsResult } from '../../build/static-paths/types';
|
||||
import type { IncrementalCache } from '../lib/incremental-cache';
|
||||
import { type ExperimentalPPRConfig } from '../lib/experimental/ppr';
|
||||
type RuntimeConfig = {
|
||||
pprConfig: ExperimentalPPRConfig | undefined;
|
||||
partialFallbacks: boolean;
|
||||
configFileName: string;
|
||||
cacheComponents: boolean;
|
||||
};
|
||||
export declare function loadStaticPaths({ dir, distDir, pathname, config, httpAgentOptions, locales, defaultLocale, isAppPath, page, isrFlushToDisk, fetchCacheKeyPrefix, cacheMaxMemorySize, requestHeaders, cacheHandler, cacheHandlers, cacheLifeProfiles, nextConfigOutput, buildId, authInterrupts, sriEnabled, }: {
|
||||
dir: string;
|
||||
distDir: string;
|
||||
pathname: string;
|
||||
config: RuntimeConfig;
|
||||
httpAgentOptions: NextConfigComplete['httpAgentOptions'];
|
||||
locales?: readonly string[];
|
||||
defaultLocale?: string;
|
||||
isAppPath: boolean;
|
||||
page: string;
|
||||
isrFlushToDisk?: boolean;
|
||||
fetchCacheKeyPrefix?: string;
|
||||
cacheMaxMemorySize: number;
|
||||
requestHeaders: IncrementalCache['requestHeaders'];
|
||||
cacheHandler?: string;
|
||||
cacheHandlers?: NextConfigComplete['cacheHandlers'];
|
||||
cacheLifeProfiles?: {
|
||||
[profile: string]: import('../../server/use-cache/cache-life').CacheLife;
|
||||
};
|
||||
nextConfigOutput: 'standalone' | 'export' | undefined;
|
||||
buildId: string;
|
||||
authInterrupts: boolean;
|
||||
sriEnabled: boolean;
|
||||
}): Promise<StaticPathsResult>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user