@distilled.cloud/cloudflare 0.7.6 → 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;
@@ -2268,6 +2282,9 @@ export interface PutScriptRequest {
2268
2282
  name: string;
2269
2283
  part: string;
2270
2284
  type: "wasm_module";
2285
+ } | {
2286
+ name: string;
2287
+ type: "worker_loader";
2271
2288
  })[];
2272
2289
  bodyPart?: string;
2273
2290
  compatibilityDate?: string;
@@ -2428,7 +2445,7 @@ export interface PutScriptResponse {
2428
2445
  usageModel?: "standard" | "bundled" | "unbound" | null;
2429
2446
  }
2430
2447
  export declare const PutScriptResponse: Schema.Schema<PutScriptResponse>;
2431
- export type PutScriptError = DefaultErrors | InvalidRoute | DurableObjectMustBeSqlite;
2448
+ export type PutScriptError = DefaultErrors | InvalidRoute | InvalidWorkerScript | DurableObjectMustBeSqlite;
2432
2449
  export declare const putScript: API.OperationMethod<PutScriptRequest, PutScriptResponse, PutScriptError, Credentials | HttpClient.HttpClient>;
2433
2450
  export interface DeleteScriptRequest {
2434
2451
  scriptName: string;
@@ -2881,6 +2898,9 @@ export interface GetScriptScriptAndVersionSettingResponse {
2881
2898
  name: string;
2882
2899
  part: string;
2883
2900
  type: "wasm_module";
2901
+ } | {
2902
+ name: string;
2903
+ type: "worker_loader";
2884
2904
  })[] | null;
2885
2905
  /** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
2886
2906
  compatibilityDate?: string | null;
@@ -3055,6 +3075,9 @@ export interface PatchScriptScriptAndVersionSettingRequest {
3055
3075
  name: string;
3056
3076
  part: string;
3057
3077
  type: "wasm_module";
3078
+ } | {
3079
+ name: string;
3080
+ type: "worker_loader";
3058
3081
  })[];
3059
3082
  compatibilityDate?: string;
3060
3083
  compatibilityFlags?: string[];
@@ -3253,6 +3276,9 @@ export interface PatchScriptScriptAndVersionSettingResponse {
3253
3276
  name: string;
3254
3277
  part: string;
3255
3278
  type: "wasm_module";
3279
+ } | {
3280
+ name: string;
3281
+ type: "worker_loader";
3256
3282
  })[] | null;
3257
3283
  /** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
3258
3284
  compatibilityDate?: string | null;
@@ -3719,6 +3745,9 @@ export interface GetScriptVersionResponse {
3719
3745
  name: string;
3720
3746
  part: string;
3721
3747
  type: "wasm_module";
3748
+ } | {
3749
+ name: string;
3750
+ type: "worker_loader";
3722
3751
  })[] | null;
3723
3752
  script?: {
3724
3753
  etag?: string | null;
@@ -3943,6 +3972,9 @@ export interface CreateScriptVersionRequest {
3943
3972
  name: string;
3944
3973
  part: string;
3945
3974
  type: "wasm_module";
3975
+ } | {
3976
+ name: string;
3977
+ type: "worker_loader";
3946
3978
  })[];
3947
3979
  compatibilityDate?: string;
3948
3980
  compatibilityFlags?: string[];
@@ -4081,6 +4113,9 @@ export interface CreateScriptVersionResponse {
4081
4113
  name: string;
4082
4114
  part: string;
4083
4115
  type: "wasm_module";
4116
+ } | {
4117
+ name: string;
4118
+ type: "worker_loader";
4084
4119
  })[] | null;
4085
4120
  script?: {
4086
4121
  etag?: string | null;