wrangler 3.114.1 → 4.0.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.
@@ -13,10 +13,6 @@
13
13
  "description": "Absolute path to assets directory",
14
14
  "type": "string"
15
15
  },
16
- "experimental_serve_directly": {
17
- "description": "Deprecated; Inverse of run_worker_first. Should use run_worker_first instead",
18
- "type": "boolean"
19
- },
20
16
  "html_handling": {
21
17
  "description": "How to handle HTML requests.",
22
18
  "enum": [
@@ -163,1050 +159,144 @@
163
159
  "type": "number"
164
160
  },
165
161
  "name": {
166
- "type": "string"
167
- },
168
- "scheduling_policy": {
169
- "enum": [
170
- "regional",
171
- "moon"
172
- ],
173
- "type": "string"
174
- }
175
- },
176
- "required": [
177
- "name",
178
- "instances",
179
- "configuration"
180
- ],
181
- "type": "object"
182
- },
183
- "CustomDomainRoute": {
184
- "additionalProperties": false,
185
- "properties": {
186
- "custom_domain": {
187
- "type": "boolean"
188
- },
189
- "pattern": {
190
- "type": "string"
191
- }
192
- },
193
- "required": [
194
- "pattern",
195
- "custom_domain"
196
- ],
197
- "type": "object"
198
- },
199
- "DeprecatedUpload": {
200
- "additionalProperties": false,
201
- "description": "Deprecated upload configuration.",
202
- "properties": {
203
- "dir": {
204
- "deprecated": true,
205
- "description": "The directory you wish to upload your Worker from, relative to the Wrangler configuration file.\n\nDefaults to the directory containing the Wrangler configuration file.",
206
- "type": "string"
207
- },
208
- "format": {
209
- "deprecated": "We infer the format automatically now.",
210
- "description": "The format of the Worker script.",
211
- "enum": [
212
- "modules",
213
- "service-worker"
214
- ],
215
- "type": "string"
216
- },
217
- "main": {
218
- "deprecated": "This will be replaced by a command line argument.",
219
- "description": "The path to the Worker script, relative to `upload.dir`.",
220
- "type": "string"
221
- },
222
- "rules": {
223
- "$ref": "#/definitions/Environment",
224
- "deprecated": "This is now defined at the top level `rules` field."
225
- }
226
- },
227
- "type": "object"
228
- },
229
- "DispatchNamespaceOutbound": {
230
- "additionalProperties": false,
231
- "properties": {
232
- "environment": {
233
- "description": "(Optional) Name of the environment handling the outbound requests.",
234
- "type": "string"
235
- },
236
- "parameters": {
237
- "description": "(Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler",
238
- "items": {
239
- "type": "string"
240
- },
241
- "type": "array"
242
- },
243
- "service": {
244
- "description": "Name of the service handling the outbound requests",
245
- "type": "string"
246
- }
247
- },
248
- "required": [
249
- "service"
250
- ],
251
- "type": "object"
252
- },
253
- "DurableObjectBindings": {
254
- "items": {
255
- "additionalProperties": false,
256
- "properties": {
257
- "class_name": {
258
- "description": "The exported class name of the Durable Object",
259
- "type": "string"
260
- },
261
- "environment": {
262
- "description": "The service environment of the script_name to bind to",
263
- "type": "string"
264
- },
265
- "name": {
266
- "description": "The name of the binding used to refer to the Durable Object",
267
- "type": "string"
268
- },
269
- "script_name": {
270
- "description": "The script where the Durable Object is defined (if it's external to this Worker)",
271
- "type": "string"
272
- }
273
- },
274
- "required": [
275
- "name",
276
- "class_name"
277
- ],
278
- "type": "object"
279
- },
280
- "type": "array"
281
- },
282
- "DurableObjectMigration": {
283
- "additionalProperties": false,
284
- "description": "Configuration in wrangler for Durable Object Migrations",
285
- "properties": {
286
- "deleted_classes": {
287
- "description": "The Durable Objects being removed.",
288
- "items": {
289
- "type": "string"
290
- },
291
- "type": "array"
292
- },
293
- "new_classes": {
294
- "description": "The new Durable Objects being defined.",
295
- "items": {
296
- "type": "string"
297
- },
298
- "type": "array"
299
- },
300
- "new_sqlite_classes": {
301
- "description": "The new SQLite Durable Objects being defined.",
302
- "items": {
303
- "type": "string"
304
- },
305
- "type": "array"
306
- },
307
- "renamed_classes": {
308
- "description": "The Durable Objects being renamed.",
309
- "items": {
310
- "additionalProperties": false,
311
- "properties": {
312
- "from": {
313
- "type": "string"
314
- },
315
- "to": {
316
- "type": "string"
317
- }
318
- },
319
- "required": [
320
- "from",
321
- "to"
322
- ],
323
- "type": "object"
324
- },
325
- "type": "array"
326
- },
327
- "tag": {
328
- "description": "A unique identifier for this migration.",
329
- "type": "string"
330
- }
331
- },
332
- "required": [
333
- "tag"
334
- ],
335
- "type": "object"
336
- },
337
- "Environment": {
338
- "additionalProperties": false,
339
- "description": "The `Environment` interface declares all the configuration fields that can be specified for an environment.\n\nThis could be the top-level default environment, or a specific named environment.",
340
- "properties": {
341
- "account_id": {
342
- "description": "This is the ID of the account associated with your zone. You might have more than one account, so make sure to use the ID of the account associated with the zone/route you provide, if you provide one. It can also be specified through the CLOUDFLARE_ACCOUNT_ID environment variable.",
343
- "type": "string"
344
- },
345
- "ai": {
346
- "additionalProperties": false,
347
- "default": {},
348
- "description": "Binding to the AI project.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
349
- "properties": {
350
- "binding": {
351
- "type": "string"
352
- },
353
- "staging": {
354
- "type": "boolean"
355
- }
356
- },
357
- "required": [
358
- "binding"
359
- ],
360
- "type": "object"
361
- },
362
- "analytics_engine_datasets": {
363
- "default": [],
364
- "description": "Specifies analytics engine datasets that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
365
- "items": {
366
- "additionalProperties": false,
367
- "properties": {
368
- "binding": {
369
- "description": "The binding name used to refer to the dataset in the Worker.",
370
- "type": "string"
371
- },
372
- "dataset": {
373
- "description": "The name of this dataset to write to.",
374
- "type": "string"
375
- }
376
- },
377
- "required": [
378
- "binding"
379
- ],
380
- "type": "object"
381
- },
382
- "type": "array"
383
- },
384
- "assets": {
385
- "$ref": "#/definitions/Assets",
386
- "description": "Specify the directory of static assets to deploy/serve\n\nMore details at https://developers.cloudflare.com/workers/frameworks/"
387
- },
388
- "base_dir": {
389
- "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
390
- "type": "string"
391
- },
392
- "browser": {
393
- "additionalProperties": false,
394
- "default": {},
395
- "description": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
396
- "properties": {
397
- "binding": {
398
- "type": "string"
399
- }
400
- },
401
- "required": [
402
- "binding"
403
- ],
404
- "type": "object"
405
- },
406
- "build": {
407
- "additionalProperties": false,
408
- "default": {
409
- "watch_dir": "./src"
410
- },
411
- "description": "Configures a custom build step to be run by Wrangler when building your Worker.\n\nRefer to the [custom builds documentation](https://developers.cloudflare.com/workers/cli-wrangler/configuration#build) for more details.",
412
- "properties": {
413
- "command": {
414
- "description": "The command used to build your Worker. On Linux and macOS, the command is executed in the `sh` shell and the `cmd` shell for Windows. The `&&` and `||` shell operators may be used.",
415
- "type": "string"
416
- },
417
- "cwd": {
418
- "description": "The directory in which the command is executed.",
419
- "type": "string"
420
- },
421
- "upload": {
422
- "$ref": "#/definitions/DeprecatedUpload",
423
- "deprecated": true,
424
- "description": "Deprecated field previously used to configure the build and upload of the script."
425
- },
426
- "watch_dir": {
427
- "anyOf": [
428
- {
429
- "type": "string"
430
- },
431
- {
432
- "items": {
433
- "type": "string"
434
- },
435
- "type": "array"
436
- }
437
- ],
438
- "description": "The directory to watch for changes while using wrangler dev, defaults to the current working directory"
439
- }
440
- },
441
- "type": "object"
442
- },
443
- "cloudchamber": {
444
- "$ref": "#/definitions/CloudchamberConfig",
445
- "default": {},
446
- "description": "Cloudchamber configuration\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment."
447
- },
448
- "compatibility_date": {
449
- "description": "A date in the form yyyy-mm-dd, which will be used to determine which version of the Workers runtime is used.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
450
- "type": "string"
451
- },
452
- "compatibility_flags": {
453
- "default": [],
454
- "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_date.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-flags",
455
- "items": {
456
- "type": "string"
457
- },
458
- "type": "array"
459
- },
460
- "containers": {
461
- "additionalProperties": false,
462
- "description": "Container related configuration",
463
- "properties": {
464
- "app": {
465
- "default": {},
466
- "description": "Container app configuration\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
467
- "items": {
468
- "$ref": "#/definitions/ContainerApp"
469
- },
470
- "type": "array"
471
- }
472
- },
473
- "required": [
474
- "app"
475
- ],
476
- "type": "object"
477
- },
478
- "d1_databases": {
479
- "default": [],
480
- "description": "Specifies D1 databases that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
481
- "items": {
482
- "additionalProperties": false,
483
- "properties": {
484
- "binding": {
485
- "description": "The binding name used to refer to the D1 database in the Worker.",
486
- "type": "string"
487
- },
488
- "database_id": {
489
- "description": "The UUID of this D1 database (not required).",
490
- "type": "string"
491
- },
492
- "database_internal_env": {
493
- "description": "Internal use only.",
494
- "type": "string"
495
- },
496
- "database_name": {
497
- "description": "The name of this D1 database.",
498
- "type": "string"
499
- },
500
- "migrations_dir": {
501
- "description": "The path to the directory of migrations for this D1 database (defaults to './migrations').",
502
- "type": "string"
503
- },
504
- "migrations_table": {
505
- "description": "The name of the migrations table for this D1 database (defaults to 'd1_migrations').",
506
- "type": "string"
507
- },
508
- "preview_database_id": {
509
- "description": "The UUID of this D1 database for Wrangler Dev (if specified).",
510
- "type": "string"
511
- }
512
- },
513
- "required": [
514
- "binding"
515
- ],
516
- "type": "object"
517
- },
518
- "type": "array"
519
- },
520
- "define": {
521
- "additionalProperties": {
522
- "type": "string"
523
- },
524
- "default": {},
525
- "description": "A map of values to substitute when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
526
- "type": "object"
527
- },
528
- "dispatch_namespaces": {
529
- "default": [],
530
- "description": "Specifies namespace bindings that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
531
- "items": {
532
- "additionalProperties": false,
533
- "properties": {
534
- "binding": {
535
- "description": "The binding name used to refer to the bound service.",
536
- "type": "string"
537
- },
538
- "namespace": {
539
- "description": "The namespace to bind to.",
540
- "type": "string"
541
- },
542
- "outbound": {
543
- "$ref": "#/definitions/DispatchNamespaceOutbound",
544
- "description": "Details about the outbound Worker which will handle outbound requests from your namespace"
545
- }
546
- },
547
- "required": [
548
- "binding",
549
- "namespace"
550
- ],
551
- "type": "object"
552
- },
553
- "type": "array"
554
- },
555
- "durable_objects": {
556
- "additionalProperties": false,
557
- "default": {
558
- "bindings": []
559
- },
560
- "description": "A list of durable objects that your Worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
561
- "properties": {
562
- "bindings": {
563
- "$ref": "#/definitions/DurableObjectBindings"
564
- }
565
- },
566
- "required": [
567
- "bindings"
568
- ],
569
- "type": "object"
570
- },
571
- "find_additional_modules": {
572
- "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
573
- "type": "boolean"
574
- },
575
- "first_party_worker": {
576
- "description": "Designates this Worker as an internal-only \"first-party\" Worker.",
577
- "type": "boolean"
578
- },
579
- "hyperdrive": {
580
- "default": [],
581
- "description": "Specifies Hyperdrive configs that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
582
- "items": {
583
- "additionalProperties": false,
584
- "properties": {
585
- "binding": {
586
- "description": "The binding name used to refer to the project in the Worker.",
587
- "type": "string"
588
- },
589
- "id": {
590
- "description": "The id of the database.",
591
- "type": "string"
592
- },
593
- "localConnectionString": {
594
- "description": "The local database connection string for `wrangler dev`",
595
- "type": "string"
596
- }
597
- },
598
- "required": [
599
- "binding",
600
- "id"
601
- ],
602
- "type": "object"
603
- },
604
- "type": "array"
605
- },
606
- "images": {
607
- "additionalProperties": false,
608
- "default": {},
609
- "description": "Binding to Cloudflare Images\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
610
- "properties": {
611
- "binding": {
612
- "type": "string"
613
- }
614
- },
615
- "required": [
616
- "binding"
617
- ],
618
- "type": "object"
619
- },
620
- "jsx_factory": {
621
- "default": "React.createElement",
622
- "description": "The function to use to replace jsx syntax.",
623
- "type": "string"
624
- },
625
- "jsx_fragment": {
626
- "default": "React.Fragment",
627
- "description": "The function to use to replace jsx fragment syntax.",
628
- "type": "string"
629
- },
630
- "kv_namespaces": {
631
- "default": [],
632
- "description": "These specify any Workers KV Namespaces you want to access from inside your Worker.\n\nTo learn more about KV Namespaces, see the documentation at https://developers.cloudflare.com/workers/learning/how-kv-works\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
633
- "items": {
634
- "additionalProperties": false,
635
- "properties": {
636
- "binding": {
637
- "description": "The binding name used to refer to the KV Namespace",
638
- "type": "string"
639
- },
640
- "id": {
641
- "description": "The ID of the KV namespace",
642
- "type": "string"
643
- },
644
- "preview_id": {
645
- "description": "The ID of the KV namespace used during `wrangler dev`",
646
- "type": "string"
647
- }
648
- },
649
- "required": [
650
- "binding"
651
- ],
652
- "type": "object"
653
- },
654
- "type": "array"
655
- },
656
- "limits": {
657
- "$ref": "#/definitions/UserLimits",
658
- "description": "Specify limits for runtime behavior. Only supported for the \"standard\" Usage Model"
659
- },
660
- "logfwdr": {
661
- "additionalProperties": false,
662
- "default": {
663
- "bindings": []
664
- },
665
- "description": "List of bindings that you will send to logfwdr",
666
- "properties": {
667
- "bindings": {
668
- "items": {
669
- "additionalProperties": false,
670
- "properties": {
671
- "destination": {
672
- "description": "The destination for this logged message",
673
- "type": "string"
674
- },
675
- "name": {
676
- "description": "The binding name used to refer to logfwdr",
677
- "type": "string"
678
- }
679
- },
680
- "required": [
681
- "name",
682
- "destination"
683
- ],
684
- "type": "object"
685
- },
686
- "type": "array"
687
- }
688
- },
689
- "required": [
690
- "bindings"
691
- ],
692
- "type": "object"
693
- },
694
- "logpush": {
695
- "description": "Send Trace Events from this Worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
696
- "type": "boolean"
697
- },
698
- "main": {
699
- "description": "The entrypoint/path to the JavaScript file that will be executed.",
700
- "type": "string"
701
- },
702
- "migrations": {
703
- "default": [],
704
- "description": "A list of migrations that should be uploaded with your Worker.\n\nThese define changes in your Durable Object declarations.\n\nMore details at https://developers.cloudflare.com/workers/learning/using-durable-objects#configuring-durable-object-classes-with-migrations",
705
- "items": {
706
- "$ref": "#/definitions/DurableObjectMigration"
707
- },
708
- "type": "array"
709
- },
710
- "minify": {
711
- "description": "Minify the script before uploading.",
712
- "type": "boolean"
713
- },
714
- "mtls_certificates": {
715
- "default": [],
716
- "description": "Specifies a list of mTLS certificates that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
717
- "items": {
718
- "additionalProperties": false,
719
- "properties": {
720
- "binding": {
721
- "description": "The binding name used to refer to the certificate in the Worker",
722
- "type": "string"
723
- },
724
- "certificate_id": {
725
- "description": "The uuid of the uploaded mTLS certificate",
726
- "type": "string"
727
- }
728
- },
729
- "required": [
730
- "binding",
731
- "certificate_id"
732
- ],
733
- "type": "object"
734
- },
735
- "type": "array"
736
- },
737
- "name": {
738
- "description": "The name of your Worker. Alphanumeric + dashes only.",
739
- "type": "string"
740
- },
741
- "no_bundle": {
742
- "description": "Skip internal build steps and directly deploy script",
743
- "type": "boolean"
744
- },
745
- "node_compat": {
746
- "description": "Add polyfills for node builtin modules and globals",
747
- "type": "boolean"
748
- },
749
- "observability": {
750
- "$ref": "#/definitions/Observability",
751
- "description": "Specify the observability behavior of the Worker."
752
- },
753
- "pipelines": {
754
- "default": [],
755
- "description": "Specifies list of Pipelines bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
756
- "items": {
757
- "additionalProperties": false,
758
- "properties": {
759
- "binding": {
760
- "description": "The binding name used to refer to the bound service.",
761
- "type": "string"
762
- },
763
- "pipeline": {
764
- "description": "Name of the Pipeline to bind",
765
- "type": "string"
766
- }
767
- },
768
- "required": [
769
- "binding",
770
- "pipeline"
771
- ],
772
- "type": "object"
773
- },
774
- "type": "array"
775
- },
776
- "placement": {
777
- "additionalProperties": false,
778
- "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
779
- "properties": {
780
- "hint": {
781
- "type": "string"
782
- },
783
- "mode": {
784
- "enum": [
785
- "off",
786
- "smart"
787
- ],
788
- "type": "string"
789
- }
790
- },
791
- "required": [
792
- "mode"
793
- ],
794
- "type": "object"
795
- },
796
- "preserve_file_names": {
797
- "description": "Determines whether Wrangler will preserve bundled file names. Defaults to false. If left unset, files will be named using the pattern ${fileHash}-${basename}, for example, `34de60b44167af5c5a709e62a4e20c4f18c9e3b6-favicon.ico`.",
798
- "type": "boolean"
799
- },
800
- "preview_urls": {
801
- "default": true,
802
- "description": "Whether we use <version>-<name>.<subdomain>.workers.dev to serve Preview URLs for your Worker.",
803
- "type": "boolean"
804
- },
805
- "queues": {
806
- "additionalProperties": false,
807
- "default": {
808
- "consumers": [],
809
- "producers": []
810
- },
811
- "description": "Specifies Queues that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
812
- "properties": {
813
- "consumers": {
814
- "description": "Consumer configuration",
815
- "items": {
816
- "additionalProperties": false,
817
- "properties": {
818
- "dead_letter_queue": {
819
- "description": "The queue to send messages that failed to be consumed.",
820
- "type": "string"
821
- },
822
- "max_batch_size": {
823
- "description": "The maximum number of messages per batch",
824
- "type": "number"
825
- },
826
- "max_batch_timeout": {
827
- "description": "The maximum number of seconds to wait to fill a batch with messages.",
828
- "type": "number"
829
- },
830
- "max_concurrency": {
831
- "description": "The maximum number of concurrent consumer Worker invocations. Leaving this unset will allow your consumer to scale to the maximum concurrency needed to keep up with the message backlog.",
832
- "type": [
833
- "number",
834
- "null"
835
- ]
836
- },
837
- "max_retries": {
838
- "description": "The maximum number of retries for each message.",
839
- "type": "number"
840
- },
841
- "queue": {
842
- "description": "The name of the queue from which this consumer should consume.",
843
- "type": "string"
844
- },
845
- "retry_delay": {
846
- "description": "The number of seconds to wait before retrying a message",
847
- "type": "number"
848
- },
849
- "type": {
850
- "description": "The consumer type, e.g., worker, http-pull, r2-bucket, etc. Default is worker.",
851
- "type": "string"
852
- },
853
- "visibility_timeout_ms": {
854
- "description": "The number of milliseconds to wait for pulled messages to become visible again",
855
- "type": "number"
856
- }
857
- },
858
- "required": [
859
- "queue"
860
- ],
861
- "type": "object"
862
- },
863
- "type": "array"
864
- },
865
- "producers": {
866
- "description": "Producer bindings",
867
- "items": {
868
- "additionalProperties": false,
869
- "properties": {
870
- "binding": {
871
- "description": "The binding name used to refer to the Queue in the Worker.",
872
- "type": "string"
873
- },
874
- "delivery_delay": {
875
- "description": "The number of seconds to wait before delivering a message",
876
- "type": "number"
877
- },
878
- "queue": {
879
- "description": "The name of this Queue.",
880
- "type": "string"
881
- }
882
- },
883
- "required": [
884
- "binding",
885
- "queue"
886
- ],
887
- "type": "object"
888
- },
889
- "type": "array"
890
- }
891
- },
892
- "type": "object"
893
- },
894
- "r2_buckets": {
895
- "default": [],
896
- "description": "Specifies R2 buckets that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
897
- "items": {
898
- "additionalProperties": false,
899
- "properties": {
900
- "binding": {
901
- "description": "The binding name used to refer to the R2 bucket in the Worker.",
902
- "type": "string"
903
- },
904
- "bucket_name": {
905
- "description": "The name of this R2 bucket at the edge.",
906
- "type": "string"
907
- },
908
- "jurisdiction": {
909
- "description": "The jurisdiction that the bucket exists in. Default if not present.",
910
- "type": "string"
911
- },
912
- "preview_bucket_name": {
913
- "description": "The preview name of this R2 bucket at the edge.",
914
- "type": "string"
915
- }
916
- },
917
- "required": [
918
- "binding"
919
- ],
920
- "type": "object"
921
- },
922
- "type": "array"
923
- },
924
- "route": {
925
- "$ref": "#/definitions/Route",
926
- "description": "A route that your Worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker"
927
- },
928
- "routes": {
929
- "description": "A list of routes that your Worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker (see `triggers`)",
930
- "items": {
931
- "$ref": "#/definitions/Route"
932
- },
933
- "type": "array"
934
- },
935
- "rules": {
936
- "description": "An ordered list of rules that define which modules to import, and what type to import them as. You will need to specify rules to use Text, Data, and CompiledWasm modules, or when you wish to have a .js file be treated as an ESModule instead of CommonJS.",
937
- "items": {
938
- "$ref": "#/definitions/Rule"
939
- },
940
- "type": "array"
941
- },
942
- "send_email": {
943
- "default": [],
944
- "description": "These specify bindings to send email from inside your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
945
- "items": {
946
- "additionalProperties": false,
947
- "properties": {
948
- "allowed_destination_addresses": {
949
- "description": "If this binding should be restricted to a set of verified addresses",
950
- "items": {
951
- "type": "string"
952
- },
953
- "type": "array"
954
- },
955
- "destination_address": {
956
- "description": "If this binding should be restricted to a specific verified address",
957
- "type": "string"
958
- },
959
- "name": {
960
- "description": "The binding name used to refer to the this binding",
961
- "type": "string"
962
- }
963
- },
964
- "required": [
965
- "name"
966
- ],
967
- "type": "object"
968
- },
969
- "type": "array"
970
- },
971
- "services": {
972
- "default": [],
973
- "description": "Specifies service bindings (Worker-to-Worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
974
- "items": {
975
- "additionalProperties": false,
976
- "properties": {
977
- "binding": {
978
- "description": "The binding name used to refer to the bound service.",
979
- "type": "string"
980
- },
981
- "entrypoint": {
982
- "description": "Optionally, the entrypoint (named export) of the service to bind to.",
983
- "type": "string"
984
- },
985
- "environment": {
986
- "description": "The environment of the service (e.g. production, staging, etc).",
987
- "type": "string"
988
- },
989
- "service": {
990
- "description": "The name of the service.",
991
- "type": "string"
992
- }
993
- },
994
- "required": [
995
- "binding",
996
- "service"
997
- ],
998
- "type": "object"
999
- },
1000
- "type": "array"
1001
- },
1002
- "tail_consumers": {
1003
- "default": [],
1004
- "description": "Specifies a list of Tail Workers that are bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1005
- "items": {
1006
- "$ref": "#/definitions/TailConsumer"
1007
- },
1008
- "type": "array"
1009
- },
1010
- "triggers": {
1011
- "additionalProperties": false,
1012
- "default": {
1013
- "crons": []
1014
- },
1015
- "description": "\"Cron\" definitions to trigger a Worker's \"scheduled\" function.\n\nLets you call Workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
1016
- "properties": {
1017
- "crons": {
1018
- "items": {
1019
- "type": "string"
1020
- },
1021
- "type": "array"
1022
- }
1023
- },
1024
- "required": [
1025
- "crons"
1026
- ],
1027
- "type": "object"
1028
- },
1029
- "tsconfig": {
1030
- "description": "Path to a custom tsconfig",
1031
- "type": "string"
1032
- },
1033
- "unsafe": {
1034
- "additionalProperties": false,
1035
- "default": {},
1036
- "description": "\"Unsafe\" tables for features that aren't directly supported by wrangler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1037
- "properties": {
1038
- "bindings": {
1039
- "description": "A set of bindings that should be put into a Worker's upload metadata without changes. These can be used to implement bindings for features that haven't released and aren't supported directly by wrangler or miniflare.",
1040
- "items": {
1041
- "additionalProperties": {},
1042
- "properties": {
1043
- "name": {
1044
- "type": "string"
1045
- },
1046
- "type": {
1047
- "type": "string"
1048
- }
1049
- },
1050
- "required": [
1051
- "name",
1052
- "type"
1053
- ],
1054
- "type": "object"
1055
- },
1056
- "type": "array"
1057
- },
1058
- "capnp": {
1059
- "anyOf": [
1060
- {
1061
- "additionalProperties": false,
1062
- "properties": {
1063
- "base_path": {
1064
- "type": "string"
1065
- },
1066
- "source_schemas": {
1067
- "items": {
1068
- "type": "string"
1069
- },
1070
- "type": "array"
1071
- }
1072
- },
1073
- "required": [
1074
- "base_path",
1075
- "source_schemas"
1076
- ],
1077
- "type": "object"
1078
- },
1079
- {
1080
- "additionalProperties": false,
1081
- "properties": {
1082
- "compiled_schema": {
1083
- "type": "string"
1084
- }
1085
- },
1086
- "required": [
1087
- "compiled_schema"
1088
- ],
1089
- "type": "object"
1090
- }
1091
- ],
1092
- "description": "Used for internal capnp uploads for the Workers runtime"
1093
- },
1094
- "metadata": {
1095
- "additionalProperties": {},
1096
- "description": "Arbitrary key/value pairs that will be included in the uploaded metadata. Values specified here will always be applied to metadata last, so can add new or override existing fields.",
1097
- "type": "object"
1098
- }
1099
- },
1100
- "type": "object"
1101
- },
1102
- "upload_source_maps": {
1103
- "description": "Include source maps when uploading this worker.",
1104
- "type": "boolean"
162
+ "type": "string"
1105
163
  },
1106
- "usage_model": {
1107
- "description": "Specifies the Usage Model for your Worker. There are two options - [bundled](https://developers.cloudflare.com/workers/platform/limits#bundled-usage-model) and [unbound](https://developers.cloudflare.com/workers/platform/limits#unbound-usage-model). For newly created Workers, if the Usage Model is omitted it will be set to the [default Usage Model set on the account](https://dash.cloudflare.com/?account=workers/default-usage-model). For existing Workers, if the Usage Model is omitted, it will be set to the Usage Model configured in the dashboard for that Worker.",
164
+ "scheduling_policy": {
1108
165
  "enum": [
1109
- "bundled",
1110
- "unbound"
166
+ "regional",
167
+ "moon"
1111
168
  ],
1112
169
  "type": "string"
170
+ }
171
+ },
172
+ "required": [
173
+ "name",
174
+ "instances",
175
+ "configuration"
176
+ ],
177
+ "type": "object"
178
+ },
179
+ "CustomDomainRoute": {
180
+ "additionalProperties": false,
181
+ "properties": {
182
+ "custom_domain": {
183
+ "type": "boolean"
1113
184
  },
1114
- "vars": {
1115
- "additionalProperties": {
1116
- "anyOf": [
1117
- {
1118
- "type": "string"
1119
- },
1120
- {
1121
- "$ref": "#/definitions/Json"
1122
- }
1123
- ]
185
+ "pattern": {
186
+ "type": "string"
187
+ }
188
+ },
189
+ "required": [
190
+ "pattern",
191
+ "custom_domain"
192
+ ],
193
+ "type": "object"
194
+ },
195
+ "DispatchNamespaceOutbound": {
196
+ "additionalProperties": false,
197
+ "properties": {
198
+ "environment": {
199
+ "description": "(Optional) Name of the environment handling the outbound requests.",
200
+ "type": "string"
201
+ },
202
+ "parameters": {
203
+ "description": "(Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler",
204
+ "items": {
205
+ "type": "string"
1124
206
  },
1125
- "default": {},
1126
- "description": "A map of environment variables to set when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1127
- "type": "object"
207
+ "type": "array"
1128
208
  },
1129
- "vectorize": {
1130
- "default": [],
1131
- "description": "Specifies Vectorize indexes that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
209
+ "service": {
210
+ "description": "Name of the service handling the outbound requests",
211
+ "type": "string"
212
+ }
213
+ },
214
+ "required": [
215
+ "service"
216
+ ],
217
+ "type": "object"
218
+ },
219
+ "DurableObjectBindings": {
220
+ "items": {
221
+ "additionalProperties": false,
222
+ "properties": {
223
+ "class_name": {
224
+ "description": "The exported class name of the Durable Object",
225
+ "type": "string"
226
+ },
227
+ "environment": {
228
+ "description": "The service environment of the script_name to bind to",
229
+ "type": "string"
230
+ },
231
+ "name": {
232
+ "description": "The name of the binding used to refer to the Durable Object",
233
+ "type": "string"
234
+ },
235
+ "script_name": {
236
+ "description": "The script where the Durable Object is defined (if it's external to this Worker)",
237
+ "type": "string"
238
+ }
239
+ },
240
+ "required": [
241
+ "name",
242
+ "class_name"
243
+ ],
244
+ "type": "object"
245
+ },
246
+ "type": "array"
247
+ },
248
+ "DurableObjectMigration": {
249
+ "additionalProperties": false,
250
+ "description": "Configuration in wrangler for Durable Object Migrations",
251
+ "properties": {
252
+ "deleted_classes": {
253
+ "description": "The Durable Objects being removed.",
254
+ "items": {
255
+ "type": "string"
256
+ },
257
+ "type": "array"
258
+ },
259
+ "new_classes": {
260
+ "description": "The new Durable Objects being defined.",
261
+ "items": {
262
+ "type": "string"
263
+ },
264
+ "type": "array"
265
+ },
266
+ "new_sqlite_classes": {
267
+ "description": "The new SQLite Durable Objects being defined.",
268
+ "items": {
269
+ "type": "string"
270
+ },
271
+ "type": "array"
272
+ },
273
+ "renamed_classes": {
274
+ "description": "The Durable Objects being renamed.",
1132
275
  "items": {
1133
276
  "additionalProperties": false,
1134
277
  "properties": {
1135
- "binding": {
1136
- "description": "The binding name used to refer to the Vectorize index in the Worker.",
278
+ "from": {
1137
279
  "type": "string"
1138
280
  },
1139
- "index_name": {
1140
- "description": "The name of the index.",
281
+ "to": {
1141
282
  "type": "string"
1142
283
  }
1143
284
  },
1144
285
  "required": [
1145
- "binding",
1146
- "index_name"
286
+ "from",
287
+ "to"
1147
288
  ],
1148
289
  "type": "object"
1149
290
  },
1150
291
  "type": "array"
1151
292
  },
1152
- "version_metadata": {
1153
- "additionalProperties": false,
1154
- "description": "Binding to the Worker Version's metadata",
1155
- "properties": {
1156
- "binding": {
1157
- "type": "string"
1158
- }
1159
- },
1160
- "required": [
1161
- "binding"
1162
- ],
1163
- "type": "object"
1164
- },
1165
- "workers_dev": {
1166
- "default": true,
1167
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.",
1168
- "type": "boolean"
1169
- },
1170
- "workflows": {
1171
- "default": [],
1172
- "description": "A list of workflows that your Worker should be bound to.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1173
- "items": {
1174
- "$ref": "#/definitions/WorkflowBinding"
1175
- },
1176
- "type": "array"
1177
- },
1178
- "zone_id": {
1179
- "description": "TODO: remove this as it has been deprecated.\n\nThis is just here for now because the `route` commands use it. So we need to include it in this type so it is available.",
293
+ "tag": {
294
+ "description": "A unique identifier for this migration.",
1180
295
  "type": "string"
1181
296
  }
1182
297
  },
1183
298
  "required": [
1184
- "analytics_engine_datasets",
1185
- "build",
1186
- "cloudchamber",
1187
- "compatibility_flags",
1188
- "containers",
1189
- "d1_databases",
1190
- "define",
1191
- "dispatch_namespaces",
1192
- "durable_objects",
1193
- "hyperdrive",
1194
- "jsx_factory",
1195
- "jsx_fragment",
1196
- "kv_namespaces",
1197
- "logfwdr",
1198
- "migrations",
1199
- "mtls_certificates",
1200
- "pipelines",
1201
- "queues",
1202
- "r2_buckets",
1203
- "rules",
1204
- "send_email",
1205
- "triggers",
1206
- "unsafe",
1207
- "vars",
1208
- "vectorize",
1209
- "workflows"
299
+ "tag"
1210
300
  ],
1211
301
  "type": "object"
1212
302
  },
@@ -1356,11 +446,6 @@
1356
446
  "description": "The directory in which the command is executed.",
1357
447
  "type": "string"
1358
448
  },
1359
- "upload": {
1360
- "$ref": "#/definitions/DeprecatedUpload",
1361
- "deprecated": true,
1362
- "description": "Deprecated field previously used to configure the build and upload of the script."
1363
- },
1364
449
  "watch_dir": {
1365
450
  "anyOf": [
1366
451
  {
@@ -1525,35 +610,6 @@
1525
610
  "description": "The `env` section defines overrides for the configuration for different environments.\n\nAll environment fields can be specified at the top level of the config indicating the default environment settings.\n\n- Some fields are inherited and overridable in each environment.\n- But some are not inherited and must be explicitly specified in every environment, if they are specified at the top level.\n\nFor more information, see the documentation at https://developers.cloudflare.com/workers/cli-wrangler/configuration#environments",
1526
611
  "type": "object"
1527
612
  },
1528
- "experimental_services": {
1529
- "default": [],
1530
- "deprecated": "DO NOT USE. We'd added this to test the new service binding system, but the proper way to test experimental features is to use `unsafe.bindings` configuration.",
1531
- "description": "A list of services that your Worker should be bound to.",
1532
- "items": {
1533
- "additionalProperties": false,
1534
- "properties": {
1535
- "environment": {
1536
- "description": "The Service's environment",
1537
- "type": "string"
1538
- },
1539
- "name": {
1540
- "description": "The binding name used to refer to the Service",
1541
- "type": "string"
1542
- },
1543
- "service": {
1544
- "description": "The name of the Service being bound",
1545
- "type": "string"
1546
- }
1547
- },
1548
- "required": [
1549
- "name",
1550
- "service",
1551
- "environment"
1552
- ],
1553
- "type": "object"
1554
- },
1555
- "type": "array"
1556
- },
1557
613
  "find_additional_modules": {
1558
614
  "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
1559
615
  "type": "boolean"
@@ -1618,11 +674,6 @@
1618
674
  "description": "By default, the Wrangler configuration file is the source of truth for your environment configuration, like a terraform file.\n\nIf you change your vars in the dashboard, wrangler *will* override/delete them on its next deploy.\n\nIf you want to keep your dashboard vars when wrangler deploys, set this field to true.",
1619
675
  "type": "boolean"
1620
676
  },
1621
- "kv-namespaces": {
1622
- "deprecated": "DO NOT USE. This was a legacy bug from Wrangler v1, that we do not want to support.",
1623
- "description": "Legacy way of defining KVNamespaces that is no longer supported.",
1624
- "type": "string"
1625
- },
1626
677
  "kv_namespaces": {
1627
678
  "default": [],
1628
679
  "description": "These specify any Workers KV Namespaces you want to access from inside your Worker.\n\nTo learn more about KV Namespaces, see the documentation at https://developers.cloudflare.com/workers/learning/how-kv-works\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
@@ -1649,47 +700,6 @@
1649
700
  },
1650
701
  "type": "array"
1651
702
  },
1652
- "legacy_assets": {
1653
- "anyOf": [
1654
- {
1655
- "additionalProperties": false,
1656
- "properties": {
1657
- "browser_TTL": {
1658
- "type": "number"
1659
- },
1660
- "bucket": {
1661
- "type": "string"
1662
- },
1663
- "exclude": {
1664
- "items": {
1665
- "type": "string"
1666
- },
1667
- "type": "array"
1668
- },
1669
- "include": {
1670
- "items": {
1671
- "type": "string"
1672
- },
1673
- "type": "array"
1674
- },
1675
- "serve_single_page_app": {
1676
- "type": "boolean"
1677
- }
1678
- },
1679
- "required": [
1680
- "bucket",
1681
- "include",
1682
- "exclude",
1683
- "serve_single_page_app"
1684
- ],
1685
- "type": "object"
1686
- },
1687
- {
1688
- "type": "string"
1689
- }
1690
- ],
1691
- "description": "Old behaviour of serving a folder of static assets with your Worker, without any additional code. This can either be a string, or an object with additional config fields. Will be deprecated in the near future in favor of `assets`."
1692
- },
1693
703
  "legacy_env": {
1694
704
  "description": "A boolean to enable \"legacy\" style wrangler environments (from Wrangler v1). These have been superseded by Services, but there may be projects that won't (or can't) use them. If you're using a legacy environment, you can set this to `true` to enable it.",
1695
705
  "type": "boolean"
@@ -1748,10 +758,6 @@
1748
758
  },
1749
759
  "type": "array"
1750
760
  },
1751
- "miniflare": {
1752
- "deprecated": true,
1753
- "description": "Configuration only used by a standalone use of the miniflare binary."
1754
- },
1755
761
  "minify": {
1756
762
  "description": "Minify the script before uploading.",
1757
763
  "type": "boolean"
@@ -1787,10 +793,6 @@
1787
793
  "description": "Skip internal build steps and directly deploy script",
1788
794
  "type": "boolean"
1789
795
  },
1790
- "node_compat": {
1791
- "description": "Add polyfills for node builtin modules and globals",
1792
- "type": "boolean"
1793
- },
1794
796
  "observability": {
1795
797
  "$ref": "#/definitions/Observability",
1796
798
  "description": "Specify the observability behavior of the Worker."
@@ -2125,16 +1127,6 @@
2125
1127
  "description": "Path to a custom tsconfig",
2126
1128
  "type": "string"
2127
1129
  },
2128
- "type": {
2129
- "deprecated": "DO NOT USE THIS. Most common features now work out of the box with wrangler, including modules, jsx, typescript, etc. If you need anything more, use a custom build.",
2130
- "description": "The project \"type\". A holdover from Wrangler v1.x. Valid values were \"webpack\", \"javascript\", and \"rust\".",
2131
- "enum": [
2132
- "webpack",
2133
- "javascript",
2134
- "rust"
2135
- ],
2136
- "type": "string"
2137
- },
2138
1130
  "unsafe": {
2139
1131
  "additionalProperties": false,
2140
1132
  "default": {},
@@ -2208,14 +1200,6 @@
2208
1200
  "description": "Include source maps when uploading this worker.",
2209
1201
  "type": "boolean"
2210
1202
  },
2211
- "usage_model": {
2212
- "description": "Specifies the Usage Model for your Worker. There are two options - [bundled](https://developers.cloudflare.com/workers/platform/limits#bundled-usage-model) and [unbound](https://developers.cloudflare.com/workers/platform/limits#unbound-usage-model). For newly created Workers, if the Usage Model is omitted it will be set to the [default Usage Model set on the account](https://dash.cloudflare.com/?account=workers/default-usage-model). For existing Workers, if the Usage Model is omitted, it will be set to the Usage Model configured in the dashboard for that Worker.",
2213
- "enum": [
2214
- "bundled",
2215
- "unbound"
2216
- ],
2217
- "type": "string"
2218
- },
2219
1203
  "vars": {
2220
1204
  "additionalProperties": {
2221
1205
  "anyOf": [
@@ -2274,11 +1258,6 @@
2274
1258
  "description": "A list of wasm modules that your worker should be bound to. This is the \"legacy\" way of binding to a wasm module. ES module workers should do proper module imports.",
2275
1259
  "type": "object"
2276
1260
  },
2277
- "webpack_config": {
2278
- "deprecated": "DO NOT USE THIS. Most common features now work out of the box with wrangler, including modules, jsx, typescript, etc. If you need anything more, use a custom build.",
2279
- "description": "Path to the webpack config to use when building your worker. A holdover from Wrangler v1.x, used with `type: \"webpack\"`.",
2280
- "type": "string"
2281
- },
2282
1261
  "workers_dev": {
2283
1262
  "default": true,
2284
1263
  "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.",
@@ -2291,10 +1270,6 @@
2291
1270
  "$ref": "#/definitions/WorkflowBinding"
2292
1271
  },
2293
1272
  "type": "array"
2294
- },
2295
- "zone_id": {
2296
- "description": "TODO: remove this as it has been deprecated.\n\nThis is just here for now because the `route` commands use it. So we need to include it in this type so it is available.",
2297
- "type": "string"
2298
1273
  }
2299
1274
  },
2300
1275
  "type": "object"
@@ -2426,11 +1401,6 @@
2426
1401
  "description": "The directory in which the command is executed.",
2427
1402
  "type": "string"
2428
1403
  },
2429
- "upload": {
2430
- "$ref": "#/definitions/DeprecatedUpload",
2431
- "deprecated": true,
2432
- "description": "Deprecated field previously used to configure the build and upload of the script."
2433
- },
2434
1404
  "watch_dir": {
2435
1405
  "anyOf": [
2436
1406
  {
@@ -2576,35 +1546,6 @@
2576
1546
  ],
2577
1547
  "type": "object"
2578
1548
  },
2579
- "experimental_services": {
2580
- "default": [],
2581
- "deprecated": "DO NOT USE. We'd added this to test the new service binding system, but the proper way to test experimental features is to use `unsafe.bindings` configuration.",
2582
- "description": "A list of services that your Worker should be bound to.",
2583
- "items": {
2584
- "additionalProperties": false,
2585
- "properties": {
2586
- "environment": {
2587
- "description": "The Service's environment",
2588
- "type": "string"
2589
- },
2590
- "name": {
2591
- "description": "The binding name used to refer to the Service",
2592
- "type": "string"
2593
- },
2594
- "service": {
2595
- "description": "The name of the Service being bound",
2596
- "type": "string"
2597
- }
2598
- },
2599
- "required": [
2600
- "name",
2601
- "service",
2602
- "environment"
2603
- ],
2604
- "type": "object"
2605
- },
2606
- "type": "array"
2607
- },
2608
1549
  "find_additional_modules": {
2609
1550
  "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
2610
1551
  "type": "boolean"
@@ -2664,11 +1605,6 @@
2664
1605
  "description": "The function to use to replace jsx fragment syntax.",
2665
1606
  "type": "string"
2666
1607
  },
2667
- "kv-namespaces": {
2668
- "deprecated": "DO NOT USE. This was a legacy bug from Wrangler v1, that we do not want to support.",
2669
- "description": "Legacy way of defining KVNamespaces that is no longer supported.",
2670
- "type": "string"
2671
- },
2672
1608
  "kv_namespaces": {
2673
1609
  "default": [],
2674
1610
  "description": "These specify any Workers KV Namespaces you want to access from inside your Worker.\n\nTo learn more about KV Namespaces, see the documentation at https://developers.cloudflare.com/workers/learning/how-kv-works\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
@@ -2784,10 +1720,6 @@
2784
1720
  "description": "Skip internal build steps and directly deploy script",
2785
1721
  "type": "boolean"
2786
1722
  },
2787
- "node_compat": {
2788
- "description": "Add polyfills for node builtin modules and globals",
2789
- "type": "boolean"
2790
- },
2791
1723
  "observability": {
2792
1724
  "$ref": "#/definitions/Observability",
2793
1725
  "description": "Specify the observability behavior of the Worker."
@@ -3145,14 +2077,6 @@
3145
2077
  "description": "Include source maps when uploading this worker.",
3146
2078
  "type": "boolean"
3147
2079
  },
3148
- "usage_model": {
3149
- "description": "Specifies the Usage Model for your Worker. There are two options - [bundled](https://developers.cloudflare.com/workers/platform/limits#bundled-usage-model) and [unbound](https://developers.cloudflare.com/workers/platform/limits#unbound-usage-model). For newly created Workers, if the Usage Model is omitted it will be set to the [default Usage Model set on the account](https://dash.cloudflare.com/?account=workers/default-usage-model). For existing Workers, if the Usage Model is omitted, it will be set to the Usage Model configured in the dashboard for that Worker.",
3150
- "enum": [
3151
- "bundled",
3152
- "unbound"
3153
- ],
3154
- "type": "string"
3155
- },
3156
2080
  "vars": {
3157
2081
  "additionalProperties": {
3158
2082
  "anyOf": [
@@ -3216,10 +2140,6 @@
3216
2140
  "$ref": "#/definitions/WorkflowBinding"
3217
2141
  },
3218
2142
  "type": "array"
3219
- },
3220
- "zone_id": {
3221
- "description": "TODO: remove this as it has been deprecated.\n\nThis is just here for now because the `route` commands use it. So we need to include it in this type so it is available.",
3222
- "type": "string"
3223
2143
  }
3224
2144
  },
3225
2145
  "type": "object"