Skip to content

KVNamespace

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2107

Key extends string = string

delete(key): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2220

Key

Promise<void>


get(key, options?): Promise<null | string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2108

Key

Partial<KVNamespaceGetOptions<undefined>>

Promise<null | string>

get(key, type): Promise<null | string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2112

Key

"text"

Promise<null | string>

get<ExpectedValue>(key, type): Promise<null | ExpectedValue>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2113

ExpectedValue = unknown

Key

"json"

Promise<null | ExpectedValue>

get(key, type): Promise<null | ArrayBuffer>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2117

Key

"arrayBuffer"

Promise<null | ArrayBuffer>

get(key, type): Promise<null | ReadableStream<any>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2118

Key

"stream"

Promise<null | ReadableStream<any>>

get(key, options?): Promise<null | string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2119

Key

KVNamespaceGetOptions<"text">

Promise<null | string>

get<ExpectedValue>(key, options?): Promise<null | ExpectedValue>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2123

ExpectedValue = unknown

Key

KVNamespaceGetOptions<"json">

Promise<null | ExpectedValue>

get(key, options?): Promise<null | ArrayBuffer>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2127

Key

KVNamespaceGetOptions<"arrayBuffer">

Promise<null | ArrayBuffer>

get(key, options?): Promise<null | ReadableStream<any>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2131

Key

KVNamespaceGetOptions<"stream">

Promise<null | ReadableStream<any>>

get(key, type): Promise<Map<string, null | string>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2135

Key[]

"text"

Promise<Map<string, null | string>>

get<ExpectedValue>(key, type): Promise<Map<string, null | ExpectedValue>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2136

ExpectedValue = unknown

Key[]

"json"

Promise<Map<string, null | ExpectedValue>>

get(key, options?): Promise<Map<string, null | string>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2140

Key[]

Partial<KVNamespaceGetOptions<undefined>>

Promise<Map<string, null | string>>

get(key, options?): Promise<Map<string, null | string>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2144

Key[]

KVNamespaceGetOptions<"text">

Promise<Map<string, null | string>>

get<ExpectedValue>(key, options?): Promise<Map<string, null | ExpectedValue>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2148

ExpectedValue = unknown

Key[]

KVNamespaceGetOptions<"json">

Promise<Map<string, null | ExpectedValue>>


getWithMetadata<Metadata>(key, options?): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2160

Metadata = unknown

Key

Partial<KVNamespaceGetOptions<undefined>>

Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2164

Metadata = unknown

Key

"text"

Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

getWithMetadata<ExpectedValue, Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2168

ExpectedValue = unknown

Metadata = unknown

Key

"json"

Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2172

Metadata = unknown

Key

"arrayBuffer"

Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2176

Metadata = unknown

Key

"stream"

Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

getWithMetadata<Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2180

Metadata = unknown

Key

KVNamespaceGetOptions<"text">

Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

getWithMetadata<ExpectedValue, Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2184

ExpectedValue = unknown

Metadata = unknown

Key

KVNamespaceGetOptions<"json">

Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

getWithMetadata<Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2188

Metadata = unknown

Key

KVNamespaceGetOptions<"arrayBuffer">

Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

getWithMetadata<Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2192

Metadata = unknown

Key

KVNamespaceGetOptions<"stream">

Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2196

Metadata = unknown

Key[]

"text"

Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

getWithMetadata<ExpectedValue, Metadata>(key, type): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2200

ExpectedValue = unknown

Metadata = unknown

Key[]

"json"

Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>

getWithMetadata<Metadata>(key, options?): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2206

Metadata = unknown

Key[]

Partial<KVNamespaceGetOptions<undefined>>

Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

getWithMetadata<Metadata>(key, options?): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2210

Metadata = unknown

Key[]

KVNamespaceGetOptions<"text">

Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

getWithMetadata<ExpectedValue, Metadata>(key, options?): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2214

ExpectedValue = unknown

Metadata = unknown

Key[]

KVNamespaceGetOptions<"json">

Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>


list<Metadata>(options?): Promise<KVNamespaceListResult<Metadata, Key>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2152

Metadata = unknown

KVNamespaceListOptions

Promise<KVNamespaceListResult<Metadata, Key>>


put(key, value, options?): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:2155

Key

string | ArrayBuffer | ArrayBufferView<ArrayBufferLike> | ReadableStream<any>

KVNamespacePutOptions

Promise<void>