This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/next/dist/server/response-cache/index.d.ts
2025-01-11 09:54:09 +03:00

16 lines
717 B
TypeScript

import type { IncrementalCache, ResponseCacheEntry, ResponseGenerator, ResponseCacheBase } from 'next/dist/server/response-cache/types';
import { RouteKind } from 'next/dist/server/future/route-kind';
export * from 'next/dist/server/response-cache/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: IncrementalCache;
}): Promise<ResponseCacheEntry | null>;
}