CloudProxyPro/node_modules/unstorage/drivers/vercel-runtime-cache.d.ts
2025-09-05 14:59:21 +08:00

18 lines
504 B
TypeScript

import type { RuntimeCache } from "@vercel/functions";
export interface VercelCacheOptions {
/**
* Optional prefix to use for all keys. Can be used for namespacing.
*/
base?: string;
/**
* Default TTL for all items in seconds.
*/
ttl?: number;
/**
* Default tags to apply to all cache entries.
*/
tags?: string[];
}
declare const _default: (opts: VercelCacheOptions) => import("..").Driver<VercelCacheOptions, RuntimeCache>;
export default _default;