@cloudflare/workers-types 4.20250320.0 → 4.20250321.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2021-11-03/index.d.ts +7 -0
- package/2021-11-03/index.ts +7 -0
- package/2022-01-31/index.d.ts +7 -0
- package/2022-01-31/index.ts +7 -0
- package/2022-03-21/index.d.ts +7 -0
- package/2022-03-21/index.ts +7 -0
- package/2022-08-04/index.d.ts +7 -0
- package/2022-08-04/index.ts +7 -0
- package/2022-10-31/index.d.ts +7 -0
- package/2022-10-31/index.ts +7 -0
- package/2022-11-30/index.d.ts +7 -0
- package/2022-11-30/index.ts +7 -0
- package/2023-03-01/index.d.ts +7 -0
- package/2023-03-01/index.ts +7 -0
- package/2023-07-01/index.d.ts +7 -0
- package/2023-07-01/index.ts +7 -0
- package/experimental/index.d.ts +7 -0
- package/experimental/index.ts +7 -0
- package/index.d.ts +7 -0
- package/index.ts +7 -0
- package/oldest/index.d.ts +7 -0
- package/oldest/index.ts +7 -0
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -6199,6 +6199,13 @@ declare module "cloudflare:workers" {
|
|
|
6199
6199
|
}
|
|
6200
6200
|
export const env: Cloudflare.Env;
|
|
6201
6201
|
}
|
|
6202
|
+
interface SecretsStoreSecret {
|
|
6203
|
+
/**
|
|
6204
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6205
|
+
* if it exists, or throws an error if it does not exist
|
|
6206
|
+
*/
|
|
6207
|
+
get(): Promise<string>;
|
|
6208
|
+
}
|
|
6202
6209
|
declare module "cloudflare:sockets" {
|
|
6203
6210
|
function _connect(
|
|
6204
6211
|
address: string | SocketAddress,
|
package/2021-11-03/index.ts
CHANGED
|
@@ -6080,6 +6080,13 @@ export declare namespace Rpc {
|
|
|
6080
6080
|
export declare namespace Cloudflare {
|
|
6081
6081
|
interface Env {}
|
|
6082
6082
|
}
|
|
6083
|
+
export interface SecretsStoreSecret {
|
|
6084
|
+
/**
|
|
6085
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6086
|
+
* if it exists, or throws an error if it does not exist
|
|
6087
|
+
*/
|
|
6088
|
+
get(): Promise<string>;
|
|
6089
|
+
}
|
|
6083
6090
|
export declare namespace TailStream {
|
|
6084
6091
|
interface Header {
|
|
6085
6092
|
readonly name: string;
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -6225,6 +6225,13 @@ declare module "cloudflare:workers" {
|
|
|
6225
6225
|
}
|
|
6226
6226
|
export const env: Cloudflare.Env;
|
|
6227
6227
|
}
|
|
6228
|
+
interface SecretsStoreSecret {
|
|
6229
|
+
/**
|
|
6230
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6231
|
+
* if it exists, or throws an error if it does not exist
|
|
6232
|
+
*/
|
|
6233
|
+
get(): Promise<string>;
|
|
6234
|
+
}
|
|
6228
6235
|
declare module "cloudflare:sockets" {
|
|
6229
6236
|
function _connect(
|
|
6230
6237
|
address: string | SocketAddress,
|
package/2022-01-31/index.ts
CHANGED
|
@@ -6106,6 +6106,13 @@ export declare namespace Rpc {
|
|
|
6106
6106
|
export declare namespace Cloudflare {
|
|
6107
6107
|
interface Env {}
|
|
6108
6108
|
}
|
|
6109
|
+
export interface SecretsStoreSecret {
|
|
6110
|
+
/**
|
|
6111
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6112
|
+
* if it exists, or throws an error if it does not exist
|
|
6113
|
+
*/
|
|
6114
|
+
get(): Promise<string>;
|
|
6115
|
+
}
|
|
6109
6116
|
export declare namespace TailStream {
|
|
6110
6117
|
interface Header {
|
|
6111
6118
|
readonly name: string;
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -6250,6 +6250,13 @@ declare module "cloudflare:workers" {
|
|
|
6250
6250
|
}
|
|
6251
6251
|
export const env: Cloudflare.Env;
|
|
6252
6252
|
}
|
|
6253
|
+
interface SecretsStoreSecret {
|
|
6254
|
+
/**
|
|
6255
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6256
|
+
* if it exists, or throws an error if it does not exist
|
|
6257
|
+
*/
|
|
6258
|
+
get(): Promise<string>;
|
|
6259
|
+
}
|
|
6253
6260
|
declare module "cloudflare:sockets" {
|
|
6254
6261
|
function _connect(
|
|
6255
6262
|
address: string | SocketAddress,
|
package/2022-03-21/index.ts
CHANGED
|
@@ -6131,6 +6131,13 @@ export declare namespace Rpc {
|
|
|
6131
6131
|
export declare namespace Cloudflare {
|
|
6132
6132
|
interface Env {}
|
|
6133
6133
|
}
|
|
6134
|
+
export interface SecretsStoreSecret {
|
|
6135
|
+
/**
|
|
6136
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6137
|
+
* if it exists, or throws an error if it does not exist
|
|
6138
|
+
*/
|
|
6139
|
+
get(): Promise<string>;
|
|
6140
|
+
}
|
|
6134
6141
|
export declare namespace TailStream {
|
|
6135
6142
|
interface Header {
|
|
6136
6143
|
readonly name: string;
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -6251,6 +6251,13 @@ declare module "cloudflare:workers" {
|
|
|
6251
6251
|
}
|
|
6252
6252
|
export const env: Cloudflare.Env;
|
|
6253
6253
|
}
|
|
6254
|
+
interface SecretsStoreSecret {
|
|
6255
|
+
/**
|
|
6256
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6257
|
+
* if it exists, or throws an error if it does not exist
|
|
6258
|
+
*/
|
|
6259
|
+
get(): Promise<string>;
|
|
6260
|
+
}
|
|
6254
6261
|
declare module "cloudflare:sockets" {
|
|
6255
6262
|
function _connect(
|
|
6256
6263
|
address: string | SocketAddress,
|
package/2022-08-04/index.ts
CHANGED
|
@@ -6132,6 +6132,13 @@ export declare namespace Rpc {
|
|
|
6132
6132
|
export declare namespace Cloudflare {
|
|
6133
6133
|
interface Env {}
|
|
6134
6134
|
}
|
|
6135
|
+
export interface SecretsStoreSecret {
|
|
6136
|
+
/**
|
|
6137
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6138
|
+
* if it exists, or throws an error if it does not exist
|
|
6139
|
+
*/
|
|
6140
|
+
get(): Promise<string>;
|
|
6141
|
+
}
|
|
6135
6142
|
export declare namespace TailStream {
|
|
6136
6143
|
interface Header {
|
|
6137
6144
|
readonly name: string;
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -6255,6 +6255,13 @@ declare module "cloudflare:workers" {
|
|
|
6255
6255
|
}
|
|
6256
6256
|
export const env: Cloudflare.Env;
|
|
6257
6257
|
}
|
|
6258
|
+
interface SecretsStoreSecret {
|
|
6259
|
+
/**
|
|
6260
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6261
|
+
* if it exists, or throws an error if it does not exist
|
|
6262
|
+
*/
|
|
6263
|
+
get(): Promise<string>;
|
|
6264
|
+
}
|
|
6258
6265
|
declare module "cloudflare:sockets" {
|
|
6259
6266
|
function _connect(
|
|
6260
6267
|
address: string | SocketAddress,
|
package/2022-10-31/index.ts
CHANGED
|
@@ -6136,6 +6136,13 @@ export declare namespace Rpc {
|
|
|
6136
6136
|
export declare namespace Cloudflare {
|
|
6137
6137
|
interface Env {}
|
|
6138
6138
|
}
|
|
6139
|
+
export interface SecretsStoreSecret {
|
|
6140
|
+
/**
|
|
6141
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6142
|
+
* if it exists, or throws an error if it does not exist
|
|
6143
|
+
*/
|
|
6144
|
+
get(): Promise<string>;
|
|
6145
|
+
}
|
|
6139
6146
|
export declare namespace TailStream {
|
|
6140
6147
|
interface Header {
|
|
6141
6148
|
readonly name: string;
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -6260,6 +6260,13 @@ declare module "cloudflare:workers" {
|
|
|
6260
6260
|
}
|
|
6261
6261
|
export const env: Cloudflare.Env;
|
|
6262
6262
|
}
|
|
6263
|
+
interface SecretsStoreSecret {
|
|
6264
|
+
/**
|
|
6265
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6266
|
+
* if it exists, or throws an error if it does not exist
|
|
6267
|
+
*/
|
|
6268
|
+
get(): Promise<string>;
|
|
6269
|
+
}
|
|
6263
6270
|
declare module "cloudflare:sockets" {
|
|
6264
6271
|
function _connect(
|
|
6265
6272
|
address: string | SocketAddress,
|
package/2022-11-30/index.ts
CHANGED
|
@@ -6141,6 +6141,13 @@ export declare namespace Rpc {
|
|
|
6141
6141
|
export declare namespace Cloudflare {
|
|
6142
6142
|
interface Env {}
|
|
6143
6143
|
}
|
|
6144
|
+
export interface SecretsStoreSecret {
|
|
6145
|
+
/**
|
|
6146
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6147
|
+
* if it exists, or throws an error if it does not exist
|
|
6148
|
+
*/
|
|
6149
|
+
get(): Promise<string>;
|
|
6150
|
+
}
|
|
6144
6151
|
export declare namespace TailStream {
|
|
6145
6152
|
interface Header {
|
|
6146
6153
|
readonly name: string;
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -6262,6 +6262,13 @@ declare module "cloudflare:workers" {
|
|
|
6262
6262
|
}
|
|
6263
6263
|
export const env: Cloudflare.Env;
|
|
6264
6264
|
}
|
|
6265
|
+
interface SecretsStoreSecret {
|
|
6266
|
+
/**
|
|
6267
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6268
|
+
* if it exists, or throws an error if it does not exist
|
|
6269
|
+
*/
|
|
6270
|
+
get(): Promise<string>;
|
|
6271
|
+
}
|
|
6265
6272
|
declare module "cloudflare:sockets" {
|
|
6266
6273
|
function _connect(
|
|
6267
6274
|
address: string | SocketAddress,
|
package/2023-03-01/index.ts
CHANGED
|
@@ -6143,6 +6143,13 @@ export declare namespace Rpc {
|
|
|
6143
6143
|
export declare namespace Cloudflare {
|
|
6144
6144
|
interface Env {}
|
|
6145
6145
|
}
|
|
6146
|
+
export interface SecretsStoreSecret {
|
|
6147
|
+
/**
|
|
6148
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6149
|
+
* if it exists, or throws an error if it does not exist
|
|
6150
|
+
*/
|
|
6151
|
+
get(): Promise<string>;
|
|
6152
|
+
}
|
|
6146
6153
|
export declare namespace TailStream {
|
|
6147
6154
|
interface Header {
|
|
6148
6155
|
readonly name: string;
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -6262,6 +6262,13 @@ declare module "cloudflare:workers" {
|
|
|
6262
6262
|
}
|
|
6263
6263
|
export const env: Cloudflare.Env;
|
|
6264
6264
|
}
|
|
6265
|
+
interface SecretsStoreSecret {
|
|
6266
|
+
/**
|
|
6267
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6268
|
+
* if it exists, or throws an error if it does not exist
|
|
6269
|
+
*/
|
|
6270
|
+
get(): Promise<string>;
|
|
6271
|
+
}
|
|
6265
6272
|
declare module "cloudflare:sockets" {
|
|
6266
6273
|
function _connect(
|
|
6267
6274
|
address: string | SocketAddress,
|
package/2023-07-01/index.ts
CHANGED
|
@@ -6143,6 +6143,13 @@ export declare namespace Rpc {
|
|
|
6143
6143
|
export declare namespace Cloudflare {
|
|
6144
6144
|
interface Env {}
|
|
6145
6145
|
}
|
|
6146
|
+
export interface SecretsStoreSecret {
|
|
6147
|
+
/**
|
|
6148
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6149
|
+
* if it exists, or throws an error if it does not exist
|
|
6150
|
+
*/
|
|
6151
|
+
get(): Promise<string>;
|
|
6152
|
+
}
|
|
6146
6153
|
export declare namespace TailStream {
|
|
6147
6154
|
interface Header {
|
|
6148
6155
|
readonly name: string;
|
package/experimental/index.d.ts
CHANGED
|
@@ -6343,6 +6343,13 @@ declare module "cloudflare:workers" {
|
|
|
6343
6343
|
}
|
|
6344
6344
|
export const env: Cloudflare.Env;
|
|
6345
6345
|
}
|
|
6346
|
+
interface SecretsStoreSecret {
|
|
6347
|
+
/**
|
|
6348
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6349
|
+
* if it exists, or throws an error if it does not exist
|
|
6350
|
+
*/
|
|
6351
|
+
get(): Promise<string>;
|
|
6352
|
+
}
|
|
6346
6353
|
declare module "cloudflare:sockets" {
|
|
6347
6354
|
function _connect(
|
|
6348
6355
|
address: string | SocketAddress,
|
package/experimental/index.ts
CHANGED
|
@@ -6224,6 +6224,13 @@ export declare namespace Rpc {
|
|
|
6224
6224
|
export declare namespace Cloudflare {
|
|
6225
6225
|
interface Env {}
|
|
6226
6226
|
}
|
|
6227
|
+
export interface SecretsStoreSecret {
|
|
6228
|
+
/**
|
|
6229
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6230
|
+
* if it exists, or throws an error if it does not exist
|
|
6231
|
+
*/
|
|
6232
|
+
get(): Promise<string>;
|
|
6233
|
+
}
|
|
6227
6234
|
export declare namespace TailStream {
|
|
6228
6235
|
interface Header {
|
|
6229
6236
|
readonly name: string;
|
package/index.d.ts
CHANGED
|
@@ -6199,6 +6199,13 @@ declare module "cloudflare:workers" {
|
|
|
6199
6199
|
}
|
|
6200
6200
|
export const env: Cloudflare.Env;
|
|
6201
6201
|
}
|
|
6202
|
+
interface SecretsStoreSecret {
|
|
6203
|
+
/**
|
|
6204
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6205
|
+
* if it exists, or throws an error if it does not exist
|
|
6206
|
+
*/
|
|
6207
|
+
get(): Promise<string>;
|
|
6208
|
+
}
|
|
6202
6209
|
declare module "cloudflare:sockets" {
|
|
6203
6210
|
function _connect(
|
|
6204
6211
|
address: string | SocketAddress,
|
package/index.ts
CHANGED
|
@@ -6080,6 +6080,13 @@ export declare namespace Rpc {
|
|
|
6080
6080
|
export declare namespace Cloudflare {
|
|
6081
6081
|
interface Env {}
|
|
6082
6082
|
}
|
|
6083
|
+
export interface SecretsStoreSecret {
|
|
6084
|
+
/**
|
|
6085
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6086
|
+
* if it exists, or throws an error if it does not exist
|
|
6087
|
+
*/
|
|
6088
|
+
get(): Promise<string>;
|
|
6089
|
+
}
|
|
6083
6090
|
export declare namespace TailStream {
|
|
6084
6091
|
interface Header {
|
|
6085
6092
|
readonly name: string;
|
package/oldest/index.d.ts
CHANGED
|
@@ -6199,6 +6199,13 @@ declare module "cloudflare:workers" {
|
|
|
6199
6199
|
}
|
|
6200
6200
|
export const env: Cloudflare.Env;
|
|
6201
6201
|
}
|
|
6202
|
+
interface SecretsStoreSecret {
|
|
6203
|
+
/**
|
|
6204
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6205
|
+
* if it exists, or throws an error if it does not exist
|
|
6206
|
+
*/
|
|
6207
|
+
get(): Promise<string>;
|
|
6208
|
+
}
|
|
6202
6209
|
declare module "cloudflare:sockets" {
|
|
6203
6210
|
function _connect(
|
|
6204
6211
|
address: string | SocketAddress,
|
package/oldest/index.ts
CHANGED
|
@@ -6080,6 +6080,13 @@ export declare namespace Rpc {
|
|
|
6080
6080
|
export declare namespace Cloudflare {
|
|
6081
6081
|
interface Env {}
|
|
6082
6082
|
}
|
|
6083
|
+
export interface SecretsStoreSecret {
|
|
6084
|
+
/**
|
|
6085
|
+
* Get a secret from the Secrets Store, returning a string of the secret value
|
|
6086
|
+
* if it exists, or throws an error if it does not exist
|
|
6087
|
+
*/
|
|
6088
|
+
get(): Promise<string>;
|
|
6089
|
+
}
|
|
6083
6090
|
export declare namespace TailStream {
|
|
6084
6091
|
interface Header {
|
|
6085
6092
|
readonly name: string;
|
package/package.json
CHANGED