@cloudflare/workers-types 4.20240329.0 → 4.20240403.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 +0 -3
- package/2022-01-31/index.d.ts +0 -3
- package/2022-03-21/index.d.ts +0 -3
- package/2022-08-04/index.d.ts +0 -3
- package/2022-10-31/index.d.ts +0 -3
- package/2022-11-30/index.d.ts +0 -3
- package/2023-03-01/index.d.ts +0 -3
- package/2023-07-01/index.d.ts +0 -3
- package/experimental/index.d.ts +0 -3
- package/index.d.ts +0 -3
- package/oldest/index.d.ts +0 -3
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -4322,7 +4322,6 @@ declare module "cloudflare:workers" {
|
|
|
4322
4322
|
};
|
|
4323
4323
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4324
4324
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4325
|
-
[Symbol.dispose]?(): void;
|
|
4326
4325
|
}
|
|
4327
4326
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4328
4327
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4332,7 +4331,6 @@ declare module "cloudflare:workers" {
|
|
|
4332
4331
|
protected ctx: ExecutionContext;
|
|
4333
4332
|
protected env: Env;
|
|
4334
4333
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4335
|
-
[Symbol.dispose]?(): void;
|
|
4336
4334
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4337
4335
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4338
4336
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4347,7 +4345,6 @@ declare module "cloudflare:workers" {
|
|
|
4347
4345
|
protected ctx: DurableObjectState;
|
|
4348
4346
|
protected env: Env;
|
|
4349
4347
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4350
|
-
[Symbol.dispose]?(): void;
|
|
4351
4348
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4352
4349
|
alarm?(): void | Promise<void>;
|
|
4353
4350
|
webSocketMessage?(
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -4348,7 +4348,6 @@ declare module "cloudflare:workers" {
|
|
|
4348
4348
|
};
|
|
4349
4349
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4350
4350
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4351
|
-
[Symbol.dispose]?(): void;
|
|
4352
4351
|
}
|
|
4353
4352
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4354
4353
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4358,7 +4357,6 @@ declare module "cloudflare:workers" {
|
|
|
4358
4357
|
protected ctx: ExecutionContext;
|
|
4359
4358
|
protected env: Env;
|
|
4360
4359
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4361
|
-
[Symbol.dispose]?(): void;
|
|
4362
4360
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4363
4361
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4364
4362
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4373,7 +4371,6 @@ declare module "cloudflare:workers" {
|
|
|
4373
4371
|
protected ctx: DurableObjectState;
|
|
4374
4372
|
protected env: Env;
|
|
4375
4373
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4376
|
-
[Symbol.dispose]?(): void;
|
|
4377
4374
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4378
4375
|
alarm?(): void | Promise<void>;
|
|
4379
4376
|
webSocketMessage?(
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -4374,7 +4374,6 @@ declare module "cloudflare:workers" {
|
|
|
4374
4374
|
};
|
|
4375
4375
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4376
4376
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4377
|
-
[Symbol.dispose]?(): void;
|
|
4378
4377
|
}
|
|
4379
4378
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4380
4379
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4384,7 +4383,6 @@ declare module "cloudflare:workers" {
|
|
|
4384
4383
|
protected ctx: ExecutionContext;
|
|
4385
4384
|
protected env: Env;
|
|
4386
4385
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4387
|
-
[Symbol.dispose]?(): void;
|
|
4388
4386
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4389
4387
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4390
4388
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4399,7 +4397,6 @@ declare module "cloudflare:workers" {
|
|
|
4399
4397
|
protected ctx: DurableObjectState;
|
|
4400
4398
|
protected env: Env;
|
|
4401
4399
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4402
|
-
[Symbol.dispose]?(): void;
|
|
4403
4400
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4404
4401
|
alarm?(): void | Promise<void>;
|
|
4405
4402
|
webSocketMessage?(
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -4375,7 +4375,6 @@ declare module "cloudflare:workers" {
|
|
|
4375
4375
|
};
|
|
4376
4376
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4377
4377
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4378
|
-
[Symbol.dispose]?(): void;
|
|
4379
4378
|
}
|
|
4380
4379
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4381
4380
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4385,7 +4384,6 @@ declare module "cloudflare:workers" {
|
|
|
4385
4384
|
protected ctx: ExecutionContext;
|
|
4386
4385
|
protected env: Env;
|
|
4387
4386
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4388
|
-
[Symbol.dispose]?(): void;
|
|
4389
4387
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4390
4388
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4391
4389
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4400,7 +4398,6 @@ declare module "cloudflare:workers" {
|
|
|
4400
4398
|
protected ctx: DurableObjectState;
|
|
4401
4399
|
protected env: Env;
|
|
4402
4400
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4403
|
-
[Symbol.dispose]?(): void;
|
|
4404
4401
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4405
4402
|
alarm?(): void | Promise<void>;
|
|
4406
4403
|
webSocketMessage?(
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -4373,7 +4373,6 @@ declare module "cloudflare:workers" {
|
|
|
4373
4373
|
};
|
|
4374
4374
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4375
4375
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4376
|
-
[Symbol.dispose]?(): void;
|
|
4377
4376
|
}
|
|
4378
4377
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4379
4378
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4383,7 +4382,6 @@ declare module "cloudflare:workers" {
|
|
|
4383
4382
|
protected ctx: ExecutionContext;
|
|
4384
4383
|
protected env: Env;
|
|
4385
4384
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4386
|
-
[Symbol.dispose]?(): void;
|
|
4387
4385
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4388
4386
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4389
4387
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4398,7 +4396,6 @@ declare module "cloudflare:workers" {
|
|
|
4398
4396
|
protected ctx: DurableObjectState;
|
|
4399
4397
|
protected env: Env;
|
|
4400
4398
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4401
|
-
[Symbol.dispose]?(): void;
|
|
4402
4399
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4403
4400
|
alarm?(): void | Promise<void>;
|
|
4404
4401
|
webSocketMessage?(
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -4369,7 +4369,6 @@ declare module "cloudflare:workers" {
|
|
|
4369
4369
|
};
|
|
4370
4370
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4371
4371
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4372
|
-
[Symbol.dispose]?(): void;
|
|
4373
4372
|
}
|
|
4374
4373
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4375
4374
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4379,7 +4378,6 @@ declare module "cloudflare:workers" {
|
|
|
4379
4378
|
protected ctx: ExecutionContext;
|
|
4380
4379
|
protected env: Env;
|
|
4381
4380
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4382
|
-
[Symbol.dispose]?(): void;
|
|
4383
4381
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4384
4382
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4385
4383
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4394,7 +4392,6 @@ declare module "cloudflare:workers" {
|
|
|
4394
4392
|
protected ctx: DurableObjectState;
|
|
4395
4393
|
protected env: Env;
|
|
4396
4394
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4397
|
-
[Symbol.dispose]?(): void;
|
|
4398
4395
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4399
4396
|
alarm?(): void | Promise<void>;
|
|
4400
4397
|
webSocketMessage?(
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -4370,7 +4370,6 @@ declare module "cloudflare:workers" {
|
|
|
4370
4370
|
};
|
|
4371
4371
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4372
4372
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4373
|
-
[Symbol.dispose]?(): void;
|
|
4374
4373
|
}
|
|
4375
4374
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4376
4375
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4380,7 +4379,6 @@ declare module "cloudflare:workers" {
|
|
|
4380
4379
|
protected ctx: ExecutionContext;
|
|
4381
4380
|
protected env: Env;
|
|
4382
4381
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4383
|
-
[Symbol.dispose]?(): void;
|
|
4384
4382
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4385
4383
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4386
4384
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4395,7 +4393,6 @@ declare module "cloudflare:workers" {
|
|
|
4395
4393
|
protected ctx: DurableObjectState;
|
|
4396
4394
|
protected env: Env;
|
|
4397
4395
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4398
|
-
[Symbol.dispose]?(): void;
|
|
4399
4396
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4400
4397
|
alarm?(): void | Promise<void>;
|
|
4401
4398
|
webSocketMessage?(
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -4370,7 +4370,6 @@ declare module "cloudflare:workers" {
|
|
|
4370
4370
|
};
|
|
4371
4371
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4372
4372
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4373
|
-
[Symbol.dispose]?(): void;
|
|
4374
4373
|
}
|
|
4375
4374
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4376
4375
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4380,7 +4379,6 @@ declare module "cloudflare:workers" {
|
|
|
4380
4379
|
protected ctx: ExecutionContext;
|
|
4381
4380
|
protected env: Env;
|
|
4382
4381
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4383
|
-
[Symbol.dispose]?(): void;
|
|
4384
4382
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4385
4383
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4386
4384
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4395,7 +4393,6 @@ declare module "cloudflare:workers" {
|
|
|
4395
4393
|
protected ctx: DurableObjectState;
|
|
4396
4394
|
protected env: Env;
|
|
4397
4395
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4398
|
-
[Symbol.dispose]?(): void;
|
|
4399
4396
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4400
4397
|
alarm?(): void | Promise<void>;
|
|
4401
4398
|
webSocketMessage?(
|
package/experimental/index.d.ts
CHANGED
|
@@ -4439,7 +4439,6 @@ declare module "cloudflare:workers" {
|
|
|
4439
4439
|
};
|
|
4440
4440
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4441
4441
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4442
|
-
[Symbol.dispose]?(): void;
|
|
4443
4442
|
}
|
|
4444
4443
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4445
4444
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4449,7 +4448,6 @@ declare module "cloudflare:workers" {
|
|
|
4449
4448
|
protected ctx: ExecutionContext;
|
|
4450
4449
|
protected env: Env;
|
|
4451
4450
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4452
|
-
[Symbol.dispose]?(): void;
|
|
4453
4451
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4454
4452
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4455
4453
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4464,7 +4462,6 @@ declare module "cloudflare:workers" {
|
|
|
4464
4462
|
protected ctx: DurableObjectState;
|
|
4465
4463
|
protected env: Env;
|
|
4466
4464
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4467
|
-
[Symbol.dispose]?(): void;
|
|
4468
4465
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4469
4466
|
alarm?(): void | Promise<void>;
|
|
4470
4467
|
webSocketMessage?(
|
package/index.d.ts
CHANGED
|
@@ -4322,7 +4322,6 @@ declare module "cloudflare:workers" {
|
|
|
4322
4322
|
};
|
|
4323
4323
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4324
4324
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4325
|
-
[Symbol.dispose]?(): void;
|
|
4326
4325
|
}
|
|
4327
4326
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4328
4327
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4332,7 +4331,6 @@ declare module "cloudflare:workers" {
|
|
|
4332
4331
|
protected ctx: ExecutionContext;
|
|
4333
4332
|
protected env: Env;
|
|
4334
4333
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4335
|
-
[Symbol.dispose]?(): void;
|
|
4336
4334
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4337
4335
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4338
4336
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4347,7 +4345,6 @@ declare module "cloudflare:workers" {
|
|
|
4347
4345
|
protected ctx: DurableObjectState;
|
|
4348
4346
|
protected env: Env;
|
|
4349
4347
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4350
|
-
[Symbol.dispose]?(): void;
|
|
4351
4348
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4352
4349
|
alarm?(): void | Promise<void>;
|
|
4353
4350
|
webSocketMessage?(
|
package/oldest/index.d.ts
CHANGED
|
@@ -4322,7 +4322,6 @@ declare module "cloudflare:workers" {
|
|
|
4322
4322
|
};
|
|
4323
4323
|
export abstract class RpcTarget implements Rpc.RpcTargetBranded {
|
|
4324
4324
|
[Rpc.__RPC_TARGET_BRAND]: never;
|
|
4325
|
-
[Symbol.dispose]?(): void;
|
|
4326
4325
|
}
|
|
4327
4326
|
// `protected` fields don't appear in `keyof`s, so can't be accessed over RPC
|
|
4328
4327
|
export abstract class WorkerEntrypoint<Env = unknown>
|
|
@@ -4332,7 +4331,6 @@ declare module "cloudflare:workers" {
|
|
|
4332
4331
|
protected ctx: ExecutionContext;
|
|
4333
4332
|
protected env: Env;
|
|
4334
4333
|
constructor(ctx: ExecutionContext, env: Env);
|
|
4335
|
-
[Symbol.dispose]?(): void;
|
|
4336
4334
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4337
4335
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
4338
4336
|
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
@@ -4347,7 +4345,6 @@ declare module "cloudflare:workers" {
|
|
|
4347
4345
|
protected ctx: DurableObjectState;
|
|
4348
4346
|
protected env: Env;
|
|
4349
4347
|
constructor(ctx: DurableObjectState, env: Env);
|
|
4350
|
-
[Symbol.dispose]?(): void;
|
|
4351
4348
|
fetch?(request: Request): Response | Promise<Response>;
|
|
4352
4349
|
alarm?(): void | Promise<void>;
|
|
4353
4350
|
webSocketMessage?(
|
package/package.json
CHANGED