|
@@ -9,10 +9,7 @@ const cacheNames = [
|
|
|
export type CacheName = (typeof cacheNames)[number];
|
|
|
|
|
|
export interface LimitedCache {
|
|
|
- match: (
|
|
|
- key: string,
|
|
|
- options?: { sizeInBytes?: number },
|
|
|
- ) => Promise<Response>;
|
|
|
+ match: (key: string) => Promise<Response>;
|
|
|
put: (key: string, data: Response) => Promise<void>;
|
|
|
delete: (key: string) => Promise<boolean>;
|
|
|
}
|