@distilled.cloud/cloudflare 0.7.7 → 0.7.8

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.
@@ -475,6 +475,9 @@ export interface GetBetaWorkerVersionResponse {
475
475
  name: string;
476
476
  part: string;
477
477
  type: "wasm_module";
478
+ } | {
479
+ name: string;
480
+ type: "worker_loader";
478
481
  })[] | null;
479
482
  /** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
480
483
  compatibilityDate?: string | null;
@@ -675,6 +678,9 @@ export interface ListBetaWorkerVersionsResponse {
675
678
  name: string;
676
679
  part: string;
677
680
  type: "wasm_module";
681
+ } | {
682
+ name: string;
683
+ type: "worker_loader";
678
684
  })[] | null;
679
685
  compatibilityDate?: string | null;
680
686
  compatibilityFlags?: string[] | null;
@@ -1054,6 +1060,9 @@ export interface CreateBetaWorkerVersionRequest {
1054
1060
  name: string;
1055
1061
  part: string;
1056
1062
  type: "wasm_module";
1063
+ } | {
1064
+ name: string;
1065
+ type: "worker_loader";
1057
1066
  })[];
1058
1067
  /** Body param: Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
1059
1068
  compatibilityDate?: string;
@@ -1262,6 +1271,9 @@ export interface CreateBetaWorkerVersionResponse {
1262
1271
  name: string;
1263
1272
  part: string;
1264
1273
  type: "wasm_module";
1274
+ } | {
1275
+ name: string;
1276
+ type: "worker_loader";
1265
1277
  })[] | null;
1266
1278
  /** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
1267
1279
  compatibilityDate?: string | null;
@@ -1568,7 +1580,7 @@ export interface QueryObservabilityTelemetryResponse {
1568
1580
  id: string;
1569
1581
  accountId: string;
1570
1582
  dry: boolean;
1571
- environmentId: string;
1583
+ environmentId?: string | null;
1572
1584
  granularity: number;
1573
1585
  query: {
1574
1586
  id: string;
@@ -1622,7 +1634,7 @@ export interface QueryObservabilityTelemetryResponse {
1622
1634
  to: number;
1623
1635
  };
1624
1636
  userId: string;
1625
- workspaceId: string;
1637
+ workspaceId?: string | null;
1626
1638
  created?: string | null;
1627
1639
  statistics?: {
1628
1640
  bytesRead: number;
@@ -1789,6 +1801,7 @@ export interface QueryObservabilityTelemetryResponse {
1789
1801
  interval: number;
1790
1802
  lastSeen?: string | null;
1791
1803
  bin?: unknown | null;
1804
+ countErrors?: number | null;
1792
1805
  };
1793
1806
  count: number;
1794
1807
  interval: number;
@@ -1798,8 +1811,9 @@ export interface QueryObservabilityTelemetryResponse {
1798
1811
  }[];
1799
1812
  time: string;
1800
1813
  }[] | null;
1814
+ statistics?: unknown | null;
1801
1815
  } | null;
1802
- invocations?: Record<string, unknown> | null;
1816
+ invocations?: unknown | null;
1803
1817
  patterns?: {
1804
1818
  count: number;
1805
1819
  pattern: string;
@@ -2884,6 +2898,9 @@ export interface GetScriptScriptAndVersionSettingResponse {
2884
2898
  name: string;
2885
2899
  part: string;
2886
2900
  type: "wasm_module";
2901
+ } | {
2902
+ name: string;
2903
+ type: "worker_loader";
2887
2904
  })[] | null;
2888
2905
  /** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
2889
2906
  compatibilityDate?: string | null;
@@ -3058,6 +3075,9 @@ export interface PatchScriptScriptAndVersionSettingRequest {
3058
3075
  name: string;
3059
3076
  part: string;
3060
3077
  type: "wasm_module";
3078
+ } | {
3079
+ name: string;
3080
+ type: "worker_loader";
3061
3081
  })[];
3062
3082
  compatibilityDate?: string;
3063
3083
  compatibilityFlags?: string[];
@@ -3256,6 +3276,9 @@ export interface PatchScriptScriptAndVersionSettingResponse {
3256
3276
  name: string;
3257
3277
  part: string;
3258
3278
  type: "wasm_module";
3279
+ } | {
3280
+ name: string;
3281
+ type: "worker_loader";
3259
3282
  })[] | null;
3260
3283
  /** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
3261
3284
  compatibilityDate?: string | null;
@@ -3722,6 +3745,9 @@ export interface GetScriptVersionResponse {
3722
3745
  name: string;
3723
3746
  part: string;
3724
3747
  type: "wasm_module";
3748
+ } | {
3749
+ name: string;
3750
+ type: "worker_loader";
3725
3751
  })[] | null;
3726
3752
  script?: {
3727
3753
  etag?: string | null;
@@ -3946,6 +3972,9 @@ export interface CreateScriptVersionRequest {
3946
3972
  name: string;
3947
3973
  part: string;
3948
3974
  type: "wasm_module";
3975
+ } | {
3976
+ name: string;
3977
+ type: "worker_loader";
3949
3978
  })[];
3950
3979
  compatibilityDate?: string;
3951
3980
  compatibilityFlags?: string[];
@@ -4084,6 +4113,9 @@ export interface CreateScriptVersionResponse {
4084
4113
  name: string;
4085
4114
  part: string;
4086
4115
  type: "wasm_module";
4116
+ } | {
4117
+ name: string;
4118
+ type: "worker_loader";
4087
4119
  })[] | null;
4088
4120
  script?: {
4089
4121
  etag?: string | null;