full site update
This commit is contained in:
24
node_modules/unstorage/drivers/vercel-kv.d.ts
generated
vendored
Normal file
24
node_modules/unstorage/drivers/vercel-kv.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { VercelKV } from "@vercel/kv";
|
||||
import type { RedisConfigNodejs } from "@upstash/redis";
|
||||
export interface VercelKVOptions extends Partial<RedisConfigNodejs> {
|
||||
/**
|
||||
* Optional prefix to use for all keys. Can be used for namespacing.
|
||||
*/
|
||||
base?: string;
|
||||
/**
|
||||
* Optional flag to customize environment variable prefix (Default is `KV`). Set to `false` to disable env inference for `url` and `token` options
|
||||
*/
|
||||
env?: false | string;
|
||||
/**
|
||||
* Default TTL for all items in seconds.
|
||||
*/
|
||||
ttl?: number;
|
||||
/**
|
||||
* How many keys to scan at once.
|
||||
*
|
||||
* [redis documentation](https://redis.io/docs/latest/commands/scan/#the-count-option)
|
||||
*/
|
||||
scanCount?: number;
|
||||
}
|
||||
declare const _default: (opts: VercelKVOptions) => import("..").Driver<VercelKVOptions, VercelKV>;
|
||||
export default _default;
|
Reference in New Issue
Block a user