Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
42
node_modules/next/dist/server/dev/static-paths-worker.d.ts
generated
vendored
Normal file
42
node_modules/next/dist/server/dev/static-paths-worker.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
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;
|
||||
configFileName: string;
|
||||
publicRuntimeConfig: {
|
||||
[key: string]: any;
|
||||
};
|
||||
serverRuntimeConfig: {
|
||||
[key: string]: any;
|
||||
};
|
||||
dynamicIO: boolean;
|
||||
};
|
||||
export declare function loadStaticPaths({ dir, distDir, pathname, config, httpAgentOptions, locales, defaultLocale, isAppPath, page, isrFlushToDisk, fetchCacheKeyPrefix, maxMemoryCacheSize, 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;
|
||||
maxMemoryCacheSize?: number;
|
||||
requestHeaders: IncrementalCache['requestHeaders'];
|
||||
cacheHandler?: string;
|
||||
cacheHandlers?: NextConfigComplete['experimental']['cacheHandlers'];
|
||||
cacheLifeProfiles?: {
|
||||
[profile: string]: import('../../server/use-cache/cache-life').CacheLife;
|
||||
};
|
||||
nextConfigOutput: 'standalone' | 'export' | undefined;
|
||||
buildId: string;
|
||||
authInterrupts: boolean;
|
||||
sriEnabled: boolean;
|
||||
}): Promise<Partial<StaticPathsResult>>;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue