Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
17
node_modules/next/dist/server/response-cache/index.d.ts
generated
vendored
Normal file
17
node_modules/next/dist/server/response-cache/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import type { ResponseCacheEntry, ResponseGenerator, ResponseCacheBase, IncrementalResponseCache } from './types';
|
||||
import type { RouteKind } from '../route-kind';
|
||||
export * from './types';
|
||||
export default class ResponseCache implements ResponseCacheBase {
|
||||
private readonly batcher;
|
||||
private previousCacheItem?;
|
||||
private minimalMode?;
|
||||
constructor(minimalMode: boolean);
|
||||
get(key: string | null, responseGenerator: ResponseGenerator, context: {
|
||||
routeKind: RouteKind;
|
||||
isOnDemandRevalidate?: boolean;
|
||||
isPrefetch?: boolean;
|
||||
incrementalCache: IncrementalResponseCache;
|
||||
isRoutePPREnabled?: boolean;
|
||||
isFallback?: boolean;
|
||||
}): Promise<ResponseCacheEntry | null>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue