create project
This commit is contained in:
17
kitabcitab/node_modules/next/dist/server/response-cache/index.d.ts
generated
vendored
Normal file
17
kitabcitab/node_modules/next/dist/server/response-cache/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { IncrementalCache, ResponseCacheEntry, ResponseGenerator } from './types';
|
||||
export * from './types';
|
||||
export default class ResponseCache {
|
||||
pendingResponses: Map<string, Promise<ResponseCacheEntry | null>>;
|
||||
previousCacheItem?: {
|
||||
key: string;
|
||||
entry: ResponseCacheEntry | null;
|
||||
expiresAt: number;
|
||||
};
|
||||
minimalMode?: boolean;
|
||||
constructor(minimalMode: boolean);
|
||||
get(key: string | null, responseGenerator: ResponseGenerator, context: {
|
||||
isManualRevalidate?: boolean;
|
||||
isPrefetch?: boolean;
|
||||
incrementalCache: IncrementalCache;
|
||||
}): Promise<ResponseCacheEntry | null>;
|
||||
}
|
||||
Reference in New Issue
Block a user