Skip to content

KVNamespace

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1785

Key extends string = string

delete(key): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1898

Key

Promise<void>


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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1786

Key

Partial<KVNamespaceGetOptions<undefined>>

Promise<null | string>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1790

Key

"text"

Promise<null | string>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1791

ExpectedValue = unknown

Key

"json"

Promise<null | ExpectedValue>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1795

Key

"arrayBuffer"

Promise<null | ArrayBuffer>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1796

Key

"stream"

Promise<null | ReadableStream<any>>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1797

Key

KVNamespaceGetOptions<"text">

Promise<null | string>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1801

ExpectedValue = unknown

Key

KVNamespaceGetOptions<"json">

Promise<null | ExpectedValue>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1805

Key

KVNamespaceGetOptions<"arrayBuffer">

Promise<null | ArrayBuffer>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1809

Key

KVNamespaceGetOptions<"stream">

Promise<null | ReadableStream<any>>

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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1813

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1814

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1818

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1822

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1826

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1838

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1842

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1846

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1850

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1854

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1858

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1862

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1866

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1870

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1874

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1878

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1884

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1888

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1892

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.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1830

Metadata = unknown

KVNamespaceListOptions

Promise<KVNamespaceListResult<Metadata, Key>>


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

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1833

Key

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

KVNamespacePutOptions

Promise<void>