wrangler 3.103.1 → 3.104.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.
@@ -340,7 +340,7 @@
340
340
  },
341
341
  "ai": {
342
342
  "additionalProperties": false,
343
- "default": "`{}`",
343
+ "default": {},
344
344
  "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.",
345
345
  "properties": {
346
346
  "binding": {
@@ -356,7 +356,7 @@
356
356
  "type": "object"
357
357
  },
358
358
  "analytics_engine_datasets": {
359
- "default": "`[]`",
359
+ "default": [],
360
360
  "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.",
361
361
  "items": {
362
362
  "additionalProperties": false,
@@ -387,7 +387,7 @@
387
387
  },
388
388
  "browser": {
389
389
  "additionalProperties": false,
390
- "default": "`{}`",
390
+ "default": {},
391
391
  "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.",
392
392
  "properties": {
393
393
  "binding": {
@@ -438,7 +438,7 @@
438
438
  },
439
439
  "cloudchamber": {
440
440
  "$ref": "#/definitions/CloudchamberConfig",
441
- "default": "`{}`",
441
+ "default": {},
442
442
  "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."
443
443
  },
444
444
  "compatibility_date": {
@@ -446,8 +446,8 @@
446
446
  "type": "string"
447
447
  },
448
448
  "compatibility_flags": {
449
- "default": "`[]`",
450
- "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_flags.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
449
+ "default": [],
450
+ "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",
451
451
  "items": {
452
452
  "type": "string"
453
453
  },
@@ -458,7 +458,7 @@
458
458
  "description": "Container related configuration",
459
459
  "properties": {
460
460
  "app": {
461
- "default": "`{}`",
461
+ "default": {},
462
462
  "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.",
463
463
  "items": {
464
464
  "$ref": "#/definitions/ContainerApp"
@@ -472,7 +472,7 @@
472
472
  "type": "object"
473
473
  },
474
474
  "d1_databases": {
475
- "default": "`[]`",
475
+ "default": [],
476
476
  "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.",
477
477
  "items": {
478
478
  "additionalProperties": false,
@@ -517,12 +517,12 @@
517
517
  "additionalProperties": {
518
518
  "type": "string"
519
519
  },
520
- "default": "`{}`",
520
+ "default": {},
521
521
  "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.",
522
522
  "type": "object"
523
523
  },
524
524
  "dispatch_namespaces": {
525
- "default": "`[]`",
525
+ "default": [],
526
526
  "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.",
527
527
  "items": {
528
528
  "additionalProperties": false,
@@ -550,7 +550,9 @@
550
550
  },
551
551
  "durable_objects": {
552
552
  "additionalProperties": false,
553
- "default": "`{bindings:[]}`",
553
+ "default": {
554
+ "bindings": []
555
+ },
554
556
  "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.",
555
557
  "properties": {
556
558
  "bindings": {
@@ -571,7 +573,7 @@
571
573
  "type": "boolean"
572
574
  },
573
575
  "hyperdrive": {
574
- "default": "`[]`",
576
+ "default": [],
575
577
  "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.",
576
578
  "items": {
577
579
  "additionalProperties": false,
@@ -598,17 +600,17 @@
598
600
  "type": "array"
599
601
  },
600
602
  "jsx_factory": {
601
- "default": "`\"React.createElement\"`",
603
+ "default": "React.createElement",
602
604
  "description": "The function to use to replace jsx syntax.",
603
605
  "type": "string"
604
606
  },
605
607
  "jsx_fragment": {
606
- "default": "`\"React.Fragment\"`",
608
+ "default": "React.Fragment",
607
609
  "description": "The function to use to replace jsx fragment syntax.",
608
610
  "type": "string"
609
611
  },
610
612
  "kv_namespaces": {
611
- "default": "`[]`",
613
+ "default": [],
612
614
  "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.",
613
615
  "items": {
614
616
  "additionalProperties": false,
@@ -639,7 +641,9 @@
639
641
  },
640
642
  "logfwdr": {
641
643
  "additionalProperties": false,
642
- "default": "`{bindings:[]}`",
644
+ "default": {
645
+ "bindings": []
646
+ },
643
647
  "description": "List of bindings that you will send to logfwdr",
644
648
  "properties": {
645
649
  "bindings": {
@@ -690,7 +694,7 @@
690
694
  "type": "boolean"
691
695
  },
692
696
  "mtls_certificates": {
693
- "default": "`[]`",
697
+ "default": [],
694
698
  "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.",
695
699
  "items": {
696
700
  "additionalProperties": false,
@@ -729,7 +733,7 @@
729
733
  "description": "Specify the observability behavior of the Worker."
730
734
  },
731
735
  "pipelines": {
732
- "default": "`[]`",
736
+ "default": [],
733
737
  "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.",
734
738
  "items": {
735
739
  "additionalProperties": false,
@@ -776,13 +780,16 @@
776
780
  "type": "boolean"
777
781
  },
778
782
  "preview_urls": {
779
- "default": "`true`",
783
+ "default": true,
780
784
  "description": "Whether we use <version>-<name>.<subdomain>.workers.dev to serve Preview URLs for your Worker.",
781
785
  "type": "boolean"
782
786
  },
783
787
  "queues": {
784
788
  "additionalProperties": false,
785
- "default": "`{consumers:[],producers:[]}`",
789
+ "default": {
790
+ "consumers": [],
791
+ "producers": []
792
+ },
786
793
  "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.",
787
794
  "properties": {
788
795
  "consumers": {
@@ -867,7 +874,7 @@
867
874
  "type": "object"
868
875
  },
869
876
  "r2_buckets": {
870
- "default": "`[]`",
877
+ "default": [],
871
878
  "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.",
872
879
  "items": {
873
880
  "additionalProperties": false,
@@ -915,7 +922,7 @@
915
922
  "type": "array"
916
923
  },
917
924
  "send_email": {
918
- "default": "`[]`",
925
+ "default": [],
919
926
  "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.",
920
927
  "items": {
921
928
  "additionalProperties": false,
@@ -944,7 +951,7 @@
944
951
  "type": "array"
945
952
  },
946
953
  "services": {
947
- "default": "`[]`",
954
+ "default": [],
948
955
  "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.",
949
956
  "items": {
950
957
  "additionalProperties": false,
@@ -975,7 +982,7 @@
975
982
  "type": "array"
976
983
  },
977
984
  "tail_consumers": {
978
- "default": "`[]`",
985
+ "default": [],
979
986
  "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.",
980
987
  "items": {
981
988
  "$ref": "#/definitions/TailConsumer"
@@ -984,7 +991,9 @@
984
991
  },
985
992
  "triggers": {
986
993
  "additionalProperties": false,
987
- "default": "`{crons:[]}`",
994
+ "default": {
995
+ "crons": []
996
+ },
988
997
  "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",
989
998
  "properties": {
990
999
  "crons": {
@@ -1005,7 +1014,7 @@
1005
1014
  },
1006
1015
  "unsafe": {
1007
1016
  "additionalProperties": false,
1008
- "default": "`{}`",
1017
+ "default": {},
1009
1018
  "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.",
1010
1019
  "properties": {
1011
1020
  "bindings": {
@@ -1095,12 +1104,12 @@
1095
1104
  }
1096
1105
  ]
1097
1106
  },
1098
- "default": "`{}`",
1107
+ "default": {},
1099
1108
  "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.",
1100
1109
  "type": "object"
1101
1110
  },
1102
1111
  "vectorize": {
1103
- "default": "`[]`",
1112
+ "default": [],
1104
1113
  "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.",
1105
1114
  "items": {
1106
1115
  "additionalProperties": false,
@@ -1136,12 +1145,12 @@
1136
1145
  "type": "object"
1137
1146
  },
1138
1147
  "workers_dev": {
1139
- "default": "`true` (This is a breaking change from Wrangler v1)",
1140
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined // warning: you must force \"workers_dev: true\" in tests to match expected behavior",
1148
+ "default": true,
1149
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.",
1141
1150
  "type": "boolean"
1142
1151
  },
1143
1152
  "workflows": {
1144
- "default": "`[]`",
1153
+ "default": [],
1145
1154
  "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.",
1146
1155
  "items": {
1147
1156
  "$ref": "#/definitions/WorkflowBinding"
@@ -1248,7 +1257,7 @@
1248
1257
  },
1249
1258
  "ai": {
1250
1259
  "additionalProperties": false,
1251
- "default": "`{}`",
1260
+ "default": {},
1252
1261
  "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.",
1253
1262
  "properties": {
1254
1263
  "binding": {
@@ -1271,7 +1280,7 @@
1271
1280
  "type": "object"
1272
1281
  },
1273
1282
  "analytics_engine_datasets": {
1274
- "default": "`[]`",
1283
+ "default": [],
1275
1284
  "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.",
1276
1285
  "items": {
1277
1286
  "additionalProperties": false,
@@ -1302,7 +1311,7 @@
1302
1311
  },
1303
1312
  "browser": {
1304
1313
  "additionalProperties": false,
1305
- "default": "`{}`",
1314
+ "default": {},
1306
1315
  "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.",
1307
1316
  "properties": {
1308
1317
  "binding": {
@@ -1353,7 +1362,7 @@
1353
1362
  },
1354
1363
  "cloudchamber": {
1355
1364
  "$ref": "#/definitions/CloudchamberConfig",
1356
- "default": "`{}`",
1365
+ "default": {},
1357
1366
  "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."
1358
1367
  },
1359
1368
  "compatibility_date": {
@@ -1361,8 +1370,8 @@
1361
1370
  "type": "string"
1362
1371
  },
1363
1372
  "compatibility_flags": {
1364
- "default": "`[]`",
1365
- "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_flags.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
1373
+ "default": [],
1374
+ "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",
1366
1375
  "items": {
1367
1376
  "type": "string"
1368
1377
  },
@@ -1373,7 +1382,7 @@
1373
1382
  "description": "Container related configuration",
1374
1383
  "properties": {
1375
1384
  "app": {
1376
- "default": "`{}`",
1385
+ "default": {},
1377
1386
  "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.",
1378
1387
  "items": {
1379
1388
  "$ref": "#/definitions/ContainerApp"
@@ -1387,7 +1396,7 @@
1387
1396
  "type": "object"
1388
1397
  },
1389
1398
  "d1_databases": {
1390
- "default": "`[]`",
1399
+ "default": [],
1391
1400
  "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.",
1392
1401
  "items": {
1393
1402
  "additionalProperties": false,
@@ -1439,7 +1448,7 @@
1439
1448
  "additionalProperties": {
1440
1449
  "type": "string"
1441
1450
  },
1442
- "default": "`{}`",
1451
+ "default": {},
1443
1452
  "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.",
1444
1453
  "type": "object"
1445
1454
  },
@@ -1448,7 +1457,7 @@
1448
1457
  "description": "Options to configure the development server that your worker will use."
1449
1458
  },
1450
1459
  "dispatch_namespaces": {
1451
- "default": "`[]`",
1460
+ "default": [],
1452
1461
  "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.",
1453
1462
  "items": {
1454
1463
  "additionalProperties": false,
@@ -1476,7 +1485,9 @@
1476
1485
  },
1477
1486
  "durable_objects": {
1478
1487
  "additionalProperties": false,
1479
- "default": "`{bindings:[]}`",
1488
+ "default": {
1489
+ "bindings": []
1490
+ },
1480
1491
  "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.",
1481
1492
  "properties": {
1482
1493
  "bindings": {
@@ -1497,7 +1508,7 @@
1497
1508
  "type": "object"
1498
1509
  },
1499
1510
  "experimental_services": {
1500
- "default": "`[]`",
1511
+ "default": [],
1501
1512
  "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.",
1502
1513
  "description": "A list of services that your Worker should be bound to.",
1503
1514
  "items": {
@@ -1534,7 +1545,7 @@
1534
1545
  "type": "boolean"
1535
1546
  },
1536
1547
  "hyperdrive": {
1537
- "default": "`[]`",
1548
+ "default": [],
1538
1549
  "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.",
1539
1550
  "items": {
1540
1551
  "additionalProperties": false,
@@ -1561,12 +1572,12 @@
1561
1572
  "type": "array"
1562
1573
  },
1563
1574
  "jsx_factory": {
1564
- "default": "`\"React.createElement\"`",
1575
+ "default": "React.createElement",
1565
1576
  "description": "The function to use to replace jsx syntax.",
1566
1577
  "type": "string"
1567
1578
  },
1568
1579
  "jsx_fragment": {
1569
- "default": "`\"React.Fragment\"`",
1580
+ "default": "React.Fragment",
1570
1581
  "description": "The function to use to replace jsx fragment syntax.",
1571
1582
  "type": "string"
1572
1583
  },
@@ -1581,7 +1592,7 @@
1581
1592
  "type": "string"
1582
1593
  },
1583
1594
  "kv_namespaces": {
1584
- "default": "`[]`",
1595
+ "default": [],
1585
1596
  "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.",
1586
1597
  "items": {
1587
1598
  "additionalProperties": false,
@@ -1657,7 +1668,9 @@
1657
1668
  },
1658
1669
  "logfwdr": {
1659
1670
  "additionalProperties": false,
1660
- "default": "`{bindings:[]}`",
1671
+ "default": {
1672
+ "bindings": []
1673
+ },
1661
1674
  "description": "List of bindings that you will send to logfwdr",
1662
1675
  "properties": {
1663
1676
  "bindings": {
@@ -1712,7 +1725,7 @@
1712
1725
  "type": "boolean"
1713
1726
  },
1714
1727
  "mtls_certificates": {
1715
- "default": "`[]`",
1728
+ "default": [],
1716
1729
  "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.",
1717
1730
  "items": {
1718
1731
  "additionalProperties": false,
@@ -1755,7 +1768,7 @@
1755
1768
  "type": "string"
1756
1769
  },
1757
1770
  "pipelines": {
1758
- "default": "`[]`",
1771
+ "default": [],
1759
1772
  "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.",
1760
1773
  "items": {
1761
1774
  "additionalProperties": false,
@@ -1802,13 +1815,16 @@
1802
1815
  "type": "boolean"
1803
1816
  },
1804
1817
  "preview_urls": {
1805
- "default": "`true`",
1818
+ "default": true,
1806
1819
  "description": "Whether we use <version>-<name>.<subdomain>.workers.dev to serve Preview URLs for your Worker.",
1807
1820
  "type": "boolean"
1808
1821
  },
1809
1822
  "queues": {
1810
1823
  "additionalProperties": false,
1811
- "default": "`{consumers:[],producers:[]}`",
1824
+ "default": {
1825
+ "consumers": [],
1826
+ "producers": []
1827
+ },
1812
1828
  "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.",
1813
1829
  "properties": {
1814
1830
  "consumers": {
@@ -1893,7 +1909,7 @@
1893
1909
  "type": "object"
1894
1910
  },
1895
1911
  "r2_buckets": {
1896
- "default": "`[]`",
1912
+ "default": [],
1897
1913
  "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.",
1898
1914
  "items": {
1899
1915
  "additionalProperties": false,
@@ -1941,7 +1957,7 @@
1941
1957
  "type": "array"
1942
1958
  },
1943
1959
  "send_email": {
1944
- "default": "`[]`",
1960
+ "default": [],
1945
1961
  "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.",
1946
1962
  "items": {
1947
1963
  "additionalProperties": false,
@@ -1974,7 +1990,7 @@
1974
1990
  "type": "boolean"
1975
1991
  },
1976
1992
  "services": {
1977
- "default": "`[]`",
1993
+ "default": [],
1978
1994
  "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.",
1979
1995
  "items": {
1980
1996
  "additionalProperties": false,
@@ -2040,7 +2056,7 @@
2040
2056
  "type": "object"
2041
2057
  },
2042
2058
  "tail_consumers": {
2043
- "default": "`[]`",
2059
+ "default": [],
2044
2060
  "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.",
2045
2061
  "items": {
2046
2062
  "$ref": "#/definitions/TailConsumer"
@@ -2056,7 +2072,9 @@
2056
2072
  },
2057
2073
  "triggers": {
2058
2074
  "additionalProperties": false,
2059
- "default": "`{crons:[]}`",
2075
+ "default": {
2076
+ "crons": []
2077
+ },
2060
2078
  "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",
2061
2079
  "properties": {
2062
2080
  "crons": {
@@ -2087,7 +2105,7 @@
2087
2105
  },
2088
2106
  "unsafe": {
2089
2107
  "additionalProperties": false,
2090
- "default": "`{}`",
2108
+ "default": {},
2091
2109
  "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.",
2092
2110
  "properties": {
2093
2111
  "bindings": {
@@ -2177,12 +2195,12 @@
2177
2195
  }
2178
2196
  ]
2179
2197
  },
2180
- "default": "`{}`",
2198
+ "default": {},
2181
2199
  "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.",
2182
2200
  "type": "object"
2183
2201
  },
2184
2202
  "vectorize": {
2185
- "default": "`[]`",
2203
+ "default": [],
2186
2204
  "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.",
2187
2205
  "items": {
2188
2206
  "additionalProperties": false,
@@ -2230,12 +2248,12 @@
2230
2248
  "type": "string"
2231
2249
  },
2232
2250
  "workers_dev": {
2233
- "default": "`true` (This is a breaking change from Wrangler v1)",
2234
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined // warning: you must force \"workers_dev: true\" in tests to match expected behavior",
2251
+ "default": true,
2252
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.",
2235
2253
  "type": "boolean"
2236
2254
  },
2237
2255
  "workflows": {
2238
- "default": "`[]`",
2256
+ "default": [],
2239
2257
  "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.",
2240
2258
  "items": {
2241
2259
  "$ref": "#/definitions/WorkflowBinding"
@@ -2302,7 +2320,7 @@
2302
2320
  },
2303
2321
  "ai": {
2304
2322
  "additionalProperties": false,
2305
- "default": "`{}`",
2323
+ "default": {},
2306
2324
  "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.",
2307
2325
  "properties": {
2308
2326
  "binding": {
@@ -2318,7 +2336,7 @@
2318
2336
  "type": "object"
2319
2337
  },
2320
2338
  "analytics_engine_datasets": {
2321
- "default": "`[]`",
2339
+ "default": [],
2322
2340
  "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.",
2323
2341
  "items": {
2324
2342
  "additionalProperties": false,
@@ -2349,7 +2367,7 @@
2349
2367
  },
2350
2368
  "browser": {
2351
2369
  "additionalProperties": false,
2352
- "default": "`{}`",
2370
+ "default": {},
2353
2371
  "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.",
2354
2372
  "properties": {
2355
2373
  "binding": {
@@ -2400,7 +2418,7 @@
2400
2418
  },
2401
2419
  "cloudchamber": {
2402
2420
  "$ref": "#/definitions/CloudchamberConfig",
2403
- "default": "`{}`",
2421
+ "default": {},
2404
2422
  "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."
2405
2423
  },
2406
2424
  "compatibility_date": {
@@ -2408,8 +2426,8 @@
2408
2426
  "type": "string"
2409
2427
  },
2410
2428
  "compatibility_flags": {
2411
- "default": "`[]`",
2412
- "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_flags.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
2429
+ "default": [],
2430
+ "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",
2413
2431
  "items": {
2414
2432
  "type": "string"
2415
2433
  },
@@ -2420,7 +2438,7 @@
2420
2438
  "description": "Container related configuration",
2421
2439
  "properties": {
2422
2440
  "app": {
2423
- "default": "`{}`",
2441
+ "default": {},
2424
2442
  "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.",
2425
2443
  "items": {
2426
2444
  "$ref": "#/definitions/ContainerApp"
@@ -2434,7 +2452,7 @@
2434
2452
  "type": "object"
2435
2453
  },
2436
2454
  "d1_databases": {
2437
- "default": "`[]`",
2455
+ "default": [],
2438
2456
  "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.",
2439
2457
  "items": {
2440
2458
  "additionalProperties": false,
@@ -2479,12 +2497,12 @@
2479
2497
  "additionalProperties": {
2480
2498
  "type": "string"
2481
2499
  },
2482
- "default": "`{}`",
2500
+ "default": {},
2483
2501
  "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.",
2484
2502
  "type": "object"
2485
2503
  },
2486
2504
  "dispatch_namespaces": {
2487
- "default": "`[]`",
2505
+ "default": [],
2488
2506
  "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.",
2489
2507
  "items": {
2490
2508
  "additionalProperties": false,
@@ -2512,7 +2530,9 @@
2512
2530
  },
2513
2531
  "durable_objects": {
2514
2532
  "additionalProperties": false,
2515
- "default": "`{bindings:[]}`",
2533
+ "default": {
2534
+ "bindings": []
2535
+ },
2516
2536
  "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.",
2517
2537
  "properties": {
2518
2538
  "bindings": {
@@ -2525,7 +2545,7 @@
2525
2545
  "type": "object"
2526
2546
  },
2527
2547
  "experimental_services": {
2528
- "default": "`[]`",
2548
+ "default": [],
2529
2549
  "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.",
2530
2550
  "description": "A list of services that your Worker should be bound to.",
2531
2551
  "items": {
@@ -2562,7 +2582,7 @@
2562
2582
  "type": "boolean"
2563
2583
  },
2564
2584
  "hyperdrive": {
2565
- "default": "`[]`",
2585
+ "default": [],
2566
2586
  "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.",
2567
2587
  "items": {
2568
2588
  "additionalProperties": false,
@@ -2589,12 +2609,12 @@
2589
2609
  "type": "array"
2590
2610
  },
2591
2611
  "jsx_factory": {
2592
- "default": "`\"React.createElement\"`",
2612
+ "default": "React.createElement",
2593
2613
  "description": "The function to use to replace jsx syntax.",
2594
2614
  "type": "string"
2595
2615
  },
2596
2616
  "jsx_fragment": {
2597
- "default": "`\"React.Fragment\"`",
2617
+ "default": "React.Fragment",
2598
2618
  "description": "The function to use to replace jsx fragment syntax.",
2599
2619
  "type": "string"
2600
2620
  },
@@ -2604,7 +2624,7 @@
2604
2624
  "type": "string"
2605
2625
  },
2606
2626
  "kv_namespaces": {
2607
- "default": "`[]`",
2627
+ "default": [],
2608
2628
  "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.",
2609
2629
  "items": {
2610
2630
  "additionalProperties": false,
@@ -2635,7 +2655,9 @@
2635
2655
  },
2636
2656
  "logfwdr": {
2637
2657
  "additionalProperties": false,
2638
- "default": "`{bindings:[]}`",
2658
+ "default": {
2659
+ "bindings": []
2660
+ },
2639
2661
  "description": "List of bindings that you will send to logfwdr",
2640
2662
  "properties": {
2641
2663
  "bindings": {
@@ -2686,7 +2708,7 @@
2686
2708
  "type": "boolean"
2687
2709
  },
2688
2710
  "mtls_certificates": {
2689
- "default": "`[]`",
2711
+ "default": [],
2690
2712
  "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.",
2691
2713
  "items": {
2692
2714
  "additionalProperties": false,
@@ -2725,7 +2747,7 @@
2725
2747
  "description": "Specify the observability behavior of the Worker."
2726
2748
  },
2727
2749
  "pipelines": {
2728
- "default": "`[]`",
2750
+ "default": [],
2729
2751
  "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.",
2730
2752
  "items": {
2731
2753
  "additionalProperties": false,
@@ -2772,13 +2794,16 @@
2772
2794
  "type": "boolean"
2773
2795
  },
2774
2796
  "preview_urls": {
2775
- "default": "`true`",
2797
+ "default": true,
2776
2798
  "description": "Whether we use <version>-<name>.<subdomain>.workers.dev to serve Preview URLs for your Worker.",
2777
2799
  "type": "boolean"
2778
2800
  },
2779
2801
  "queues": {
2780
2802
  "additionalProperties": false,
2781
- "default": "`{consumers:[],producers:[]}`",
2803
+ "default": {
2804
+ "consumers": [],
2805
+ "producers": []
2806
+ },
2782
2807
  "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.",
2783
2808
  "properties": {
2784
2809
  "consumers": {
@@ -2863,7 +2888,7 @@
2863
2888
  "type": "object"
2864
2889
  },
2865
2890
  "r2_buckets": {
2866
- "default": "`[]`",
2891
+ "default": [],
2867
2892
  "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.",
2868
2893
  "items": {
2869
2894
  "additionalProperties": false,
@@ -2911,7 +2936,7 @@
2911
2936
  "type": "array"
2912
2937
  },
2913
2938
  "send_email": {
2914
- "default": "`[]`",
2939
+ "default": [],
2915
2940
  "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.",
2916
2941
  "items": {
2917
2942
  "additionalProperties": false,
@@ -2940,7 +2965,7 @@
2940
2965
  "type": "array"
2941
2966
  },
2942
2967
  "services": {
2943
- "default": "`[]`",
2968
+ "default": [],
2944
2969
  "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.",
2945
2970
  "items": {
2946
2971
  "additionalProperties": false,
@@ -2971,7 +2996,7 @@
2971
2996
  "type": "array"
2972
2997
  },
2973
2998
  "tail_consumers": {
2974
- "default": "`[]`",
2999
+ "default": [],
2975
3000
  "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.",
2976
3001
  "items": {
2977
3002
  "$ref": "#/definitions/TailConsumer"
@@ -2980,7 +3005,9 @@
2980
3005
  },
2981
3006
  "triggers": {
2982
3007
  "additionalProperties": false,
2983
- "default": "`{crons:[]}`",
3008
+ "default": {
3009
+ "crons": []
3010
+ },
2984
3011
  "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",
2985
3012
  "properties": {
2986
3013
  "crons": {
@@ -3001,7 +3028,7 @@
3001
3028
  },
3002
3029
  "unsafe": {
3003
3030
  "additionalProperties": false,
3004
- "default": "`{}`",
3031
+ "default": {},
3005
3032
  "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.",
3006
3033
  "properties": {
3007
3034
  "bindings": {
@@ -3091,12 +3118,12 @@
3091
3118
  }
3092
3119
  ]
3093
3120
  },
3094
- "default": "`{}`",
3121
+ "default": {},
3095
3122
  "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.",
3096
3123
  "type": "object"
3097
3124
  },
3098
3125
  "vectorize": {
3099
- "default": "`[]`",
3126
+ "default": [],
3100
3127
  "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.",
3101
3128
  "items": {
3102
3129
  "additionalProperties": false,
@@ -3132,12 +3159,12 @@
3132
3159
  "type": "object"
3133
3160
  },
3134
3161
  "workers_dev": {
3135
- "default": "`true` (This is a breaking change from Wrangler v1)",
3136
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined // warning: you must force \"workers_dev: true\" in tests to match expected behavior",
3162
+ "default": true,
3163
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.",
3137
3164
  "type": "boolean"
3138
3165
  },
3139
3166
  "workflows": {
3140
- "default": "`[]`",
3167
+ "default": [],
3141
3168
  "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.",
3142
3169
  "items": {
3143
3170
  "$ref": "#/definitions/WorkflowBinding"