@cloudflare/workers-types 4.20251117.0 → 4.20251118.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 +5 -4
- package/2021-11-03/index.ts +5 -4
- package/2022-01-31/index.d.ts +5 -4
- package/2022-01-31/index.ts +5 -4
- package/2022-03-21/index.d.ts +5 -4
- package/2022-03-21/index.ts +5 -4
- package/2022-08-04/index.d.ts +5 -4
- package/2022-08-04/index.ts +5 -4
- package/2022-10-31/index.d.ts +5 -4
- package/2022-10-31/index.ts +5 -4
- package/2022-11-30/index.d.ts +5 -4
- package/2022-11-30/index.ts +5 -4
- package/2023-03-01/index.d.ts +5 -4
- package/2023-03-01/index.ts +5 -4
- package/2023-07-01/index.d.ts +5 -4
- package/2023-07-01/index.ts +5 -4
- package/experimental/index.d.ts +5 -4
- package/experimental/index.ts +5 -4
- package/index.d.ts +5 -4
- package/index.ts +5 -4
- package/latest/index.d.ts +5 -4
- package/latest/index.ts +5 -4
- package/oldest/index.d.ts +5 -4
- package/oldest/index.ts +5 -4
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -9422,17 +9422,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9422
9422
|
protected ctx: ExecutionContext<Props>;
|
|
9423
9423
|
protected env: Env;
|
|
9424
9424
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9425
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9425
9426
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9427
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9428
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9426
9429
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9427
9430
|
tailStream?(
|
|
9428
9431
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9429
9432
|
):
|
|
9430
9433
|
| TailStream.TailEventHandlerType
|
|
9431
9434
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9432
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9433
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9434
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9435
9435
|
test?(controller: TestController): void | Promise<void>;
|
|
9436
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9436
9437
|
}
|
|
9437
9438
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9438
9439
|
implements Rpc.DurableObjectBranded
|
|
@@ -9441,8 +9442,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9441
9442
|
protected ctx: DurableObjectState<Props>;
|
|
9442
9443
|
protected env: Env;
|
|
9443
9444
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9444
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9445
9445
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9446
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9446
9447
|
webSocketMessage?(
|
|
9447
9448
|
ws: WebSocket,
|
|
9448
9449
|
message: string | ArrayBuffer,
|
package/2021-11-03/index.ts
CHANGED
|
@@ -9397,17 +9397,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9397
9397
|
protected ctx: ExecutionContext<Props>;
|
|
9398
9398
|
protected env: Env;
|
|
9399
9399
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9400
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9400
9401
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9402
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9403
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9401
9404
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9402
9405
|
tailStream?(
|
|
9403
9406
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9404
9407
|
):
|
|
9405
9408
|
| TailStream.TailEventHandlerType
|
|
9406
9409
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9407
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9408
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9409
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9410
9410
|
test?(controller: TestController): void | Promise<void>;
|
|
9411
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9411
9412
|
}
|
|
9412
9413
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9413
9414
|
implements Rpc.DurableObjectBranded
|
|
@@ -9416,8 +9417,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9416
9417
|
protected ctx: DurableObjectState<Props>;
|
|
9417
9418
|
protected env: Env;
|
|
9418
9419
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9419
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9420
9420
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9421
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9421
9422
|
webSocketMessage?(
|
|
9422
9423
|
ws: WebSocket,
|
|
9423
9424
|
message: string | ArrayBuffer,
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -9489,17 +9489,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9489
9489
|
protected ctx: ExecutionContext<Props>;
|
|
9490
9490
|
protected env: Env;
|
|
9491
9491
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9492
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9492
9493
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9494
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9495
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9493
9496
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9494
9497
|
tailStream?(
|
|
9495
9498
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9496
9499
|
):
|
|
9497
9500
|
| TailStream.TailEventHandlerType
|
|
9498
9501
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9499
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9500
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9501
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9502
9502
|
test?(controller: TestController): void | Promise<void>;
|
|
9503
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9503
9504
|
}
|
|
9504
9505
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9505
9506
|
implements Rpc.DurableObjectBranded
|
|
@@ -9508,8 +9509,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9508
9509
|
protected ctx: DurableObjectState<Props>;
|
|
9509
9510
|
protected env: Env;
|
|
9510
9511
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9511
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9512
9512
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9513
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9513
9514
|
webSocketMessage?(
|
|
9514
9515
|
ws: WebSocket,
|
|
9515
9516
|
message: string | ArrayBuffer,
|
package/2022-01-31/index.ts
CHANGED
|
@@ -9464,17 +9464,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9464
9464
|
protected ctx: ExecutionContext<Props>;
|
|
9465
9465
|
protected env: Env;
|
|
9466
9466
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9467
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9467
9468
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9469
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9470
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9468
9471
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9469
9472
|
tailStream?(
|
|
9470
9473
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9471
9474
|
):
|
|
9472
9475
|
| TailStream.TailEventHandlerType
|
|
9473
9476
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9474
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9475
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9476
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9477
9477
|
test?(controller: TestController): void | Promise<void>;
|
|
9478
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9478
9479
|
}
|
|
9479
9480
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9480
9481
|
implements Rpc.DurableObjectBranded
|
|
@@ -9483,8 +9484,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9483
9484
|
protected ctx: DurableObjectState<Props>;
|
|
9484
9485
|
protected env: Env;
|
|
9485
9486
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9486
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9487
9487
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9488
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9488
9489
|
webSocketMessage?(
|
|
9489
9490
|
ws: WebSocket,
|
|
9490
9491
|
message: string | ArrayBuffer,
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -9497,17 +9497,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9497
9497
|
protected ctx: ExecutionContext<Props>;
|
|
9498
9498
|
protected env: Env;
|
|
9499
9499
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9500
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9500
9501
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9502
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9503
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9501
9504
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9502
9505
|
tailStream?(
|
|
9503
9506
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9504
9507
|
):
|
|
9505
9508
|
| TailStream.TailEventHandlerType
|
|
9506
9509
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9507
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9508
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9509
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9510
9510
|
test?(controller: TestController): void | Promise<void>;
|
|
9511
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9511
9512
|
}
|
|
9512
9513
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9513
9514
|
implements Rpc.DurableObjectBranded
|
|
@@ -9516,8 +9517,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9516
9517
|
protected ctx: DurableObjectState<Props>;
|
|
9517
9518
|
protected env: Env;
|
|
9518
9519
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9519
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9520
9520
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9521
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9521
9522
|
webSocketMessage?(
|
|
9522
9523
|
ws: WebSocket,
|
|
9523
9524
|
message: string | ArrayBuffer,
|
package/2022-03-21/index.ts
CHANGED
|
@@ -9472,17 +9472,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9472
9472
|
protected ctx: ExecutionContext<Props>;
|
|
9473
9473
|
protected env: Env;
|
|
9474
9474
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9475
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9475
9476
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9477
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9478
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9476
9479
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9477
9480
|
tailStream?(
|
|
9478
9481
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9479
9482
|
):
|
|
9480
9483
|
| TailStream.TailEventHandlerType
|
|
9481
9484
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9482
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9483
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9484
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9485
9485
|
test?(controller: TestController): void | Promise<void>;
|
|
9486
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9486
9487
|
}
|
|
9487
9488
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9488
9489
|
implements Rpc.DurableObjectBranded
|
|
@@ -9491,8 +9492,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9491
9492
|
protected ctx: DurableObjectState<Props>;
|
|
9492
9493
|
protected env: Env;
|
|
9493
9494
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9494
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9495
9495
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9496
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9496
9497
|
webSocketMessage?(
|
|
9497
9498
|
ws: WebSocket,
|
|
9498
9499
|
message: string | ArrayBuffer,
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -9498,17 +9498,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9498
9498
|
protected ctx: ExecutionContext<Props>;
|
|
9499
9499
|
protected env: Env;
|
|
9500
9500
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9501
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9501
9502
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9503
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9504
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9502
9505
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9503
9506
|
tailStream?(
|
|
9504
9507
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9505
9508
|
):
|
|
9506
9509
|
| TailStream.TailEventHandlerType
|
|
9507
9510
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9508
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9509
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9510
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9511
9511
|
test?(controller: TestController): void | Promise<void>;
|
|
9512
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9512
9513
|
}
|
|
9513
9514
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9514
9515
|
implements Rpc.DurableObjectBranded
|
|
@@ -9517,8 +9518,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9517
9518
|
protected ctx: DurableObjectState<Props>;
|
|
9518
9519
|
protected env: Env;
|
|
9519
9520
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9520
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9521
9521
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9522
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9522
9523
|
webSocketMessage?(
|
|
9523
9524
|
ws: WebSocket,
|
|
9524
9525
|
message: string | ArrayBuffer,
|
package/2022-08-04/index.ts
CHANGED
|
@@ -9473,17 +9473,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9473
9473
|
protected ctx: ExecutionContext<Props>;
|
|
9474
9474
|
protected env: Env;
|
|
9475
9475
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9476
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9476
9477
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9478
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9479
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9477
9480
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9478
9481
|
tailStream?(
|
|
9479
9482
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9480
9483
|
):
|
|
9481
9484
|
| TailStream.TailEventHandlerType
|
|
9482
9485
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9483
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9484
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9485
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9486
9486
|
test?(controller: TestController): void | Promise<void>;
|
|
9487
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9487
9488
|
}
|
|
9488
9489
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9489
9490
|
implements Rpc.DurableObjectBranded
|
|
@@ -9492,8 +9493,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9492
9493
|
protected ctx: DurableObjectState<Props>;
|
|
9493
9494
|
protected env: Env;
|
|
9494
9495
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9495
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9496
9496
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9497
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9497
9498
|
webSocketMessage?(
|
|
9498
9499
|
ws: WebSocket,
|
|
9499
9500
|
message: string | ArrayBuffer,
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -9518,17 +9518,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9518
9518
|
protected ctx: ExecutionContext<Props>;
|
|
9519
9519
|
protected env: Env;
|
|
9520
9520
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9521
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9521
9522
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9523
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9524
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9522
9525
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9523
9526
|
tailStream?(
|
|
9524
9527
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9525
9528
|
):
|
|
9526
9529
|
| TailStream.TailEventHandlerType
|
|
9527
9530
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9528
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9529
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9530
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9531
9531
|
test?(controller: TestController): void | Promise<void>;
|
|
9532
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9532
9533
|
}
|
|
9533
9534
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9534
9535
|
implements Rpc.DurableObjectBranded
|
|
@@ -9537,8 +9538,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9537
9538
|
protected ctx: DurableObjectState<Props>;
|
|
9538
9539
|
protected env: Env;
|
|
9539
9540
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9540
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9541
9541
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9542
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9542
9543
|
webSocketMessage?(
|
|
9543
9544
|
ws: WebSocket,
|
|
9544
9545
|
message: string | ArrayBuffer,
|
package/2022-10-31/index.ts
CHANGED
|
@@ -9493,17 +9493,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9493
9493
|
protected ctx: ExecutionContext<Props>;
|
|
9494
9494
|
protected env: Env;
|
|
9495
9495
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9496
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9496
9497
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9498
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9499
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9497
9500
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9498
9501
|
tailStream?(
|
|
9499
9502
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9500
9503
|
):
|
|
9501
9504
|
| TailStream.TailEventHandlerType
|
|
9502
9505
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9503
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9504
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9505
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9506
9506
|
test?(controller: TestController): void | Promise<void>;
|
|
9507
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9507
9508
|
}
|
|
9508
9509
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9509
9510
|
implements Rpc.DurableObjectBranded
|
|
@@ -9512,8 +9513,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9512
9513
|
protected ctx: DurableObjectState<Props>;
|
|
9513
9514
|
protected env: Env;
|
|
9514
9515
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9515
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9516
9516
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9517
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9517
9518
|
webSocketMessage?(
|
|
9518
9519
|
ws: WebSocket,
|
|
9519
9520
|
message: string | ArrayBuffer,
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -9523,17 +9523,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9523
9523
|
protected ctx: ExecutionContext<Props>;
|
|
9524
9524
|
protected env: Env;
|
|
9525
9525
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9526
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9526
9527
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9528
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9529
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9527
9530
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9528
9531
|
tailStream?(
|
|
9529
9532
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9530
9533
|
):
|
|
9531
9534
|
| TailStream.TailEventHandlerType
|
|
9532
9535
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9533
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9534
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9535
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9536
9536
|
test?(controller: TestController): void | Promise<void>;
|
|
9537
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9537
9538
|
}
|
|
9538
9539
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9539
9540
|
implements Rpc.DurableObjectBranded
|
|
@@ -9542,8 +9543,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9542
9543
|
protected ctx: DurableObjectState<Props>;
|
|
9543
9544
|
protected env: Env;
|
|
9544
9545
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9545
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9546
9546
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9547
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9547
9548
|
webSocketMessage?(
|
|
9548
9549
|
ws: WebSocket,
|
|
9549
9550
|
message: string | ArrayBuffer,
|
package/2022-11-30/index.ts
CHANGED
|
@@ -9498,17 +9498,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9498
9498
|
protected ctx: ExecutionContext<Props>;
|
|
9499
9499
|
protected env: Env;
|
|
9500
9500
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9501
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9501
9502
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9503
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9504
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9502
9505
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9503
9506
|
tailStream?(
|
|
9504
9507
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9505
9508
|
):
|
|
9506
9509
|
| TailStream.TailEventHandlerType
|
|
9507
9510
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9508
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9509
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9510
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9511
9511
|
test?(controller: TestController): void | Promise<void>;
|
|
9512
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9512
9513
|
}
|
|
9513
9514
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9514
9515
|
implements Rpc.DurableObjectBranded
|
|
@@ -9517,8 +9518,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9517
9518
|
protected ctx: DurableObjectState<Props>;
|
|
9518
9519
|
protected env: Env;
|
|
9519
9520
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9520
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9521
9521
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9522
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9522
9523
|
webSocketMessage?(
|
|
9523
9524
|
ws: WebSocket,
|
|
9524
9525
|
message: string | ArrayBuffer,
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -9529,17 +9529,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9529
9529
|
protected ctx: ExecutionContext<Props>;
|
|
9530
9530
|
protected env: Env;
|
|
9531
9531
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9532
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9532
9533
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9534
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9535
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9533
9536
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9534
9537
|
tailStream?(
|
|
9535
9538
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9536
9539
|
):
|
|
9537
9540
|
| TailStream.TailEventHandlerType
|
|
9538
9541
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9539
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9540
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9541
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9542
9542
|
test?(controller: TestController): void | Promise<void>;
|
|
9543
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9543
9544
|
}
|
|
9544
9545
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9545
9546
|
implements Rpc.DurableObjectBranded
|
|
@@ -9548,8 +9549,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9548
9549
|
protected ctx: DurableObjectState<Props>;
|
|
9549
9550
|
protected env: Env;
|
|
9550
9551
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9551
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9552
9552
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9553
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9553
9554
|
webSocketMessage?(
|
|
9554
9555
|
ws: WebSocket,
|
|
9555
9556
|
message: string | ArrayBuffer,
|
package/2023-03-01/index.ts
CHANGED
|
@@ -9504,17 +9504,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9504
9504
|
protected ctx: ExecutionContext<Props>;
|
|
9505
9505
|
protected env: Env;
|
|
9506
9506
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9507
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9507
9508
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9509
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9510
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9508
9511
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9509
9512
|
tailStream?(
|
|
9510
9513
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9511
9514
|
):
|
|
9512
9515
|
| TailStream.TailEventHandlerType
|
|
9513
9516
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9514
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9515
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9516
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9517
9517
|
test?(controller: TestController): void | Promise<void>;
|
|
9518
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9518
9519
|
}
|
|
9519
9520
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9520
9521
|
implements Rpc.DurableObjectBranded
|
|
@@ -9523,8 +9524,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9523
9524
|
protected ctx: DurableObjectState<Props>;
|
|
9524
9525
|
protected env: Env;
|
|
9525
9526
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9526
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9527
9527
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9528
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9528
9529
|
webSocketMessage?(
|
|
9529
9530
|
ws: WebSocket,
|
|
9530
9531
|
message: string | ArrayBuffer,
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -9529,17 +9529,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9529
9529
|
protected ctx: ExecutionContext<Props>;
|
|
9530
9530
|
protected env: Env;
|
|
9531
9531
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9532
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9532
9533
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9534
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9535
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9533
9536
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9534
9537
|
tailStream?(
|
|
9535
9538
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9536
9539
|
):
|
|
9537
9540
|
| TailStream.TailEventHandlerType
|
|
9538
9541
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9539
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9540
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9541
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9542
9542
|
test?(controller: TestController): void | Promise<void>;
|
|
9543
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9543
9544
|
}
|
|
9544
9545
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9545
9546
|
implements Rpc.DurableObjectBranded
|
|
@@ -9548,8 +9549,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9548
9549
|
protected ctx: DurableObjectState<Props>;
|
|
9549
9550
|
protected env: Env;
|
|
9550
9551
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9551
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9552
9552
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9553
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9553
9554
|
webSocketMessage?(
|
|
9554
9555
|
ws: WebSocket,
|
|
9555
9556
|
message: string | ArrayBuffer,
|
package/2023-07-01/index.ts
CHANGED
|
@@ -9504,17 +9504,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9504
9504
|
protected ctx: ExecutionContext<Props>;
|
|
9505
9505
|
protected env: Env;
|
|
9506
9506
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9507
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9507
9508
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9509
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9510
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9508
9511
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9509
9512
|
tailStream?(
|
|
9510
9513
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9511
9514
|
):
|
|
9512
9515
|
| TailStream.TailEventHandlerType
|
|
9513
9516
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9514
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9515
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9516
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9517
9517
|
test?(controller: TestController): void | Promise<void>;
|
|
9518
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9518
9519
|
}
|
|
9519
9520
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9520
9521
|
implements Rpc.DurableObjectBranded
|
|
@@ -9523,8 +9524,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9523
9524
|
protected ctx: DurableObjectState<Props>;
|
|
9524
9525
|
protected env: Env;
|
|
9525
9526
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9526
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9527
9527
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9528
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9528
9529
|
webSocketMessage?(
|
|
9529
9530
|
ws: WebSocket,
|
|
9530
9531
|
message: string | ArrayBuffer,
|
package/experimental/index.d.ts
CHANGED
|
@@ -10166,17 +10166,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
10166
10166
|
protected ctx: ExecutionContext<Props>;
|
|
10167
10167
|
protected env: Env;
|
|
10168
10168
|
constructor(ctx: ExecutionContext, env: Env);
|
|
10169
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
10169
10170
|
fetch?(request: Request): Response | Promise<Response>;
|
|
10171
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
10172
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
10170
10173
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
10171
10174
|
tailStream?(
|
|
10172
10175
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
10173
10176
|
):
|
|
10174
10177
|
| TailStream.TailEventHandlerType
|
|
10175
10178
|
| Promise<TailStream.TailEventHandlerType>;
|
|
10176
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
10177
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
10178
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
10179
10179
|
test?(controller: TestController): void | Promise<void>;
|
|
10180
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
10180
10181
|
}
|
|
10181
10182
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
10182
10183
|
implements Rpc.DurableObjectBranded
|
|
@@ -10185,8 +10186,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
10185
10186
|
protected ctx: DurableObjectState<Props>;
|
|
10186
10187
|
protected env: Env;
|
|
10187
10188
|
constructor(ctx: DurableObjectState, env: Env);
|
|
10188
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
10189
10189
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
10190
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
10190
10191
|
webSocketMessage?(
|
|
10191
10192
|
ws: WebSocket,
|
|
10192
10193
|
message: string | ArrayBuffer,
|
package/experimental/index.ts
CHANGED
|
@@ -10143,17 +10143,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
10143
10143
|
protected ctx: ExecutionContext<Props>;
|
|
10144
10144
|
protected env: Env;
|
|
10145
10145
|
constructor(ctx: ExecutionContext, env: Env);
|
|
10146
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
10146
10147
|
fetch?(request: Request): Response | Promise<Response>;
|
|
10148
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
10149
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
10147
10150
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
10148
10151
|
tailStream?(
|
|
10149
10152
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
10150
10153
|
):
|
|
10151
10154
|
| TailStream.TailEventHandlerType
|
|
10152
10155
|
| Promise<TailStream.TailEventHandlerType>;
|
|
10153
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
10154
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
10155
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
10156
10156
|
test?(controller: TestController): void | Promise<void>;
|
|
10157
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
10157
10158
|
}
|
|
10158
10159
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
10159
10160
|
implements Rpc.DurableObjectBranded
|
|
@@ -10162,8 +10163,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
10162
10163
|
protected ctx: DurableObjectState<Props>;
|
|
10163
10164
|
protected env: Env;
|
|
10164
10165
|
constructor(ctx: DurableObjectState, env: Env);
|
|
10165
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
10166
10166
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
10167
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
10167
10168
|
webSocketMessage?(
|
|
10168
10169
|
ws: WebSocket,
|
|
10169
10170
|
message: string | ArrayBuffer,
|
package/index.d.ts
CHANGED
|
@@ -9422,17 +9422,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9422
9422
|
protected ctx: ExecutionContext<Props>;
|
|
9423
9423
|
protected env: Env;
|
|
9424
9424
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9425
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9425
9426
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9427
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9428
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9426
9429
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9427
9430
|
tailStream?(
|
|
9428
9431
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9429
9432
|
):
|
|
9430
9433
|
| TailStream.TailEventHandlerType
|
|
9431
9434
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9432
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9433
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9434
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9435
9435
|
test?(controller: TestController): void | Promise<void>;
|
|
9436
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9436
9437
|
}
|
|
9437
9438
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9438
9439
|
implements Rpc.DurableObjectBranded
|
|
@@ -9441,8 +9442,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9441
9442
|
protected ctx: DurableObjectState<Props>;
|
|
9442
9443
|
protected env: Env;
|
|
9443
9444
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9444
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9445
9445
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9446
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9446
9447
|
webSocketMessage?(
|
|
9447
9448
|
ws: WebSocket,
|
|
9448
9449
|
message: string | ArrayBuffer,
|
package/index.ts
CHANGED
|
@@ -9397,17 +9397,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9397
9397
|
protected ctx: ExecutionContext<Props>;
|
|
9398
9398
|
protected env: Env;
|
|
9399
9399
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9400
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9400
9401
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9402
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9403
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9401
9404
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9402
9405
|
tailStream?(
|
|
9403
9406
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9404
9407
|
):
|
|
9405
9408
|
| TailStream.TailEventHandlerType
|
|
9406
9409
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9407
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9408
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9409
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9410
9410
|
test?(controller: TestController): void | Promise<void>;
|
|
9411
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9411
9412
|
}
|
|
9412
9413
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9413
9414
|
implements Rpc.DurableObjectBranded
|
|
@@ -9416,8 +9417,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9416
9417
|
protected ctx: DurableObjectState<Props>;
|
|
9417
9418
|
protected env: Env;
|
|
9418
9419
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9419
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9420
9420
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9421
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9421
9422
|
webSocketMessage?(
|
|
9422
9423
|
ws: WebSocket,
|
|
9423
9424
|
message: string | ArrayBuffer,
|
package/latest/index.d.ts
CHANGED
|
@@ -9562,17 +9562,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9562
9562
|
protected ctx: ExecutionContext<Props>;
|
|
9563
9563
|
protected env: Env;
|
|
9564
9564
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9565
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9565
9566
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9567
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9568
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9566
9569
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9567
9570
|
tailStream?(
|
|
9568
9571
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9569
9572
|
):
|
|
9570
9573
|
| TailStream.TailEventHandlerType
|
|
9571
9574
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9572
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9573
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9574
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9575
9575
|
test?(controller: TestController): void | Promise<void>;
|
|
9576
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9576
9577
|
}
|
|
9577
9578
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9578
9579
|
implements Rpc.DurableObjectBranded
|
|
@@ -9581,8 +9582,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9581
9582
|
protected ctx: DurableObjectState<Props>;
|
|
9582
9583
|
protected env: Env;
|
|
9583
9584
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9584
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9585
9585
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9586
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9586
9587
|
webSocketMessage?(
|
|
9587
9588
|
ws: WebSocket,
|
|
9588
9589
|
message: string | ArrayBuffer,
|
package/latest/index.ts
CHANGED
|
@@ -9537,17 +9537,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9537
9537
|
protected ctx: ExecutionContext<Props>;
|
|
9538
9538
|
protected env: Env;
|
|
9539
9539
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9540
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9540
9541
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9542
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9543
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9541
9544
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9542
9545
|
tailStream?(
|
|
9543
9546
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9544
9547
|
):
|
|
9545
9548
|
| TailStream.TailEventHandlerType
|
|
9546
9549
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9547
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9548
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9549
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9550
9550
|
test?(controller: TestController): void | Promise<void>;
|
|
9551
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9551
9552
|
}
|
|
9552
9553
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9553
9554
|
implements Rpc.DurableObjectBranded
|
|
@@ -9556,8 +9557,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9556
9557
|
protected ctx: DurableObjectState<Props>;
|
|
9557
9558
|
protected env: Env;
|
|
9558
9559
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9559
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9560
9560
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9561
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9561
9562
|
webSocketMessage?(
|
|
9562
9563
|
ws: WebSocket,
|
|
9563
9564
|
message: string | ArrayBuffer,
|
package/oldest/index.d.ts
CHANGED
|
@@ -9422,17 +9422,18 @@ declare namespace CloudflareWorkersModule {
|
|
|
9422
9422
|
protected ctx: ExecutionContext<Props>;
|
|
9423
9423
|
protected env: Env;
|
|
9424
9424
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9425
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9425
9426
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9427
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9428
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9426
9429
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9427
9430
|
tailStream?(
|
|
9428
9431
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9429
9432
|
):
|
|
9430
9433
|
| TailStream.TailEventHandlerType
|
|
9431
9434
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9432
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9433
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9434
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9435
9435
|
test?(controller: TestController): void | Promise<void>;
|
|
9436
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9436
9437
|
}
|
|
9437
9438
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9438
9439
|
implements Rpc.DurableObjectBranded
|
|
@@ -9441,8 +9442,8 @@ declare namespace CloudflareWorkersModule {
|
|
|
9441
9442
|
protected ctx: DurableObjectState<Props>;
|
|
9442
9443
|
protected env: Env;
|
|
9443
9444
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9444
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9445
9445
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9446
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9446
9447
|
webSocketMessage?(
|
|
9447
9448
|
ws: WebSocket,
|
|
9448
9449
|
message: string | ArrayBuffer,
|
package/oldest/index.ts
CHANGED
|
@@ -9397,17 +9397,18 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9397
9397
|
protected ctx: ExecutionContext<Props>;
|
|
9398
9398
|
protected env: Env;
|
|
9399
9399
|
constructor(ctx: ExecutionContext, env: Env);
|
|
9400
|
+
email?(message: ForwardableEmailMessage): void | Promise<void>;
|
|
9400
9401
|
fetch?(request: Request): Response | Promise<Response>;
|
|
9402
|
+
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9403
|
+
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9401
9404
|
tail?(events: TraceItem[]): void | Promise<void>;
|
|
9402
9405
|
tailStream?(
|
|
9403
9406
|
event: TailStream.TailEvent<TailStream.Onset>,
|
|
9404
9407
|
):
|
|
9405
9408
|
| TailStream.TailEventHandlerType
|
|
9406
9409
|
| Promise<TailStream.TailEventHandlerType>;
|
|
9407
|
-
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9408
|
-
scheduled?(controller: ScheduledController): void | Promise<void>;
|
|
9409
|
-
queue?(batch: MessageBatch<unknown>): void | Promise<void>;
|
|
9410
9410
|
test?(controller: TestController): void | Promise<void>;
|
|
9411
|
+
trace?(traces: TraceItem[]): void | Promise<void>;
|
|
9411
9412
|
}
|
|
9412
9413
|
export abstract class DurableObject<Env = Cloudflare.Env, Props = {}>
|
|
9413
9414
|
implements Rpc.DurableObjectBranded
|
|
@@ -9416,8 +9417,8 @@ export declare namespace CloudflareWorkersModule {
|
|
|
9416
9417
|
protected ctx: DurableObjectState<Props>;
|
|
9417
9418
|
protected env: Env;
|
|
9418
9419
|
constructor(ctx: DurableObjectState, env: Env);
|
|
9419
|
-
fetch?(request: Request): Response | Promise<Response>;
|
|
9420
9420
|
alarm?(alarmInfo?: AlarmInvocationInfo): void | Promise<void>;
|
|
9421
|
+
fetch?(request: Request): Response | Promise<Response>;
|
|
9421
9422
|
webSocketMessage?(
|
|
9422
9423
|
ws: WebSocket,
|
|
9423
9424
|
message: string | ArrayBuffer,
|
package/package.json
CHANGED