@distilled.cloud/cloudflare 0.23.0 → 0.24.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/services/workers.d.ts +9 -9
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +166 -156
- package/lib/services/workers.js.map +1 -1
- package/package.json +2 -2
- package/src/services/workers.ts +224 -208
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/cloudflare",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"specs:update": "git -C specs/cloudflare-typescript fetch && git -C specs/cloudflare-typescript checkout main && git -C specs/cloudflare-typescript pull"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@distilled.cloud/core": "0.
|
|
66
|
+
"@distilled.cloud/core": "0.24.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@effect/platform-node": ">=4.0.0-beta.66 || >=4.0.0",
|
package/src/services/workers.ts
CHANGED
|
@@ -7596,12 +7596,12 @@ export interface QueryObservabilityTelemetryResponse {
|
|
|
7596
7596
|
granularity: number;
|
|
7597
7597
|
query: {
|
|
7598
7598
|
id: string;
|
|
7599
|
-
adhoc
|
|
7600
|
-
created
|
|
7601
|
-
createdBy
|
|
7602
|
-
description
|
|
7603
|
-
name
|
|
7604
|
-
parameters
|
|
7599
|
+
adhoc?: boolean | null;
|
|
7600
|
+
created?: string | null;
|
|
7601
|
+
createdBy?: string | null;
|
|
7602
|
+
description?: string | null;
|
|
7603
|
+
name?: string | null;
|
|
7604
|
+
parameters?: {
|
|
7605
7605
|
calculations?:
|
|
7606
7606
|
| {
|
|
7607
7607
|
operator:
|
|
@@ -7733,9 +7733,9 @@ export interface QueryObservabilityTelemetryResponse {
|
|
|
7733
7733
|
value: string;
|
|
7734
7734
|
order?: "asc" | "desc" | (string & {}) | null;
|
|
7735
7735
|
} | null;
|
|
7736
|
-
};
|
|
7737
|
-
updated
|
|
7738
|
-
updatedBy
|
|
7736
|
+
} | null;
|
|
7737
|
+
updated?: string | null;
|
|
7738
|
+
updatedBy?: string | null;
|
|
7739
7739
|
};
|
|
7740
7740
|
status: "STARTED" | "COMPLETED" | (string & {});
|
|
7741
7741
|
timeframe: { from: number; to: number };
|
|
@@ -8001,227 +8001,243 @@ export const QueryObservabilityTelemetryResponse =
|
|
|
8001
8001
|
granularity: Schema.Number,
|
|
8002
8002
|
query: Schema.Struct({
|
|
8003
8003
|
id: Schema.String,
|
|
8004
|
-
adhoc: Schema.Boolean,
|
|
8005
|
-
created: Schema.String,
|
|
8006
|
-
createdBy: Schema.String,
|
|
8007
|
-
description: Schema.
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8004
|
+
adhoc: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
8005
|
+
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8006
|
+
createdBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8007
|
+
description: Schema.optional(
|
|
8008
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
8009
|
+
),
|
|
8010
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8011
|
+
parameters: Schema.optional(
|
|
8012
|
+
Schema.Union([
|
|
8013
|
+
Schema.Struct({
|
|
8014
|
+
calculations: Schema.optional(
|
|
8015
|
+
Schema.Union([
|
|
8016
|
+
Schema.Array(
|
|
8017
|
+
Schema.Struct({
|
|
8018
|
+
operator: Schema.Union([
|
|
8019
|
+
Schema.Literals([
|
|
8020
|
+
"uniq",
|
|
8021
|
+
"count",
|
|
8022
|
+
"max",
|
|
8023
|
+
"min",
|
|
8024
|
+
"sum",
|
|
8025
|
+
"avg",
|
|
8026
|
+
"median",
|
|
8027
|
+
"p001",
|
|
8028
|
+
"p01",
|
|
8029
|
+
"p05",
|
|
8030
|
+
"p10",
|
|
8031
|
+
"p25",
|
|
8032
|
+
"p75",
|
|
8033
|
+
"p90",
|
|
8034
|
+
"p95",
|
|
8035
|
+
"p99",
|
|
8036
|
+
"p999",
|
|
8037
|
+
"stddev",
|
|
8038
|
+
"variance",
|
|
8039
|
+
"COUNT_DISTINCT",
|
|
8040
|
+
"COUNT",
|
|
8041
|
+
"MAX",
|
|
8042
|
+
"MIN",
|
|
8043
|
+
"SUM",
|
|
8044
|
+
"AVG",
|
|
8045
|
+
"MEDIAN",
|
|
8046
|
+
"P001",
|
|
8047
|
+
"P01",
|
|
8048
|
+
"P05",
|
|
8049
|
+
"P10",
|
|
8050
|
+
"P25",
|
|
8051
|
+
"P75",
|
|
8052
|
+
"P90",
|
|
8053
|
+
"P95",
|
|
8054
|
+
"P99",
|
|
8055
|
+
"P999",
|
|
8056
|
+
"STDDEV",
|
|
8057
|
+
"VARIANCE",
|
|
8058
|
+
]),
|
|
8059
|
+
Schema.String,
|
|
8060
|
+
]),
|
|
8061
|
+
alias: Schema.optional(
|
|
8062
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
8063
|
+
),
|
|
8064
|
+
key: Schema.optional(
|
|
8065
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
8066
|
+
),
|
|
8067
|
+
keyType: Schema.optional(
|
|
8068
|
+
Schema.Union([
|
|
8069
|
+
Schema.Union([
|
|
8070
|
+
Schema.Literals(["string", "number", "boolean"]),
|
|
8071
|
+
Schema.String,
|
|
8072
|
+
]),
|
|
8073
|
+
Schema.Null,
|
|
8074
|
+
]),
|
|
8075
|
+
),
|
|
8076
|
+
}),
|
|
8077
|
+
),
|
|
8078
|
+
Schema.Null,
|
|
8079
|
+
]),
|
|
8080
|
+
),
|
|
8081
|
+
datasets: Schema.optional(
|
|
8082
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
8083
|
+
),
|
|
8084
|
+
filterCombination: Schema.optional(
|
|
8085
|
+
Schema.Union([
|
|
8086
|
+
Schema.Union([
|
|
8087
|
+
Schema.Literals(["and", "or", "AND", "OR"]),
|
|
8055
8088
|
Schema.String,
|
|
8056
8089
|
]),
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
keyType: Schema.optional(
|
|
8090
|
+
Schema.Null,
|
|
8091
|
+
]),
|
|
8092
|
+
),
|
|
8093
|
+
filters: Schema.optional(
|
|
8094
|
+
Schema.Union([
|
|
8095
|
+
Schema.Array(
|
|
8064
8096
|
Schema.Union([
|
|
8065
|
-
Schema.
|
|
8097
|
+
Schema.Struct({
|
|
8098
|
+
filterCombination: Schema.Union([
|
|
8099
|
+
Schema.Literals(["and", "or", "AND", "OR"]),
|
|
8100
|
+
Schema.String,
|
|
8101
|
+
]),
|
|
8102
|
+
filters: Schema.Array(Schema.Unknown),
|
|
8103
|
+
kind: Schema.Literal("group"),
|
|
8104
|
+
}),
|
|
8105
|
+
Schema.Struct({
|
|
8106
|
+
key: Schema.String,
|
|
8107
|
+
operation: Schema.Union([
|
|
8108
|
+
Schema.Literals([
|
|
8109
|
+
"includes",
|
|
8110
|
+
"not_includes",
|
|
8111
|
+
"starts_with",
|
|
8112
|
+
"ends_with",
|
|
8113
|
+
"regex",
|
|
8114
|
+
"exists",
|
|
8115
|
+
"is_null",
|
|
8116
|
+
"in",
|
|
8117
|
+
"not_in",
|
|
8118
|
+
"eq",
|
|
8119
|
+
"neq",
|
|
8120
|
+
"gt",
|
|
8121
|
+
"gte",
|
|
8122
|
+
"lt",
|
|
8123
|
+
"lte",
|
|
8124
|
+
"=",
|
|
8125
|
+
"!=",
|
|
8126
|
+
">",
|
|
8127
|
+
">=",
|
|
8128
|
+
"<",
|
|
8129
|
+
"<=",
|
|
8130
|
+
"INCLUDES",
|
|
8131
|
+
"DOES_NOT_INCLUDE",
|
|
8132
|
+
"MATCH_REGEX",
|
|
8133
|
+
"EXISTS",
|
|
8134
|
+
"DOES_NOT_EXIST",
|
|
8135
|
+
"IN",
|
|
8136
|
+
"NOT_IN",
|
|
8137
|
+
"STARTS_WITH",
|
|
8138
|
+
"ENDS_WITH",
|
|
8139
|
+
]),
|
|
8140
|
+
Schema.String,
|
|
8141
|
+
]),
|
|
8142
|
+
type: Schema.Union([
|
|
8143
|
+
Schema.Literals(["string", "number", "boolean"]),
|
|
8144
|
+
Schema.String,
|
|
8145
|
+
]),
|
|
8146
|
+
kind: Schema.optional(
|
|
8147
|
+
Schema.Union([Schema.Literal("filter"), Schema.Null]),
|
|
8148
|
+
),
|
|
8149
|
+
value: Schema.optional(
|
|
8150
|
+
Schema.Union([
|
|
8151
|
+
Schema.Union([
|
|
8152
|
+
Schema.String,
|
|
8153
|
+
Schema.Number,
|
|
8154
|
+
Schema.Boolean,
|
|
8155
|
+
]),
|
|
8156
|
+
Schema.Null,
|
|
8157
|
+
]),
|
|
8158
|
+
),
|
|
8159
|
+
}),
|
|
8160
|
+
]),
|
|
8161
|
+
),
|
|
8162
|
+
Schema.Null,
|
|
8163
|
+
]),
|
|
8164
|
+
),
|
|
8165
|
+
groupBys: Schema.optional(
|
|
8166
|
+
Schema.Union([
|
|
8167
|
+
Schema.Array(
|
|
8168
|
+
Schema.Struct({
|
|
8169
|
+
type: Schema.Union([
|
|
8066
8170
|
Schema.Literals(["string", "number", "boolean"]),
|
|
8067
8171
|
Schema.String,
|
|
8068
8172
|
]),
|
|
8069
|
-
Schema.
|
|
8070
|
-
|
|
8173
|
+
value: Schema.String,
|
|
8174
|
+
}),
|
|
8071
8175
|
),
|
|
8072
|
-
|
|
8176
|
+
Schema.Null,
|
|
8177
|
+
]),
|
|
8073
8178
|
),
|
|
8074
|
-
Schema.
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8179
|
+
havings: Schema.optional(
|
|
8180
|
+
Schema.Union([
|
|
8181
|
+
Schema.Array(
|
|
8182
|
+
Schema.Struct({
|
|
8183
|
+
key: Schema.String,
|
|
8184
|
+
operation: Schema.Union([
|
|
8185
|
+
Schema.Literals([
|
|
8186
|
+
"eq",
|
|
8187
|
+
"neq",
|
|
8188
|
+
"gt",
|
|
8189
|
+
"gte",
|
|
8190
|
+
"lt",
|
|
8191
|
+
"lte",
|
|
8192
|
+
]),
|
|
8193
|
+
Schema.String,
|
|
8194
|
+
]),
|
|
8195
|
+
value: Schema.Number,
|
|
8196
|
+
}),
|
|
8197
|
+
),
|
|
8198
|
+
Schema.Null,
|
|
8199
|
+
]),
|
|
8200
|
+
),
|
|
8201
|
+
limit: Schema.optional(
|
|
8202
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
8203
|
+
),
|
|
8204
|
+
needle: Schema.optional(
|
|
8092
8205
|
Schema.Union([
|
|
8093
8206
|
Schema.Struct({
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
Schema.
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8207
|
+
value: Schema.Unknown,
|
|
8208
|
+
isRegex: Schema.optional(
|
|
8209
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
8210
|
+
),
|
|
8211
|
+
matchCase: Schema.optional(
|
|
8212
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
8213
|
+
),
|
|
8100
8214
|
}),
|
|
8215
|
+
Schema.Null,
|
|
8216
|
+
]),
|
|
8217
|
+
),
|
|
8218
|
+
orderBy: Schema.optional(
|
|
8219
|
+
Schema.Union([
|
|
8101
8220
|
Schema.Struct({
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
Schema.Literals([
|
|
8105
|
-
"includes",
|
|
8106
|
-
"not_includes",
|
|
8107
|
-
"starts_with",
|
|
8108
|
-
"ends_with",
|
|
8109
|
-
"regex",
|
|
8110
|
-
"exists",
|
|
8111
|
-
"is_null",
|
|
8112
|
-
"in",
|
|
8113
|
-
"not_in",
|
|
8114
|
-
"eq",
|
|
8115
|
-
"neq",
|
|
8116
|
-
"gt",
|
|
8117
|
-
"gte",
|
|
8118
|
-
"lt",
|
|
8119
|
-
"lte",
|
|
8120
|
-
"=",
|
|
8121
|
-
"!=",
|
|
8122
|
-
">",
|
|
8123
|
-
">=",
|
|
8124
|
-
"<",
|
|
8125
|
-
"<=",
|
|
8126
|
-
"INCLUDES",
|
|
8127
|
-
"DOES_NOT_INCLUDE",
|
|
8128
|
-
"MATCH_REGEX",
|
|
8129
|
-
"EXISTS",
|
|
8130
|
-
"DOES_NOT_EXIST",
|
|
8131
|
-
"IN",
|
|
8132
|
-
"NOT_IN",
|
|
8133
|
-
"STARTS_WITH",
|
|
8134
|
-
"ENDS_WITH",
|
|
8135
|
-
]),
|
|
8136
|
-
Schema.String,
|
|
8137
|
-
]),
|
|
8138
|
-
type: Schema.Union([
|
|
8139
|
-
Schema.Literals(["string", "number", "boolean"]),
|
|
8140
|
-
Schema.String,
|
|
8141
|
-
]),
|
|
8142
|
-
kind: Schema.optional(
|
|
8143
|
-
Schema.Union([Schema.Literal("filter"), Schema.Null]),
|
|
8144
|
-
),
|
|
8145
|
-
value: Schema.optional(
|
|
8221
|
+
value: Schema.String,
|
|
8222
|
+
order: Schema.optional(
|
|
8146
8223
|
Schema.Union([
|
|
8147
8224
|
Schema.Union([
|
|
8225
|
+
Schema.Literals(["asc", "desc"]),
|
|
8148
8226
|
Schema.String,
|
|
8149
|
-
Schema.Number,
|
|
8150
|
-
Schema.Boolean,
|
|
8151
8227
|
]),
|
|
8152
8228
|
Schema.Null,
|
|
8153
8229
|
]),
|
|
8154
8230
|
),
|
|
8155
8231
|
}),
|
|
8232
|
+
Schema.Null,
|
|
8156
8233
|
]),
|
|
8157
8234
|
),
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
),
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
Schema.Struct({
|
|
8165
|
-
type: Schema.Union([
|
|
8166
|
-
Schema.Literals(["string", "number", "boolean"]),
|
|
8167
|
-
Schema.String,
|
|
8168
|
-
]),
|
|
8169
|
-
value: Schema.String,
|
|
8170
|
-
}),
|
|
8171
|
-
),
|
|
8172
|
-
Schema.Null,
|
|
8173
|
-
]),
|
|
8174
|
-
),
|
|
8175
|
-
havings: Schema.optional(
|
|
8176
|
-
Schema.Union([
|
|
8177
|
-
Schema.Array(
|
|
8178
|
-
Schema.Struct({
|
|
8179
|
-
key: Schema.String,
|
|
8180
|
-
operation: Schema.Union([
|
|
8181
|
-
Schema.Literals(["eq", "neq", "gt", "gte", "lt", "lte"]),
|
|
8182
|
-
Schema.String,
|
|
8183
|
-
]),
|
|
8184
|
-
value: Schema.Number,
|
|
8185
|
-
}),
|
|
8186
|
-
),
|
|
8187
|
-
Schema.Null,
|
|
8188
|
-
]),
|
|
8189
|
-
),
|
|
8190
|
-
limit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
8191
|
-
needle: Schema.optional(
|
|
8192
|
-
Schema.Union([
|
|
8193
|
-
Schema.Struct({
|
|
8194
|
-
value: Schema.Unknown,
|
|
8195
|
-
isRegex: Schema.optional(
|
|
8196
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
8197
|
-
),
|
|
8198
|
-
matchCase: Schema.optional(
|
|
8199
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
8200
|
-
),
|
|
8201
|
-
}),
|
|
8202
|
-
Schema.Null,
|
|
8203
|
-
]),
|
|
8204
|
-
),
|
|
8205
|
-
orderBy: Schema.optional(
|
|
8206
|
-
Schema.Union([
|
|
8207
|
-
Schema.Struct({
|
|
8208
|
-
value: Schema.String,
|
|
8209
|
-
order: Schema.optional(
|
|
8210
|
-
Schema.Union([
|
|
8211
|
-
Schema.Union([
|
|
8212
|
-
Schema.Literals(["asc", "desc"]),
|
|
8213
|
-
Schema.String,
|
|
8214
|
-
]),
|
|
8215
|
-
Schema.Null,
|
|
8216
|
-
]),
|
|
8217
|
-
),
|
|
8218
|
-
}),
|
|
8219
|
-
Schema.Null,
|
|
8220
|
-
]),
|
|
8221
|
-
),
|
|
8222
|
-
}),
|
|
8223
|
-
updated: Schema.String,
|
|
8224
|
-
updatedBy: Schema.String,
|
|
8235
|
+
}),
|
|
8236
|
+
Schema.Null,
|
|
8237
|
+
]),
|
|
8238
|
+
),
|
|
8239
|
+
updated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8240
|
+
updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8225
8241
|
}),
|
|
8226
8242
|
status: Schema.Union([
|
|
8227
8243
|
Schema.Literals(["STARTED", "COMPLETED"]),
|