@adminforth/dashboard 1.4.0 → 1.4.2
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/README.md +23 -4
- package/custom/api/dashboardApi.ts +6 -9
- package/custom/model/dashboard.types.ts +60 -275
- package/custom/model/dashboardTopics.ts +5 -0
- package/custom/package.json +1 -0
- package/custom/runtime/DashboardGroup.vue +2 -2
- package/custom/runtime/DashboardPage.vue +17 -7
- package/custom/runtime/DashboardRuntime.vue +20 -8
- package/custom/runtime/WidgetRenderer.vue +1 -2
- package/custom/runtime/WidgetShell.vue +3 -3
- package/custom/skills/adminforth-dashboard/SKILL.md +2 -2
- package/custom/widgets/{gauge-card/GaugeCardWidget.vue → GaugeCardWidget.vue} +63 -61
- package/custom/widgets/{kpi-card/KpiCardWidget.vue → KpiCardWidget.vue} +35 -33
- package/custom/widgets/{pivot-table/PivotTableWidget.vue → PivotTableWidget.vue} +71 -68
- package/custom/widgets/{table/TableWidget.vue → TableWidget.vue} +5 -5
- package/custom/widgets/chart/{bar/BarChart.vue → BarChart.vue} +2 -2
- package/custom/widgets/chart/ChartWidget.vue +4 -15
- package/{dist/custom/widgets/chart/funnel → custom/widgets/chart}/FunnelChart.vue +80 -78
- package/{dist/custom/widgets/chart/line → custom/widgets/chart}/LineChart.vue +2 -2
- package/custom/widgets/chart/{pie/PieChart.vue → PieChart.vue} +2 -2
- package/{dist/custom/widgets/chart/stacked-bar → custom/widgets/chart}/StackedBarChart.vue +97 -95
- package/custom/widgets/chart/chart.types.ts +0 -28
- package/dist/custom/api/dashboardApi.d.ts +4 -8
- package/dist/custom/api/dashboardApi.js +2 -6
- package/dist/custom/api/dashboardApi.ts +6 -9
- package/dist/custom/composables/useElementSize.js +7 -10
- package/dist/custom/model/dashboard.types.d.ts +38 -32
- package/dist/custom/model/dashboard.types.js +4 -161
- package/dist/custom/model/dashboard.types.ts +60 -275
- package/dist/custom/model/dashboardTopics.d.ts +2 -0
- package/dist/custom/model/dashboardTopics.js +4 -0
- package/dist/custom/model/dashboardTopics.ts +5 -0
- package/dist/custom/package.json +1 -0
- package/dist/custom/queries/useDashboardConfig.d.ts +96 -96
- package/dist/custom/queries/useDashboardConfig.js +9 -12
- package/dist/custom/queries/useWidgetData.d.ts +96 -96
- package/dist/custom/queries/useWidgetData.js +9 -12
- package/dist/custom/runtime/DashboardGroup.vue +2 -2
- package/dist/custom/runtime/DashboardPage.vue +17 -7
- package/dist/custom/runtime/DashboardRuntime.vue +20 -8
- package/dist/custom/runtime/WidgetRenderer.vue +1 -2
- package/dist/custom/runtime/WidgetShell.vue +3 -3
- package/dist/custom/skills/adminforth-dashboard/SKILL.md +2 -2
- package/dist/custom/widgets/{gauge-card/GaugeCardWidget.vue → GaugeCardWidget.vue} +63 -61
- package/dist/custom/widgets/{kpi-card/KpiCardWidget.vue → KpiCardWidget.vue} +35 -33
- package/dist/custom/widgets/{pivot-table/PivotTableWidget.vue → PivotTableWidget.vue} +71 -68
- package/dist/custom/widgets/{table/TableWidget.vue → TableWidget.vue} +5 -5
- package/dist/custom/widgets/chart/{bar/BarChart.vue → BarChart.vue} +2 -2
- package/dist/custom/widgets/chart/ChartWidget.vue +4 -15
- package/{custom/widgets/chart/funnel → dist/custom/widgets/chart}/FunnelChart.vue +80 -78
- package/{custom/widgets/chart/line → dist/custom/widgets/chart}/LineChart.vue +2 -2
- package/dist/custom/widgets/chart/{pie/PieChart.vue → PieChart.vue} +2 -2
- package/{custom/widgets/chart/stacked-bar → dist/custom/widgets/chart}/StackedBarChart.vue +97 -95
- package/dist/custom/widgets/chart/chart.types.d.ts +0 -2
- package/dist/custom/widgets/chart/chart.types.js +1 -25
- package/dist/custom/widgets/chart/chart.types.ts +0 -28
- package/dist/custom/widgets/chart/chart.utils.js +6 -14
- package/dist/custom/widgets/registry.js +14 -22
- package/dist/endpoint/dashboard.d.ts +2 -3
- package/dist/endpoint/dashboard.js +12 -32
- package/dist/endpoint/groups.d.ts +2 -21
- package/dist/endpoint/groups.js +18 -16
- package/dist/endpoint/widgets.d.ts +0 -3
- package/dist/endpoint/widgets.js +27 -74
- package/dist/index.js +1 -3
- package/dist/schema/api.d.ts +2090 -511
- package/dist/schema/api.js +18 -15
- package/dist/schema/widget.d.ts +1003 -250
- package/dist/schema/widget.js +102 -46
- package/dist/services/dashboardConfigService.d.ts +0 -10
- package/dist/services/dashboardConfigService.js +6 -21
- package/dist/services/widgetDataService.js +226 -196
- package/endpoint/dashboard.ts +13 -46
- package/endpoint/groups.ts +25 -42
- package/endpoint/widgets.ts +36 -95
- package/index.ts +0 -3
- package/package.json +3 -3
- package/schema/api.ts +19 -15
- package/schema/widget.ts +113 -52
- package/services/dashboardConfigService.ts +6 -25
- package/services/widgetDataService.ts +304 -229
- package/custom/widgets/chart/histogram/HistogramChart.vue +0 -21
- package/dist/custom/widgets/chart/histogram/HistogramChart.vue +0 -21
- package/dist/services/widgetConfigValidator.d.ts +0 -8
- package/dist/services/widgetConfigValidator.js +0 -27
- package/services/widgetConfigValidator.ts +0 -61
package/dist/schema/widget.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export type DashboardWidgetConfigValidationError
|
|
3
|
-
field: string;
|
|
4
|
-
message: string;
|
|
5
|
-
};
|
|
2
|
+
export type { DashboardWidgetConfigValidationError } from '../custom/model/dashboard.types.js';
|
|
6
3
|
export declare const QueryConfigSchema: z.ZodObject<{
|
|
7
4
|
resource: z.ZodString;
|
|
8
5
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9
6
|
field: z.ZodString;
|
|
10
7
|
as: z.ZodOptional<z.ZodString>;
|
|
11
8
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
12
|
-
hour: "hour";
|
|
13
9
|
day: "day";
|
|
14
10
|
week: "week";
|
|
15
11
|
month: "month";
|
|
16
|
-
quarter: "quarter";
|
|
17
12
|
year: "year";
|
|
18
13
|
}>>;
|
|
19
14
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -34,20 +29,18 @@ export declare const QueryConfigSchema: z.ZodObject<{
|
|
|
34
29
|
as: z.ZodString;
|
|
35
30
|
}, z.core.$strict>]>>>;
|
|
36
31
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
37
|
-
|
|
32
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38
33
|
field: z.ZodString;
|
|
39
34
|
as: z.ZodOptional<z.ZodString>;
|
|
40
35
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
41
|
-
hour: "hour";
|
|
42
36
|
day: "day";
|
|
43
37
|
week: "week";
|
|
44
38
|
month: "month";
|
|
45
|
-
quarter: "quarter";
|
|
46
39
|
year: "year";
|
|
47
40
|
}>>;
|
|
48
41
|
timezone: z.ZodOptional<z.ZodString>;
|
|
49
42
|
}, z.core.$strict>]>>>;
|
|
50
|
-
|
|
43
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
44
|
field: z.ZodString;
|
|
52
45
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
53
46
|
asc: "asc";
|
|
@@ -56,22 +49,20 @@ export declare const QueryConfigSchema: z.ZodObject<{
|
|
|
56
49
|
}, z.core.$strict>>>;
|
|
57
50
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
58
51
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
59
|
-
|
|
52
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
60
53
|
field: z.ZodString;
|
|
61
54
|
grain: z.ZodEnum<{
|
|
62
|
-
hour: "hour";
|
|
63
55
|
day: "day";
|
|
64
56
|
week: "week";
|
|
65
57
|
month: "month";
|
|
66
|
-
quarter: "quarter";
|
|
67
58
|
year: "year";
|
|
68
59
|
}>;
|
|
69
60
|
timezone: z.ZodOptional<z.ZodString>;
|
|
70
61
|
}, z.core.$strict>>;
|
|
71
62
|
period: z.ZodOptional<z.ZodObject<{
|
|
72
63
|
field: z.ZodString;
|
|
73
|
-
gte: z.ZodOptional<z.
|
|
74
|
-
lt: z.ZodOptional<z.
|
|
64
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
65
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
75
66
|
}, z.core.$strict>>;
|
|
76
67
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
77
68
|
field: z.ZodString;
|
|
@@ -85,7 +76,7 @@ export declare const QueryConfigSchema: z.ZodObject<{
|
|
|
85
76
|
calc: z.ZodString;
|
|
86
77
|
as: z.ZodString;
|
|
87
78
|
}, z.core.$strict>>>;
|
|
88
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
79
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
89
80
|
}, z.core.$strict>;
|
|
90
81
|
export declare const FunnelQueryConfigSchema: z.ZodObject<{
|
|
91
82
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -147,7 +138,7 @@ export declare const ChartConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
147
138
|
}, z.core.$strict>>;
|
|
148
139
|
color: z.ZodOptional<z.ZodString>;
|
|
149
140
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
150
|
-
}, z.core.$
|
|
141
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
151
142
|
title: z.ZodOptional<z.ZodString>;
|
|
152
143
|
type: z.ZodLiteral<"bar">;
|
|
153
144
|
x: z.ZodObject<{
|
|
@@ -177,7 +168,7 @@ export declare const ChartConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
177
168
|
}>>;
|
|
178
169
|
}, z.core.$strict>;
|
|
179
170
|
color: z.ZodOptional<z.ZodString>;
|
|
180
|
-
}, z.core.$
|
|
171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
181
172
|
title: z.ZodOptional<z.ZodString>;
|
|
182
173
|
type: z.ZodLiteral<"stacked_bar">;
|
|
183
174
|
x: z.ZodObject<{
|
|
@@ -223,7 +214,7 @@ export declare const ChartConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
223
214
|
label: z.ZodOptional<z.ZodString>;
|
|
224
215
|
}, z.core.$strict>>;
|
|
225
216
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
226
|
-
}, z.core.$
|
|
217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
227
218
|
title: z.ZodOptional<z.ZodString>;
|
|
228
219
|
type: z.ZodLiteral<"pie">;
|
|
229
220
|
label: z.ZodObject<{
|
|
@@ -253,7 +244,7 @@ export declare const ChartConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
253
244
|
}>>;
|
|
254
245
|
}, z.core.$strict>;
|
|
255
246
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
|
-
}, z.core.$
|
|
247
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
257
248
|
title: z.ZodOptional<z.ZodString>;
|
|
258
249
|
type: z.ZodLiteral<"histogram">;
|
|
259
250
|
x: z.ZodObject<{
|
|
@@ -288,7 +279,7 @@ export declare const ChartConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
288
279
|
max: z.ZodOptional<z.ZodNumber>;
|
|
289
280
|
}, z.core.$strict>>>;
|
|
290
281
|
color: z.ZodOptional<z.ZodString>;
|
|
291
|
-
}, z.core.$
|
|
282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
292
283
|
title: z.ZodOptional<z.ZodString>;
|
|
293
284
|
type: z.ZodLiteral<"funnel">;
|
|
294
285
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -318,12 +309,10 @@ export declare const ChartConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
318
309
|
}>>;
|
|
319
310
|
}, z.core.$strict>>;
|
|
320
311
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
321
|
-
}, z.core.$
|
|
312
|
+
}, z.core.$strict>], "type">;
|
|
322
313
|
export declare const EmptyWidgetConfigSchema: z.ZodObject<{
|
|
323
|
-
id: z.ZodOptional<z.ZodString>;
|
|
324
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
325
314
|
label: z.ZodOptional<z.ZodString>;
|
|
326
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
315
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
327
316
|
size: z.ZodOptional<z.ZodEnum<{
|
|
328
317
|
small: "small";
|
|
329
318
|
medium: "medium";
|
|
@@ -333,16 +322,853 @@ export declare const EmptyWidgetConfigSchema: z.ZodObject<{
|
|
|
333
322
|
}>>;
|
|
334
323
|
width: z.ZodOptional<z.ZodNumber>;
|
|
335
324
|
height: z.ZodOptional<z.ZodNumber>;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
325
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
327
|
+
id: z.ZodString;
|
|
328
|
+
group_id: z.ZodString;
|
|
329
|
+
order: z.ZodNumber;
|
|
339
330
|
target: z.ZodLiteral<"empty">;
|
|
340
|
-
}, z.core.$
|
|
331
|
+
}, z.core.$strict>;
|
|
332
|
+
export declare const EditableDashboardWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
333
|
+
label: z.ZodOptional<z.ZodString>;
|
|
334
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
335
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
small: "small";
|
|
337
|
+
medium: "medium";
|
|
338
|
+
large: "large";
|
|
339
|
+
wide: "wide";
|
|
340
|
+
full: "full";
|
|
341
|
+
}>>;
|
|
342
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
346
|
+
target: z.ZodLiteral<"empty">;
|
|
347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
348
|
+
label: z.ZodOptional<z.ZodString>;
|
|
349
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
350
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
351
|
+
small: "small";
|
|
352
|
+
medium: "medium";
|
|
353
|
+
large: "large";
|
|
354
|
+
wide: "wide";
|
|
355
|
+
full: "full";
|
|
356
|
+
}>>;
|
|
357
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
358
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
359
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
361
|
+
target: z.ZodLiteral<"table">;
|
|
362
|
+
table: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
364
|
+
field: z.ZodString;
|
|
365
|
+
label: z.ZodOptional<z.ZodString>;
|
|
366
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
number: "number";
|
|
368
|
+
compact_number: "compact_number";
|
|
369
|
+
currency: "currency";
|
|
370
|
+
percent: "percent";
|
|
371
|
+
percent_delta: "percent_delta";
|
|
372
|
+
number_delta: "number_delta";
|
|
373
|
+
currency_delta: "currency_delta";
|
|
374
|
+
}>>;
|
|
375
|
+
}, z.core.$strict>]>>>;
|
|
376
|
+
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
377
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
}, z.core.$strict>>;
|
|
379
|
+
query: z.ZodObject<{
|
|
380
|
+
resource: z.ZodString;
|
|
381
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
382
|
+
field: z.ZodString;
|
|
383
|
+
as: z.ZodOptional<z.ZodString>;
|
|
384
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
385
|
+
day: "day";
|
|
386
|
+
week: "week";
|
|
387
|
+
month: "month";
|
|
388
|
+
year: "year";
|
|
389
|
+
}>>;
|
|
390
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
391
|
+
agg: z.ZodEnum<{
|
|
392
|
+
sum: "sum";
|
|
393
|
+
count: "count";
|
|
394
|
+
count_distinct: "count_distinct";
|
|
395
|
+
avg: "avg";
|
|
396
|
+
min: "min";
|
|
397
|
+
max: "max";
|
|
398
|
+
median: "median";
|
|
399
|
+
}>;
|
|
400
|
+
field: z.ZodOptional<z.ZodString>;
|
|
401
|
+
as: z.ZodString;
|
|
402
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
+
calc: z.ZodString;
|
|
405
|
+
as: z.ZodString;
|
|
406
|
+
}, z.core.$strict>]>>>;
|
|
407
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
408
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
409
|
+
field: z.ZodString;
|
|
410
|
+
as: z.ZodOptional<z.ZodString>;
|
|
411
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
412
|
+
day: "day";
|
|
413
|
+
week: "week";
|
|
414
|
+
month: "month";
|
|
415
|
+
year: "year";
|
|
416
|
+
}>>;
|
|
417
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
418
|
+
}, z.core.$strict>]>>>;
|
|
419
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
420
|
+
field: z.ZodString;
|
|
421
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
422
|
+
asc: "asc";
|
|
423
|
+
desc: "desc";
|
|
424
|
+
}>>;
|
|
425
|
+
}, z.core.$strict>>>;
|
|
426
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
428
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
field: z.ZodString;
|
|
430
|
+
grain: z.ZodEnum<{
|
|
431
|
+
day: "day";
|
|
432
|
+
week: "week";
|
|
433
|
+
month: "month";
|
|
434
|
+
year: "year";
|
|
435
|
+
}>;
|
|
436
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
field: z.ZodString;
|
|
440
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
441
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
442
|
+
}, z.core.$strict>>;
|
|
443
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
field: z.ZodString;
|
|
445
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
446
|
+
label: z.ZodString;
|
|
447
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
448
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
}, z.core.$strict>>;
|
|
450
|
+
}, z.core.$strict>>;
|
|
451
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
|
+
calc: z.ZodString;
|
|
453
|
+
as: z.ZodString;
|
|
454
|
+
}, z.core.$strict>>>;
|
|
455
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
456
|
+
}, z.core.$strict>;
|
|
457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
+
label: z.ZodOptional<z.ZodString>;
|
|
459
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
460
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
461
|
+
small: "small";
|
|
462
|
+
medium: "medium";
|
|
463
|
+
large: "large";
|
|
464
|
+
wide: "wide";
|
|
465
|
+
full: "full";
|
|
466
|
+
}>>;
|
|
467
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
468
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
469
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
470
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
471
|
+
target: z.ZodLiteral<"chart">;
|
|
472
|
+
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
473
|
+
title: z.ZodOptional<z.ZodString>;
|
|
474
|
+
type: z.ZodLiteral<"line">;
|
|
475
|
+
x: z.ZodObject<{
|
|
476
|
+
field: z.ZodString;
|
|
477
|
+
label: z.ZodOptional<z.ZodString>;
|
|
478
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
479
|
+
number: "number";
|
|
480
|
+
compact_number: "compact_number";
|
|
481
|
+
currency: "currency";
|
|
482
|
+
percent: "percent";
|
|
483
|
+
percent_delta: "percent_delta";
|
|
484
|
+
number_delta: "number_delta";
|
|
485
|
+
currency_delta: "currency_delta";
|
|
486
|
+
}>>;
|
|
487
|
+
}, z.core.$strict>;
|
|
488
|
+
y: z.ZodArray<z.ZodObject<{
|
|
489
|
+
field: z.ZodString;
|
|
490
|
+
label: z.ZodOptional<z.ZodString>;
|
|
491
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
number: "number";
|
|
493
|
+
compact_number: "compact_number";
|
|
494
|
+
currency: "currency";
|
|
495
|
+
percent: "percent";
|
|
496
|
+
percent_delta: "percent_delta";
|
|
497
|
+
number_delta: "number_delta";
|
|
498
|
+
currency_delta: "currency_delta";
|
|
499
|
+
}>>;
|
|
500
|
+
}, z.core.$strict>>;
|
|
501
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
502
|
+
field: z.ZodString;
|
|
503
|
+
label: z.ZodOptional<z.ZodString>;
|
|
504
|
+
}, z.core.$strict>>;
|
|
505
|
+
color: z.ZodOptional<z.ZodString>;
|
|
506
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
508
|
+
title: z.ZodOptional<z.ZodString>;
|
|
509
|
+
type: z.ZodLiteral<"bar">;
|
|
510
|
+
x: z.ZodObject<{
|
|
511
|
+
field: z.ZodString;
|
|
512
|
+
label: z.ZodOptional<z.ZodString>;
|
|
513
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
514
|
+
number: "number";
|
|
515
|
+
compact_number: "compact_number";
|
|
516
|
+
currency: "currency";
|
|
517
|
+
percent: "percent";
|
|
518
|
+
percent_delta: "percent_delta";
|
|
519
|
+
number_delta: "number_delta";
|
|
520
|
+
currency_delta: "currency_delta";
|
|
521
|
+
}>>;
|
|
522
|
+
}, z.core.$strict>;
|
|
523
|
+
y: z.ZodObject<{
|
|
524
|
+
field: z.ZodString;
|
|
525
|
+
label: z.ZodOptional<z.ZodString>;
|
|
526
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
527
|
+
number: "number";
|
|
528
|
+
compact_number: "compact_number";
|
|
529
|
+
currency: "currency";
|
|
530
|
+
percent: "percent";
|
|
531
|
+
percent_delta: "percent_delta";
|
|
532
|
+
number_delta: "number_delta";
|
|
533
|
+
currency_delta: "currency_delta";
|
|
534
|
+
}>>;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
color: z.ZodOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
538
|
+
title: z.ZodOptional<z.ZodString>;
|
|
539
|
+
type: z.ZodLiteral<"stacked_bar">;
|
|
540
|
+
x: z.ZodObject<{
|
|
541
|
+
field: z.ZodString;
|
|
542
|
+
label: z.ZodOptional<z.ZodString>;
|
|
543
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
number: "number";
|
|
545
|
+
compact_number: "compact_number";
|
|
546
|
+
currency: "currency";
|
|
547
|
+
percent: "percent";
|
|
548
|
+
percent_delta: "percent_delta";
|
|
549
|
+
number_delta: "number_delta";
|
|
550
|
+
currency_delta: "currency_delta";
|
|
551
|
+
}>>;
|
|
552
|
+
}, z.core.$strict>;
|
|
553
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
554
|
+
field: z.ZodString;
|
|
555
|
+
label: z.ZodOptional<z.ZodString>;
|
|
556
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
number: "number";
|
|
558
|
+
compact_number: "compact_number";
|
|
559
|
+
currency: "currency";
|
|
560
|
+
percent: "percent";
|
|
561
|
+
percent_delta: "percent_delta";
|
|
562
|
+
number_delta: "number_delta";
|
|
563
|
+
currency_delta: "currency_delta";
|
|
564
|
+
}>>;
|
|
565
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
566
|
+
field: z.ZodString;
|
|
567
|
+
label: z.ZodOptional<z.ZodString>;
|
|
568
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
569
|
+
number: "number";
|
|
570
|
+
compact_number: "compact_number";
|
|
571
|
+
currency: "currency";
|
|
572
|
+
percent: "percent";
|
|
573
|
+
percent_delta: "percent_delta";
|
|
574
|
+
number_delta: "number_delta";
|
|
575
|
+
currency_delta: "currency_delta";
|
|
576
|
+
}>>;
|
|
577
|
+
}, z.core.$strict>>]>;
|
|
578
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
579
|
+
field: z.ZodString;
|
|
580
|
+
label: z.ZodOptional<z.ZodString>;
|
|
581
|
+
}, z.core.$strict>>;
|
|
582
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
583
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
584
|
+
title: z.ZodOptional<z.ZodString>;
|
|
585
|
+
type: z.ZodLiteral<"pie">;
|
|
586
|
+
label: z.ZodObject<{
|
|
587
|
+
field: z.ZodString;
|
|
588
|
+
label: z.ZodOptional<z.ZodString>;
|
|
589
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
590
|
+
number: "number";
|
|
591
|
+
compact_number: "compact_number";
|
|
592
|
+
currency: "currency";
|
|
593
|
+
percent: "percent";
|
|
594
|
+
percent_delta: "percent_delta";
|
|
595
|
+
number_delta: "number_delta";
|
|
596
|
+
currency_delta: "currency_delta";
|
|
597
|
+
}>>;
|
|
598
|
+
}, z.core.$strict>;
|
|
599
|
+
value: z.ZodObject<{
|
|
600
|
+
field: z.ZodString;
|
|
601
|
+
label: z.ZodOptional<z.ZodString>;
|
|
602
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
603
|
+
number: "number";
|
|
604
|
+
compact_number: "compact_number";
|
|
605
|
+
currency: "currency";
|
|
606
|
+
percent: "percent";
|
|
607
|
+
percent_delta: "percent_delta";
|
|
608
|
+
number_delta: "number_delta";
|
|
609
|
+
currency_delta: "currency_delta";
|
|
610
|
+
}>>;
|
|
611
|
+
}, z.core.$strict>;
|
|
612
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
613
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
614
|
+
title: z.ZodOptional<z.ZodString>;
|
|
615
|
+
type: z.ZodLiteral<"histogram">;
|
|
616
|
+
x: z.ZodObject<{
|
|
617
|
+
field: z.ZodString;
|
|
618
|
+
label: z.ZodOptional<z.ZodString>;
|
|
619
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
620
|
+
number: "number";
|
|
621
|
+
compact_number: "compact_number";
|
|
622
|
+
currency: "currency";
|
|
623
|
+
percent: "percent";
|
|
624
|
+
percent_delta: "percent_delta";
|
|
625
|
+
number_delta: "number_delta";
|
|
626
|
+
currency_delta: "currency_delta";
|
|
627
|
+
}>>;
|
|
628
|
+
}, z.core.$strict>;
|
|
629
|
+
y: z.ZodObject<{
|
|
630
|
+
field: z.ZodString;
|
|
631
|
+
label: z.ZodOptional<z.ZodString>;
|
|
632
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
633
|
+
number: "number";
|
|
634
|
+
compact_number: "compact_number";
|
|
635
|
+
currency: "currency";
|
|
636
|
+
percent: "percent";
|
|
637
|
+
percent_delta: "percent_delta";
|
|
638
|
+
number_delta: "number_delta";
|
|
639
|
+
currency_delta: "currency_delta";
|
|
640
|
+
}>>;
|
|
641
|
+
}, z.core.$strict>;
|
|
642
|
+
buckets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
643
|
+
label: z.ZodString;
|
|
644
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
645
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
646
|
+
}, z.core.$strict>>>;
|
|
647
|
+
color: z.ZodOptional<z.ZodString>;
|
|
648
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
649
|
+
title: z.ZodOptional<z.ZodString>;
|
|
650
|
+
type: z.ZodLiteral<"funnel">;
|
|
651
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
field: z.ZodString;
|
|
653
|
+
label: z.ZodOptional<z.ZodString>;
|
|
654
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
655
|
+
number: "number";
|
|
656
|
+
compact_number: "compact_number";
|
|
657
|
+
currency: "currency";
|
|
658
|
+
percent: "percent";
|
|
659
|
+
percent_delta: "percent_delta";
|
|
660
|
+
number_delta: "number_delta";
|
|
661
|
+
currency_delta: "currency_delta";
|
|
662
|
+
}>>;
|
|
663
|
+
}, z.core.$strict>>;
|
|
664
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
665
|
+
field: z.ZodString;
|
|
666
|
+
label: z.ZodOptional<z.ZodString>;
|
|
667
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
668
|
+
number: "number";
|
|
669
|
+
compact_number: "compact_number";
|
|
670
|
+
currency: "currency";
|
|
671
|
+
percent: "percent";
|
|
672
|
+
percent_delta: "percent_delta";
|
|
673
|
+
number_delta: "number_delta";
|
|
674
|
+
currency_delta: "currency_delta";
|
|
675
|
+
}>>;
|
|
676
|
+
}, z.core.$strict>>;
|
|
677
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
678
|
+
}, z.core.$strict>], "type">;
|
|
679
|
+
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
680
|
+
resource: z.ZodString;
|
|
681
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
682
|
+
field: z.ZodString;
|
|
683
|
+
as: z.ZodOptional<z.ZodString>;
|
|
684
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
685
|
+
day: "day";
|
|
686
|
+
week: "week";
|
|
687
|
+
month: "month";
|
|
688
|
+
year: "year";
|
|
689
|
+
}>>;
|
|
690
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
691
|
+
agg: z.ZodEnum<{
|
|
692
|
+
sum: "sum";
|
|
693
|
+
count: "count";
|
|
694
|
+
count_distinct: "count_distinct";
|
|
695
|
+
avg: "avg";
|
|
696
|
+
min: "min";
|
|
697
|
+
max: "max";
|
|
698
|
+
median: "median";
|
|
699
|
+
}>;
|
|
700
|
+
field: z.ZodOptional<z.ZodString>;
|
|
701
|
+
as: z.ZodString;
|
|
702
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
703
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
704
|
+
calc: z.ZodString;
|
|
705
|
+
as: z.ZodString;
|
|
706
|
+
}, z.core.$strict>]>>>;
|
|
707
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
708
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
709
|
+
field: z.ZodString;
|
|
710
|
+
as: z.ZodOptional<z.ZodString>;
|
|
711
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
712
|
+
day: "day";
|
|
713
|
+
week: "week";
|
|
714
|
+
month: "month";
|
|
715
|
+
year: "year";
|
|
716
|
+
}>>;
|
|
717
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
718
|
+
}, z.core.$strict>]>>>;
|
|
719
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
720
|
+
field: z.ZodString;
|
|
721
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
722
|
+
asc: "asc";
|
|
723
|
+
desc: "desc";
|
|
724
|
+
}>>;
|
|
725
|
+
}, z.core.$strict>>>;
|
|
726
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
727
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
728
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
729
|
+
field: z.ZodString;
|
|
730
|
+
grain: z.ZodEnum<{
|
|
731
|
+
day: "day";
|
|
732
|
+
week: "week";
|
|
733
|
+
month: "month";
|
|
734
|
+
year: "year";
|
|
735
|
+
}>;
|
|
736
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
737
|
+
}, z.core.$strict>>;
|
|
738
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
739
|
+
field: z.ZodString;
|
|
740
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
741
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
742
|
+
}, z.core.$strict>>;
|
|
743
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
field: z.ZodString;
|
|
745
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
746
|
+
label: z.ZodString;
|
|
747
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
748
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
}, z.core.$strict>>;
|
|
751
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
752
|
+
calc: z.ZodString;
|
|
753
|
+
as: z.ZodString;
|
|
754
|
+
}, z.core.$strict>>>;
|
|
755
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
756
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
757
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
758
|
+
name: z.ZodString;
|
|
759
|
+
resource: z.ZodString;
|
|
760
|
+
metric: z.ZodObject<{
|
|
761
|
+
agg: z.ZodEnum<{
|
|
762
|
+
sum: "sum";
|
|
763
|
+
count: "count";
|
|
764
|
+
count_distinct: "count_distinct";
|
|
765
|
+
avg: "avg";
|
|
766
|
+
min: "min";
|
|
767
|
+
max: "max";
|
|
768
|
+
median: "median";
|
|
769
|
+
}>;
|
|
770
|
+
field: z.ZodOptional<z.ZodString>;
|
|
771
|
+
as: z.ZodString;
|
|
772
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
773
|
+
}, z.core.$strict>;
|
|
774
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
775
|
+
}, z.core.$strict>>;
|
|
776
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
777
|
+
calc: z.ZodString;
|
|
778
|
+
as: z.ZodString;
|
|
779
|
+
}, z.core.$strict>>>;
|
|
780
|
+
}, z.core.$strict>]>;
|
|
781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
782
|
+
label: z.ZodOptional<z.ZodString>;
|
|
783
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
784
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
785
|
+
small: "small";
|
|
786
|
+
medium: "medium";
|
|
787
|
+
large: "large";
|
|
788
|
+
wide: "wide";
|
|
789
|
+
full: "full";
|
|
790
|
+
}>>;
|
|
791
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
792
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
793
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
795
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
796
|
+
card: z.ZodObject<{
|
|
797
|
+
title: z.ZodOptional<z.ZodString>;
|
|
798
|
+
value: z.ZodObject<{
|
|
799
|
+
field: z.ZodString;
|
|
800
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
801
|
+
number: "number";
|
|
802
|
+
compact_number: "compact_number";
|
|
803
|
+
currency: "currency";
|
|
804
|
+
percent: "percent";
|
|
805
|
+
percent_delta: "percent_delta";
|
|
806
|
+
number_delta: "number_delta";
|
|
807
|
+
currency_delta: "currency_delta";
|
|
808
|
+
}>>;
|
|
809
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
810
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
811
|
+
}, z.core.$strict>;
|
|
812
|
+
subtitle: z.ZodOptional<z.ZodObject<{
|
|
813
|
+
text: z.ZodOptional<z.ZodString>;
|
|
814
|
+
field: z.ZodOptional<z.ZodString>;
|
|
815
|
+
}, z.core.$strict>>;
|
|
816
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
817
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
818
|
+
}, z.core.$strict>;
|
|
819
|
+
query: z.ZodObject<{
|
|
820
|
+
resource: z.ZodString;
|
|
821
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
822
|
+
field: z.ZodString;
|
|
823
|
+
as: z.ZodOptional<z.ZodString>;
|
|
824
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
825
|
+
day: "day";
|
|
826
|
+
week: "week";
|
|
827
|
+
month: "month";
|
|
828
|
+
year: "year";
|
|
829
|
+
}>>;
|
|
830
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
831
|
+
agg: z.ZodEnum<{
|
|
832
|
+
sum: "sum";
|
|
833
|
+
count: "count";
|
|
834
|
+
count_distinct: "count_distinct";
|
|
835
|
+
avg: "avg";
|
|
836
|
+
min: "min";
|
|
837
|
+
max: "max";
|
|
838
|
+
median: "median";
|
|
839
|
+
}>;
|
|
840
|
+
field: z.ZodOptional<z.ZodString>;
|
|
841
|
+
as: z.ZodString;
|
|
842
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
843
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
844
|
+
calc: z.ZodString;
|
|
845
|
+
as: z.ZodString;
|
|
846
|
+
}, z.core.$strict>]>>>;
|
|
847
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
848
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
849
|
+
field: z.ZodString;
|
|
850
|
+
as: z.ZodOptional<z.ZodString>;
|
|
851
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
852
|
+
day: "day";
|
|
853
|
+
week: "week";
|
|
854
|
+
month: "month";
|
|
855
|
+
year: "year";
|
|
856
|
+
}>>;
|
|
857
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
858
|
+
}, z.core.$strict>]>>>;
|
|
859
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
860
|
+
field: z.ZodString;
|
|
861
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
862
|
+
asc: "asc";
|
|
863
|
+
desc: "desc";
|
|
864
|
+
}>>;
|
|
865
|
+
}, z.core.$strict>>>;
|
|
866
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
867
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
868
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
field: z.ZodString;
|
|
870
|
+
grain: z.ZodEnum<{
|
|
871
|
+
day: "day";
|
|
872
|
+
week: "week";
|
|
873
|
+
month: "month";
|
|
874
|
+
year: "year";
|
|
875
|
+
}>;
|
|
876
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
877
|
+
}, z.core.$strict>>;
|
|
878
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
879
|
+
field: z.ZodString;
|
|
880
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
881
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
882
|
+
}, z.core.$strict>>;
|
|
883
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
884
|
+
field: z.ZodString;
|
|
885
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
886
|
+
label: z.ZodString;
|
|
887
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
888
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
889
|
+
}, z.core.$strict>>;
|
|
890
|
+
}, z.core.$strict>>;
|
|
891
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
892
|
+
calc: z.ZodString;
|
|
893
|
+
as: z.ZodString;
|
|
894
|
+
}, z.core.$strict>>>;
|
|
895
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
896
|
+
}, z.core.$strict>;
|
|
897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
898
|
+
label: z.ZodOptional<z.ZodString>;
|
|
899
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
900
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
901
|
+
small: "small";
|
|
902
|
+
medium: "medium";
|
|
903
|
+
large: "large";
|
|
904
|
+
wide: "wide";
|
|
905
|
+
full: "full";
|
|
906
|
+
}>>;
|
|
907
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
908
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
909
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
910
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
911
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
912
|
+
card: z.ZodObject<{
|
|
913
|
+
title: z.ZodOptional<z.ZodString>;
|
|
914
|
+
value: z.ZodObject<{
|
|
915
|
+
field: z.ZodString;
|
|
916
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
917
|
+
number: "number";
|
|
918
|
+
compact_number: "compact_number";
|
|
919
|
+
currency: "currency";
|
|
920
|
+
percent: "percent";
|
|
921
|
+
percent_delta: "percent_delta";
|
|
922
|
+
number_delta: "number_delta";
|
|
923
|
+
currency_delta: "currency_delta";
|
|
924
|
+
}>>;
|
|
925
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
926
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
927
|
+
}, z.core.$strict>;
|
|
928
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
929
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
930
|
+
field: z.ZodOptional<z.ZodString>;
|
|
931
|
+
label: z.ZodOptional<z.ZodString>;
|
|
932
|
+
}, z.core.$strict>>;
|
|
933
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
934
|
+
value_field: z.ZodString;
|
|
935
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
936
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
937
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
938
|
+
number: "number";
|
|
939
|
+
compact_number: "compact_number";
|
|
940
|
+
currency: "currency";
|
|
941
|
+
percent: "percent";
|
|
942
|
+
percent_delta: "percent_delta";
|
|
943
|
+
number_delta: "number_delta";
|
|
944
|
+
currency_delta: "currency_delta";
|
|
945
|
+
}>>;
|
|
946
|
+
}, z.core.$strict>>;
|
|
947
|
+
color: z.ZodOptional<z.ZodString>;
|
|
948
|
+
}, z.core.$strict>;
|
|
949
|
+
query: z.ZodObject<{
|
|
950
|
+
resource: z.ZodString;
|
|
951
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
952
|
+
field: z.ZodString;
|
|
953
|
+
as: z.ZodOptional<z.ZodString>;
|
|
954
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
955
|
+
day: "day";
|
|
956
|
+
week: "week";
|
|
957
|
+
month: "month";
|
|
958
|
+
year: "year";
|
|
959
|
+
}>>;
|
|
960
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
961
|
+
agg: z.ZodEnum<{
|
|
962
|
+
sum: "sum";
|
|
963
|
+
count: "count";
|
|
964
|
+
count_distinct: "count_distinct";
|
|
965
|
+
avg: "avg";
|
|
966
|
+
min: "min";
|
|
967
|
+
max: "max";
|
|
968
|
+
median: "median";
|
|
969
|
+
}>;
|
|
970
|
+
field: z.ZodOptional<z.ZodString>;
|
|
971
|
+
as: z.ZodString;
|
|
972
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
974
|
+
calc: z.ZodString;
|
|
975
|
+
as: z.ZodString;
|
|
976
|
+
}, z.core.$strict>]>>>;
|
|
977
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
978
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
979
|
+
field: z.ZodString;
|
|
980
|
+
as: z.ZodOptional<z.ZodString>;
|
|
981
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
982
|
+
day: "day";
|
|
983
|
+
week: "week";
|
|
984
|
+
month: "month";
|
|
985
|
+
year: "year";
|
|
986
|
+
}>>;
|
|
987
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
988
|
+
}, z.core.$strict>]>>>;
|
|
989
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
990
|
+
field: z.ZodString;
|
|
991
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
992
|
+
asc: "asc";
|
|
993
|
+
desc: "desc";
|
|
994
|
+
}>>;
|
|
995
|
+
}, z.core.$strict>>>;
|
|
996
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
997
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
998
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
999
|
+
field: z.ZodString;
|
|
1000
|
+
grain: z.ZodEnum<{
|
|
1001
|
+
day: "day";
|
|
1002
|
+
week: "week";
|
|
1003
|
+
month: "month";
|
|
1004
|
+
year: "year";
|
|
1005
|
+
}>;
|
|
1006
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
}, z.core.$strict>>;
|
|
1008
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
1009
|
+
field: z.ZodString;
|
|
1010
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1011
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1012
|
+
}, z.core.$strict>>;
|
|
1013
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
1014
|
+
field: z.ZodString;
|
|
1015
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
1016
|
+
label: z.ZodString;
|
|
1017
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1018
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1019
|
+
}, z.core.$strict>>;
|
|
1020
|
+
}, z.core.$strict>>;
|
|
1021
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1022
|
+
calc: z.ZodString;
|
|
1023
|
+
as: z.ZodString;
|
|
1024
|
+
}, z.core.$strict>>>;
|
|
1025
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1026
|
+
}, z.core.$strict>;
|
|
1027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1028
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1030
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
1031
|
+
small: "small";
|
|
1032
|
+
medium: "medium";
|
|
1033
|
+
large: "large";
|
|
1034
|
+
wide: "wide";
|
|
1035
|
+
full: "full";
|
|
1036
|
+
}>>;
|
|
1037
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1038
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1039
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1040
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1041
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
1042
|
+
pivot: z.ZodObject<{
|
|
1043
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1044
|
+
field: z.ZodString;
|
|
1045
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1047
|
+
number: "number";
|
|
1048
|
+
compact_number: "compact_number";
|
|
1049
|
+
currency: "currency";
|
|
1050
|
+
percent: "percent";
|
|
1051
|
+
percent_delta: "percent_delta";
|
|
1052
|
+
number_delta: "number_delta";
|
|
1053
|
+
currency_delta: "currency_delta";
|
|
1054
|
+
}>>;
|
|
1055
|
+
}, z.core.$strict>]>>;
|
|
1056
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1057
|
+
field: z.ZodString;
|
|
1058
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1060
|
+
number: "number";
|
|
1061
|
+
compact_number: "compact_number";
|
|
1062
|
+
currency: "currency";
|
|
1063
|
+
percent: "percent";
|
|
1064
|
+
percent_delta: "percent_delta";
|
|
1065
|
+
number_delta: "number_delta";
|
|
1066
|
+
currency_delta: "currency_delta";
|
|
1067
|
+
}>>;
|
|
1068
|
+
}, z.core.$strict>]>>>;
|
|
1069
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1070
|
+
field: z.ZodString;
|
|
1071
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1073
|
+
number: "number";
|
|
1074
|
+
compact_number: "compact_number";
|
|
1075
|
+
currency: "currency";
|
|
1076
|
+
percent: "percent";
|
|
1077
|
+
percent_delta: "percent_delta";
|
|
1078
|
+
number_delta: "number_delta";
|
|
1079
|
+
currency_delta: "currency_delta";
|
|
1080
|
+
}>>;
|
|
1081
|
+
aggregation: z.ZodOptional<z.ZodEnum<{
|
|
1082
|
+
sum: "sum";
|
|
1083
|
+
count: "count";
|
|
1084
|
+
avg: "avg";
|
|
1085
|
+
min: "min";
|
|
1086
|
+
max: "max";
|
|
1087
|
+
}>>;
|
|
1088
|
+
}, z.core.$strict>>;
|
|
1089
|
+
}, z.core.$strict>;
|
|
1090
|
+
query: z.ZodObject<{
|
|
1091
|
+
resource: z.ZodString;
|
|
1092
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1093
|
+
field: z.ZodString;
|
|
1094
|
+
as: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
1096
|
+
day: "day";
|
|
1097
|
+
week: "week";
|
|
1098
|
+
month: "month";
|
|
1099
|
+
year: "year";
|
|
1100
|
+
}>>;
|
|
1101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1102
|
+
agg: z.ZodEnum<{
|
|
1103
|
+
sum: "sum";
|
|
1104
|
+
count: "count";
|
|
1105
|
+
count_distinct: "count_distinct";
|
|
1106
|
+
avg: "avg";
|
|
1107
|
+
min: "min";
|
|
1108
|
+
max: "max";
|
|
1109
|
+
median: "median";
|
|
1110
|
+
}>;
|
|
1111
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
as: z.ZodString;
|
|
1113
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1115
|
+
calc: z.ZodString;
|
|
1116
|
+
as: z.ZodString;
|
|
1117
|
+
}, z.core.$strict>]>>>;
|
|
1118
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1119
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1120
|
+
field: z.ZodString;
|
|
1121
|
+
as: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
1123
|
+
day: "day";
|
|
1124
|
+
week: "week";
|
|
1125
|
+
month: "month";
|
|
1126
|
+
year: "year";
|
|
1127
|
+
}>>;
|
|
1128
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
}, z.core.$strict>]>>>;
|
|
1130
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1131
|
+
field: z.ZodString;
|
|
1132
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1133
|
+
asc: "asc";
|
|
1134
|
+
desc: "desc";
|
|
1135
|
+
}>>;
|
|
1136
|
+
}, z.core.$strict>>>;
|
|
1137
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1138
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1139
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1140
|
+
field: z.ZodString;
|
|
1141
|
+
grain: z.ZodEnum<{
|
|
1142
|
+
day: "day";
|
|
1143
|
+
week: "week";
|
|
1144
|
+
month: "month";
|
|
1145
|
+
year: "year";
|
|
1146
|
+
}>;
|
|
1147
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
}, z.core.$strict>>;
|
|
1149
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
1150
|
+
field: z.ZodString;
|
|
1151
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1152
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1153
|
+
}, z.core.$strict>>;
|
|
1154
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
1155
|
+
field: z.ZodString;
|
|
1156
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
1157
|
+
label: z.ZodString;
|
|
1158
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1159
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
}, z.core.$strict>>;
|
|
1161
|
+
}, z.core.$strict>>;
|
|
1162
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1163
|
+
calc: z.ZodString;
|
|
1164
|
+
as: z.ZodString;
|
|
1165
|
+
}, z.core.$strict>>>;
|
|
1166
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1167
|
+
}, z.core.$strict>;
|
|
1168
|
+
}, z.core.$strict>], "target">;
|
|
341
1169
|
export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
342
|
-
id: z.ZodOptional<z.ZodString>;
|
|
343
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
344
1170
|
label: z.ZodOptional<z.ZodString>;
|
|
345
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1171
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
346
1172
|
size: z.ZodOptional<z.ZodEnum<{
|
|
347
1173
|
small: "small";
|
|
348
1174
|
medium: "medium";
|
|
@@ -352,9 +1178,8 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
352
1178
|
}>>;
|
|
353
1179
|
width: z.ZodOptional<z.ZodNumber>;
|
|
354
1180
|
height: z.ZodOptional<z.ZodNumber>;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1181
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1182
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
358
1183
|
target: z.ZodLiteral<"table">;
|
|
359
1184
|
table: z.ZodOptional<z.ZodObject<{
|
|
360
1185
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -371,7 +1196,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
371
1196
|
}>>;
|
|
372
1197
|
}, z.core.$strict>]>>>;
|
|
373
1198
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
374
|
-
|
|
1199
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
375
1200
|
}, z.core.$strict>>;
|
|
376
1201
|
query: z.ZodObject<{
|
|
377
1202
|
resource: z.ZodString;
|
|
@@ -379,11 +1204,9 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
379
1204
|
field: z.ZodString;
|
|
380
1205
|
as: z.ZodOptional<z.ZodString>;
|
|
381
1206
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
382
|
-
hour: "hour";
|
|
383
1207
|
day: "day";
|
|
384
1208
|
week: "week";
|
|
385
1209
|
month: "month";
|
|
386
|
-
quarter: "quarter";
|
|
387
1210
|
year: "year";
|
|
388
1211
|
}>>;
|
|
389
1212
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -404,20 +1227,18 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
404
1227
|
as: z.ZodString;
|
|
405
1228
|
}, z.core.$strict>]>>>;
|
|
406
1229
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
407
|
-
|
|
1230
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
408
1231
|
field: z.ZodString;
|
|
409
1232
|
as: z.ZodOptional<z.ZodString>;
|
|
410
1233
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
411
|
-
hour: "hour";
|
|
412
1234
|
day: "day";
|
|
413
1235
|
week: "week";
|
|
414
1236
|
month: "month";
|
|
415
|
-
quarter: "quarter";
|
|
416
1237
|
year: "year";
|
|
417
1238
|
}>>;
|
|
418
1239
|
timezone: z.ZodOptional<z.ZodString>;
|
|
419
1240
|
}, z.core.$strict>]>>>;
|
|
420
|
-
|
|
1241
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
421
1242
|
field: z.ZodString;
|
|
422
1243
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
423
1244
|
asc: "asc";
|
|
@@ -426,22 +1247,20 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
426
1247
|
}, z.core.$strict>>>;
|
|
427
1248
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
428
1249
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
429
|
-
|
|
1250
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
430
1251
|
field: z.ZodString;
|
|
431
1252
|
grain: z.ZodEnum<{
|
|
432
|
-
hour: "hour";
|
|
433
1253
|
day: "day";
|
|
434
1254
|
week: "week";
|
|
435
1255
|
month: "month";
|
|
436
|
-
quarter: "quarter";
|
|
437
1256
|
year: "year";
|
|
438
1257
|
}>;
|
|
439
1258
|
timezone: z.ZodOptional<z.ZodString>;
|
|
440
1259
|
}, z.core.$strict>>;
|
|
441
1260
|
period: z.ZodOptional<z.ZodObject<{
|
|
442
1261
|
field: z.ZodString;
|
|
443
|
-
gte: z.ZodOptional<z.
|
|
444
|
-
lt: z.ZodOptional<z.
|
|
1262
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1263
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
445
1264
|
}, z.core.$strict>>;
|
|
446
1265
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
447
1266
|
field: z.ZodString;
|
|
@@ -455,13 +1274,11 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
455
1274
|
calc: z.ZodString;
|
|
456
1275
|
as: z.ZodString;
|
|
457
1276
|
}, z.core.$strict>>>;
|
|
458
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1277
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
459
1278
|
}, z.core.$strict>;
|
|
460
|
-
}, z.core.$
|
|
461
|
-
id: z.ZodOptional<z.ZodString>;
|
|
462
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
463
1280
|
label: z.ZodOptional<z.ZodString>;
|
|
464
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1281
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
465
1282
|
size: z.ZodOptional<z.ZodEnum<{
|
|
466
1283
|
small: "small";
|
|
467
1284
|
medium: "medium";
|
|
@@ -471,9 +1288,8 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
471
1288
|
}>>;
|
|
472
1289
|
width: z.ZodOptional<z.ZodNumber>;
|
|
473
1290
|
height: z.ZodOptional<z.ZodNumber>;
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1292
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
477
1293
|
target: z.ZodLiteral<"chart">;
|
|
478
1294
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
479
1295
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -510,7 +1326,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
510
1326
|
}, z.core.$strict>>;
|
|
511
1327
|
color: z.ZodOptional<z.ZodString>;
|
|
512
1328
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
513
|
-
}, z.core.$
|
|
1329
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
514
1330
|
title: z.ZodOptional<z.ZodString>;
|
|
515
1331
|
type: z.ZodLiteral<"bar">;
|
|
516
1332
|
x: z.ZodObject<{
|
|
@@ -540,7 +1356,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
540
1356
|
}>>;
|
|
541
1357
|
}, z.core.$strict>;
|
|
542
1358
|
color: z.ZodOptional<z.ZodString>;
|
|
543
|
-
}, z.core.$
|
|
1359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
544
1360
|
title: z.ZodOptional<z.ZodString>;
|
|
545
1361
|
type: z.ZodLiteral<"stacked_bar">;
|
|
546
1362
|
x: z.ZodObject<{
|
|
@@ -586,7 +1402,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
586
1402
|
label: z.ZodOptional<z.ZodString>;
|
|
587
1403
|
}, z.core.$strict>>;
|
|
588
1404
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
589
|
-
}, z.core.$
|
|
1405
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
590
1406
|
title: z.ZodOptional<z.ZodString>;
|
|
591
1407
|
type: z.ZodLiteral<"pie">;
|
|
592
1408
|
label: z.ZodObject<{
|
|
@@ -616,7 +1432,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
616
1432
|
}>>;
|
|
617
1433
|
}, z.core.$strict>;
|
|
618
1434
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
619
|
-
}, z.core.$
|
|
1435
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
620
1436
|
title: z.ZodOptional<z.ZodString>;
|
|
621
1437
|
type: z.ZodLiteral<"histogram">;
|
|
622
1438
|
x: z.ZodObject<{
|
|
@@ -651,7 +1467,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
651
1467
|
max: z.ZodOptional<z.ZodNumber>;
|
|
652
1468
|
}, z.core.$strict>>>;
|
|
653
1469
|
color: z.ZodOptional<z.ZodString>;
|
|
654
|
-
}, z.core.$
|
|
1470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
655
1471
|
title: z.ZodOptional<z.ZodString>;
|
|
656
1472
|
type: z.ZodLiteral<"funnel">;
|
|
657
1473
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -681,18 +1497,16 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
681
1497
|
}>>;
|
|
682
1498
|
}, z.core.$strict>>;
|
|
683
1499
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
684
|
-
}, z.core.$
|
|
1500
|
+
}, z.core.$strict>], "type">;
|
|
685
1501
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
686
1502
|
resource: z.ZodString;
|
|
687
1503
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
688
1504
|
field: z.ZodString;
|
|
689
1505
|
as: z.ZodOptional<z.ZodString>;
|
|
690
1506
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
691
|
-
hour: "hour";
|
|
692
1507
|
day: "day";
|
|
693
1508
|
week: "week";
|
|
694
1509
|
month: "month";
|
|
695
|
-
quarter: "quarter";
|
|
696
1510
|
year: "year";
|
|
697
1511
|
}>>;
|
|
698
1512
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -713,20 +1527,18 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
713
1527
|
as: z.ZodString;
|
|
714
1528
|
}, z.core.$strict>]>>>;
|
|
715
1529
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
716
|
-
|
|
1530
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
717
1531
|
field: z.ZodString;
|
|
718
1532
|
as: z.ZodOptional<z.ZodString>;
|
|
719
1533
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
720
|
-
hour: "hour";
|
|
721
1534
|
day: "day";
|
|
722
1535
|
week: "week";
|
|
723
1536
|
month: "month";
|
|
724
|
-
quarter: "quarter";
|
|
725
1537
|
year: "year";
|
|
726
1538
|
}>>;
|
|
727
1539
|
timezone: z.ZodOptional<z.ZodString>;
|
|
728
1540
|
}, z.core.$strict>]>>>;
|
|
729
|
-
|
|
1541
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
730
1542
|
field: z.ZodString;
|
|
731
1543
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
732
1544
|
asc: "asc";
|
|
@@ -735,22 +1547,20 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
735
1547
|
}, z.core.$strict>>>;
|
|
736
1548
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
737
1549
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
738
|
-
|
|
1550
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
739
1551
|
field: z.ZodString;
|
|
740
1552
|
grain: z.ZodEnum<{
|
|
741
|
-
hour: "hour";
|
|
742
1553
|
day: "day";
|
|
743
1554
|
week: "week";
|
|
744
1555
|
month: "month";
|
|
745
|
-
quarter: "quarter";
|
|
746
1556
|
year: "year";
|
|
747
1557
|
}>;
|
|
748
1558
|
timezone: z.ZodOptional<z.ZodString>;
|
|
749
1559
|
}, z.core.$strict>>;
|
|
750
1560
|
period: z.ZodOptional<z.ZodObject<{
|
|
751
1561
|
field: z.ZodString;
|
|
752
|
-
gte: z.ZodOptional<z.
|
|
753
|
-
lt: z.ZodOptional<z.
|
|
1562
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1563
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
754
1564
|
}, z.core.$strict>>;
|
|
755
1565
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
756
1566
|
field: z.ZodString;
|
|
@@ -764,7 +1574,7 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
764
1574
|
calc: z.ZodString;
|
|
765
1575
|
as: z.ZodString;
|
|
766
1576
|
}, z.core.$strict>>>;
|
|
767
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1577
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
768
1578
|
}, z.core.$strict>, z.ZodObject<{
|
|
769
1579
|
steps: z.ZodArray<z.ZodObject<{
|
|
770
1580
|
name: z.ZodString;
|
|
@@ -790,11 +1600,9 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
790
1600
|
as: z.ZodString;
|
|
791
1601
|
}, z.core.$strict>>>;
|
|
792
1602
|
}, z.core.$strict>]>;
|
|
793
|
-
}, z.core.$
|
|
794
|
-
id: z.ZodOptional<z.ZodString>;
|
|
795
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
796
1604
|
label: z.ZodOptional<z.ZodString>;
|
|
797
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1605
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
798
1606
|
size: z.ZodOptional<z.ZodEnum<{
|
|
799
1607
|
small: "small";
|
|
800
1608
|
medium: "medium";
|
|
@@ -804,9 +1612,8 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
804
1612
|
}>>;
|
|
805
1613
|
width: z.ZodOptional<z.ZodNumber>;
|
|
806
1614
|
height: z.ZodOptional<z.ZodNumber>;
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
810
1617
|
target: z.ZodLiteral<"kpi_card">;
|
|
811
1618
|
card: z.ZodObject<{
|
|
812
1619
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -828,8 +1635,8 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
828
1635
|
text: z.ZodOptional<z.ZodString>;
|
|
829
1636
|
field: z.ZodOptional<z.ZodString>;
|
|
830
1637
|
}, z.core.$strict>>;
|
|
831
|
-
comparison: z.ZodOptional<z.
|
|
832
|
-
sparkline: z.ZodOptional<z.
|
|
1638
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1639
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
833
1640
|
}, z.core.$strict>;
|
|
834
1641
|
query: z.ZodObject<{
|
|
835
1642
|
resource: z.ZodString;
|
|
@@ -837,11 +1644,9 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
837
1644
|
field: z.ZodString;
|
|
838
1645
|
as: z.ZodOptional<z.ZodString>;
|
|
839
1646
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
840
|
-
hour: "hour";
|
|
841
1647
|
day: "day";
|
|
842
1648
|
week: "week";
|
|
843
1649
|
month: "month";
|
|
844
|
-
quarter: "quarter";
|
|
845
1650
|
year: "year";
|
|
846
1651
|
}>>;
|
|
847
1652
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -862,20 +1667,18 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
862
1667
|
as: z.ZodString;
|
|
863
1668
|
}, z.core.$strict>]>>>;
|
|
864
1669
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
865
|
-
|
|
1670
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
866
1671
|
field: z.ZodString;
|
|
867
1672
|
as: z.ZodOptional<z.ZodString>;
|
|
868
1673
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
869
|
-
hour: "hour";
|
|
870
1674
|
day: "day";
|
|
871
1675
|
week: "week";
|
|
872
1676
|
month: "month";
|
|
873
|
-
quarter: "quarter";
|
|
874
1677
|
year: "year";
|
|
875
1678
|
}>>;
|
|
876
1679
|
timezone: z.ZodOptional<z.ZodString>;
|
|
877
1680
|
}, z.core.$strict>]>>>;
|
|
878
|
-
|
|
1681
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
1682
|
field: z.ZodString;
|
|
880
1683
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
881
1684
|
asc: "asc";
|
|
@@ -884,22 +1687,20 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
884
1687
|
}, z.core.$strict>>>;
|
|
885
1688
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
886
1689
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
887
|
-
|
|
1690
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
888
1691
|
field: z.ZodString;
|
|
889
1692
|
grain: z.ZodEnum<{
|
|
890
|
-
hour: "hour";
|
|
891
1693
|
day: "day";
|
|
892
1694
|
week: "week";
|
|
893
1695
|
month: "month";
|
|
894
|
-
quarter: "quarter";
|
|
895
1696
|
year: "year";
|
|
896
1697
|
}>;
|
|
897
1698
|
timezone: z.ZodOptional<z.ZodString>;
|
|
898
1699
|
}, z.core.$strict>>;
|
|
899
1700
|
period: z.ZodOptional<z.ZodObject<{
|
|
900
1701
|
field: z.ZodString;
|
|
901
|
-
gte: z.ZodOptional<z.
|
|
902
|
-
lt: z.ZodOptional<z.
|
|
1702
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1703
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
903
1704
|
}, z.core.$strict>>;
|
|
904
1705
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
905
1706
|
field: z.ZodString;
|
|
@@ -913,13 +1714,11 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
913
1714
|
calc: z.ZodString;
|
|
914
1715
|
as: z.ZodString;
|
|
915
1716
|
}, z.core.$strict>>>;
|
|
916
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1717
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
917
1718
|
}, z.core.$strict>;
|
|
918
|
-
}, z.core.$
|
|
919
|
-
id: z.ZodOptional<z.ZodString>;
|
|
920
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
921
1720
|
label: z.ZodOptional<z.ZodString>;
|
|
922
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1721
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
923
1722
|
size: z.ZodOptional<z.ZodEnum<{
|
|
924
1723
|
small: "small";
|
|
925
1724
|
medium: "medium";
|
|
@@ -929,9 +1728,8 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
929
1728
|
}>>;
|
|
930
1729
|
width: z.ZodOptional<z.ZodNumber>;
|
|
931
1730
|
height: z.ZodOptional<z.ZodNumber>;
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
935
1733
|
target: z.ZodLiteral<"gauge_card">;
|
|
936
1734
|
card: z.ZodObject<{
|
|
937
1735
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -955,9 +1753,9 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
955
1753
|
label: z.ZodOptional<z.ZodString>;
|
|
956
1754
|
}, z.core.$strict>>;
|
|
957
1755
|
progress: z.ZodOptional<z.ZodObject<{
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
1756
|
+
value_field: z.ZodString;
|
|
1757
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
1758
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
961
1759
|
format: z.ZodOptional<z.ZodEnum<{
|
|
962
1760
|
number: "number";
|
|
963
1761
|
compact_number: "compact_number";
|
|
@@ -976,11 +1774,9 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
976
1774
|
field: z.ZodString;
|
|
977
1775
|
as: z.ZodOptional<z.ZodString>;
|
|
978
1776
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
979
|
-
hour: "hour";
|
|
980
1777
|
day: "day";
|
|
981
1778
|
week: "week";
|
|
982
1779
|
month: "month";
|
|
983
|
-
quarter: "quarter";
|
|
984
1780
|
year: "year";
|
|
985
1781
|
}>>;
|
|
986
1782
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1001,20 +1797,18 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1001
1797
|
as: z.ZodString;
|
|
1002
1798
|
}, z.core.$strict>]>>>;
|
|
1003
1799
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1004
|
-
|
|
1800
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1005
1801
|
field: z.ZodString;
|
|
1006
1802
|
as: z.ZodOptional<z.ZodString>;
|
|
1007
1803
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1008
|
-
hour: "hour";
|
|
1009
1804
|
day: "day";
|
|
1010
1805
|
week: "week";
|
|
1011
1806
|
month: "month";
|
|
1012
|
-
quarter: "quarter";
|
|
1013
1807
|
year: "year";
|
|
1014
1808
|
}>>;
|
|
1015
1809
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1016
1810
|
}, z.core.$strict>]>>>;
|
|
1017
|
-
|
|
1811
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1018
1812
|
field: z.ZodString;
|
|
1019
1813
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1020
1814
|
asc: "asc";
|
|
@@ -1023,22 +1817,20 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1023
1817
|
}, z.core.$strict>>>;
|
|
1024
1818
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1025
1819
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1026
|
-
|
|
1820
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1027
1821
|
field: z.ZodString;
|
|
1028
1822
|
grain: z.ZodEnum<{
|
|
1029
|
-
hour: "hour";
|
|
1030
1823
|
day: "day";
|
|
1031
1824
|
week: "week";
|
|
1032
1825
|
month: "month";
|
|
1033
|
-
quarter: "quarter";
|
|
1034
1826
|
year: "year";
|
|
1035
1827
|
}>;
|
|
1036
1828
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1037
1829
|
}, z.core.$strict>>;
|
|
1038
1830
|
period: z.ZodOptional<z.ZodObject<{
|
|
1039
1831
|
field: z.ZodString;
|
|
1040
|
-
gte: z.ZodOptional<z.
|
|
1041
|
-
lt: z.ZodOptional<z.
|
|
1832
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1833
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1042
1834
|
}, z.core.$strict>>;
|
|
1043
1835
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1044
1836
|
field: z.ZodString;
|
|
@@ -1052,13 +1844,11 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1052
1844
|
calc: z.ZodString;
|
|
1053
1845
|
as: z.ZodString;
|
|
1054
1846
|
}, z.core.$strict>>>;
|
|
1055
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1847
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1056
1848
|
}, z.core.$strict>;
|
|
1057
|
-
}, z.core.$
|
|
1058
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1059
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1849
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1060
1850
|
label: z.ZodOptional<z.ZodString>;
|
|
1061
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1851
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1062
1852
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1063
1853
|
small: "small";
|
|
1064
1854
|
medium: "medium";
|
|
@@ -1068,9 +1858,8 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1068
1858
|
}>>;
|
|
1069
1859
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1070
1860
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1861
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1862
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1074
1863
|
target: z.ZodLiteral<"pivot_table">;
|
|
1075
1864
|
pivot: z.ZodObject<{
|
|
1076
1865
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1126,11 +1915,9 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1126
1915
|
field: z.ZodString;
|
|
1127
1916
|
as: z.ZodOptional<z.ZodString>;
|
|
1128
1917
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1129
|
-
hour: "hour";
|
|
1130
1918
|
day: "day";
|
|
1131
1919
|
week: "week";
|
|
1132
1920
|
month: "month";
|
|
1133
|
-
quarter: "quarter";
|
|
1134
1921
|
year: "year";
|
|
1135
1922
|
}>>;
|
|
1136
1923
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1151,20 +1938,18 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1151
1938
|
as: z.ZodString;
|
|
1152
1939
|
}, z.core.$strict>]>>>;
|
|
1153
1940
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1154
|
-
|
|
1941
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1155
1942
|
field: z.ZodString;
|
|
1156
1943
|
as: z.ZodOptional<z.ZodString>;
|
|
1157
1944
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1158
|
-
hour: "hour";
|
|
1159
1945
|
day: "day";
|
|
1160
1946
|
week: "week";
|
|
1161
1947
|
month: "month";
|
|
1162
|
-
quarter: "quarter";
|
|
1163
1948
|
year: "year";
|
|
1164
1949
|
}>>;
|
|
1165
1950
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1166
1951
|
}, z.core.$strict>]>>>;
|
|
1167
|
-
|
|
1952
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1168
1953
|
field: z.ZodString;
|
|
1169
1954
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1170
1955
|
asc: "asc";
|
|
@@ -1173,22 +1958,20 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1173
1958
|
}, z.core.$strict>>>;
|
|
1174
1959
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1175
1960
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1176
|
-
|
|
1961
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1177
1962
|
field: z.ZodString;
|
|
1178
1963
|
grain: z.ZodEnum<{
|
|
1179
|
-
hour: "hour";
|
|
1180
1964
|
day: "day";
|
|
1181
1965
|
week: "week";
|
|
1182
1966
|
month: "month";
|
|
1183
|
-
quarter: "quarter";
|
|
1184
1967
|
year: "year";
|
|
1185
1968
|
}>;
|
|
1186
1969
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1187
1970
|
}, z.core.$strict>>;
|
|
1188
1971
|
period: z.ZodOptional<z.ZodObject<{
|
|
1189
1972
|
field: z.ZodString;
|
|
1190
|
-
gte: z.ZodOptional<z.
|
|
1191
|
-
lt: z.ZodOptional<z.
|
|
1973
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1974
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1192
1975
|
}, z.core.$strict>>;
|
|
1193
1976
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1194
1977
|
field: z.ZodString;
|
|
@@ -1202,14 +1985,12 @@ export declare const WidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1202
1985
|
calc: z.ZodString;
|
|
1203
1986
|
as: z.ZodString;
|
|
1204
1987
|
}, z.core.$strict>>>;
|
|
1205
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1988
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1206
1989
|
}, z.core.$strict>;
|
|
1207
|
-
}, z.core.$
|
|
1990
|
+
}, z.core.$strict>], "target">;
|
|
1208
1991
|
export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1209
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1210
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1211
1992
|
label: z.ZodOptional<z.ZodString>;
|
|
1212
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1993
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1213
1994
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1214
1995
|
small: "small";
|
|
1215
1996
|
medium: "medium";
|
|
@@ -1219,15 +2000,15 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1219
2000
|
}>>;
|
|
1220
2001
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1221
2002
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
2003
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2004
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2005
|
+
id: z.ZodString;
|
|
2006
|
+
group_id: z.ZodString;
|
|
2007
|
+
order: z.ZodNumber;
|
|
1225
2008
|
target: z.ZodLiteral<"empty">;
|
|
1226
|
-
}, z.core.$
|
|
1227
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1228
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2009
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1229
2010
|
label: z.ZodOptional<z.ZodString>;
|
|
1230
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2011
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1231
2012
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1232
2013
|
small: "small";
|
|
1233
2014
|
medium: "medium";
|
|
@@ -1237,9 +2018,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1237
2018
|
}>>;
|
|
1238
2019
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1239
2020
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
2021
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2022
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2023
|
+
id: z.ZodString;
|
|
2024
|
+
group_id: z.ZodString;
|
|
2025
|
+
order: z.ZodNumber;
|
|
1243
2026
|
target: z.ZodLiteral<"table">;
|
|
1244
2027
|
table: z.ZodOptional<z.ZodObject<{
|
|
1245
2028
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1256,7 +2039,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1256
2039
|
}>>;
|
|
1257
2040
|
}, z.core.$strict>]>>>;
|
|
1258
2041
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
1259
|
-
|
|
2042
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
1260
2043
|
}, z.core.$strict>>;
|
|
1261
2044
|
query: z.ZodObject<{
|
|
1262
2045
|
resource: z.ZodString;
|
|
@@ -1264,11 +2047,9 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1264
2047
|
field: z.ZodString;
|
|
1265
2048
|
as: z.ZodOptional<z.ZodString>;
|
|
1266
2049
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1267
|
-
hour: "hour";
|
|
1268
2050
|
day: "day";
|
|
1269
2051
|
week: "week";
|
|
1270
2052
|
month: "month";
|
|
1271
|
-
quarter: "quarter";
|
|
1272
2053
|
year: "year";
|
|
1273
2054
|
}>>;
|
|
1274
2055
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1289,20 +2070,18 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1289
2070
|
as: z.ZodString;
|
|
1290
2071
|
}, z.core.$strict>]>>>;
|
|
1291
2072
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1292
|
-
|
|
2073
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1293
2074
|
field: z.ZodString;
|
|
1294
2075
|
as: z.ZodOptional<z.ZodString>;
|
|
1295
2076
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1296
|
-
hour: "hour";
|
|
1297
2077
|
day: "day";
|
|
1298
2078
|
week: "week";
|
|
1299
2079
|
month: "month";
|
|
1300
|
-
quarter: "quarter";
|
|
1301
2080
|
year: "year";
|
|
1302
2081
|
}>>;
|
|
1303
2082
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1304
2083
|
}, z.core.$strict>]>>>;
|
|
1305
|
-
|
|
2084
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1306
2085
|
field: z.ZodString;
|
|
1307
2086
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1308
2087
|
asc: "asc";
|
|
@@ -1311,22 +2090,20 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1311
2090
|
}, z.core.$strict>>>;
|
|
1312
2091
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1313
2092
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1314
|
-
|
|
2093
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1315
2094
|
field: z.ZodString;
|
|
1316
2095
|
grain: z.ZodEnum<{
|
|
1317
|
-
hour: "hour";
|
|
1318
2096
|
day: "day";
|
|
1319
2097
|
week: "week";
|
|
1320
2098
|
month: "month";
|
|
1321
|
-
quarter: "quarter";
|
|
1322
2099
|
year: "year";
|
|
1323
2100
|
}>;
|
|
1324
2101
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1325
2102
|
}, z.core.$strict>>;
|
|
1326
2103
|
period: z.ZodOptional<z.ZodObject<{
|
|
1327
2104
|
field: z.ZodString;
|
|
1328
|
-
gte: z.ZodOptional<z.
|
|
1329
|
-
lt: z.ZodOptional<z.
|
|
2105
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2106
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1330
2107
|
}, z.core.$strict>>;
|
|
1331
2108
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1332
2109
|
field: z.ZodString;
|
|
@@ -1340,13 +2117,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1340
2117
|
calc: z.ZodString;
|
|
1341
2118
|
as: z.ZodString;
|
|
1342
2119
|
}, z.core.$strict>>>;
|
|
1343
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2120
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1344
2121
|
}, z.core.$strict>;
|
|
1345
|
-
}, z.core.$
|
|
1346
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1347
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2122
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1348
2123
|
label: z.ZodOptional<z.ZodString>;
|
|
1349
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2124
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1350
2125
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1351
2126
|
small: "small";
|
|
1352
2127
|
medium: "medium";
|
|
@@ -1356,9 +2131,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1356
2131
|
}>>;
|
|
1357
2132
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1358
2133
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
2134
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2135
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2136
|
+
id: z.ZodString;
|
|
2137
|
+
group_id: z.ZodString;
|
|
2138
|
+
order: z.ZodNumber;
|
|
1362
2139
|
target: z.ZodLiteral<"chart">;
|
|
1363
2140
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1364
2141
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1395,7 +2172,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1395
2172
|
}, z.core.$strict>>;
|
|
1396
2173
|
color: z.ZodOptional<z.ZodString>;
|
|
1397
2174
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1398
|
-
}, z.core.$
|
|
2175
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1399
2176
|
title: z.ZodOptional<z.ZodString>;
|
|
1400
2177
|
type: z.ZodLiteral<"bar">;
|
|
1401
2178
|
x: z.ZodObject<{
|
|
@@ -1425,7 +2202,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1425
2202
|
}>>;
|
|
1426
2203
|
}, z.core.$strict>;
|
|
1427
2204
|
color: z.ZodOptional<z.ZodString>;
|
|
1428
|
-
}, z.core.$
|
|
2205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1429
2206
|
title: z.ZodOptional<z.ZodString>;
|
|
1430
2207
|
type: z.ZodLiteral<"stacked_bar">;
|
|
1431
2208
|
x: z.ZodObject<{
|
|
@@ -1471,7 +2248,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1471
2248
|
label: z.ZodOptional<z.ZodString>;
|
|
1472
2249
|
}, z.core.$strict>>;
|
|
1473
2250
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1474
|
-
}, z.core.$
|
|
2251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1475
2252
|
title: z.ZodOptional<z.ZodString>;
|
|
1476
2253
|
type: z.ZodLiteral<"pie">;
|
|
1477
2254
|
label: z.ZodObject<{
|
|
@@ -1501,7 +2278,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1501
2278
|
}>>;
|
|
1502
2279
|
}, z.core.$strict>;
|
|
1503
2280
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1504
|
-
}, z.core.$
|
|
2281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1505
2282
|
title: z.ZodOptional<z.ZodString>;
|
|
1506
2283
|
type: z.ZodLiteral<"histogram">;
|
|
1507
2284
|
x: z.ZodObject<{
|
|
@@ -1536,7 +2313,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1536
2313
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1537
2314
|
}, z.core.$strict>>>;
|
|
1538
2315
|
color: z.ZodOptional<z.ZodString>;
|
|
1539
|
-
}, z.core.$
|
|
2316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1540
2317
|
title: z.ZodOptional<z.ZodString>;
|
|
1541
2318
|
type: z.ZodLiteral<"funnel">;
|
|
1542
2319
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -1566,18 +2343,16 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1566
2343
|
}>>;
|
|
1567
2344
|
}, z.core.$strict>>;
|
|
1568
2345
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1569
|
-
}, z.core.$
|
|
2346
|
+
}, z.core.$strict>], "type">;
|
|
1570
2347
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
1571
2348
|
resource: z.ZodString;
|
|
1572
2349
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1573
2350
|
field: z.ZodString;
|
|
1574
2351
|
as: z.ZodOptional<z.ZodString>;
|
|
1575
2352
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1576
|
-
hour: "hour";
|
|
1577
2353
|
day: "day";
|
|
1578
2354
|
week: "week";
|
|
1579
2355
|
month: "month";
|
|
1580
|
-
quarter: "quarter";
|
|
1581
2356
|
year: "year";
|
|
1582
2357
|
}>>;
|
|
1583
2358
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1598,20 +2373,18 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1598
2373
|
as: z.ZodString;
|
|
1599
2374
|
}, z.core.$strict>]>>>;
|
|
1600
2375
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1601
|
-
|
|
2376
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1602
2377
|
field: z.ZodString;
|
|
1603
2378
|
as: z.ZodOptional<z.ZodString>;
|
|
1604
2379
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1605
|
-
hour: "hour";
|
|
1606
2380
|
day: "day";
|
|
1607
2381
|
week: "week";
|
|
1608
2382
|
month: "month";
|
|
1609
|
-
quarter: "quarter";
|
|
1610
2383
|
year: "year";
|
|
1611
2384
|
}>>;
|
|
1612
2385
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1613
2386
|
}, z.core.$strict>]>>>;
|
|
1614
|
-
|
|
2387
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1615
2388
|
field: z.ZodString;
|
|
1616
2389
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1617
2390
|
asc: "asc";
|
|
@@ -1620,22 +2393,20 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1620
2393
|
}, z.core.$strict>>>;
|
|
1621
2394
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1622
2395
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1623
|
-
|
|
2396
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1624
2397
|
field: z.ZodString;
|
|
1625
2398
|
grain: z.ZodEnum<{
|
|
1626
|
-
hour: "hour";
|
|
1627
2399
|
day: "day";
|
|
1628
2400
|
week: "week";
|
|
1629
2401
|
month: "month";
|
|
1630
|
-
quarter: "quarter";
|
|
1631
2402
|
year: "year";
|
|
1632
2403
|
}>;
|
|
1633
2404
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1634
2405
|
}, z.core.$strict>>;
|
|
1635
2406
|
period: z.ZodOptional<z.ZodObject<{
|
|
1636
2407
|
field: z.ZodString;
|
|
1637
|
-
gte: z.ZodOptional<z.
|
|
1638
|
-
lt: z.ZodOptional<z.
|
|
2408
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2409
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1639
2410
|
}, z.core.$strict>>;
|
|
1640
2411
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1641
2412
|
field: z.ZodString;
|
|
@@ -1649,7 +2420,7 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1649
2420
|
calc: z.ZodString;
|
|
1650
2421
|
as: z.ZodString;
|
|
1651
2422
|
}, z.core.$strict>>>;
|
|
1652
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2423
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1653
2424
|
}, z.core.$strict>, z.ZodObject<{
|
|
1654
2425
|
steps: z.ZodArray<z.ZodObject<{
|
|
1655
2426
|
name: z.ZodString;
|
|
@@ -1675,11 +2446,9 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1675
2446
|
as: z.ZodString;
|
|
1676
2447
|
}, z.core.$strict>>>;
|
|
1677
2448
|
}, z.core.$strict>]>;
|
|
1678
|
-
}, z.core.$
|
|
1679
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1680
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2449
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1681
2450
|
label: z.ZodOptional<z.ZodString>;
|
|
1682
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2451
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1683
2452
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1684
2453
|
small: "small";
|
|
1685
2454
|
medium: "medium";
|
|
@@ -1689,9 +2458,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1689
2458
|
}>>;
|
|
1690
2459
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1691
2460
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
2461
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2462
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2463
|
+
id: z.ZodString;
|
|
2464
|
+
group_id: z.ZodString;
|
|
2465
|
+
order: z.ZodNumber;
|
|
1695
2466
|
target: z.ZodLiteral<"kpi_card">;
|
|
1696
2467
|
card: z.ZodObject<{
|
|
1697
2468
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1713,8 +2484,8 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1713
2484
|
text: z.ZodOptional<z.ZodString>;
|
|
1714
2485
|
field: z.ZodOptional<z.ZodString>;
|
|
1715
2486
|
}, z.core.$strict>>;
|
|
1716
|
-
comparison: z.ZodOptional<z.
|
|
1717
|
-
sparkline: z.ZodOptional<z.
|
|
2487
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2488
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1718
2489
|
}, z.core.$strict>;
|
|
1719
2490
|
query: z.ZodObject<{
|
|
1720
2491
|
resource: z.ZodString;
|
|
@@ -1722,11 +2493,9 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1722
2493
|
field: z.ZodString;
|
|
1723
2494
|
as: z.ZodOptional<z.ZodString>;
|
|
1724
2495
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1725
|
-
hour: "hour";
|
|
1726
2496
|
day: "day";
|
|
1727
2497
|
week: "week";
|
|
1728
2498
|
month: "month";
|
|
1729
|
-
quarter: "quarter";
|
|
1730
2499
|
year: "year";
|
|
1731
2500
|
}>>;
|
|
1732
2501
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1747,20 +2516,18 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1747
2516
|
as: z.ZodString;
|
|
1748
2517
|
}, z.core.$strict>]>>>;
|
|
1749
2518
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1750
|
-
|
|
2519
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1751
2520
|
field: z.ZodString;
|
|
1752
2521
|
as: z.ZodOptional<z.ZodString>;
|
|
1753
2522
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1754
|
-
hour: "hour";
|
|
1755
2523
|
day: "day";
|
|
1756
2524
|
week: "week";
|
|
1757
2525
|
month: "month";
|
|
1758
|
-
quarter: "quarter";
|
|
1759
2526
|
year: "year";
|
|
1760
2527
|
}>>;
|
|
1761
2528
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1762
2529
|
}, z.core.$strict>]>>>;
|
|
1763
|
-
|
|
2530
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1764
2531
|
field: z.ZodString;
|
|
1765
2532
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1766
2533
|
asc: "asc";
|
|
@@ -1769,22 +2536,20 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1769
2536
|
}, z.core.$strict>>>;
|
|
1770
2537
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1771
2538
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1772
|
-
|
|
2539
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1773
2540
|
field: z.ZodString;
|
|
1774
2541
|
grain: z.ZodEnum<{
|
|
1775
|
-
hour: "hour";
|
|
1776
2542
|
day: "day";
|
|
1777
2543
|
week: "week";
|
|
1778
2544
|
month: "month";
|
|
1779
|
-
quarter: "quarter";
|
|
1780
2545
|
year: "year";
|
|
1781
2546
|
}>;
|
|
1782
2547
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1783
2548
|
}, z.core.$strict>>;
|
|
1784
2549
|
period: z.ZodOptional<z.ZodObject<{
|
|
1785
2550
|
field: z.ZodString;
|
|
1786
|
-
gte: z.ZodOptional<z.
|
|
1787
|
-
lt: z.ZodOptional<z.
|
|
2551
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2552
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1788
2553
|
}, z.core.$strict>>;
|
|
1789
2554
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1790
2555
|
field: z.ZodString;
|
|
@@ -1798,13 +2563,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1798
2563
|
calc: z.ZodString;
|
|
1799
2564
|
as: z.ZodString;
|
|
1800
2565
|
}, z.core.$strict>>>;
|
|
1801
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2566
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1802
2567
|
}, z.core.$strict>;
|
|
1803
|
-
}, z.core.$
|
|
1804
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2568
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1806
2569
|
label: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2570
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1808
2571
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1809
2572
|
small: "small";
|
|
1810
2573
|
medium: "medium";
|
|
@@ -1814,9 +2577,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1814
2577
|
}>>;
|
|
1815
2578
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1816
2579
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
2580
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2581
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2582
|
+
id: z.ZodString;
|
|
2583
|
+
group_id: z.ZodString;
|
|
2584
|
+
order: z.ZodNumber;
|
|
1820
2585
|
target: z.ZodLiteral<"gauge_card">;
|
|
1821
2586
|
card: z.ZodObject<{
|
|
1822
2587
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1840,9 +2605,9 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1840
2605
|
label: z.ZodOptional<z.ZodString>;
|
|
1841
2606
|
}, z.core.$strict>>;
|
|
1842
2607
|
progress: z.ZodOptional<z.ZodObject<{
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
2608
|
+
value_field: z.ZodString;
|
|
2609
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
2610
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
1846
2611
|
format: z.ZodOptional<z.ZodEnum<{
|
|
1847
2612
|
number: "number";
|
|
1848
2613
|
compact_number: "compact_number";
|
|
@@ -1861,11 +2626,9 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1861
2626
|
field: z.ZodString;
|
|
1862
2627
|
as: z.ZodOptional<z.ZodString>;
|
|
1863
2628
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1864
|
-
hour: "hour";
|
|
1865
2629
|
day: "day";
|
|
1866
2630
|
week: "week";
|
|
1867
2631
|
month: "month";
|
|
1868
|
-
quarter: "quarter";
|
|
1869
2632
|
year: "year";
|
|
1870
2633
|
}>>;
|
|
1871
2634
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1886,20 +2649,18 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1886
2649
|
as: z.ZodString;
|
|
1887
2650
|
}, z.core.$strict>]>>>;
|
|
1888
2651
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1889
|
-
|
|
2652
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1890
2653
|
field: z.ZodString;
|
|
1891
2654
|
as: z.ZodOptional<z.ZodString>;
|
|
1892
2655
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1893
|
-
hour: "hour";
|
|
1894
2656
|
day: "day";
|
|
1895
2657
|
week: "week";
|
|
1896
2658
|
month: "month";
|
|
1897
|
-
quarter: "quarter";
|
|
1898
2659
|
year: "year";
|
|
1899
2660
|
}>>;
|
|
1900
2661
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1901
2662
|
}, z.core.$strict>]>>>;
|
|
1902
|
-
|
|
2663
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1903
2664
|
field: z.ZodString;
|
|
1904
2665
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1905
2666
|
asc: "asc";
|
|
@@ -1908,22 +2669,20 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1908
2669
|
}, z.core.$strict>>>;
|
|
1909
2670
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1910
2671
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1911
|
-
|
|
2672
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1912
2673
|
field: z.ZodString;
|
|
1913
2674
|
grain: z.ZodEnum<{
|
|
1914
|
-
hour: "hour";
|
|
1915
2675
|
day: "day";
|
|
1916
2676
|
week: "week";
|
|
1917
2677
|
month: "month";
|
|
1918
|
-
quarter: "quarter";
|
|
1919
2678
|
year: "year";
|
|
1920
2679
|
}>;
|
|
1921
2680
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1922
2681
|
}, z.core.$strict>>;
|
|
1923
2682
|
period: z.ZodOptional<z.ZodObject<{
|
|
1924
2683
|
field: z.ZodString;
|
|
1925
|
-
gte: z.ZodOptional<z.
|
|
1926
|
-
lt: z.ZodOptional<z.
|
|
2684
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2685
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1927
2686
|
}, z.core.$strict>>;
|
|
1928
2687
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1929
2688
|
field: z.ZodString;
|
|
@@ -1937,13 +2696,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1937
2696
|
calc: z.ZodString;
|
|
1938
2697
|
as: z.ZodString;
|
|
1939
2698
|
}, z.core.$strict>>>;
|
|
1940
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2699
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1941
2700
|
}, z.core.$strict>;
|
|
1942
|
-
}, z.core.$
|
|
1943
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1944
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2701
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1945
2702
|
label: z.ZodOptional<z.ZodString>;
|
|
1946
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2703
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1947
2704
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1948
2705
|
small: "small";
|
|
1949
2706
|
medium: "medium";
|
|
@@ -1953,9 +2710,11 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1953
2710
|
}>>;
|
|
1954
2711
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1955
2712
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
2713
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2714
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2715
|
+
id: z.ZodString;
|
|
2716
|
+
group_id: z.ZodString;
|
|
2717
|
+
order: z.ZodNumber;
|
|
1959
2718
|
target: z.ZodLiteral<"pivot_table">;
|
|
1960
2719
|
pivot: z.ZodObject<{
|
|
1961
2720
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -2011,11 +2770,9 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2011
2770
|
field: z.ZodString;
|
|
2012
2771
|
as: z.ZodOptional<z.ZodString>;
|
|
2013
2772
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2014
|
-
hour: "hour";
|
|
2015
2773
|
day: "day";
|
|
2016
2774
|
week: "week";
|
|
2017
2775
|
month: "month";
|
|
2018
|
-
quarter: "quarter";
|
|
2019
2776
|
year: "year";
|
|
2020
2777
|
}>>;
|
|
2021
2778
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2036,20 +2793,18 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2036
2793
|
as: z.ZodString;
|
|
2037
2794
|
}, z.core.$strict>]>>>;
|
|
2038
2795
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2039
|
-
|
|
2796
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2040
2797
|
field: z.ZodString;
|
|
2041
2798
|
as: z.ZodOptional<z.ZodString>;
|
|
2042
2799
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2043
|
-
hour: "hour";
|
|
2044
2800
|
day: "day";
|
|
2045
2801
|
week: "week";
|
|
2046
2802
|
month: "month";
|
|
2047
|
-
quarter: "quarter";
|
|
2048
2803
|
year: "year";
|
|
2049
2804
|
}>>;
|
|
2050
2805
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2051
2806
|
}, z.core.$strict>]>>>;
|
|
2052
|
-
|
|
2807
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2053
2808
|
field: z.ZodString;
|
|
2054
2809
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2055
2810
|
asc: "asc";
|
|
@@ -2058,22 +2813,20 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2058
2813
|
}, z.core.$strict>>>;
|
|
2059
2814
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2060
2815
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2061
|
-
|
|
2816
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2062
2817
|
field: z.ZodString;
|
|
2063
2818
|
grain: z.ZodEnum<{
|
|
2064
|
-
hour: "hour";
|
|
2065
2819
|
day: "day";
|
|
2066
2820
|
week: "week";
|
|
2067
2821
|
month: "month";
|
|
2068
|
-
quarter: "quarter";
|
|
2069
2822
|
year: "year";
|
|
2070
2823
|
}>;
|
|
2071
2824
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2072
2825
|
}, z.core.$strict>>;
|
|
2073
2826
|
period: z.ZodOptional<z.ZodObject<{
|
|
2074
2827
|
field: z.ZodString;
|
|
2075
|
-
gte: z.ZodOptional<z.
|
|
2076
|
-
lt: z.ZodOptional<z.
|
|
2828
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2829
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2077
2830
|
}, z.core.$strict>>;
|
|
2078
2831
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2079
2832
|
field: z.ZodString;
|
|
@@ -2087,6 +2840,6 @@ export declare const StoredWidgetConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2087
2840
|
calc: z.ZodString;
|
|
2088
2841
|
as: z.ZodString;
|
|
2089
2842
|
}, z.core.$strict>>>;
|
|
2090
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2843
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2091
2844
|
}, z.core.$strict>;
|
|
2092
|
-
}, z.core.$
|
|
2845
|
+
}, z.core.$strict>], "target">;
|