@cloudflare/workers-types 4.20251202.0 → 4.20251205.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.
@@ -3692,7 +3692,7 @@ interface WorkerStubEntrypointOptions {
3692
3692
  }
3693
3693
  interface WorkerLoader {
3694
3694
  get(
3695
- name: string,
3695
+ name: string | null,
3696
3696
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3697
3697
  ): WorkerStub;
3698
3698
  }
@@ -9188,7 +9188,7 @@ type AiOptions = {
9188
9188
  * Maximum 5 tags are allowed each request.
9189
9189
  * Duplicate tags will removed.
9190
9190
  */
9191
- tags: string[];
9191
+ tags?: string[];
9192
9192
  gateway?: GatewayOptions;
9193
9193
  returnRawResponse?: boolean;
9194
9194
  prefix?: string;
@@ -3703,7 +3703,7 @@ export interface WorkerStubEntrypointOptions {
3703
3703
  }
3704
3704
  export interface WorkerLoader {
3705
3705
  get(
3706
- name: string,
3706
+ name: string | null,
3707
3707
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3708
3708
  ): WorkerStub;
3709
3709
  }
@@ -9200,7 +9200,7 @@ export type AiOptions = {
9200
9200
  * Maximum 5 tags are allowed each request.
9201
9201
  * Duplicate tags will removed.
9202
9202
  */
9203
- tags: string[];
9203
+ tags?: string[];
9204
9204
  gateway?: GatewayOptions;
9205
9205
  returnRawResponse?: boolean;
9206
9206
  prefix?: string;
@@ -3759,7 +3759,7 @@ interface WorkerStubEntrypointOptions {
3759
3759
  }
3760
3760
  interface WorkerLoader {
3761
3761
  get(
3762
- name: string,
3762
+ name: string | null,
3763
3763
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3764
3764
  ): WorkerStub;
3765
3765
  }
@@ -9255,7 +9255,7 @@ type AiOptions = {
9255
9255
  * Maximum 5 tags are allowed each request.
9256
9256
  * Duplicate tags will removed.
9257
9257
  */
9258
- tags: string[];
9258
+ tags?: string[];
9259
9259
  gateway?: GatewayOptions;
9260
9260
  returnRawResponse?: boolean;
9261
9261
  prefix?: string;
@@ -3770,7 +3770,7 @@ export interface WorkerStubEntrypointOptions {
3770
3770
  }
3771
3771
  export interface WorkerLoader {
3772
3772
  get(
3773
- name: string,
3773
+ name: string | null,
3774
3774
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3775
3775
  ): WorkerStub;
3776
3776
  }
@@ -9267,7 +9267,7 @@ export type AiOptions = {
9267
9267
  * Maximum 5 tags are allowed each request.
9268
9268
  * Duplicate tags will removed.
9269
9269
  */
9270
- tags: string[];
9270
+ tags?: string[];
9271
9271
  gateway?: GatewayOptions;
9272
9272
  returnRawResponse?: boolean;
9273
9273
  prefix?: string;
@@ -3767,7 +3767,7 @@ interface WorkerStubEntrypointOptions {
3767
3767
  }
3768
3768
  interface WorkerLoader {
3769
3769
  get(
3770
- name: string,
3770
+ name: string | null,
3771
3771
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3772
3772
  ): WorkerStub;
3773
3773
  }
@@ -9263,7 +9263,7 @@ type AiOptions = {
9263
9263
  * Maximum 5 tags are allowed each request.
9264
9264
  * Duplicate tags will removed.
9265
9265
  */
9266
- tags: string[];
9266
+ tags?: string[];
9267
9267
  gateway?: GatewayOptions;
9268
9268
  returnRawResponse?: boolean;
9269
9269
  prefix?: string;
@@ -3778,7 +3778,7 @@ export interface WorkerStubEntrypointOptions {
3778
3778
  }
3779
3779
  export interface WorkerLoader {
3780
3780
  get(
3781
- name: string,
3781
+ name: string | null,
3782
3782
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3783
3783
  ): WorkerStub;
3784
3784
  }
@@ -9275,7 +9275,7 @@ export type AiOptions = {
9275
9275
  * Maximum 5 tags are allowed each request.
9276
9276
  * Duplicate tags will removed.
9277
9277
  */
9278
- tags: string[];
9278
+ tags?: string[];
9279
9279
  gateway?: GatewayOptions;
9280
9280
  returnRawResponse?: boolean;
9281
9281
  prefix?: string;
@@ -3768,7 +3768,7 @@ interface WorkerStubEntrypointOptions {
3768
3768
  }
3769
3769
  interface WorkerLoader {
3770
3770
  get(
3771
- name: string,
3771
+ name: string | null,
3772
3772
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3773
3773
  ): WorkerStub;
3774
3774
  }
@@ -9264,7 +9264,7 @@ type AiOptions = {
9264
9264
  * Maximum 5 tags are allowed each request.
9265
9265
  * Duplicate tags will removed.
9266
9266
  */
9267
- tags: string[];
9267
+ tags?: string[];
9268
9268
  gateway?: GatewayOptions;
9269
9269
  returnRawResponse?: boolean;
9270
9270
  prefix?: string;
@@ -3779,7 +3779,7 @@ export interface WorkerStubEntrypointOptions {
3779
3779
  }
3780
3780
  export interface WorkerLoader {
3781
3781
  get(
3782
- name: string,
3782
+ name: string | null,
3783
3783
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3784
3784
  ): WorkerStub;
3785
3785
  }
@@ -9276,7 +9276,7 @@ export type AiOptions = {
9276
9276
  * Maximum 5 tags are allowed each request.
9277
9277
  * Duplicate tags will removed.
9278
9278
  */
9279
- tags: string[];
9279
+ tags?: string[];
9280
9280
  gateway?: GatewayOptions;
9281
9281
  returnRawResponse?: boolean;
9282
9282
  prefix?: string;
@@ -3788,7 +3788,7 @@ interface WorkerStubEntrypointOptions {
3788
3788
  }
3789
3789
  interface WorkerLoader {
3790
3790
  get(
3791
- name: string,
3791
+ name: string | null,
3792
3792
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3793
3793
  ): WorkerStub;
3794
3794
  }
@@ -9284,7 +9284,7 @@ type AiOptions = {
9284
9284
  * Maximum 5 tags are allowed each request.
9285
9285
  * Duplicate tags will removed.
9286
9286
  */
9287
- tags: string[];
9287
+ tags?: string[];
9288
9288
  gateway?: GatewayOptions;
9289
9289
  returnRawResponse?: boolean;
9290
9290
  prefix?: string;
@@ -3799,7 +3799,7 @@ export interface WorkerStubEntrypointOptions {
3799
3799
  }
3800
3800
  export interface WorkerLoader {
3801
3801
  get(
3802
- name: string,
3802
+ name: string | null,
3803
3803
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3804
3804
  ): WorkerStub;
3805
3805
  }
@@ -9296,7 +9296,7 @@ export type AiOptions = {
9296
9296
  * Maximum 5 tags are allowed each request.
9297
9297
  * Duplicate tags will removed.
9298
9298
  */
9299
- tags: string[];
9299
+ tags?: string[];
9300
9300
  gateway?: GatewayOptions;
9301
9301
  returnRawResponse?: boolean;
9302
9302
  prefix?: string;
@@ -3793,7 +3793,7 @@ interface WorkerStubEntrypointOptions {
3793
3793
  }
3794
3794
  interface WorkerLoader {
3795
3795
  get(
3796
- name: string,
3796
+ name: string | null,
3797
3797
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3798
3798
  ): WorkerStub;
3799
3799
  }
@@ -9289,7 +9289,7 @@ type AiOptions = {
9289
9289
  * Maximum 5 tags are allowed each request.
9290
9290
  * Duplicate tags will removed.
9291
9291
  */
9292
- tags: string[];
9292
+ tags?: string[];
9293
9293
  gateway?: GatewayOptions;
9294
9294
  returnRawResponse?: boolean;
9295
9295
  prefix?: string;
@@ -3804,7 +3804,7 @@ export interface WorkerStubEntrypointOptions {
3804
3804
  }
3805
3805
  export interface WorkerLoader {
3806
3806
  get(
3807
- name: string,
3807
+ name: string | null,
3808
3808
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3809
3809
  ): WorkerStub;
3810
3810
  }
@@ -9301,7 +9301,7 @@ export type AiOptions = {
9301
9301
  * Maximum 5 tags are allowed each request.
9302
9302
  * Duplicate tags will removed.
9303
9303
  */
9304
- tags: string[];
9304
+ tags?: string[];
9305
9305
  gateway?: GatewayOptions;
9306
9306
  returnRawResponse?: boolean;
9307
9307
  prefix?: string;
@@ -3799,7 +3799,7 @@ interface WorkerStubEntrypointOptions {
3799
3799
  }
3800
3800
  interface WorkerLoader {
3801
3801
  get(
3802
- name: string,
3802
+ name: string | null,
3803
3803
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3804
3804
  ): WorkerStub;
3805
3805
  }
@@ -9295,7 +9295,7 @@ type AiOptions = {
9295
9295
  * Maximum 5 tags are allowed each request.
9296
9296
  * Duplicate tags will removed.
9297
9297
  */
9298
- tags: string[];
9298
+ tags?: string[];
9299
9299
  gateway?: GatewayOptions;
9300
9300
  returnRawResponse?: boolean;
9301
9301
  prefix?: string;
@@ -3810,7 +3810,7 @@ export interface WorkerStubEntrypointOptions {
3810
3810
  }
3811
3811
  export interface WorkerLoader {
3812
3812
  get(
3813
- name: string,
3813
+ name: string | null,
3814
3814
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3815
3815
  ): WorkerStub;
3816
3816
  }
@@ -9307,7 +9307,7 @@ export type AiOptions = {
9307
9307
  * Maximum 5 tags are allowed each request.
9308
9308
  * Duplicate tags will removed.
9309
9309
  */
9310
- tags: string[];
9310
+ tags?: string[];
9311
9311
  gateway?: GatewayOptions;
9312
9312
  returnRawResponse?: boolean;
9313
9313
  prefix?: string;
@@ -3799,7 +3799,7 @@ interface WorkerStubEntrypointOptions {
3799
3799
  }
3800
3800
  interface WorkerLoader {
3801
3801
  get(
3802
- name: string,
3802
+ name: string | null,
3803
3803
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3804
3804
  ): WorkerStub;
3805
3805
  }
@@ -9295,7 +9295,7 @@ type AiOptions = {
9295
9295
  * Maximum 5 tags are allowed each request.
9296
9296
  * Duplicate tags will removed.
9297
9297
  */
9298
- tags: string[];
9298
+ tags?: string[];
9299
9299
  gateway?: GatewayOptions;
9300
9300
  returnRawResponse?: boolean;
9301
9301
  prefix?: string;
@@ -3810,7 +3810,7 @@ export interface WorkerStubEntrypointOptions {
3810
3810
  }
3811
3811
  export interface WorkerLoader {
3812
3812
  get(
3813
- name: string,
3813
+ name: string | null,
3814
3814
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3815
3815
  ): WorkerStub;
3816
3816
  }
@@ -9307,7 +9307,7 @@ export type AiOptions = {
9307
9307
  * Maximum 5 tags are allowed each request.
9308
9308
  * Duplicate tags will removed.
9309
9309
  */
9310
- tags: string[];
9310
+ tags?: string[];
9311
9311
  gateway?: GatewayOptions;
9312
9312
  returnRawResponse?: boolean;
9313
9313
  prefix?: string;
@@ -4112,7 +4112,7 @@ interface WorkerStubEntrypointOptions {
4112
4112
  }
4113
4113
  interface WorkerLoader {
4114
4114
  get(
4115
- name: string,
4115
+ name: string | null,
4116
4116
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
4117
4117
  ): WorkerStub;
4118
4118
  }
@@ -9932,7 +9932,7 @@ type AiOptions = {
9932
9932
  * Maximum 5 tags are allowed each request.
9933
9933
  * Duplicate tags will removed.
9934
9934
  */
9935
- tags: string[];
9935
+ tags?: string[];
9936
9936
  gateway?: GatewayOptions;
9937
9937
  returnRawResponse?: boolean;
9938
9938
  prefix?: string;
@@ -4125,7 +4125,7 @@ export interface WorkerStubEntrypointOptions {
4125
4125
  }
4126
4126
  export interface WorkerLoader {
4127
4127
  get(
4128
- name: string,
4128
+ name: string | null,
4129
4129
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
4130
4130
  ): WorkerStub;
4131
4131
  }
@@ -9946,7 +9946,7 @@ export type AiOptions = {
9946
9946
  * Maximum 5 tags are allowed each request.
9947
9947
  * Duplicate tags will removed.
9948
9948
  */
9949
- tags: string[];
9949
+ tags?: string[];
9950
9950
  gateway?: GatewayOptions;
9951
9951
  returnRawResponse?: boolean;
9952
9952
  prefix?: string;
package/index.d.ts CHANGED
@@ -3692,7 +3692,7 @@ interface WorkerStubEntrypointOptions {
3692
3692
  }
3693
3693
  interface WorkerLoader {
3694
3694
  get(
3695
- name: string,
3695
+ name: string | null,
3696
3696
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3697
3697
  ): WorkerStub;
3698
3698
  }
@@ -9188,7 +9188,7 @@ type AiOptions = {
9188
9188
  * Maximum 5 tags are allowed each request.
9189
9189
  * Duplicate tags will removed.
9190
9190
  */
9191
- tags: string[];
9191
+ tags?: string[];
9192
9192
  gateway?: GatewayOptions;
9193
9193
  returnRawResponse?: boolean;
9194
9194
  prefix?: string;
package/index.ts CHANGED
@@ -3703,7 +3703,7 @@ export interface WorkerStubEntrypointOptions {
3703
3703
  }
3704
3704
  export interface WorkerLoader {
3705
3705
  get(
3706
- name: string,
3706
+ name: string | null,
3707
3707
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3708
3708
  ): WorkerStub;
3709
3709
  }
@@ -9200,7 +9200,7 @@ export type AiOptions = {
9200
9200
  * Maximum 5 tags are allowed each request.
9201
9201
  * Duplicate tags will removed.
9202
9202
  */
9203
- tags: string[];
9203
+ tags?: string[];
9204
9204
  gateway?: GatewayOptions;
9205
9205
  returnRawResponse?: boolean;
9206
9206
  prefix?: string;
package/latest/index.d.ts CHANGED
@@ -3832,7 +3832,7 @@ interface WorkerStubEntrypointOptions {
3832
3832
  }
3833
3833
  interface WorkerLoader {
3834
3834
  get(
3835
- name: string,
3835
+ name: string | null,
3836
3836
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3837
3837
  ): WorkerStub;
3838
3838
  }
@@ -9328,7 +9328,7 @@ type AiOptions = {
9328
9328
  * Maximum 5 tags are allowed each request.
9329
9329
  * Duplicate tags will removed.
9330
9330
  */
9331
- tags: string[];
9331
+ tags?: string[];
9332
9332
  gateway?: GatewayOptions;
9333
9333
  returnRawResponse?: boolean;
9334
9334
  prefix?: string;
package/latest/index.ts CHANGED
@@ -3843,7 +3843,7 @@ export interface WorkerStubEntrypointOptions {
3843
3843
  }
3844
3844
  export interface WorkerLoader {
3845
3845
  get(
3846
- name: string,
3846
+ name: string | null,
3847
3847
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3848
3848
  ): WorkerStub;
3849
3849
  }
@@ -9340,7 +9340,7 @@ export type AiOptions = {
9340
9340
  * Maximum 5 tags are allowed each request.
9341
9341
  * Duplicate tags will removed.
9342
9342
  */
9343
- tags: string[];
9343
+ tags?: string[];
9344
9344
  gateway?: GatewayOptions;
9345
9345
  returnRawResponse?: boolean;
9346
9346
  prefix?: string;
package/oldest/index.d.ts CHANGED
@@ -3692,7 +3692,7 @@ interface WorkerStubEntrypointOptions {
3692
3692
  }
3693
3693
  interface WorkerLoader {
3694
3694
  get(
3695
- name: string,
3695
+ name: string | null,
3696
3696
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3697
3697
  ): WorkerStub;
3698
3698
  }
@@ -9188,7 +9188,7 @@ type AiOptions = {
9188
9188
  * Maximum 5 tags are allowed each request.
9189
9189
  * Duplicate tags will removed.
9190
9190
  */
9191
- tags: string[];
9191
+ tags?: string[];
9192
9192
  gateway?: GatewayOptions;
9193
9193
  returnRawResponse?: boolean;
9194
9194
  prefix?: string;
package/oldest/index.ts CHANGED
@@ -3703,7 +3703,7 @@ export interface WorkerStubEntrypointOptions {
3703
3703
  }
3704
3704
  export interface WorkerLoader {
3705
3705
  get(
3706
- name: string,
3706
+ name: string | null,
3707
3707
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3708
3708
  ): WorkerStub;
3709
3709
  }
@@ -9200,7 +9200,7 @@ export type AiOptions = {
9200
9200
  * Maximum 5 tags are allowed each request.
9201
9201
  * Duplicate tags will removed.
9202
9202
  */
9203
- tags: string[];
9203
+ tags?: string[];
9204
9204
  gateway?: GatewayOptions;
9205
9205
  returnRawResponse?: boolean;
9206
9206
  prefix?: string;
package/package.json CHANGED
@@ -7,5 +7,5 @@
7
7
  },
8
8
  "author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20251202.0"
10
+ "version": "4.20251205.0"
11
11
  }