penambahan web socket

This commit is contained in:
2025-09-18 19:01:22 +07:00
parent 1d053646a9
commit d7bb2eb5bb
15070 changed files with 2402916 additions and 0 deletions

View 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;