@distilled.cloud/cloudflare 0.26.0 → 0.27.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/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +15 -7
- package/lib/client/api.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +7 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +3 -1
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts +7 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +6 -0
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/api-gateway.d.ts +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +1 -1
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/cache.d.ts +7 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +6 -1
- package/lib/services/cache.js.map +1 -1
- package/lib/services/iam.d.ts +7 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +6 -1
- package/lib/services/iam.js.map +1 -1
- package/lib/services/page-rules.d.ts +7 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +6 -1
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +8 -8
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +408 -396
- package/lib/services/pages.js.map +1 -1
- package/lib/services/r2.d.ts +7 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +13 -1
- package/lib/services/r2.js.map +1 -1
- package/lib/services/schema-validation.d.ts +7 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +6 -1
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/workers.d.ts +7 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +6 -1
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zero-trust.d.ts +9 -3
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +8 -6
- package/lib/services/zero-trust.js.map +1 -1
- package/package.json +2 -2
- package/src/client/api.ts +15 -8
- package/src/services/ai-gateway.ts +13 -2
- package/src/services/aisearch.ts +10 -0
- package/src/services/api-gateway.ts +2 -2
- package/src/services/cache.ts +11 -2
- package/src/services/iam.ts +13 -2
- package/src/services/page-rules.ts +13 -2
- package/src/services/pages.ts +780 -760
- package/src/services/r2.ts +20 -2
- package/src/services/schema-validation.ts +10 -2
- package/src/services/workers.ts +11 -2
- package/src/services/zero-trust.ts +23 -9
package/lib/services/pages.js
CHANGED
|
@@ -239,204 +239,210 @@ export const GetProjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
239
239
|
]),
|
|
240
240
|
createdOn: Schema.String,
|
|
241
241
|
deploymentConfigs: Schema.Struct({
|
|
242
|
-
preview: Schema.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
Schema.
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
Schema.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
Schema.
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
Schema.
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
Schema.
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
Schema.
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
Schema.
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
Schema.
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
Schema.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
Schema.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
Schema.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
Schema.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
Schema.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
Schema.
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
Schema.
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
Schema.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
Schema.
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
Schema.
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
Schema.
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
242
|
+
preview: Schema.optional(Schema.Union([
|
|
243
|
+
Schema.Struct({
|
|
244
|
+
alwaysUseLatestCompatibilityDate: Schema.Boolean,
|
|
245
|
+
buildImageMajorVersion: Schema.Number,
|
|
246
|
+
compatibilityDate: Schema.String,
|
|
247
|
+
compatibilityFlags: Schema.Array(Schema.String),
|
|
248
|
+
envVars: Schema.Union([
|
|
249
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
250
|
+
Schema.Null,
|
|
251
|
+
]),
|
|
252
|
+
failOpen: Schema.Boolean,
|
|
253
|
+
usageModel: Schema.Union([
|
|
254
|
+
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
255
|
+
Schema.String,
|
|
256
|
+
]),
|
|
257
|
+
aiBindings: Schema.optional(Schema.Union([
|
|
258
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
259
|
+
Schema.Null,
|
|
260
|
+
])),
|
|
261
|
+
analyticsEngineDatasets: Schema.optional(Schema.Union([
|
|
262
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
263
|
+
Schema.Null,
|
|
264
|
+
])),
|
|
265
|
+
browsers: Schema.optional(Schema.Union([
|
|
266
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
267
|
+
Schema.Null,
|
|
268
|
+
])),
|
|
269
|
+
d1Databases: Schema.optional(Schema.Union([
|
|
270
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
271
|
+
Schema.Null,
|
|
272
|
+
])),
|
|
273
|
+
durableObjectNamespaces: Schema.optional(Schema.Union([
|
|
274
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
275
|
+
Schema.Null,
|
|
276
|
+
])),
|
|
277
|
+
hyperdriveBindings: Schema.optional(Schema.Union([
|
|
278
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
279
|
+
Schema.Null,
|
|
280
|
+
])),
|
|
281
|
+
kvNamespaces: Schema.optional(Schema.Union([
|
|
282
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
283
|
+
Schema.Null,
|
|
284
|
+
])),
|
|
285
|
+
limits: Schema.optional(Schema.Union([
|
|
286
|
+
Schema.Struct({
|
|
287
|
+
cpuMs: Schema.Number,
|
|
288
|
+
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
289
|
+
Schema.Null,
|
|
290
|
+
])),
|
|
291
|
+
mtlsCertificates: Schema.optional(Schema.Union([
|
|
292
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
293
|
+
Schema.Null,
|
|
294
|
+
])),
|
|
295
|
+
placement: Schema.optional(Schema.Union([
|
|
296
|
+
Schema.Struct({
|
|
297
|
+
mode: Schema.String,
|
|
298
|
+
}),
|
|
299
|
+
Schema.Null,
|
|
300
|
+
])),
|
|
301
|
+
queueProducers: Schema.optional(Schema.Union([
|
|
302
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
303
|
+
Schema.Null,
|
|
304
|
+
])),
|
|
305
|
+
r2Buckets: Schema.optional(Schema.Union([
|
|
306
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
307
|
+
Schema.Null,
|
|
308
|
+
])),
|
|
309
|
+
services: Schema.optional(Schema.Union([
|
|
310
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
311
|
+
Schema.Null,
|
|
312
|
+
])),
|
|
313
|
+
vectorizeBindings: Schema.optional(Schema.Union([
|
|
314
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
315
|
+
Schema.Null,
|
|
316
|
+
])),
|
|
317
|
+
wranglerConfigHash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
318
|
+
}).pipe(Schema.encodeKeys({
|
|
319
|
+
alwaysUseLatestCompatibilityDate: "always_use_latest_compatibility_date",
|
|
320
|
+
buildImageMajorVersion: "build_image_major_version",
|
|
321
|
+
compatibilityDate: "compatibility_date",
|
|
322
|
+
compatibilityFlags: "compatibility_flags",
|
|
323
|
+
envVars: "env_vars",
|
|
324
|
+
failOpen: "fail_open",
|
|
325
|
+
usageModel: "usage_model",
|
|
326
|
+
aiBindings: "ai_bindings",
|
|
327
|
+
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
328
|
+
browsers: "browsers",
|
|
329
|
+
d1Databases: "d1_databases",
|
|
330
|
+
durableObjectNamespaces: "durable_object_namespaces",
|
|
331
|
+
hyperdriveBindings: "hyperdrive_bindings",
|
|
332
|
+
kvNamespaces: "kv_namespaces",
|
|
333
|
+
limits: "limits",
|
|
334
|
+
mtlsCertificates: "mtls_certificates",
|
|
335
|
+
placement: "placement",
|
|
336
|
+
queueProducers: "queue_producers",
|
|
337
|
+
r2Buckets: "r2_buckets",
|
|
338
|
+
services: "services",
|
|
339
|
+
vectorizeBindings: "vectorize_bindings",
|
|
340
|
+
wranglerConfigHash: "wrangler_config_hash",
|
|
341
|
+
})),
|
|
342
|
+
Schema.Null,
|
|
343
|
+
])),
|
|
344
|
+
production: Schema.optional(Schema.Union([
|
|
345
|
+
Schema.Struct({
|
|
346
|
+
alwaysUseLatestCompatibilityDate: Schema.Boolean,
|
|
347
|
+
buildImageMajorVersion: Schema.Number,
|
|
348
|
+
compatibilityDate: Schema.String,
|
|
349
|
+
compatibilityFlags: Schema.Array(Schema.String),
|
|
350
|
+
envVars: Schema.Union([
|
|
351
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
352
|
+
Schema.Null,
|
|
353
|
+
]),
|
|
354
|
+
failOpen: Schema.Boolean,
|
|
355
|
+
usageModel: Schema.Union([
|
|
356
|
+
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
357
|
+
Schema.String,
|
|
358
|
+
]),
|
|
359
|
+
aiBindings: Schema.optional(Schema.Union([
|
|
360
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
361
|
+
Schema.Null,
|
|
362
|
+
])),
|
|
363
|
+
analyticsEngineDatasets: Schema.optional(Schema.Union([
|
|
364
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
365
|
+
Schema.Null,
|
|
366
|
+
])),
|
|
367
|
+
browsers: Schema.optional(Schema.Union([
|
|
368
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
369
|
+
Schema.Null,
|
|
370
|
+
])),
|
|
371
|
+
d1Databases: Schema.optional(Schema.Union([
|
|
372
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
373
|
+
Schema.Null,
|
|
374
|
+
])),
|
|
375
|
+
durableObjectNamespaces: Schema.optional(Schema.Union([
|
|
376
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
377
|
+
Schema.Null,
|
|
378
|
+
])),
|
|
379
|
+
hyperdriveBindings: Schema.optional(Schema.Union([
|
|
380
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
381
|
+
Schema.Null,
|
|
382
|
+
])),
|
|
383
|
+
kvNamespaces: Schema.optional(Schema.Union([
|
|
384
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
385
|
+
Schema.Null,
|
|
386
|
+
])),
|
|
387
|
+
limits: Schema.optional(Schema.Union([
|
|
388
|
+
Schema.Struct({
|
|
389
|
+
cpuMs: Schema.Number,
|
|
390
|
+
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
391
|
+
Schema.Null,
|
|
392
|
+
])),
|
|
393
|
+
mtlsCertificates: Schema.optional(Schema.Union([
|
|
394
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
395
|
+
Schema.Null,
|
|
396
|
+
])),
|
|
397
|
+
placement: Schema.optional(Schema.Union([
|
|
398
|
+
Schema.Struct({
|
|
399
|
+
mode: Schema.String,
|
|
400
|
+
}),
|
|
401
|
+
Schema.Null,
|
|
402
|
+
])),
|
|
403
|
+
queueProducers: Schema.optional(Schema.Union([
|
|
404
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
405
|
+
Schema.Null,
|
|
406
|
+
])),
|
|
407
|
+
r2Buckets: Schema.optional(Schema.Union([
|
|
408
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
409
|
+
Schema.Null,
|
|
410
|
+
])),
|
|
411
|
+
services: Schema.optional(Schema.Union([
|
|
412
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
413
|
+
Schema.Null,
|
|
414
|
+
])),
|
|
415
|
+
vectorizeBindings: Schema.optional(Schema.Union([
|
|
416
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
417
|
+
Schema.Null,
|
|
418
|
+
])),
|
|
419
|
+
wranglerConfigHash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
420
|
+
}).pipe(Schema.encodeKeys({
|
|
421
|
+
alwaysUseLatestCompatibilityDate: "always_use_latest_compatibility_date",
|
|
422
|
+
buildImageMajorVersion: "build_image_major_version",
|
|
423
|
+
compatibilityDate: "compatibility_date",
|
|
424
|
+
compatibilityFlags: "compatibility_flags",
|
|
425
|
+
envVars: "env_vars",
|
|
426
|
+
failOpen: "fail_open",
|
|
427
|
+
usageModel: "usage_model",
|
|
428
|
+
aiBindings: "ai_bindings",
|
|
429
|
+
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
430
|
+
browsers: "browsers",
|
|
431
|
+
d1Databases: "d1_databases",
|
|
432
|
+
durableObjectNamespaces: "durable_object_namespaces",
|
|
433
|
+
hyperdriveBindings: "hyperdrive_bindings",
|
|
434
|
+
kvNamespaces: "kv_namespaces",
|
|
435
|
+
limits: "limits",
|
|
436
|
+
mtlsCertificates: "mtls_certificates",
|
|
437
|
+
placement: "placement",
|
|
438
|
+
queueProducers: "queue_producers",
|
|
439
|
+
r2Buckets: "r2_buckets",
|
|
440
|
+
services: "services",
|
|
441
|
+
vectorizeBindings: "vectorize_bindings",
|
|
442
|
+
wranglerConfigHash: "wrangler_config_hash",
|
|
443
|
+
})),
|
|
444
|
+
Schema.Null,
|
|
445
|
+
])),
|
|
440
446
|
}),
|
|
441
447
|
framework: Schema.String,
|
|
442
448
|
frameworkVersion: Schema.String,
|
|
@@ -885,204 +891,210 @@ export const ListProjectsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
885
891
|
]),
|
|
886
892
|
createdOn: Schema.String,
|
|
887
893
|
deploymentConfigs: Schema.Struct({
|
|
888
|
-
preview: Schema.
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
Schema.
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
Schema.
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
Schema.
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
Schema.
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
Schema.
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
Schema.
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
Schema.
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
Schema.
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
Schema.
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
Schema.
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
Schema.
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
Schema.
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
Schema.
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
Schema.
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
Schema.
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
Schema.
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
Schema.
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
Schema.
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
Schema.
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
894
|
+
preview: Schema.optional(Schema.Union([
|
|
895
|
+
Schema.Struct({
|
|
896
|
+
alwaysUseLatestCompatibilityDate: Schema.Boolean,
|
|
897
|
+
buildImageMajorVersion: Schema.Number,
|
|
898
|
+
compatibilityDate: Schema.String,
|
|
899
|
+
compatibilityFlags: Schema.Array(Schema.String),
|
|
900
|
+
envVars: Schema.Union([
|
|
901
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
902
|
+
Schema.Null,
|
|
903
|
+
]),
|
|
904
|
+
failOpen: Schema.Boolean,
|
|
905
|
+
usageModel: Schema.Union([
|
|
906
|
+
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
907
|
+
Schema.String,
|
|
908
|
+
]),
|
|
909
|
+
aiBindings: Schema.optional(Schema.Union([
|
|
910
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
911
|
+
Schema.Null,
|
|
912
|
+
])),
|
|
913
|
+
analyticsEngineDatasets: Schema.optional(Schema.Union([
|
|
914
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
915
|
+
Schema.Null,
|
|
916
|
+
])),
|
|
917
|
+
browsers: Schema.optional(Schema.Union([
|
|
918
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
919
|
+
Schema.Null,
|
|
920
|
+
])),
|
|
921
|
+
d1Databases: Schema.optional(Schema.Union([
|
|
922
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
923
|
+
Schema.Null,
|
|
924
|
+
])),
|
|
925
|
+
durableObjectNamespaces: Schema.optional(Schema.Union([
|
|
926
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
927
|
+
Schema.Null,
|
|
928
|
+
])),
|
|
929
|
+
hyperdriveBindings: Schema.optional(Schema.Union([
|
|
930
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
931
|
+
Schema.Null,
|
|
932
|
+
])),
|
|
933
|
+
kvNamespaces: Schema.optional(Schema.Union([
|
|
934
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
935
|
+
Schema.Null,
|
|
936
|
+
])),
|
|
937
|
+
limits: Schema.optional(Schema.Union([
|
|
938
|
+
Schema.Struct({
|
|
939
|
+
cpuMs: Schema.Number,
|
|
940
|
+
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
941
|
+
Schema.Null,
|
|
942
|
+
])),
|
|
943
|
+
mtlsCertificates: Schema.optional(Schema.Union([
|
|
944
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
945
|
+
Schema.Null,
|
|
946
|
+
])),
|
|
947
|
+
placement: Schema.optional(Schema.Union([
|
|
948
|
+
Schema.Struct({
|
|
949
|
+
mode: Schema.String,
|
|
950
|
+
}),
|
|
951
|
+
Schema.Null,
|
|
952
|
+
])),
|
|
953
|
+
queueProducers: Schema.optional(Schema.Union([
|
|
954
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
955
|
+
Schema.Null,
|
|
956
|
+
])),
|
|
957
|
+
r2Buckets: Schema.optional(Schema.Union([
|
|
958
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
959
|
+
Schema.Null,
|
|
960
|
+
])),
|
|
961
|
+
services: Schema.optional(Schema.Union([
|
|
962
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
963
|
+
Schema.Null,
|
|
964
|
+
])),
|
|
965
|
+
vectorizeBindings: Schema.optional(Schema.Union([
|
|
966
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
967
|
+
Schema.Null,
|
|
968
|
+
])),
|
|
969
|
+
wranglerConfigHash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
970
|
+
}).pipe(Schema.encodeKeys({
|
|
971
|
+
alwaysUseLatestCompatibilityDate: "always_use_latest_compatibility_date",
|
|
972
|
+
buildImageMajorVersion: "build_image_major_version",
|
|
973
|
+
compatibilityDate: "compatibility_date",
|
|
974
|
+
compatibilityFlags: "compatibility_flags",
|
|
975
|
+
envVars: "env_vars",
|
|
976
|
+
failOpen: "fail_open",
|
|
977
|
+
usageModel: "usage_model",
|
|
978
|
+
aiBindings: "ai_bindings",
|
|
979
|
+
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
980
|
+
browsers: "browsers",
|
|
981
|
+
d1Databases: "d1_databases",
|
|
982
|
+
durableObjectNamespaces: "durable_object_namespaces",
|
|
983
|
+
hyperdriveBindings: "hyperdrive_bindings",
|
|
984
|
+
kvNamespaces: "kv_namespaces",
|
|
985
|
+
limits: "limits",
|
|
986
|
+
mtlsCertificates: "mtls_certificates",
|
|
987
|
+
placement: "placement",
|
|
988
|
+
queueProducers: "queue_producers",
|
|
989
|
+
r2Buckets: "r2_buckets",
|
|
990
|
+
services: "services",
|
|
991
|
+
vectorizeBindings: "vectorize_bindings",
|
|
992
|
+
wranglerConfigHash: "wrangler_config_hash",
|
|
993
|
+
})),
|
|
994
|
+
Schema.Null,
|
|
995
|
+
])),
|
|
996
|
+
production: Schema.optional(Schema.Union([
|
|
997
|
+
Schema.Struct({
|
|
998
|
+
alwaysUseLatestCompatibilityDate: Schema.Boolean,
|
|
999
|
+
buildImageMajorVersion: Schema.Number,
|
|
1000
|
+
compatibilityDate: Schema.String,
|
|
1001
|
+
compatibilityFlags: Schema.Array(Schema.String),
|
|
1002
|
+
envVars: Schema.Union([
|
|
1003
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1004
|
+
Schema.Null,
|
|
1005
|
+
]),
|
|
1006
|
+
failOpen: Schema.Boolean,
|
|
1007
|
+
usageModel: Schema.Union([
|
|
1008
|
+
Schema.Literals(["standard", "bundled", "unbound"]),
|
|
1009
|
+
Schema.String,
|
|
1010
|
+
]),
|
|
1011
|
+
aiBindings: Schema.optional(Schema.Union([
|
|
1012
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1013
|
+
Schema.Null,
|
|
1014
|
+
])),
|
|
1015
|
+
analyticsEngineDatasets: Schema.optional(Schema.Union([
|
|
1016
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1017
|
+
Schema.Null,
|
|
1018
|
+
])),
|
|
1019
|
+
browsers: Schema.optional(Schema.Union([
|
|
1020
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1021
|
+
Schema.Null,
|
|
1022
|
+
])),
|
|
1023
|
+
d1Databases: Schema.optional(Schema.Union([
|
|
1024
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1025
|
+
Schema.Null,
|
|
1026
|
+
])),
|
|
1027
|
+
durableObjectNamespaces: Schema.optional(Schema.Union([
|
|
1028
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1029
|
+
Schema.Null,
|
|
1030
|
+
])),
|
|
1031
|
+
hyperdriveBindings: Schema.optional(Schema.Union([
|
|
1032
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1033
|
+
Schema.Null,
|
|
1034
|
+
])),
|
|
1035
|
+
kvNamespaces: Schema.optional(Schema.Union([
|
|
1036
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1037
|
+
Schema.Null,
|
|
1038
|
+
])),
|
|
1039
|
+
limits: Schema.optional(Schema.Union([
|
|
1040
|
+
Schema.Struct({
|
|
1041
|
+
cpuMs: Schema.Number,
|
|
1042
|
+
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })),
|
|
1043
|
+
Schema.Null,
|
|
1044
|
+
])),
|
|
1045
|
+
mtlsCertificates: Schema.optional(Schema.Union([
|
|
1046
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1047
|
+
Schema.Null,
|
|
1048
|
+
])),
|
|
1049
|
+
placement: Schema.optional(Schema.Union([
|
|
1050
|
+
Schema.Struct({
|
|
1051
|
+
mode: Schema.String,
|
|
1052
|
+
}),
|
|
1053
|
+
Schema.Null,
|
|
1054
|
+
])),
|
|
1055
|
+
queueProducers: Schema.optional(Schema.Union([
|
|
1056
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1057
|
+
Schema.Null,
|
|
1058
|
+
])),
|
|
1059
|
+
r2Buckets: Schema.optional(Schema.Union([
|
|
1060
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1061
|
+
Schema.Null,
|
|
1062
|
+
])),
|
|
1063
|
+
services: Schema.optional(Schema.Union([
|
|
1064
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1065
|
+
Schema.Null,
|
|
1066
|
+
])),
|
|
1067
|
+
vectorizeBindings: Schema.optional(Schema.Union([
|
|
1068
|
+
Schema.Record(Schema.String, Schema.Unknown),
|
|
1069
|
+
Schema.Null,
|
|
1070
|
+
])),
|
|
1071
|
+
wranglerConfigHash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1072
|
+
}).pipe(Schema.encodeKeys({
|
|
1073
|
+
alwaysUseLatestCompatibilityDate: "always_use_latest_compatibility_date",
|
|
1074
|
+
buildImageMajorVersion: "build_image_major_version",
|
|
1075
|
+
compatibilityDate: "compatibility_date",
|
|
1076
|
+
compatibilityFlags: "compatibility_flags",
|
|
1077
|
+
envVars: "env_vars",
|
|
1078
|
+
failOpen: "fail_open",
|
|
1079
|
+
usageModel: "usage_model",
|
|
1080
|
+
aiBindings: "ai_bindings",
|
|
1081
|
+
analyticsEngineDatasets: "analytics_engine_datasets",
|
|
1082
|
+
browsers: "browsers",
|
|
1083
|
+
d1Databases: "d1_databases",
|
|
1084
|
+
durableObjectNamespaces: "durable_object_namespaces",
|
|
1085
|
+
hyperdriveBindings: "hyperdrive_bindings",
|
|
1086
|
+
kvNamespaces: "kv_namespaces",
|
|
1087
|
+
limits: "limits",
|
|
1088
|
+
mtlsCertificates: "mtls_certificates",
|
|
1089
|
+
placement: "placement",
|
|
1090
|
+
queueProducers: "queue_producers",
|
|
1091
|
+
r2Buckets: "r2_buckets",
|
|
1092
|
+
services: "services",
|
|
1093
|
+
vectorizeBindings: "vectorize_bindings",
|
|
1094
|
+
wranglerConfigHash: "wrangler_config_hash",
|
|
1095
|
+
})),
|
|
1096
|
+
Schema.Null,
|
|
1097
|
+
])),
|
|
1086
1098
|
}),
|
|
1087
1099
|
framework: Schema.String,
|
|
1088
1100
|
frameworkVersion: Schema.String,
|