wrangler 3.51.2 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/config-schema.json +126 -87
- package/package.json +7 -14
- package/wrangler-dist/cli.d.ts +98 -50
- package/wrangler-dist/cli.js +35698 -2976
package/config-schema.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"properties": {
|
|
51
51
|
"dir": {
|
|
52
52
|
"deprecated": true,
|
|
53
|
-
"description": "The directory you wish to upload your
|
|
53
|
+
"description": "The directory you wish to upload your Worker from, relative to the wrangler.toml file.\n\nDefaults to the directory containing the wrangler.toml file.",
|
|
54
54
|
"type": "string"
|
|
55
55
|
},
|
|
56
56
|
"format": {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"type": "string"
|
|
83
83
|
},
|
|
84
84
|
"parameters": {
|
|
85
|
-
"description": "(Optional) List of parameter names, for sending context from your dispatch
|
|
85
|
+
"description": "(Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler",
|
|
86
86
|
"items": {
|
|
87
87
|
"type": "string"
|
|
88
88
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"type": "string"
|
|
116
116
|
},
|
|
117
117
|
"script_name": {
|
|
118
|
-
"description": "The script where the Durable Object is defined (if it's external to this
|
|
118
|
+
"description": "The script where the Durable Object is defined (if it's external to this Worker)",
|
|
119
119
|
"type": "string"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
@@ -137,10 +137,14 @@
|
|
|
137
137
|
},
|
|
138
138
|
"ai": {
|
|
139
139
|
"additionalProperties": false,
|
|
140
|
-
"
|
|
140
|
+
"default": "`{}`",
|
|
141
|
+
"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.",
|
|
141
142
|
"properties": {
|
|
142
143
|
"binding": {
|
|
143
144
|
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"staging": {
|
|
147
|
+
"type": "boolean"
|
|
144
148
|
}
|
|
145
149
|
},
|
|
146
150
|
"required": [
|
|
@@ -155,7 +159,7 @@
|
|
|
155
159
|
"additionalProperties": false,
|
|
156
160
|
"properties": {
|
|
157
161
|
"binding": {
|
|
158
|
-
"description": "The binding name used to refer to the dataset in the
|
|
162
|
+
"description": "The binding name used to refer to the dataset in the Worker.",
|
|
159
163
|
"type": "string"
|
|
160
164
|
},
|
|
161
165
|
"dataset": {
|
|
@@ -171,12 +175,13 @@
|
|
|
171
175
|
"type": "array"
|
|
172
176
|
},
|
|
173
177
|
"base_dir": {
|
|
174
|
-
"description": "The directory in which module rules should be evaluated when including additional files into a
|
|
178
|
+
"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.",
|
|
175
179
|
"type": "string"
|
|
176
180
|
},
|
|
177
181
|
"browser": {
|
|
178
182
|
"additionalProperties": false,
|
|
179
|
-
"
|
|
183
|
+
"default": "`{}`",
|
|
184
|
+
"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.",
|
|
180
185
|
"properties": {
|
|
181
186
|
"binding": {
|
|
182
187
|
"type": "string"
|
|
@@ -189,7 +194,9 @@
|
|
|
189
194
|
},
|
|
190
195
|
"build": {
|
|
191
196
|
"additionalProperties": false,
|
|
192
|
-
"default": {
|
|
197
|
+
"default": {
|
|
198
|
+
"watch_dir": "./src"
|
|
199
|
+
},
|
|
193
200
|
"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.",
|
|
194
201
|
"properties": {
|
|
195
202
|
"command": {
|
|
@@ -232,6 +239,7 @@
|
|
|
232
239
|
"type": "string"
|
|
233
240
|
},
|
|
234
241
|
"compatibility_flags": {
|
|
242
|
+
"default": "`[]`",
|
|
235
243
|
"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",
|
|
236
244
|
"items": {
|
|
237
245
|
"type": "string"
|
|
@@ -245,7 +253,7 @@
|
|
|
245
253
|
"additionalProperties": false,
|
|
246
254
|
"properties": {
|
|
247
255
|
"binding": {
|
|
248
|
-
"description": "The binding name used to refer to the project in the
|
|
256
|
+
"description": "The binding name used to refer to the project in the Worker.",
|
|
249
257
|
"type": "string"
|
|
250
258
|
},
|
|
251
259
|
"project_id": {
|
|
@@ -268,7 +276,7 @@
|
|
|
268
276
|
"additionalProperties": false,
|
|
269
277
|
"properties": {
|
|
270
278
|
"binding": {
|
|
271
|
-
"description": "The binding name used to refer to the D1 database in the
|
|
279
|
+
"description": "The binding name used to refer to the D1 database in the Worker.",
|
|
272
280
|
"type": "string"
|
|
273
281
|
},
|
|
274
282
|
"database_id": {
|
|
@@ -310,7 +318,7 @@
|
|
|
310
318
|
"type": "string"
|
|
311
319
|
},
|
|
312
320
|
"default": "`{}`",
|
|
313
|
-
"description": "A map of values to substitute when deploying your
|
|
321
|
+
"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.",
|
|
314
322
|
"type": "object"
|
|
315
323
|
},
|
|
316
324
|
"dispatch_namespaces": {
|
|
@@ -329,7 +337,7 @@
|
|
|
329
337
|
},
|
|
330
338
|
"outbound": {
|
|
331
339
|
"$ref": "#/definitions/DispatchNamespaceOutbound",
|
|
332
|
-
"description": "Details about the outbound
|
|
340
|
+
"description": "Details about the outbound Worker which will handle outbound requests from your namespace"
|
|
333
341
|
}
|
|
334
342
|
},
|
|
335
343
|
"required": [
|
|
@@ -343,7 +351,7 @@
|
|
|
343
351
|
"durable_objects": {
|
|
344
352
|
"additionalProperties": false,
|
|
345
353
|
"default": "`{bindings:[]}`",
|
|
346
|
-
"description": "A list of durable objects that your
|
|
354
|
+
"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.",
|
|
347
355
|
"properties": {
|
|
348
356
|
"bindings": {
|
|
349
357
|
"$ref": "#/definitions/DurableObjectBindings"
|
|
@@ -355,11 +363,11 @@
|
|
|
355
363
|
"type": "object"
|
|
356
364
|
},
|
|
357
365
|
"find_additional_modules": {
|
|
358
|
-
"description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed
|
|
366
|
+
"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.",
|
|
359
367
|
"type": "boolean"
|
|
360
368
|
},
|
|
361
369
|
"first_party_worker": {
|
|
362
|
-
"description": "Designates this
|
|
370
|
+
"description": "Designates this Worker as an internal-only \"first-party\" Worker.",
|
|
363
371
|
"type": "boolean"
|
|
364
372
|
},
|
|
365
373
|
"hyperdrive": {
|
|
@@ -369,7 +377,7 @@
|
|
|
369
377
|
"additionalProperties": false,
|
|
370
378
|
"properties": {
|
|
371
379
|
"binding": {
|
|
372
|
-
"description": "The binding name used to refer to the project in the
|
|
380
|
+
"description": "The binding name used to refer to the project in the Worker.",
|
|
373
381
|
"type": "string"
|
|
374
382
|
},
|
|
375
383
|
"id": {
|
|
@@ -463,7 +471,7 @@
|
|
|
463
471
|
"type": "object"
|
|
464
472
|
},
|
|
465
473
|
"logpush": {
|
|
466
|
-
"description": "Send Trace Events from this
|
|
474
|
+
"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/",
|
|
467
475
|
"type": "boolean"
|
|
468
476
|
},
|
|
469
477
|
"main": {
|
|
@@ -475,11 +483,13 @@
|
|
|
475
483
|
"type": "boolean"
|
|
476
484
|
},
|
|
477
485
|
"mtls_certificates": {
|
|
486
|
+
"default": "`[]`",
|
|
487
|
+
"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.",
|
|
478
488
|
"items": {
|
|
479
489
|
"additionalProperties": false,
|
|
480
490
|
"properties": {
|
|
481
491
|
"binding": {
|
|
482
|
-
"description": "The binding name used to refer to the certificate in the
|
|
492
|
+
"description": "The binding name used to refer to the certificate in the Worker",
|
|
483
493
|
"type": "string"
|
|
484
494
|
},
|
|
485
495
|
"certificate_id": {
|
|
@@ -496,7 +506,7 @@
|
|
|
496
506
|
"type": "array"
|
|
497
507
|
},
|
|
498
508
|
"name": {
|
|
499
|
-
"description": "The name of your
|
|
509
|
+
"description": "The name of your Worker. Alphanumeric + dashes only.",
|
|
500
510
|
"type": "string"
|
|
501
511
|
},
|
|
502
512
|
"no_bundle": {
|
|
@@ -509,7 +519,7 @@
|
|
|
509
519
|
},
|
|
510
520
|
"placement": {
|
|
511
521
|
"additionalProperties": false,
|
|
512
|
-
"description": "Specify how the
|
|
522
|
+
"description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
|
|
513
523
|
"properties": {
|
|
514
524
|
"mode": {
|
|
515
525
|
"enum": [
|
|
@@ -530,7 +540,7 @@
|
|
|
530
540
|
},
|
|
531
541
|
"queues": {
|
|
532
542
|
"additionalProperties": false,
|
|
533
|
-
"default": "`{}`",
|
|
543
|
+
"default": "`{consumers:[],producers:[]}`",
|
|
534
544
|
"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.",
|
|
535
545
|
"properties": {
|
|
536
546
|
"consumers": {
|
|
@@ -591,7 +601,7 @@
|
|
|
591
601
|
"additionalProperties": false,
|
|
592
602
|
"properties": {
|
|
593
603
|
"binding": {
|
|
594
|
-
"description": "The binding name used to refer to the Queue in the
|
|
604
|
+
"description": "The binding name used to refer to the Queue in the Worker.",
|
|
595
605
|
"type": "string"
|
|
596
606
|
},
|
|
597
607
|
"delivery_delay": {
|
|
@@ -621,7 +631,7 @@
|
|
|
621
631
|
"additionalProperties": false,
|
|
622
632
|
"properties": {
|
|
623
633
|
"binding": {
|
|
624
|
-
"description": "The binding name used to refer to the R2 bucket in the
|
|
634
|
+
"description": "The binding name used to refer to the R2 bucket in the Worker.",
|
|
625
635
|
"type": "string"
|
|
626
636
|
},
|
|
627
637
|
"bucket_name": {
|
|
@@ -647,10 +657,10 @@
|
|
|
647
657
|
},
|
|
648
658
|
"route": {
|
|
649
659
|
"$ref": "#/definitions/Route",
|
|
650
|
-
"description": "A route that your
|
|
660
|
+
"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"
|
|
651
661
|
},
|
|
652
662
|
"routes": {
|
|
653
|
-
"description": "A list of routes that your
|
|
663
|
+
"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`)",
|
|
654
664
|
"items": {
|
|
655
665
|
"$ref": "#/definitions/Route"
|
|
656
666
|
},
|
|
@@ -694,7 +704,7 @@
|
|
|
694
704
|
},
|
|
695
705
|
"services": {
|
|
696
706
|
"default": "`[]`",
|
|
697
|
-
"description": "Specifies service bindings (
|
|
707
|
+
"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.",
|
|
698
708
|
"items": {
|
|
699
709
|
"additionalProperties": false,
|
|
700
710
|
"properties": {
|
|
@@ -724,6 +734,8 @@
|
|
|
724
734
|
"type": "array"
|
|
725
735
|
},
|
|
726
736
|
"tail_consumers": {
|
|
737
|
+
"default": "`[]`",
|
|
738
|
+
"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.",
|
|
727
739
|
"items": {
|
|
728
740
|
"$ref": "#/definitions/TailConsumer"
|
|
729
741
|
},
|
|
@@ -732,7 +744,7 @@
|
|
|
732
744
|
"triggers": {
|
|
733
745
|
"additionalProperties": false,
|
|
734
746
|
"default": "`{crons:[]}`",
|
|
735
|
-
"description": "\"Cron\" definitions to trigger a
|
|
747
|
+
"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",
|
|
736
748
|
"properties": {
|
|
737
749
|
"crons": {
|
|
738
750
|
"items": {
|
|
@@ -752,6 +764,7 @@
|
|
|
752
764
|
},
|
|
753
765
|
"unsafe": {
|
|
754
766
|
"additionalProperties": false,
|
|
767
|
+
"default": "`{}`",
|
|
755
768
|
"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.",
|
|
756
769
|
"properties": {
|
|
757
770
|
"bindings": {
|
|
@@ -842,7 +855,7 @@
|
|
|
842
855
|
]
|
|
843
856
|
},
|
|
844
857
|
"default": "`{}`",
|
|
845
|
-
"description": "A map of environment variables to set when deploying your
|
|
858
|
+
"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.",
|
|
846
859
|
"type": "object"
|
|
847
860
|
},
|
|
848
861
|
"vectorize": {
|
|
@@ -852,7 +865,7 @@
|
|
|
852
865
|
"additionalProperties": false,
|
|
853
866
|
"properties": {
|
|
854
867
|
"binding": {
|
|
855
|
-
"description": "The binding name used to refer to the Vectorize index in the
|
|
868
|
+
"description": "The binding name used to refer to the Vectorize index in the Worker.",
|
|
856
869
|
"type": "string"
|
|
857
870
|
},
|
|
858
871
|
"index_name": {
|
|
@@ -883,7 +896,7 @@
|
|
|
883
896
|
},
|
|
884
897
|
"workers_dev": {
|
|
885
898
|
"default": "`true` (This is a breaking change from Wrangler v1)",
|
|
886
|
-
"description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your
|
|
899
|
+
"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",
|
|
887
900
|
"type": "boolean"
|
|
888
901
|
},
|
|
889
902
|
"zone_id": {
|
|
@@ -952,10 +965,14 @@
|
|
|
952
965
|
},
|
|
953
966
|
"ai": {
|
|
954
967
|
"additionalProperties": false,
|
|
955
|
-
"
|
|
968
|
+
"default": "`{}`",
|
|
969
|
+
"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.",
|
|
956
970
|
"properties": {
|
|
957
971
|
"binding": {
|
|
958
972
|
"type": "string"
|
|
973
|
+
},
|
|
974
|
+
"staging": {
|
|
975
|
+
"type": "boolean"
|
|
959
976
|
}
|
|
960
977
|
},
|
|
961
978
|
"required": [
|
|
@@ -970,7 +987,7 @@
|
|
|
970
987
|
"additionalProperties": false,
|
|
971
988
|
"properties": {
|
|
972
989
|
"binding": {
|
|
973
|
-
"description": "The binding name used to refer to the dataset in the
|
|
990
|
+
"description": "The binding name used to refer to the dataset in the Worker.",
|
|
974
991
|
"type": "string"
|
|
975
992
|
},
|
|
976
993
|
"dataset": {
|
|
@@ -1020,12 +1037,13 @@
|
|
|
1020
1037
|
"type": "object"
|
|
1021
1038
|
},
|
|
1022
1039
|
"base_dir": {
|
|
1023
|
-
"description": "The directory in which module rules should be evaluated when including additional files into a
|
|
1040
|
+
"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.",
|
|
1024
1041
|
"type": "string"
|
|
1025
1042
|
},
|
|
1026
1043
|
"browser": {
|
|
1027
1044
|
"additionalProperties": false,
|
|
1028
|
-
"
|
|
1045
|
+
"default": "`{}`",
|
|
1046
|
+
"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.",
|
|
1029
1047
|
"properties": {
|
|
1030
1048
|
"binding": {
|
|
1031
1049
|
"type": "string"
|
|
@@ -1038,7 +1056,9 @@
|
|
|
1038
1056
|
},
|
|
1039
1057
|
"build": {
|
|
1040
1058
|
"additionalProperties": false,
|
|
1041
|
-
"default": {
|
|
1059
|
+
"default": {
|
|
1060
|
+
"watch_dir": "./src"
|
|
1061
|
+
},
|
|
1042
1062
|
"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.",
|
|
1043
1063
|
"properties": {
|
|
1044
1064
|
"command": {
|
|
@@ -1081,6 +1101,7 @@
|
|
|
1081
1101
|
"type": "string"
|
|
1082
1102
|
},
|
|
1083
1103
|
"compatibility_flags": {
|
|
1104
|
+
"default": "`[]`",
|
|
1084
1105
|
"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",
|
|
1085
1106
|
"items": {
|
|
1086
1107
|
"type": "string"
|
|
@@ -1097,7 +1118,7 @@
|
|
|
1097
1118
|
"additionalProperties": false,
|
|
1098
1119
|
"properties": {
|
|
1099
1120
|
"binding": {
|
|
1100
|
-
"description": "The binding name used to refer to the project in the
|
|
1121
|
+
"description": "The binding name used to refer to the project in the Worker.",
|
|
1101
1122
|
"type": "string"
|
|
1102
1123
|
},
|
|
1103
1124
|
"project_id": {
|
|
@@ -1120,7 +1141,7 @@
|
|
|
1120
1141
|
"additionalProperties": false,
|
|
1121
1142
|
"properties": {
|
|
1122
1143
|
"binding": {
|
|
1123
|
-
"description": "The binding name used to refer to the D1 database in the
|
|
1144
|
+
"description": "The binding name used to refer to the D1 database in the Worker.",
|
|
1124
1145
|
"type": "string"
|
|
1125
1146
|
},
|
|
1126
1147
|
"database_id": {
|
|
@@ -1169,7 +1190,7 @@
|
|
|
1169
1190
|
"type": "string"
|
|
1170
1191
|
},
|
|
1171
1192
|
"default": "`{}`",
|
|
1172
|
-
"description": "A map of values to substitute when deploying your
|
|
1193
|
+
"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.",
|
|
1173
1194
|
"type": "object"
|
|
1174
1195
|
},
|
|
1175
1196
|
"dev": {
|
|
@@ -1192,7 +1213,7 @@
|
|
|
1192
1213
|
},
|
|
1193
1214
|
"outbound": {
|
|
1194
1215
|
"$ref": "#/definitions/DispatchNamespaceOutbound",
|
|
1195
|
-
"description": "Details about the outbound
|
|
1216
|
+
"description": "Details about the outbound Worker which will handle outbound requests from your namespace"
|
|
1196
1217
|
}
|
|
1197
1218
|
},
|
|
1198
1219
|
"required": [
|
|
@@ -1206,7 +1227,7 @@
|
|
|
1206
1227
|
"durable_objects": {
|
|
1207
1228
|
"additionalProperties": false,
|
|
1208
1229
|
"default": "`{bindings:[]}`",
|
|
1209
|
-
"description": "A list of durable objects that your
|
|
1230
|
+
"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.",
|
|
1210
1231
|
"properties": {
|
|
1211
1232
|
"bindings": {
|
|
1212
1233
|
"$ref": "#/definitions/DurableObjectBindings"
|
|
@@ -1228,7 +1249,7 @@
|
|
|
1228
1249
|
"experimental_services": {
|
|
1229
1250
|
"default": "`[]`",
|
|
1230
1251
|
"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.",
|
|
1231
|
-
"description": "A list of services that your
|
|
1252
|
+
"description": "A list of services that your Worker should be bound to.",
|
|
1232
1253
|
"items": {
|
|
1233
1254
|
"additionalProperties": false,
|
|
1234
1255
|
"properties": {
|
|
@@ -1255,11 +1276,11 @@
|
|
|
1255
1276
|
"type": "array"
|
|
1256
1277
|
},
|
|
1257
1278
|
"find_additional_modules": {
|
|
1258
|
-
"description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed
|
|
1279
|
+
"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.",
|
|
1259
1280
|
"type": "boolean"
|
|
1260
1281
|
},
|
|
1261
1282
|
"first_party_worker": {
|
|
1262
|
-
"description": "Designates this
|
|
1283
|
+
"description": "Designates this Worker as an internal-only \"first-party\" Worker.",
|
|
1263
1284
|
"type": "boolean"
|
|
1264
1285
|
},
|
|
1265
1286
|
"hyperdrive": {
|
|
@@ -1269,7 +1290,7 @@
|
|
|
1269
1290
|
"additionalProperties": false,
|
|
1270
1291
|
"properties": {
|
|
1271
1292
|
"binding": {
|
|
1272
|
-
"description": "The binding name used to refer to the project in the
|
|
1293
|
+
"description": "The binding name used to refer to the project in the Worker.",
|
|
1273
1294
|
"type": "string"
|
|
1274
1295
|
},
|
|
1275
1296
|
"id": {
|
|
@@ -1377,7 +1398,7 @@
|
|
|
1377
1398
|
"type": "object"
|
|
1378
1399
|
},
|
|
1379
1400
|
"logpush": {
|
|
1380
|
-
"description": "Send Trace Events from this
|
|
1401
|
+
"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/",
|
|
1381
1402
|
"type": "boolean"
|
|
1382
1403
|
},
|
|
1383
1404
|
"main": {
|
|
@@ -1445,11 +1466,13 @@
|
|
|
1445
1466
|
"type": "boolean"
|
|
1446
1467
|
},
|
|
1447
1468
|
"mtls_certificates": {
|
|
1469
|
+
"default": "`[]`",
|
|
1470
|
+
"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.",
|
|
1448
1471
|
"items": {
|
|
1449
1472
|
"additionalProperties": false,
|
|
1450
1473
|
"properties": {
|
|
1451
1474
|
"binding": {
|
|
1452
|
-
"description": "The binding name used to refer to the certificate in the
|
|
1475
|
+
"description": "The binding name used to refer to the certificate in the Worker",
|
|
1453
1476
|
"type": "string"
|
|
1454
1477
|
},
|
|
1455
1478
|
"certificate_id": {
|
|
@@ -1466,7 +1489,7 @@
|
|
|
1466
1489
|
"type": "array"
|
|
1467
1490
|
},
|
|
1468
1491
|
"name": {
|
|
1469
|
-
"description": "The name of your
|
|
1492
|
+
"description": "The name of your Worker. Alphanumeric + dashes only.",
|
|
1470
1493
|
"type": "string"
|
|
1471
1494
|
},
|
|
1472
1495
|
"no_bundle": {
|
|
@@ -1483,7 +1506,7 @@
|
|
|
1483
1506
|
},
|
|
1484
1507
|
"placement": {
|
|
1485
1508
|
"additionalProperties": false,
|
|
1486
|
-
"description": "Specify how the
|
|
1509
|
+
"description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
|
|
1487
1510
|
"properties": {
|
|
1488
1511
|
"mode": {
|
|
1489
1512
|
"enum": [
|
|
@@ -1504,7 +1527,7 @@
|
|
|
1504
1527
|
},
|
|
1505
1528
|
"queues": {
|
|
1506
1529
|
"additionalProperties": false,
|
|
1507
|
-
"default": "`{}`",
|
|
1530
|
+
"default": "`{consumers:[],producers:[]}`",
|
|
1508
1531
|
"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.",
|
|
1509
1532
|
"properties": {
|
|
1510
1533
|
"consumers": {
|
|
@@ -1565,7 +1588,7 @@
|
|
|
1565
1588
|
"additionalProperties": false,
|
|
1566
1589
|
"properties": {
|
|
1567
1590
|
"binding": {
|
|
1568
|
-
"description": "The binding name used to refer to the Queue in the
|
|
1591
|
+
"description": "The binding name used to refer to the Queue in the Worker.",
|
|
1569
1592
|
"type": "string"
|
|
1570
1593
|
},
|
|
1571
1594
|
"delivery_delay": {
|
|
@@ -1595,7 +1618,7 @@
|
|
|
1595
1618
|
"additionalProperties": false,
|
|
1596
1619
|
"properties": {
|
|
1597
1620
|
"binding": {
|
|
1598
|
-
"description": "The binding name used to refer to the R2 bucket in the
|
|
1621
|
+
"description": "The binding name used to refer to the R2 bucket in the Worker.",
|
|
1599
1622
|
"type": "string"
|
|
1600
1623
|
},
|
|
1601
1624
|
"bucket_name": {
|
|
@@ -1621,10 +1644,10 @@
|
|
|
1621
1644
|
},
|
|
1622
1645
|
"route": {
|
|
1623
1646
|
"$ref": "#/definitions/Route",
|
|
1624
|
-
"description": "A route that your
|
|
1647
|
+
"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"
|
|
1625
1648
|
},
|
|
1626
1649
|
"routes": {
|
|
1627
|
-
"description": "A list of routes that your
|
|
1650
|
+
"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`)",
|
|
1628
1651
|
"items": {
|
|
1629
1652
|
"$ref": "#/definitions/Route"
|
|
1630
1653
|
},
|
|
@@ -1672,7 +1695,7 @@
|
|
|
1672
1695
|
},
|
|
1673
1696
|
"services": {
|
|
1674
1697
|
"default": "`[]`",
|
|
1675
|
-
"description": "Specifies service bindings (
|
|
1698
|
+
"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.",
|
|
1676
1699
|
"items": {
|
|
1677
1700
|
"additionalProperties": false,
|
|
1678
1701
|
"properties": {
|
|
@@ -1737,6 +1760,8 @@
|
|
|
1737
1760
|
"type": "object"
|
|
1738
1761
|
},
|
|
1739
1762
|
"tail_consumers": {
|
|
1763
|
+
"default": "`[]`",
|
|
1764
|
+
"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.",
|
|
1740
1765
|
"items": {
|
|
1741
1766
|
"$ref": "#/definitions/TailConsumer"
|
|
1742
1767
|
},
|
|
@@ -1752,7 +1777,7 @@
|
|
|
1752
1777
|
"triggers": {
|
|
1753
1778
|
"additionalProperties": false,
|
|
1754
1779
|
"default": "`{crons:[]}`",
|
|
1755
|
-
"description": "\"Cron\" definitions to trigger a
|
|
1780
|
+
"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",
|
|
1756
1781
|
"properties": {
|
|
1757
1782
|
"crons": {
|
|
1758
1783
|
"items": {
|
|
@@ -1782,6 +1807,7 @@
|
|
|
1782
1807
|
},
|
|
1783
1808
|
"unsafe": {
|
|
1784
1809
|
"additionalProperties": false,
|
|
1810
|
+
"default": "`{}`",
|
|
1785
1811
|
"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.",
|
|
1786
1812
|
"properties": {
|
|
1787
1813
|
"bindings": {
|
|
@@ -1872,7 +1898,7 @@
|
|
|
1872
1898
|
]
|
|
1873
1899
|
},
|
|
1874
1900
|
"default": "`{}`",
|
|
1875
|
-
"description": "A map of environment variables to set when deploying your
|
|
1901
|
+
"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.",
|
|
1876
1902
|
"type": "object"
|
|
1877
1903
|
},
|
|
1878
1904
|
"vectorize": {
|
|
@@ -1882,7 +1908,7 @@
|
|
|
1882
1908
|
"additionalProperties": false,
|
|
1883
1909
|
"properties": {
|
|
1884
1910
|
"binding": {
|
|
1885
|
-
"description": "The binding name used to refer to the Vectorize index in the
|
|
1911
|
+
"description": "The binding name used to refer to the Vectorize index in the Worker.",
|
|
1886
1912
|
"type": "string"
|
|
1887
1913
|
},
|
|
1888
1914
|
"index_name": {
|
|
@@ -1925,7 +1951,7 @@
|
|
|
1925
1951
|
},
|
|
1926
1952
|
"workers_dev": {
|
|
1927
1953
|
"default": "`true` (This is a breaking change from Wrangler v1)",
|
|
1928
|
-
"description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your
|
|
1954
|
+
"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",
|
|
1929
1955
|
"type": "boolean"
|
|
1930
1956
|
},
|
|
1931
1957
|
"zone_id": {
|
|
@@ -1988,10 +2014,14 @@
|
|
|
1988
2014
|
},
|
|
1989
2015
|
"ai": {
|
|
1990
2016
|
"additionalProperties": false,
|
|
1991
|
-
"
|
|
2017
|
+
"default": "`{}`",
|
|
2018
|
+
"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.",
|
|
1992
2019
|
"properties": {
|
|
1993
2020
|
"binding": {
|
|
1994
2021
|
"type": "string"
|
|
2022
|
+
},
|
|
2023
|
+
"staging": {
|
|
2024
|
+
"type": "boolean"
|
|
1995
2025
|
}
|
|
1996
2026
|
},
|
|
1997
2027
|
"required": [
|
|
@@ -2006,7 +2036,7 @@
|
|
|
2006
2036
|
"additionalProperties": false,
|
|
2007
2037
|
"properties": {
|
|
2008
2038
|
"binding": {
|
|
2009
|
-
"description": "The binding name used to refer to the dataset in the
|
|
2039
|
+
"description": "The binding name used to refer to the dataset in the Worker.",
|
|
2010
2040
|
"type": "string"
|
|
2011
2041
|
},
|
|
2012
2042
|
"dataset": {
|
|
@@ -2022,12 +2052,13 @@
|
|
|
2022
2052
|
"type": "array"
|
|
2023
2053
|
},
|
|
2024
2054
|
"base_dir": {
|
|
2025
|
-
"description": "The directory in which module rules should be evaluated when including additional files into a
|
|
2055
|
+
"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.",
|
|
2026
2056
|
"type": "string"
|
|
2027
2057
|
},
|
|
2028
2058
|
"browser": {
|
|
2029
2059
|
"additionalProperties": false,
|
|
2030
|
-
"
|
|
2060
|
+
"default": "`{}`",
|
|
2061
|
+
"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.",
|
|
2031
2062
|
"properties": {
|
|
2032
2063
|
"binding": {
|
|
2033
2064
|
"type": "string"
|
|
@@ -2040,7 +2071,9 @@
|
|
|
2040
2071
|
},
|
|
2041
2072
|
"build": {
|
|
2042
2073
|
"additionalProperties": false,
|
|
2043
|
-
"default": {
|
|
2074
|
+
"default": {
|
|
2075
|
+
"watch_dir": "./src"
|
|
2076
|
+
},
|
|
2044
2077
|
"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.",
|
|
2045
2078
|
"properties": {
|
|
2046
2079
|
"command": {
|
|
@@ -2083,6 +2116,7 @@
|
|
|
2083
2116
|
"type": "string"
|
|
2084
2117
|
},
|
|
2085
2118
|
"compatibility_flags": {
|
|
2119
|
+
"default": "`[]`",
|
|
2086
2120
|
"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",
|
|
2087
2121
|
"items": {
|
|
2088
2122
|
"type": "string"
|
|
@@ -2096,7 +2130,7 @@
|
|
|
2096
2130
|
"additionalProperties": false,
|
|
2097
2131
|
"properties": {
|
|
2098
2132
|
"binding": {
|
|
2099
|
-
"description": "The binding name used to refer to the project in the
|
|
2133
|
+
"description": "The binding name used to refer to the project in the Worker.",
|
|
2100
2134
|
"type": "string"
|
|
2101
2135
|
},
|
|
2102
2136
|
"project_id": {
|
|
@@ -2119,7 +2153,7 @@
|
|
|
2119
2153
|
"additionalProperties": false,
|
|
2120
2154
|
"properties": {
|
|
2121
2155
|
"binding": {
|
|
2122
|
-
"description": "The binding name used to refer to the D1 database in the
|
|
2156
|
+
"description": "The binding name used to refer to the D1 database in the Worker.",
|
|
2123
2157
|
"type": "string"
|
|
2124
2158
|
},
|
|
2125
2159
|
"database_id": {
|
|
@@ -2161,7 +2195,7 @@
|
|
|
2161
2195
|
"type": "string"
|
|
2162
2196
|
},
|
|
2163
2197
|
"default": "`{}`",
|
|
2164
|
-
"description": "A map of values to substitute when deploying your
|
|
2198
|
+
"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.",
|
|
2165
2199
|
"type": "object"
|
|
2166
2200
|
},
|
|
2167
2201
|
"dispatch_namespaces": {
|
|
@@ -2180,7 +2214,7 @@
|
|
|
2180
2214
|
},
|
|
2181
2215
|
"outbound": {
|
|
2182
2216
|
"$ref": "#/definitions/DispatchNamespaceOutbound",
|
|
2183
|
-
"description": "Details about the outbound
|
|
2217
|
+
"description": "Details about the outbound Worker which will handle outbound requests from your namespace"
|
|
2184
2218
|
}
|
|
2185
2219
|
},
|
|
2186
2220
|
"required": [
|
|
@@ -2194,7 +2228,7 @@
|
|
|
2194
2228
|
"durable_objects": {
|
|
2195
2229
|
"additionalProperties": false,
|
|
2196
2230
|
"default": "`{bindings:[]}`",
|
|
2197
|
-
"description": "A list of durable objects that your
|
|
2231
|
+
"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.",
|
|
2198
2232
|
"properties": {
|
|
2199
2233
|
"bindings": {
|
|
2200
2234
|
"$ref": "#/definitions/DurableObjectBindings"
|
|
@@ -2208,7 +2242,7 @@
|
|
|
2208
2242
|
"experimental_services": {
|
|
2209
2243
|
"default": "`[]`",
|
|
2210
2244
|
"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.",
|
|
2211
|
-
"description": "A list of services that your
|
|
2245
|
+
"description": "A list of services that your Worker should be bound to.",
|
|
2212
2246
|
"items": {
|
|
2213
2247
|
"additionalProperties": false,
|
|
2214
2248
|
"properties": {
|
|
@@ -2235,11 +2269,11 @@
|
|
|
2235
2269
|
"type": "array"
|
|
2236
2270
|
},
|
|
2237
2271
|
"find_additional_modules": {
|
|
2238
|
-
"description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed
|
|
2272
|
+
"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.",
|
|
2239
2273
|
"type": "boolean"
|
|
2240
2274
|
},
|
|
2241
2275
|
"first_party_worker": {
|
|
2242
|
-
"description": "Designates this
|
|
2276
|
+
"description": "Designates this Worker as an internal-only \"first-party\" Worker.",
|
|
2243
2277
|
"type": "boolean"
|
|
2244
2278
|
},
|
|
2245
2279
|
"hyperdrive": {
|
|
@@ -2249,7 +2283,7 @@
|
|
|
2249
2283
|
"additionalProperties": false,
|
|
2250
2284
|
"properties": {
|
|
2251
2285
|
"binding": {
|
|
2252
|
-
"description": "The binding name used to refer to the project in the
|
|
2286
|
+
"description": "The binding name used to refer to the project in the Worker.",
|
|
2253
2287
|
"type": "string"
|
|
2254
2288
|
},
|
|
2255
2289
|
"id": {
|
|
@@ -2348,7 +2382,7 @@
|
|
|
2348
2382
|
"type": "object"
|
|
2349
2383
|
},
|
|
2350
2384
|
"logpush": {
|
|
2351
|
-
"description": "Send Trace Events from this
|
|
2385
|
+
"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/",
|
|
2352
2386
|
"type": "boolean"
|
|
2353
2387
|
},
|
|
2354
2388
|
"main": {
|
|
@@ -2360,11 +2394,13 @@
|
|
|
2360
2394
|
"type": "boolean"
|
|
2361
2395
|
},
|
|
2362
2396
|
"mtls_certificates": {
|
|
2397
|
+
"default": "`[]`",
|
|
2398
|
+
"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.",
|
|
2363
2399
|
"items": {
|
|
2364
2400
|
"additionalProperties": false,
|
|
2365
2401
|
"properties": {
|
|
2366
2402
|
"binding": {
|
|
2367
|
-
"description": "The binding name used to refer to the certificate in the
|
|
2403
|
+
"description": "The binding name used to refer to the certificate in the Worker",
|
|
2368
2404
|
"type": "string"
|
|
2369
2405
|
},
|
|
2370
2406
|
"certificate_id": {
|
|
@@ -2381,7 +2417,7 @@
|
|
|
2381
2417
|
"type": "array"
|
|
2382
2418
|
},
|
|
2383
2419
|
"name": {
|
|
2384
|
-
"description": "The name of your
|
|
2420
|
+
"description": "The name of your Worker. Alphanumeric + dashes only.",
|
|
2385
2421
|
"type": "string"
|
|
2386
2422
|
},
|
|
2387
2423
|
"no_bundle": {
|
|
@@ -2394,7 +2430,7 @@
|
|
|
2394
2430
|
},
|
|
2395
2431
|
"placement": {
|
|
2396
2432
|
"additionalProperties": false,
|
|
2397
|
-
"description": "Specify how the
|
|
2433
|
+
"description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
|
|
2398
2434
|
"properties": {
|
|
2399
2435
|
"mode": {
|
|
2400
2436
|
"enum": [
|
|
@@ -2415,7 +2451,7 @@
|
|
|
2415
2451
|
},
|
|
2416
2452
|
"queues": {
|
|
2417
2453
|
"additionalProperties": false,
|
|
2418
|
-
"default": "`{}`",
|
|
2454
|
+
"default": "`{consumers:[],producers:[]}`",
|
|
2419
2455
|
"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.",
|
|
2420
2456
|
"properties": {
|
|
2421
2457
|
"consumers": {
|
|
@@ -2476,7 +2512,7 @@
|
|
|
2476
2512
|
"additionalProperties": false,
|
|
2477
2513
|
"properties": {
|
|
2478
2514
|
"binding": {
|
|
2479
|
-
"description": "The binding name used to refer to the Queue in the
|
|
2515
|
+
"description": "The binding name used to refer to the Queue in the Worker.",
|
|
2480
2516
|
"type": "string"
|
|
2481
2517
|
},
|
|
2482
2518
|
"delivery_delay": {
|
|
@@ -2506,7 +2542,7 @@
|
|
|
2506
2542
|
"additionalProperties": false,
|
|
2507
2543
|
"properties": {
|
|
2508
2544
|
"binding": {
|
|
2509
|
-
"description": "The binding name used to refer to the R2 bucket in the
|
|
2545
|
+
"description": "The binding name used to refer to the R2 bucket in the Worker.",
|
|
2510
2546
|
"type": "string"
|
|
2511
2547
|
},
|
|
2512
2548
|
"bucket_name": {
|
|
@@ -2532,10 +2568,10 @@
|
|
|
2532
2568
|
},
|
|
2533
2569
|
"route": {
|
|
2534
2570
|
"$ref": "#/definitions/Route",
|
|
2535
|
-
"description": "A route that your
|
|
2571
|
+
"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"
|
|
2536
2572
|
},
|
|
2537
2573
|
"routes": {
|
|
2538
|
-
"description": "A list of routes that your
|
|
2574
|
+
"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`)",
|
|
2539
2575
|
"items": {
|
|
2540
2576
|
"$ref": "#/definitions/Route"
|
|
2541
2577
|
},
|
|
@@ -2579,7 +2615,7 @@
|
|
|
2579
2615
|
},
|
|
2580
2616
|
"services": {
|
|
2581
2617
|
"default": "`[]`",
|
|
2582
|
-
"description": "Specifies service bindings (
|
|
2618
|
+
"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.",
|
|
2583
2619
|
"items": {
|
|
2584
2620
|
"additionalProperties": false,
|
|
2585
2621
|
"properties": {
|
|
@@ -2609,6 +2645,8 @@
|
|
|
2609
2645
|
"type": "array"
|
|
2610
2646
|
},
|
|
2611
2647
|
"tail_consumers": {
|
|
2648
|
+
"default": "`[]`",
|
|
2649
|
+
"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.",
|
|
2612
2650
|
"items": {
|
|
2613
2651
|
"$ref": "#/definitions/TailConsumer"
|
|
2614
2652
|
},
|
|
@@ -2617,7 +2655,7 @@
|
|
|
2617
2655
|
"triggers": {
|
|
2618
2656
|
"additionalProperties": false,
|
|
2619
2657
|
"default": "`{crons:[]}`",
|
|
2620
|
-
"description": "\"Cron\" definitions to trigger a
|
|
2658
|
+
"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",
|
|
2621
2659
|
"properties": {
|
|
2622
2660
|
"crons": {
|
|
2623
2661
|
"items": {
|
|
@@ -2637,6 +2675,7 @@
|
|
|
2637
2675
|
},
|
|
2638
2676
|
"unsafe": {
|
|
2639
2677
|
"additionalProperties": false,
|
|
2678
|
+
"default": "`{}`",
|
|
2640
2679
|
"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.",
|
|
2641
2680
|
"properties": {
|
|
2642
2681
|
"bindings": {
|
|
@@ -2727,7 +2766,7 @@
|
|
|
2727
2766
|
]
|
|
2728
2767
|
},
|
|
2729
2768
|
"default": "`{}`",
|
|
2730
|
-
"description": "A map of environment variables to set when deploying your
|
|
2769
|
+
"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.",
|
|
2731
2770
|
"type": "object"
|
|
2732
2771
|
},
|
|
2733
2772
|
"vectorize": {
|
|
@@ -2737,7 +2776,7 @@
|
|
|
2737
2776
|
"additionalProperties": false,
|
|
2738
2777
|
"properties": {
|
|
2739
2778
|
"binding": {
|
|
2740
|
-
"description": "The binding name used to refer to the Vectorize index in the
|
|
2779
|
+
"description": "The binding name used to refer to the Vectorize index in the Worker.",
|
|
2741
2780
|
"type": "string"
|
|
2742
2781
|
},
|
|
2743
2782
|
"index_name": {
|
|
@@ -2768,7 +2807,7 @@
|
|
|
2768
2807
|
},
|
|
2769
2808
|
"workers_dev": {
|
|
2770
2809
|
"default": "`true` (This is a breaking change from Wrangler v1)",
|
|
2771
|
-
"description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your
|
|
2810
|
+
"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",
|
|
2772
2811
|
"type": "boolean"
|
|
2773
2812
|
},
|
|
2774
2813
|
"zone_id": {
|
|
@@ -2849,7 +2888,7 @@
|
|
|
2849
2888
|
"additionalProperties": false,
|
|
2850
2889
|
"properties": {
|
|
2851
2890
|
"cpu_ms": {
|
|
2852
|
-
"description": "Maximum allowed CPU time for a
|
|
2891
|
+
"description": "Maximum allowed CPU time for a Worker's invocation in milliseconds",
|
|
2853
2892
|
"type": "number"
|
|
2854
2893
|
}
|
|
2855
2894
|
},
|