@distilled.cloud/cloudflare 0.7.7 → 0.7.9
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/services/workers.js
CHANGED
|
@@ -662,6 +662,10 @@ export const GetBetaWorkerVersionResponse =
|
|
|
662
662
|
part: Schema.String,
|
|
663
663
|
type: Schema.Literal("wasm_module"),
|
|
664
664
|
}),
|
|
665
|
+
Schema.Struct({
|
|
666
|
+
name: Schema.String,
|
|
667
|
+
type: Schema.Literal("worker_loader"),
|
|
668
|
+
}),
|
|
665
669
|
])),
|
|
666
670
|
Schema.Null,
|
|
667
671
|
])),
|
|
@@ -1062,6 +1066,10 @@ export const ListBetaWorkerVersionsResponse =
|
|
|
1062
1066
|
part: Schema.String,
|
|
1063
1067
|
type: Schema.Literal("wasm_module"),
|
|
1064
1068
|
}),
|
|
1069
|
+
Schema.Struct({
|
|
1070
|
+
name: Schema.String,
|
|
1071
|
+
type: Schema.Literal("worker_loader"),
|
|
1072
|
+
}),
|
|
1065
1073
|
])),
|
|
1066
1074
|
Schema.Null,
|
|
1067
1075
|
])),
|
|
@@ -1450,6 +1458,10 @@ export const CreateBetaWorkerVersionRequest =
|
|
|
1450
1458
|
part: Schema.String,
|
|
1451
1459
|
type: Schema.Literal("wasm_module"),
|
|
1452
1460
|
}),
|
|
1461
|
+
Schema.Struct({
|
|
1462
|
+
name: Schema.String,
|
|
1463
|
+
type: Schema.Literal("worker_loader"),
|
|
1464
|
+
}),
|
|
1453
1465
|
]))),
|
|
1454
1466
|
compatibilityDate: Schema.optional(Schema.String),
|
|
1455
1467
|
compatibilityFlags: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -1822,6 +1834,10 @@ export const CreateBetaWorkerVersionResponse =
|
|
|
1822
1834
|
part: Schema.String,
|
|
1823
1835
|
type: Schema.Literal("wasm_module"),
|
|
1824
1836
|
}),
|
|
1837
|
+
Schema.Struct({
|
|
1838
|
+
name: Schema.String,
|
|
1839
|
+
type: Schema.Literal("worker_loader"),
|
|
1840
|
+
}),
|
|
1825
1841
|
])),
|
|
1826
1842
|
Schema.Null,
|
|
1827
1843
|
])),
|
|
@@ -2310,7 +2326,7 @@ export const QueryObservabilityTelemetryResponse =
|
|
|
2310
2326
|
id: Schema.String,
|
|
2311
2327
|
accountId: Schema.String,
|
|
2312
2328
|
dry: Schema.Boolean,
|
|
2313
|
-
environmentId: Schema.String,
|
|
2329
|
+
environmentId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2314
2330
|
granularity: Schema.Number,
|
|
2315
2331
|
query: Schema.Struct({
|
|
2316
2332
|
id: Schema.String,
|
|
@@ -2474,7 +2490,7 @@ export const QueryObservabilityTelemetryResponse =
|
|
|
2474
2490
|
to: Schema.Number,
|
|
2475
2491
|
}),
|
|
2476
2492
|
userId: Schema.String,
|
|
2477
|
-
workspaceId: Schema.String,
|
|
2493
|
+
workspaceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2478
2494
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2479
2495
|
statistics: Schema.optional(Schema.Union([
|
|
2480
2496
|
Schema.Struct({
|
|
@@ -2744,12 +2760,14 @@ export const QueryObservabilityTelemetryResponse =
|
|
|
2744
2760
|
interval: Schema.Number,
|
|
2745
2761
|
lastSeen: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2746
2762
|
bin: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
2763
|
+
countErrors: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2747
2764
|
}).pipe(Schema.encodeKeys({
|
|
2748
2765
|
count: "_count",
|
|
2749
2766
|
firstSeen: "_firstSeen",
|
|
2750
2767
|
interval: "_interval",
|
|
2751
2768
|
lastSeen: "_lastSeen",
|
|
2752
2769
|
bin: "bin",
|
|
2770
|
+
countErrors: "_countErrors",
|
|
2753
2771
|
})),
|
|
2754
2772
|
count: Schema.Number,
|
|
2755
2773
|
interval: Schema.Number,
|
|
@@ -2764,10 +2782,11 @@ export const QueryObservabilityTelemetryResponse =
|
|
|
2764
2782
|
})),
|
|
2765
2783
|
Schema.Null,
|
|
2766
2784
|
])),
|
|
2785
|
+
statistics: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
2767
2786
|
}),
|
|
2768
2787
|
Schema.Null,
|
|
2769
2788
|
])),
|
|
2770
|
-
invocations: Schema.optional(Schema.Union([Schema.
|
|
2789
|
+
invocations: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
2771
2790
|
patterns: Schema.optional(Schema.Union([
|
|
2772
2791
|
Schema.Array(Schema.Struct({
|
|
2773
2792
|
count: Schema.Number,
|
|
@@ -4508,6 +4527,10 @@ export const GetScriptScriptAndVersionSettingResponse =
|
|
|
4508
4527
|
part: Schema.String,
|
|
4509
4528
|
type: Schema.Literal("wasm_module"),
|
|
4510
4529
|
}),
|
|
4530
|
+
Schema.Struct({
|
|
4531
|
+
name: Schema.String,
|
|
4532
|
+
type: Schema.Literal("worker_loader"),
|
|
4533
|
+
}),
|
|
4511
4534
|
])),
|
|
4512
4535
|
Schema.Null,
|
|
4513
4536
|
])),
|
|
@@ -4810,6 +4833,10 @@ export const PatchScriptScriptAndVersionSettingRequest =
|
|
|
4810
4833
|
part: Schema.String,
|
|
4811
4834
|
type: Schema.Literal("wasm_module"),
|
|
4812
4835
|
}),
|
|
4836
|
+
Schema.Struct({
|
|
4837
|
+
name: Schema.String,
|
|
4838
|
+
type: Schema.Literal("worker_loader"),
|
|
4839
|
+
}),
|
|
4813
4840
|
]))),
|
|
4814
4841
|
compatibilityDate: Schema.optional(Schema.String),
|
|
4815
4842
|
compatibilityFlags: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -5168,6 +5195,10 @@ export const PatchScriptScriptAndVersionSettingResponse =
|
|
|
5168
5195
|
part: Schema.String,
|
|
5169
5196
|
type: Schema.Literal("wasm_module"),
|
|
5170
5197
|
}),
|
|
5198
|
+
Schema.Struct({
|
|
5199
|
+
name: Schema.String,
|
|
5200
|
+
type: Schema.Literal("worker_loader"),
|
|
5201
|
+
}),
|
|
5171
5202
|
])),
|
|
5172
5203
|
Schema.Null,
|
|
5173
5204
|
])),
|
|
@@ -5938,6 +5969,10 @@ export const GetScriptVersionResponse =
|
|
|
5938
5969
|
part: Schema.String,
|
|
5939
5970
|
type: Schema.Literal("wasm_module"),
|
|
5940
5971
|
}),
|
|
5972
|
+
Schema.Struct({
|
|
5973
|
+
name: Schema.String,
|
|
5974
|
+
type: Schema.Literal("worker_loader"),
|
|
5975
|
+
}),
|
|
5941
5976
|
])),
|
|
5942
5977
|
Schema.Null,
|
|
5943
5978
|
])),
|
|
@@ -6346,6 +6381,10 @@ export const CreateScriptVersionRequest =
|
|
|
6346
6381
|
part: Schema.String,
|
|
6347
6382
|
type: Schema.Literal("wasm_module"),
|
|
6348
6383
|
}),
|
|
6384
|
+
Schema.Struct({
|
|
6385
|
+
name: Schema.String,
|
|
6386
|
+
type: Schema.Literal("worker_loader"),
|
|
6387
|
+
}),
|
|
6349
6388
|
]))),
|
|
6350
6389
|
compatibilityDate: Schema.optional(Schema.String),
|
|
6351
6390
|
compatibilityFlags: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -6596,6 +6635,10 @@ export const CreateScriptVersionResponse =
|
|
|
6596
6635
|
part: Schema.String,
|
|
6597
6636
|
type: Schema.Literal("wasm_module"),
|
|
6598
6637
|
}),
|
|
6638
|
+
Schema.Struct({
|
|
6639
|
+
name: Schema.String,
|
|
6640
|
+
type: Schema.Literal("worker_loader"),
|
|
6641
|
+
}),
|
|
6599
6642
|
])),
|
|
6600
6643
|
Schema.Null,
|
|
6601
6644
|
])),
|