@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/api.d.ts
CHANGED
|
@@ -10,19 +10,17 @@ export declare const DashboardGroupZodSchema: z.ZodObject<{
|
|
|
10
10
|
id: z.ZodString;
|
|
11
11
|
label: z.ZodString;
|
|
12
12
|
order: z.ZodNumber;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$strict>;
|
|
14
14
|
export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
15
15
|
version: z.ZodNumber;
|
|
16
16
|
groups: z.ZodArray<z.ZodObject<{
|
|
17
17
|
id: z.ZodString;
|
|
18
18
|
label: z.ZodString;
|
|
19
19
|
order: z.ZodNumber;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$strict>>;
|
|
21
21
|
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
|
-
id: z.ZodOptional<z.ZodString>;
|
|
23
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
24
22
|
label: z.ZodOptional<z.ZodString>;
|
|
25
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
23
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
26
24
|
size: z.ZodOptional<z.ZodEnum<{
|
|
27
25
|
small: "small";
|
|
28
26
|
medium: "medium";
|
|
@@ -32,15 +30,15 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
32
30
|
}>>;
|
|
33
31
|
width: z.ZodOptional<z.ZodNumber>;
|
|
34
32
|
height: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
group_id: z.ZodString;
|
|
37
|
+
order: z.ZodNumber;
|
|
38
38
|
target: z.ZodLiteral<"empty">;
|
|
39
|
-
}, z.core.$
|
|
40
|
-
id: z.ZodOptional<z.ZodString>;
|
|
41
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
42
40
|
label: z.ZodOptional<z.ZodString>;
|
|
43
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
41
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
44
42
|
size: z.ZodOptional<z.ZodEnum<{
|
|
45
43
|
small: "small";
|
|
46
44
|
medium: "medium";
|
|
@@ -50,9 +48,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
50
48
|
}>>;
|
|
51
49
|
width: z.ZodOptional<z.ZodNumber>;
|
|
52
50
|
height: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
group_id: z.ZodString;
|
|
55
|
+
order: z.ZodNumber;
|
|
56
56
|
target: z.ZodLiteral<"table">;
|
|
57
57
|
table: z.ZodOptional<z.ZodObject<{
|
|
58
58
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -69,7 +69,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
69
69
|
}>>;
|
|
70
70
|
}, z.core.$strict>]>>>;
|
|
71
71
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
-
|
|
72
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
73
73
|
}, z.core.$strict>>;
|
|
74
74
|
query: z.ZodObject<{
|
|
75
75
|
resource: z.ZodString;
|
|
@@ -77,11 +77,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
77
77
|
field: z.ZodString;
|
|
78
78
|
as: z.ZodOptional<z.ZodString>;
|
|
79
79
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
hour: "hour";
|
|
81
80
|
day: "day";
|
|
82
81
|
week: "week";
|
|
83
82
|
month: "month";
|
|
84
|
-
quarter: "quarter";
|
|
85
83
|
year: "year";
|
|
86
84
|
}>>;
|
|
87
85
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -102,20 +100,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
102
100
|
as: z.ZodString;
|
|
103
101
|
}, z.core.$strict>]>>>;
|
|
104
102
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
105
|
-
|
|
103
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
106
104
|
field: z.ZodString;
|
|
107
105
|
as: z.ZodOptional<z.ZodString>;
|
|
108
106
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
109
|
-
hour: "hour";
|
|
110
107
|
day: "day";
|
|
111
108
|
week: "week";
|
|
112
109
|
month: "month";
|
|
113
|
-
quarter: "quarter";
|
|
114
110
|
year: "year";
|
|
115
111
|
}>>;
|
|
116
112
|
timezone: z.ZodOptional<z.ZodString>;
|
|
117
113
|
}, z.core.$strict>]>>>;
|
|
118
|
-
|
|
114
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
115
|
field: z.ZodString;
|
|
120
116
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
121
117
|
asc: "asc";
|
|
@@ -124,22 +120,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
124
120
|
}, z.core.$strict>>>;
|
|
125
121
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
126
122
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
127
|
-
|
|
123
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
128
124
|
field: z.ZodString;
|
|
129
125
|
grain: z.ZodEnum<{
|
|
130
|
-
hour: "hour";
|
|
131
126
|
day: "day";
|
|
132
127
|
week: "week";
|
|
133
128
|
month: "month";
|
|
134
|
-
quarter: "quarter";
|
|
135
129
|
year: "year";
|
|
136
130
|
}>;
|
|
137
131
|
timezone: z.ZodOptional<z.ZodString>;
|
|
138
132
|
}, z.core.$strict>>;
|
|
139
133
|
period: z.ZodOptional<z.ZodObject<{
|
|
140
134
|
field: z.ZodString;
|
|
141
|
-
gte: z.ZodOptional<z.
|
|
142
|
-
lt: z.ZodOptional<z.
|
|
135
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
136
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
143
137
|
}, z.core.$strict>>;
|
|
144
138
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
145
139
|
field: z.ZodString;
|
|
@@ -153,13 +147,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
153
147
|
calc: z.ZodString;
|
|
154
148
|
as: z.ZodString;
|
|
155
149
|
}, z.core.$strict>>>;
|
|
156
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
150
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
157
151
|
}, z.core.$strict>;
|
|
158
|
-
}, z.core.$
|
|
159
|
-
id: z.ZodOptional<z.ZodString>;
|
|
160
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
161
153
|
label: z.ZodOptional<z.ZodString>;
|
|
162
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
154
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
163
155
|
size: z.ZodOptional<z.ZodEnum<{
|
|
164
156
|
small: "small";
|
|
165
157
|
medium: "medium";
|
|
@@ -169,9 +161,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
169
161
|
}>>;
|
|
170
162
|
width: z.ZodOptional<z.ZodNumber>;
|
|
171
163
|
height: z.ZodOptional<z.ZodNumber>;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
164
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
166
|
+
id: z.ZodString;
|
|
167
|
+
group_id: z.ZodString;
|
|
168
|
+
order: z.ZodNumber;
|
|
175
169
|
target: z.ZodLiteral<"chart">;
|
|
176
170
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
177
171
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -208,7 +202,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
208
202
|
}, z.core.$strict>>;
|
|
209
203
|
color: z.ZodOptional<z.ZodString>;
|
|
210
204
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
211
|
-
}, z.core.$
|
|
205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
212
206
|
title: z.ZodOptional<z.ZodString>;
|
|
213
207
|
type: z.ZodLiteral<"bar">;
|
|
214
208
|
x: z.ZodObject<{
|
|
@@ -238,7 +232,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
238
232
|
}>>;
|
|
239
233
|
}, z.core.$strict>;
|
|
240
234
|
color: z.ZodOptional<z.ZodString>;
|
|
241
|
-
}, z.core.$
|
|
235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
242
236
|
title: z.ZodOptional<z.ZodString>;
|
|
243
237
|
type: z.ZodLiteral<"stacked_bar">;
|
|
244
238
|
x: z.ZodObject<{
|
|
@@ -284,7 +278,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
284
278
|
label: z.ZodOptional<z.ZodString>;
|
|
285
279
|
}, z.core.$strict>>;
|
|
286
280
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
287
|
-
}, z.core.$
|
|
281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
288
282
|
title: z.ZodOptional<z.ZodString>;
|
|
289
283
|
type: z.ZodLiteral<"pie">;
|
|
290
284
|
label: z.ZodObject<{
|
|
@@ -314,7 +308,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
314
308
|
}>>;
|
|
315
309
|
}, z.core.$strict>;
|
|
316
310
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
317
|
-
}, z.core.$
|
|
311
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
318
312
|
title: z.ZodOptional<z.ZodString>;
|
|
319
313
|
type: z.ZodLiteral<"histogram">;
|
|
320
314
|
x: z.ZodObject<{
|
|
@@ -349,7 +343,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
349
343
|
max: z.ZodOptional<z.ZodNumber>;
|
|
350
344
|
}, z.core.$strict>>>;
|
|
351
345
|
color: z.ZodOptional<z.ZodString>;
|
|
352
|
-
}, z.core.$
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
353
347
|
title: z.ZodOptional<z.ZodString>;
|
|
354
348
|
type: z.ZodLiteral<"funnel">;
|
|
355
349
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -379,18 +373,16 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
379
373
|
}>>;
|
|
380
374
|
}, z.core.$strict>>;
|
|
381
375
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
382
|
-
}, z.core.$
|
|
376
|
+
}, z.core.$strict>], "type">;
|
|
383
377
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
384
378
|
resource: z.ZodString;
|
|
385
379
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
386
380
|
field: z.ZodString;
|
|
387
381
|
as: z.ZodOptional<z.ZodString>;
|
|
388
382
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
389
|
-
hour: "hour";
|
|
390
383
|
day: "day";
|
|
391
384
|
week: "week";
|
|
392
385
|
month: "month";
|
|
393
|
-
quarter: "quarter";
|
|
394
386
|
year: "year";
|
|
395
387
|
}>>;
|
|
396
388
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -411,20 +403,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
411
403
|
as: z.ZodString;
|
|
412
404
|
}, z.core.$strict>]>>>;
|
|
413
405
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
414
|
-
|
|
406
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
415
407
|
field: z.ZodString;
|
|
416
408
|
as: z.ZodOptional<z.ZodString>;
|
|
417
409
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
418
|
-
hour: "hour";
|
|
419
410
|
day: "day";
|
|
420
411
|
week: "week";
|
|
421
412
|
month: "month";
|
|
422
|
-
quarter: "quarter";
|
|
423
413
|
year: "year";
|
|
424
414
|
}>>;
|
|
425
415
|
timezone: z.ZodOptional<z.ZodString>;
|
|
426
416
|
}, z.core.$strict>]>>>;
|
|
427
|
-
|
|
417
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
428
418
|
field: z.ZodString;
|
|
429
419
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
430
420
|
asc: "asc";
|
|
@@ -433,22 +423,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
433
423
|
}, z.core.$strict>>>;
|
|
434
424
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
435
425
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
436
|
-
|
|
426
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
437
427
|
field: z.ZodString;
|
|
438
428
|
grain: z.ZodEnum<{
|
|
439
|
-
hour: "hour";
|
|
440
429
|
day: "day";
|
|
441
430
|
week: "week";
|
|
442
431
|
month: "month";
|
|
443
|
-
quarter: "quarter";
|
|
444
432
|
year: "year";
|
|
445
433
|
}>;
|
|
446
434
|
timezone: z.ZodOptional<z.ZodString>;
|
|
447
435
|
}, z.core.$strict>>;
|
|
448
436
|
period: z.ZodOptional<z.ZodObject<{
|
|
449
437
|
field: z.ZodString;
|
|
450
|
-
gte: z.ZodOptional<z.
|
|
451
|
-
lt: z.ZodOptional<z.
|
|
438
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
439
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
452
440
|
}, z.core.$strict>>;
|
|
453
441
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
454
442
|
field: z.ZodString;
|
|
@@ -462,7 +450,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
462
450
|
calc: z.ZodString;
|
|
463
451
|
as: z.ZodString;
|
|
464
452
|
}, z.core.$strict>>>;
|
|
465
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
453
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
466
454
|
}, z.core.$strict>, z.ZodObject<{
|
|
467
455
|
steps: z.ZodArray<z.ZodObject<{
|
|
468
456
|
name: z.ZodString;
|
|
@@ -488,11 +476,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
488
476
|
as: z.ZodString;
|
|
489
477
|
}, z.core.$strict>>>;
|
|
490
478
|
}, z.core.$strict>]>;
|
|
491
|
-
}, z.core.$
|
|
492
|
-
id: z.ZodOptional<z.ZodString>;
|
|
493
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
494
480
|
label: z.ZodOptional<z.ZodString>;
|
|
495
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
481
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
496
482
|
size: z.ZodOptional<z.ZodEnum<{
|
|
497
483
|
small: "small";
|
|
498
484
|
medium: "medium";
|
|
@@ -502,9 +488,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
502
488
|
}>>;
|
|
503
489
|
width: z.ZodOptional<z.ZodNumber>;
|
|
504
490
|
height: z.ZodOptional<z.ZodNumber>;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
491
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
492
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
493
|
+
id: z.ZodString;
|
|
494
|
+
group_id: z.ZodString;
|
|
495
|
+
order: z.ZodNumber;
|
|
508
496
|
target: z.ZodLiteral<"kpi_card">;
|
|
509
497
|
card: z.ZodObject<{
|
|
510
498
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -526,8 +514,8 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
526
514
|
text: z.ZodOptional<z.ZodString>;
|
|
527
515
|
field: z.ZodOptional<z.ZodString>;
|
|
528
516
|
}, z.core.$strict>>;
|
|
529
|
-
comparison: z.ZodOptional<z.
|
|
530
|
-
sparkline: z.ZodOptional<z.
|
|
517
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
518
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
531
519
|
}, z.core.$strict>;
|
|
532
520
|
query: z.ZodObject<{
|
|
533
521
|
resource: z.ZodString;
|
|
@@ -535,11 +523,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
535
523
|
field: z.ZodString;
|
|
536
524
|
as: z.ZodOptional<z.ZodString>;
|
|
537
525
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
538
|
-
hour: "hour";
|
|
539
526
|
day: "day";
|
|
540
527
|
week: "week";
|
|
541
528
|
month: "month";
|
|
542
|
-
quarter: "quarter";
|
|
543
529
|
year: "year";
|
|
544
530
|
}>>;
|
|
545
531
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -560,20 +546,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
560
546
|
as: z.ZodString;
|
|
561
547
|
}, z.core.$strict>]>>>;
|
|
562
548
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
563
|
-
|
|
549
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
564
550
|
field: z.ZodString;
|
|
565
551
|
as: z.ZodOptional<z.ZodString>;
|
|
566
552
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
567
|
-
hour: "hour";
|
|
568
553
|
day: "day";
|
|
569
554
|
week: "week";
|
|
570
555
|
month: "month";
|
|
571
|
-
quarter: "quarter";
|
|
572
556
|
year: "year";
|
|
573
557
|
}>>;
|
|
574
558
|
timezone: z.ZodOptional<z.ZodString>;
|
|
575
559
|
}, z.core.$strict>]>>>;
|
|
576
|
-
|
|
560
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
577
561
|
field: z.ZodString;
|
|
578
562
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
579
563
|
asc: "asc";
|
|
@@ -582,22 +566,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
582
566
|
}, z.core.$strict>>>;
|
|
583
567
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
584
568
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
585
|
-
|
|
569
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
586
570
|
field: z.ZodString;
|
|
587
571
|
grain: z.ZodEnum<{
|
|
588
|
-
hour: "hour";
|
|
589
572
|
day: "day";
|
|
590
573
|
week: "week";
|
|
591
574
|
month: "month";
|
|
592
|
-
quarter: "quarter";
|
|
593
575
|
year: "year";
|
|
594
576
|
}>;
|
|
595
577
|
timezone: z.ZodOptional<z.ZodString>;
|
|
596
578
|
}, z.core.$strict>>;
|
|
597
579
|
period: z.ZodOptional<z.ZodObject<{
|
|
598
580
|
field: z.ZodString;
|
|
599
|
-
gte: z.ZodOptional<z.
|
|
600
|
-
lt: z.ZodOptional<z.
|
|
581
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
582
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
601
583
|
}, z.core.$strict>>;
|
|
602
584
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
603
585
|
field: z.ZodString;
|
|
@@ -611,13 +593,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
611
593
|
calc: z.ZodString;
|
|
612
594
|
as: z.ZodString;
|
|
613
595
|
}, z.core.$strict>>>;
|
|
614
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
596
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
615
597
|
}, z.core.$strict>;
|
|
616
|
-
}, z.core.$
|
|
617
|
-
id: z.ZodOptional<z.ZodString>;
|
|
618
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
619
599
|
label: z.ZodOptional<z.ZodString>;
|
|
620
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
600
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
621
601
|
size: z.ZodOptional<z.ZodEnum<{
|
|
622
602
|
small: "small";
|
|
623
603
|
medium: "medium";
|
|
@@ -627,9 +607,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
627
607
|
}>>;
|
|
628
608
|
width: z.ZodOptional<z.ZodNumber>;
|
|
629
609
|
height: z.ZodOptional<z.ZodNumber>;
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
610
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
612
|
+
id: z.ZodString;
|
|
613
|
+
group_id: z.ZodString;
|
|
614
|
+
order: z.ZodNumber;
|
|
633
615
|
target: z.ZodLiteral<"gauge_card">;
|
|
634
616
|
card: z.ZodObject<{
|
|
635
617
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -653,9 +635,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
653
635
|
label: z.ZodOptional<z.ZodString>;
|
|
654
636
|
}, z.core.$strict>>;
|
|
655
637
|
progress: z.ZodOptional<z.ZodObject<{
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
638
|
+
value_field: z.ZodString;
|
|
639
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
640
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
659
641
|
format: z.ZodOptional<z.ZodEnum<{
|
|
660
642
|
number: "number";
|
|
661
643
|
compact_number: "compact_number";
|
|
@@ -674,11 +656,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
674
656
|
field: z.ZodString;
|
|
675
657
|
as: z.ZodOptional<z.ZodString>;
|
|
676
658
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
677
|
-
hour: "hour";
|
|
678
659
|
day: "day";
|
|
679
660
|
week: "week";
|
|
680
661
|
month: "month";
|
|
681
|
-
quarter: "quarter";
|
|
682
662
|
year: "year";
|
|
683
663
|
}>>;
|
|
684
664
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -699,20 +679,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
699
679
|
as: z.ZodString;
|
|
700
680
|
}, z.core.$strict>]>>>;
|
|
701
681
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
702
|
-
|
|
682
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
703
683
|
field: z.ZodString;
|
|
704
684
|
as: z.ZodOptional<z.ZodString>;
|
|
705
685
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
706
|
-
hour: "hour";
|
|
707
686
|
day: "day";
|
|
708
687
|
week: "week";
|
|
709
688
|
month: "month";
|
|
710
|
-
quarter: "quarter";
|
|
711
689
|
year: "year";
|
|
712
690
|
}>>;
|
|
713
691
|
timezone: z.ZodOptional<z.ZodString>;
|
|
714
692
|
}, z.core.$strict>]>>>;
|
|
715
|
-
|
|
693
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
694
|
field: z.ZodString;
|
|
717
695
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
718
696
|
asc: "asc";
|
|
@@ -721,22 +699,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
721
699
|
}, z.core.$strict>>>;
|
|
722
700
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
723
701
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
724
|
-
|
|
702
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
725
703
|
field: z.ZodString;
|
|
726
704
|
grain: z.ZodEnum<{
|
|
727
|
-
hour: "hour";
|
|
728
705
|
day: "day";
|
|
729
706
|
week: "week";
|
|
730
707
|
month: "month";
|
|
731
|
-
quarter: "quarter";
|
|
732
708
|
year: "year";
|
|
733
709
|
}>;
|
|
734
710
|
timezone: z.ZodOptional<z.ZodString>;
|
|
735
711
|
}, z.core.$strict>>;
|
|
736
712
|
period: z.ZodOptional<z.ZodObject<{
|
|
737
713
|
field: z.ZodString;
|
|
738
|
-
gte: z.ZodOptional<z.
|
|
739
|
-
lt: z.ZodOptional<z.
|
|
714
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
715
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
740
716
|
}, z.core.$strict>>;
|
|
741
717
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
742
718
|
field: z.ZodString;
|
|
@@ -750,13 +726,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
750
726
|
calc: z.ZodString;
|
|
751
727
|
as: z.ZodString;
|
|
752
728
|
}, z.core.$strict>>>;
|
|
753
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
729
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
754
730
|
}, z.core.$strict>;
|
|
755
|
-
}, z.core.$
|
|
756
|
-
id: z.ZodOptional<z.ZodString>;
|
|
757
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
758
732
|
label: z.ZodOptional<z.ZodString>;
|
|
759
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
733
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
760
734
|
size: z.ZodOptional<z.ZodEnum<{
|
|
761
735
|
small: "small";
|
|
762
736
|
medium: "medium";
|
|
@@ -766,9 +740,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
766
740
|
}>>;
|
|
767
741
|
width: z.ZodOptional<z.ZodNumber>;
|
|
768
742
|
height: z.ZodOptional<z.ZodNumber>;
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
743
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
744
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
745
|
+
id: z.ZodString;
|
|
746
|
+
group_id: z.ZodString;
|
|
747
|
+
order: z.ZodNumber;
|
|
772
748
|
target: z.ZodLiteral<"pivot_table">;
|
|
773
749
|
pivot: z.ZodObject<{
|
|
774
750
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -824,11 +800,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
824
800
|
field: z.ZodString;
|
|
825
801
|
as: z.ZodOptional<z.ZodString>;
|
|
826
802
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
827
|
-
hour: "hour";
|
|
828
803
|
day: "day";
|
|
829
804
|
week: "week";
|
|
830
805
|
month: "month";
|
|
831
|
-
quarter: "quarter";
|
|
832
806
|
year: "year";
|
|
833
807
|
}>>;
|
|
834
808
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -849,20 +823,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
849
823
|
as: z.ZodString;
|
|
850
824
|
}, z.core.$strict>]>>>;
|
|
851
825
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
852
|
-
|
|
826
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
853
827
|
field: z.ZodString;
|
|
854
828
|
as: z.ZodOptional<z.ZodString>;
|
|
855
829
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
856
|
-
hour: "hour";
|
|
857
830
|
day: "day";
|
|
858
831
|
week: "week";
|
|
859
832
|
month: "month";
|
|
860
|
-
quarter: "quarter";
|
|
861
833
|
year: "year";
|
|
862
834
|
}>>;
|
|
863
835
|
timezone: z.ZodOptional<z.ZodString>;
|
|
864
836
|
}, z.core.$strict>]>>>;
|
|
865
|
-
|
|
837
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
838
|
field: z.ZodString;
|
|
867
839
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
868
840
|
asc: "asc";
|
|
@@ -871,22 +843,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
871
843
|
}, z.core.$strict>>>;
|
|
872
844
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
873
845
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
874
|
-
|
|
846
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
875
847
|
field: z.ZodString;
|
|
876
848
|
grain: z.ZodEnum<{
|
|
877
|
-
hour: "hour";
|
|
878
849
|
day: "day";
|
|
879
850
|
week: "week";
|
|
880
851
|
month: "month";
|
|
881
|
-
quarter: "quarter";
|
|
882
852
|
year: "year";
|
|
883
853
|
}>;
|
|
884
854
|
timezone: z.ZodOptional<z.ZodString>;
|
|
885
855
|
}, z.core.$strict>>;
|
|
886
856
|
period: z.ZodOptional<z.ZodObject<{
|
|
887
857
|
field: z.ZodString;
|
|
888
|
-
gte: z.ZodOptional<z.
|
|
889
|
-
lt: z.ZodOptional<z.
|
|
858
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
859
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
890
860
|
}, z.core.$strict>>;
|
|
891
861
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
892
862
|
field: z.ZodString;
|
|
@@ -900,10 +870,10 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
900
870
|
calc: z.ZodString;
|
|
901
871
|
as: z.ZodString;
|
|
902
872
|
}, z.core.$strict>>>;
|
|
903
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
873
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
904
874
|
}, z.core.$strict>;
|
|
905
|
-
}, z.core.$
|
|
906
|
-
}, z.core.$
|
|
875
|
+
}, z.core.$strict>], "target">>;
|
|
876
|
+
}, z.core.$strict>;
|
|
907
877
|
export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
908
878
|
id: z.ZodString;
|
|
909
879
|
slug: z.ZodString;
|
|
@@ -915,12 +885,10 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
915
885
|
id: z.ZodString;
|
|
916
886
|
label: z.ZodString;
|
|
917
887
|
order: z.ZodNumber;
|
|
918
|
-
}, z.core.$
|
|
888
|
+
}, z.core.$strict>>;
|
|
919
889
|
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
920
|
-
id: z.ZodOptional<z.ZodString>;
|
|
921
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
922
890
|
label: z.ZodOptional<z.ZodString>;
|
|
923
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
891
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
924
892
|
size: z.ZodOptional<z.ZodEnum<{
|
|
925
893
|
small: "small";
|
|
926
894
|
medium: "medium";
|
|
@@ -930,15 +898,15 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
930
898
|
}>>;
|
|
931
899
|
width: z.ZodOptional<z.ZodNumber>;
|
|
932
900
|
height: z.ZodOptional<z.ZodNumber>;
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
901
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
902
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
903
|
+
id: z.ZodString;
|
|
904
|
+
group_id: z.ZodString;
|
|
905
|
+
order: z.ZodNumber;
|
|
936
906
|
target: z.ZodLiteral<"empty">;
|
|
937
|
-
}, z.core.$
|
|
938
|
-
id: z.ZodOptional<z.ZodString>;
|
|
939
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
940
908
|
label: z.ZodOptional<z.ZodString>;
|
|
941
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
909
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
942
910
|
size: z.ZodOptional<z.ZodEnum<{
|
|
943
911
|
small: "small";
|
|
944
912
|
medium: "medium";
|
|
@@ -948,9 +916,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
948
916
|
}>>;
|
|
949
917
|
width: z.ZodOptional<z.ZodNumber>;
|
|
950
918
|
height: z.ZodOptional<z.ZodNumber>;
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
919
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
920
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
921
|
+
id: z.ZodString;
|
|
922
|
+
group_id: z.ZodString;
|
|
923
|
+
order: z.ZodNumber;
|
|
954
924
|
target: z.ZodLiteral<"table">;
|
|
955
925
|
table: z.ZodOptional<z.ZodObject<{
|
|
956
926
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -967,7 +937,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
967
937
|
}>>;
|
|
968
938
|
}, z.core.$strict>]>>>;
|
|
969
939
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
970
|
-
|
|
940
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
971
941
|
}, z.core.$strict>>;
|
|
972
942
|
query: z.ZodObject<{
|
|
973
943
|
resource: z.ZodString;
|
|
@@ -975,11 +945,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
975
945
|
field: z.ZodString;
|
|
976
946
|
as: z.ZodOptional<z.ZodString>;
|
|
977
947
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
978
|
-
hour: "hour";
|
|
979
948
|
day: "day";
|
|
980
949
|
week: "week";
|
|
981
950
|
month: "month";
|
|
982
|
-
quarter: "quarter";
|
|
983
951
|
year: "year";
|
|
984
952
|
}>>;
|
|
985
953
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1000,20 +968,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1000
968
|
as: z.ZodString;
|
|
1001
969
|
}, z.core.$strict>]>>>;
|
|
1002
970
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1003
|
-
|
|
971
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1004
972
|
field: z.ZodString;
|
|
1005
973
|
as: z.ZodOptional<z.ZodString>;
|
|
1006
974
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1007
|
-
hour: "hour";
|
|
1008
975
|
day: "day";
|
|
1009
976
|
week: "week";
|
|
1010
977
|
month: "month";
|
|
1011
|
-
quarter: "quarter";
|
|
1012
978
|
year: "year";
|
|
1013
979
|
}>>;
|
|
1014
980
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1015
981
|
}, z.core.$strict>]>>>;
|
|
1016
|
-
|
|
982
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1017
983
|
field: z.ZodString;
|
|
1018
984
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1019
985
|
asc: "asc";
|
|
@@ -1022,22 +988,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1022
988
|
}, z.core.$strict>>>;
|
|
1023
989
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1024
990
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1025
|
-
|
|
991
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1026
992
|
field: z.ZodString;
|
|
1027
993
|
grain: z.ZodEnum<{
|
|
1028
|
-
hour: "hour";
|
|
1029
994
|
day: "day";
|
|
1030
995
|
week: "week";
|
|
1031
996
|
month: "month";
|
|
1032
|
-
quarter: "quarter";
|
|
1033
997
|
year: "year";
|
|
1034
998
|
}>;
|
|
1035
999
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1036
1000
|
}, z.core.$strict>>;
|
|
1037
1001
|
period: z.ZodOptional<z.ZodObject<{
|
|
1038
1002
|
field: z.ZodString;
|
|
1039
|
-
gte: z.ZodOptional<z.
|
|
1040
|
-
lt: z.ZodOptional<z.
|
|
1003
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1004
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1041
1005
|
}, z.core.$strict>>;
|
|
1042
1006
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1043
1007
|
field: z.ZodString;
|
|
@@ -1051,13 +1015,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1051
1015
|
calc: z.ZodString;
|
|
1052
1016
|
as: z.ZodString;
|
|
1053
1017
|
}, z.core.$strict>>>;
|
|
1054
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1018
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1055
1019
|
}, z.core.$strict>;
|
|
1056
|
-
}, z.core.$
|
|
1057
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1058
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1059
1021
|
label: z.ZodOptional<z.ZodString>;
|
|
1060
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1022
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1061
1023
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1062
1024
|
small: "small";
|
|
1063
1025
|
medium: "medium";
|
|
@@ -1067,9 +1029,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1067
1029
|
}>>;
|
|
1068
1030
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1069
1031
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1032
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1033
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1034
|
+
id: z.ZodString;
|
|
1035
|
+
group_id: z.ZodString;
|
|
1036
|
+
order: z.ZodNumber;
|
|
1073
1037
|
target: z.ZodLiteral<"chart">;
|
|
1074
1038
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1075
1039
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1106,7 +1070,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1106
1070
|
}, z.core.$strict>>;
|
|
1107
1071
|
color: z.ZodOptional<z.ZodString>;
|
|
1108
1072
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1109
|
-
}, z.core.$
|
|
1073
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1110
1074
|
title: z.ZodOptional<z.ZodString>;
|
|
1111
1075
|
type: z.ZodLiteral<"bar">;
|
|
1112
1076
|
x: z.ZodObject<{
|
|
@@ -1136,7 +1100,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1136
1100
|
}>>;
|
|
1137
1101
|
}, z.core.$strict>;
|
|
1138
1102
|
color: z.ZodOptional<z.ZodString>;
|
|
1139
|
-
}, z.core.$
|
|
1103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1140
1104
|
title: z.ZodOptional<z.ZodString>;
|
|
1141
1105
|
type: z.ZodLiteral<"stacked_bar">;
|
|
1142
1106
|
x: z.ZodObject<{
|
|
@@ -1182,7 +1146,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1182
1146
|
label: z.ZodOptional<z.ZodString>;
|
|
1183
1147
|
}, z.core.$strict>>;
|
|
1184
1148
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1185
|
-
}, z.core.$
|
|
1149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1186
1150
|
title: z.ZodOptional<z.ZodString>;
|
|
1187
1151
|
type: z.ZodLiteral<"pie">;
|
|
1188
1152
|
label: z.ZodObject<{
|
|
@@ -1212,7 +1176,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1212
1176
|
}>>;
|
|
1213
1177
|
}, z.core.$strict>;
|
|
1214
1178
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1215
|
-
}, z.core.$
|
|
1179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1216
1180
|
title: z.ZodOptional<z.ZodString>;
|
|
1217
1181
|
type: z.ZodLiteral<"histogram">;
|
|
1218
1182
|
x: z.ZodObject<{
|
|
@@ -1247,7 +1211,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1247
1211
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1248
1212
|
}, z.core.$strict>>>;
|
|
1249
1213
|
color: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
}, z.core.$
|
|
1214
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1251
1215
|
title: z.ZodOptional<z.ZodString>;
|
|
1252
1216
|
type: z.ZodLiteral<"funnel">;
|
|
1253
1217
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -1277,18 +1241,16 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1277
1241
|
}>>;
|
|
1278
1242
|
}, z.core.$strict>>;
|
|
1279
1243
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1280
|
-
}, z.core.$
|
|
1244
|
+
}, z.core.$strict>], "type">;
|
|
1281
1245
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
1282
1246
|
resource: z.ZodString;
|
|
1283
1247
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1284
1248
|
field: z.ZodString;
|
|
1285
1249
|
as: z.ZodOptional<z.ZodString>;
|
|
1286
1250
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1287
|
-
hour: "hour";
|
|
1288
1251
|
day: "day";
|
|
1289
1252
|
week: "week";
|
|
1290
1253
|
month: "month";
|
|
1291
|
-
quarter: "quarter";
|
|
1292
1254
|
year: "year";
|
|
1293
1255
|
}>>;
|
|
1294
1256
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1309,20 +1271,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1309
1271
|
as: z.ZodString;
|
|
1310
1272
|
}, z.core.$strict>]>>>;
|
|
1311
1273
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1312
|
-
|
|
1274
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1313
1275
|
field: z.ZodString;
|
|
1314
1276
|
as: z.ZodOptional<z.ZodString>;
|
|
1315
1277
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1316
|
-
hour: "hour";
|
|
1317
1278
|
day: "day";
|
|
1318
1279
|
week: "week";
|
|
1319
1280
|
month: "month";
|
|
1320
|
-
quarter: "quarter";
|
|
1321
1281
|
year: "year";
|
|
1322
1282
|
}>>;
|
|
1323
1283
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1324
1284
|
}, z.core.$strict>]>>>;
|
|
1325
|
-
|
|
1285
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1326
1286
|
field: z.ZodString;
|
|
1327
1287
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1328
1288
|
asc: "asc";
|
|
@@ -1331,22 +1291,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1331
1291
|
}, z.core.$strict>>>;
|
|
1332
1292
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1333
1293
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1334
|
-
|
|
1294
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1335
1295
|
field: z.ZodString;
|
|
1336
1296
|
grain: z.ZodEnum<{
|
|
1337
|
-
hour: "hour";
|
|
1338
1297
|
day: "day";
|
|
1339
1298
|
week: "week";
|
|
1340
1299
|
month: "month";
|
|
1341
|
-
quarter: "quarter";
|
|
1342
1300
|
year: "year";
|
|
1343
1301
|
}>;
|
|
1344
1302
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1345
1303
|
}, z.core.$strict>>;
|
|
1346
1304
|
period: z.ZodOptional<z.ZodObject<{
|
|
1347
1305
|
field: z.ZodString;
|
|
1348
|
-
gte: z.ZodOptional<z.
|
|
1349
|
-
lt: z.ZodOptional<z.
|
|
1306
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1307
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1350
1308
|
}, z.core.$strict>>;
|
|
1351
1309
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1352
1310
|
field: z.ZodString;
|
|
@@ -1360,7 +1318,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1360
1318
|
calc: z.ZodString;
|
|
1361
1319
|
as: z.ZodString;
|
|
1362
1320
|
}, z.core.$strict>>>;
|
|
1363
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1321
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1364
1322
|
}, z.core.$strict>, z.ZodObject<{
|
|
1365
1323
|
steps: z.ZodArray<z.ZodObject<{
|
|
1366
1324
|
name: z.ZodString;
|
|
@@ -1386,11 +1344,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1386
1344
|
as: z.ZodString;
|
|
1387
1345
|
}, z.core.$strict>>>;
|
|
1388
1346
|
}, z.core.$strict>]>;
|
|
1389
|
-
}, z.core.$
|
|
1390
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1391
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1392
1348
|
label: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1349
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1394
1350
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1395
1351
|
small: "small";
|
|
1396
1352
|
medium: "medium";
|
|
@@ -1400,9 +1356,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1400
1356
|
}>>;
|
|
1401
1357
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1402
1358
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1359
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1360
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1361
|
+
id: z.ZodString;
|
|
1362
|
+
group_id: z.ZodString;
|
|
1363
|
+
order: z.ZodNumber;
|
|
1406
1364
|
target: z.ZodLiteral<"kpi_card">;
|
|
1407
1365
|
card: z.ZodObject<{
|
|
1408
1366
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1424,8 +1382,8 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1424
1382
|
text: z.ZodOptional<z.ZodString>;
|
|
1425
1383
|
field: z.ZodOptional<z.ZodString>;
|
|
1426
1384
|
}, z.core.$strict>>;
|
|
1427
|
-
comparison: z.ZodOptional<z.
|
|
1428
|
-
sparkline: z.ZodOptional<z.
|
|
1385
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1386
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1429
1387
|
}, z.core.$strict>;
|
|
1430
1388
|
query: z.ZodObject<{
|
|
1431
1389
|
resource: z.ZodString;
|
|
@@ -1433,11 +1391,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1433
1391
|
field: z.ZodString;
|
|
1434
1392
|
as: z.ZodOptional<z.ZodString>;
|
|
1435
1393
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1436
|
-
hour: "hour";
|
|
1437
1394
|
day: "day";
|
|
1438
1395
|
week: "week";
|
|
1439
1396
|
month: "month";
|
|
1440
|
-
quarter: "quarter";
|
|
1441
1397
|
year: "year";
|
|
1442
1398
|
}>>;
|
|
1443
1399
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1458,20 +1414,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1458
1414
|
as: z.ZodString;
|
|
1459
1415
|
}, z.core.$strict>]>>>;
|
|
1460
1416
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1461
|
-
|
|
1417
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1462
1418
|
field: z.ZodString;
|
|
1463
1419
|
as: z.ZodOptional<z.ZodString>;
|
|
1464
1420
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1465
|
-
hour: "hour";
|
|
1466
1421
|
day: "day";
|
|
1467
1422
|
week: "week";
|
|
1468
1423
|
month: "month";
|
|
1469
|
-
quarter: "quarter";
|
|
1470
1424
|
year: "year";
|
|
1471
1425
|
}>>;
|
|
1472
1426
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1473
1427
|
}, z.core.$strict>]>>>;
|
|
1474
|
-
|
|
1428
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1475
1429
|
field: z.ZodString;
|
|
1476
1430
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1477
1431
|
asc: "asc";
|
|
@@ -1480,22 +1434,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1480
1434
|
}, z.core.$strict>>>;
|
|
1481
1435
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1482
1436
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1483
|
-
|
|
1437
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1484
1438
|
field: z.ZodString;
|
|
1485
1439
|
grain: z.ZodEnum<{
|
|
1486
|
-
hour: "hour";
|
|
1487
1440
|
day: "day";
|
|
1488
1441
|
week: "week";
|
|
1489
1442
|
month: "month";
|
|
1490
|
-
quarter: "quarter";
|
|
1491
1443
|
year: "year";
|
|
1492
1444
|
}>;
|
|
1493
1445
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1494
1446
|
}, z.core.$strict>>;
|
|
1495
1447
|
period: z.ZodOptional<z.ZodObject<{
|
|
1496
1448
|
field: z.ZodString;
|
|
1497
|
-
gte: z.ZodOptional<z.
|
|
1498
|
-
lt: z.ZodOptional<z.
|
|
1449
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1450
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1499
1451
|
}, z.core.$strict>>;
|
|
1500
1452
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1501
1453
|
field: z.ZodString;
|
|
@@ -1509,13 +1461,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1509
1461
|
calc: z.ZodString;
|
|
1510
1462
|
as: z.ZodString;
|
|
1511
1463
|
}, z.core.$strict>>>;
|
|
1512
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1464
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1513
1465
|
}, z.core.$strict>;
|
|
1514
|
-
}, z.core.$
|
|
1515
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1516
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1517
1467
|
label: z.ZodOptional<z.ZodString>;
|
|
1518
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1468
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1519
1469
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1520
1470
|
small: "small";
|
|
1521
1471
|
medium: "medium";
|
|
@@ -1525,9 +1475,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1525
1475
|
}>>;
|
|
1526
1476
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1527
1477
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1478
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1479
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1480
|
+
id: z.ZodString;
|
|
1481
|
+
group_id: z.ZodString;
|
|
1482
|
+
order: z.ZodNumber;
|
|
1531
1483
|
target: z.ZodLiteral<"gauge_card">;
|
|
1532
1484
|
card: z.ZodObject<{
|
|
1533
1485
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1551,9 +1503,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1551
1503
|
label: z.ZodOptional<z.ZodString>;
|
|
1552
1504
|
}, z.core.$strict>>;
|
|
1553
1505
|
progress: z.ZodOptional<z.ZodObject<{
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1506
|
+
value_field: z.ZodString;
|
|
1507
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
1508
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
1557
1509
|
format: z.ZodOptional<z.ZodEnum<{
|
|
1558
1510
|
number: "number";
|
|
1559
1511
|
compact_number: "compact_number";
|
|
@@ -1572,11 +1524,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1572
1524
|
field: z.ZodString;
|
|
1573
1525
|
as: z.ZodOptional<z.ZodString>;
|
|
1574
1526
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1575
|
-
hour: "hour";
|
|
1576
1527
|
day: "day";
|
|
1577
1528
|
week: "week";
|
|
1578
1529
|
month: "month";
|
|
1579
|
-
quarter: "quarter";
|
|
1580
1530
|
year: "year";
|
|
1581
1531
|
}>>;
|
|
1582
1532
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1597,20 +1547,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1597
1547
|
as: z.ZodString;
|
|
1598
1548
|
}, z.core.$strict>]>>>;
|
|
1599
1549
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1600
|
-
|
|
1550
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1601
1551
|
field: z.ZodString;
|
|
1602
1552
|
as: z.ZodOptional<z.ZodString>;
|
|
1603
1553
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1604
|
-
hour: "hour";
|
|
1605
1554
|
day: "day";
|
|
1606
1555
|
week: "week";
|
|
1607
1556
|
month: "month";
|
|
1608
|
-
quarter: "quarter";
|
|
1609
1557
|
year: "year";
|
|
1610
1558
|
}>>;
|
|
1611
1559
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1612
1560
|
}, z.core.$strict>]>>>;
|
|
1613
|
-
|
|
1561
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1614
1562
|
field: z.ZodString;
|
|
1615
1563
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1616
1564
|
asc: "asc";
|
|
@@ -1619,22 +1567,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1619
1567
|
}, z.core.$strict>>>;
|
|
1620
1568
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1621
1569
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1622
|
-
|
|
1570
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1623
1571
|
field: z.ZodString;
|
|
1624
1572
|
grain: z.ZodEnum<{
|
|
1625
|
-
hour: "hour";
|
|
1626
1573
|
day: "day";
|
|
1627
1574
|
week: "week";
|
|
1628
1575
|
month: "month";
|
|
1629
|
-
quarter: "quarter";
|
|
1630
1576
|
year: "year";
|
|
1631
1577
|
}>;
|
|
1632
1578
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1633
1579
|
}, z.core.$strict>>;
|
|
1634
1580
|
period: z.ZodOptional<z.ZodObject<{
|
|
1635
1581
|
field: z.ZodString;
|
|
1636
|
-
gte: z.ZodOptional<z.
|
|
1637
|
-
lt: z.ZodOptional<z.
|
|
1582
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1583
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1638
1584
|
}, z.core.$strict>>;
|
|
1639
1585
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1640
1586
|
field: z.ZodString;
|
|
@@ -1648,13 +1594,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1648
1594
|
calc: z.ZodString;
|
|
1649
1595
|
as: z.ZodString;
|
|
1650
1596
|
}, z.core.$strict>>>;
|
|
1651
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1597
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1652
1598
|
}, z.core.$strict>;
|
|
1653
|
-
}, z.core.$
|
|
1654
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1656
1600
|
label: z.ZodOptional<z.ZodString>;
|
|
1657
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1601
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1658
1602
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1659
1603
|
small: "small";
|
|
1660
1604
|
medium: "medium";
|
|
@@ -1664,9 +1608,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1664
1608
|
}>>;
|
|
1665
1609
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1666
1610
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1611
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1612
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1613
|
+
id: z.ZodString;
|
|
1614
|
+
group_id: z.ZodString;
|
|
1615
|
+
order: z.ZodNumber;
|
|
1670
1616
|
target: z.ZodLiteral<"pivot_table">;
|
|
1671
1617
|
pivot: z.ZodObject<{
|
|
1672
1618
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1722,11 +1668,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1722
1668
|
field: z.ZodString;
|
|
1723
1669
|
as: z.ZodOptional<z.ZodString>;
|
|
1724
1670
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1725
|
-
hour: "hour";
|
|
1726
1671
|
day: "day";
|
|
1727
1672
|
week: "week";
|
|
1728
1673
|
month: "month";
|
|
1729
|
-
quarter: "quarter";
|
|
1730
1674
|
year: "year";
|
|
1731
1675
|
}>>;
|
|
1732
1676
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1747,20 +1691,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1747
1691
|
as: z.ZodString;
|
|
1748
1692
|
}, z.core.$strict>]>>>;
|
|
1749
1693
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1750
|
-
|
|
1694
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1751
1695
|
field: z.ZodString;
|
|
1752
1696
|
as: z.ZodOptional<z.ZodString>;
|
|
1753
1697
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1754
|
-
hour: "hour";
|
|
1755
1698
|
day: "day";
|
|
1756
1699
|
week: "week";
|
|
1757
1700
|
month: "month";
|
|
1758
|
-
quarter: "quarter";
|
|
1759
1701
|
year: "year";
|
|
1760
1702
|
}>>;
|
|
1761
1703
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1762
1704
|
}, z.core.$strict>]>>>;
|
|
1763
|
-
|
|
1705
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1764
1706
|
field: z.ZodString;
|
|
1765
1707
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1766
1708
|
asc: "asc";
|
|
@@ -1769,22 +1711,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1769
1711
|
}, z.core.$strict>>>;
|
|
1770
1712
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1771
1713
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1772
|
-
|
|
1714
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1773
1715
|
field: z.ZodString;
|
|
1774
1716
|
grain: z.ZodEnum<{
|
|
1775
|
-
hour: "hour";
|
|
1776
1717
|
day: "day";
|
|
1777
1718
|
week: "week";
|
|
1778
1719
|
month: "month";
|
|
1779
|
-
quarter: "quarter";
|
|
1780
1720
|
year: "year";
|
|
1781
1721
|
}>;
|
|
1782
1722
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1783
1723
|
}, z.core.$strict>>;
|
|
1784
1724
|
period: z.ZodOptional<z.ZodObject<{
|
|
1785
1725
|
field: z.ZodString;
|
|
1786
|
-
gte: z.ZodOptional<z.
|
|
1787
|
-
lt: z.ZodOptional<z.
|
|
1726
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1727
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1788
1728
|
}, z.core.$strict>>;
|
|
1789
1729
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1790
1730
|
field: z.ZodString;
|
|
@@ -1798,10 +1738,10 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1798
1738
|
calc: z.ZodString;
|
|
1799
1739
|
as: z.ZodString;
|
|
1800
1740
|
}, z.core.$strict>>>;
|
|
1801
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1741
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1802
1742
|
}, z.core.$strict>;
|
|
1803
|
-
}, z.core.$
|
|
1804
|
-
}, z.core.$
|
|
1743
|
+
}, z.core.$strict>], "target">>;
|
|
1744
|
+
}, z.core.$strict>;
|
|
1805
1745
|
}, z.core.$strip>;
|
|
1806
1746
|
export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1807
1747
|
id: z.ZodString;
|
|
@@ -1814,12 +1754,10 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1814
1754
|
id: z.ZodString;
|
|
1815
1755
|
label: z.ZodString;
|
|
1816
1756
|
order: z.ZodNumber;
|
|
1817
|
-
}, z.core.$
|
|
1757
|
+
}, z.core.$strict>>;
|
|
1818
1758
|
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1819
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1820
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1821
1759
|
label: z.ZodOptional<z.ZodString>;
|
|
1822
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1760
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1823
1761
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1824
1762
|
small: "small";
|
|
1825
1763
|
medium: "medium";
|
|
@@ -1829,15 +1767,15 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1829
1767
|
}>>;
|
|
1830
1768
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1831
1769
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1770
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1771
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1772
|
+
id: z.ZodString;
|
|
1773
|
+
group_id: z.ZodString;
|
|
1774
|
+
order: z.ZodNumber;
|
|
1835
1775
|
target: z.ZodLiteral<"empty">;
|
|
1836
|
-
}, z.core.$
|
|
1837
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1838
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1839
1777
|
label: z.ZodOptional<z.ZodString>;
|
|
1840
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1778
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1841
1779
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1842
1780
|
small: "small";
|
|
1843
1781
|
medium: "medium";
|
|
@@ -1847,9 +1785,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1847
1785
|
}>>;
|
|
1848
1786
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1849
1787
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1788
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1789
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1790
|
+
id: z.ZodString;
|
|
1791
|
+
group_id: z.ZodString;
|
|
1792
|
+
order: z.ZodNumber;
|
|
1853
1793
|
target: z.ZodLiteral<"table">;
|
|
1854
1794
|
table: z.ZodOptional<z.ZodObject<{
|
|
1855
1795
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1866,7 +1806,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1866
1806
|
}>>;
|
|
1867
1807
|
}, z.core.$strict>]>>>;
|
|
1868
1808
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
1869
|
-
|
|
1809
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
1870
1810
|
}, z.core.$strict>>;
|
|
1871
1811
|
query: z.ZodObject<{
|
|
1872
1812
|
resource: z.ZodString;
|
|
@@ -1874,11 +1814,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1874
1814
|
field: z.ZodString;
|
|
1875
1815
|
as: z.ZodOptional<z.ZodString>;
|
|
1876
1816
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1877
|
-
hour: "hour";
|
|
1878
1817
|
day: "day";
|
|
1879
1818
|
week: "week";
|
|
1880
1819
|
month: "month";
|
|
1881
|
-
quarter: "quarter";
|
|
1882
1820
|
year: "year";
|
|
1883
1821
|
}>>;
|
|
1884
1822
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1899,20 +1837,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1899
1837
|
as: z.ZodString;
|
|
1900
1838
|
}, z.core.$strict>]>>>;
|
|
1901
1839
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1902
|
-
|
|
1840
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1903
1841
|
field: z.ZodString;
|
|
1904
1842
|
as: z.ZodOptional<z.ZodString>;
|
|
1905
1843
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1906
|
-
hour: "hour";
|
|
1907
1844
|
day: "day";
|
|
1908
1845
|
week: "week";
|
|
1909
1846
|
month: "month";
|
|
1910
|
-
quarter: "quarter";
|
|
1911
1847
|
year: "year";
|
|
1912
1848
|
}>>;
|
|
1913
1849
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1914
1850
|
}, z.core.$strict>]>>>;
|
|
1915
|
-
|
|
1851
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1916
1852
|
field: z.ZodString;
|
|
1917
1853
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1918
1854
|
asc: "asc";
|
|
@@ -1921,22 +1857,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1921
1857
|
}, z.core.$strict>>>;
|
|
1922
1858
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1923
1859
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1924
|
-
|
|
1860
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1925
1861
|
field: z.ZodString;
|
|
1926
1862
|
grain: z.ZodEnum<{
|
|
1927
|
-
hour: "hour";
|
|
1928
1863
|
day: "day";
|
|
1929
1864
|
week: "week";
|
|
1930
1865
|
month: "month";
|
|
1931
|
-
quarter: "quarter";
|
|
1932
1866
|
year: "year";
|
|
1933
1867
|
}>;
|
|
1934
1868
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1935
1869
|
}, z.core.$strict>>;
|
|
1936
1870
|
period: z.ZodOptional<z.ZodObject<{
|
|
1937
1871
|
field: z.ZodString;
|
|
1938
|
-
gte: z.ZodOptional<z.
|
|
1939
|
-
lt: z.ZodOptional<z.
|
|
1872
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1873
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1940
1874
|
}, z.core.$strict>>;
|
|
1941
1875
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1942
1876
|
field: z.ZodString;
|
|
@@ -1950,13 +1884,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1950
1884
|
calc: z.ZodString;
|
|
1951
1885
|
as: z.ZodString;
|
|
1952
1886
|
}, z.core.$strict>>>;
|
|
1953
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1887
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1954
1888
|
}, z.core.$strict>;
|
|
1955
|
-
}, z.core.$
|
|
1956
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1957
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1889
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1958
1890
|
label: z.ZodOptional<z.ZodString>;
|
|
1959
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1891
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1960
1892
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1961
1893
|
small: "small";
|
|
1962
1894
|
medium: "medium";
|
|
@@ -1966,9 +1898,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1966
1898
|
}>>;
|
|
1967
1899
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1968
1900
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1901
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
1902
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1903
|
+
id: z.ZodString;
|
|
1904
|
+
group_id: z.ZodString;
|
|
1905
|
+
order: z.ZodNumber;
|
|
1972
1906
|
target: z.ZodLiteral<"chart">;
|
|
1973
1907
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1974
1908
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2005,7 +1939,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2005
1939
|
}, z.core.$strict>>;
|
|
2006
1940
|
color: z.ZodOptional<z.ZodString>;
|
|
2007
1941
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2008
|
-
}, z.core.$
|
|
1942
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2009
1943
|
title: z.ZodOptional<z.ZodString>;
|
|
2010
1944
|
type: z.ZodLiteral<"bar">;
|
|
2011
1945
|
x: z.ZodObject<{
|
|
@@ -2035,7 +1969,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2035
1969
|
}>>;
|
|
2036
1970
|
}, z.core.$strict>;
|
|
2037
1971
|
color: z.ZodOptional<z.ZodString>;
|
|
2038
|
-
}, z.core.$
|
|
1972
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2039
1973
|
title: z.ZodOptional<z.ZodString>;
|
|
2040
1974
|
type: z.ZodLiteral<"stacked_bar">;
|
|
2041
1975
|
x: z.ZodObject<{
|
|
@@ -2081,7 +2015,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2081
2015
|
label: z.ZodOptional<z.ZodString>;
|
|
2082
2016
|
}, z.core.$strict>>;
|
|
2083
2017
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2084
|
-
}, z.core.$
|
|
2018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2085
2019
|
title: z.ZodOptional<z.ZodString>;
|
|
2086
2020
|
type: z.ZodLiteral<"pie">;
|
|
2087
2021
|
label: z.ZodObject<{
|
|
@@ -2111,7 +2045,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2111
2045
|
}>>;
|
|
2112
2046
|
}, z.core.$strict>;
|
|
2113
2047
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2114
|
-
}, z.core.$
|
|
2048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2115
2049
|
title: z.ZodOptional<z.ZodString>;
|
|
2116
2050
|
type: z.ZodLiteral<"histogram">;
|
|
2117
2051
|
x: z.ZodObject<{
|
|
@@ -2146,7 +2080,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2146
2080
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2147
2081
|
}, z.core.$strict>>>;
|
|
2148
2082
|
color: z.ZodOptional<z.ZodString>;
|
|
2149
|
-
}, z.core.$
|
|
2083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2150
2084
|
title: z.ZodOptional<z.ZodString>;
|
|
2151
2085
|
type: z.ZodLiteral<"funnel">;
|
|
2152
2086
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -2176,18 +2110,16 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2176
2110
|
}>>;
|
|
2177
2111
|
}, z.core.$strict>>;
|
|
2178
2112
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2179
|
-
}, z.core.$
|
|
2113
|
+
}, z.core.$strict>], "type">;
|
|
2180
2114
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
2181
2115
|
resource: z.ZodString;
|
|
2182
2116
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2183
2117
|
field: z.ZodString;
|
|
2184
2118
|
as: z.ZodOptional<z.ZodString>;
|
|
2185
2119
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2186
|
-
hour: "hour";
|
|
2187
2120
|
day: "day";
|
|
2188
2121
|
week: "week";
|
|
2189
2122
|
month: "month";
|
|
2190
|
-
quarter: "quarter";
|
|
2191
2123
|
year: "year";
|
|
2192
2124
|
}>>;
|
|
2193
2125
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2208,20 +2140,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2208
2140
|
as: z.ZodString;
|
|
2209
2141
|
}, z.core.$strict>]>>>;
|
|
2210
2142
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2211
|
-
|
|
2143
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2212
2144
|
field: z.ZodString;
|
|
2213
2145
|
as: z.ZodOptional<z.ZodString>;
|
|
2214
2146
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2215
|
-
hour: "hour";
|
|
2216
2147
|
day: "day";
|
|
2217
2148
|
week: "week";
|
|
2218
2149
|
month: "month";
|
|
2219
|
-
quarter: "quarter";
|
|
2220
2150
|
year: "year";
|
|
2221
2151
|
}>>;
|
|
2222
2152
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2223
2153
|
}, z.core.$strict>]>>>;
|
|
2224
|
-
|
|
2154
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2225
2155
|
field: z.ZodString;
|
|
2226
2156
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2227
2157
|
asc: "asc";
|
|
@@ -2230,22 +2160,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2230
2160
|
}, z.core.$strict>>>;
|
|
2231
2161
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2232
2162
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2233
|
-
|
|
2163
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2234
2164
|
field: z.ZodString;
|
|
2235
2165
|
grain: z.ZodEnum<{
|
|
2236
|
-
hour: "hour";
|
|
2237
2166
|
day: "day";
|
|
2238
2167
|
week: "week";
|
|
2239
2168
|
month: "month";
|
|
2240
|
-
quarter: "quarter";
|
|
2241
2169
|
year: "year";
|
|
2242
2170
|
}>;
|
|
2243
2171
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2244
2172
|
}, z.core.$strict>>;
|
|
2245
2173
|
period: z.ZodOptional<z.ZodObject<{
|
|
2246
2174
|
field: z.ZodString;
|
|
2247
|
-
gte: z.ZodOptional<z.
|
|
2248
|
-
lt: z.ZodOptional<z.
|
|
2175
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2176
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2249
2177
|
}, z.core.$strict>>;
|
|
2250
2178
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2251
2179
|
field: z.ZodString;
|
|
@@ -2259,7 +2187,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2259
2187
|
calc: z.ZodString;
|
|
2260
2188
|
as: z.ZodString;
|
|
2261
2189
|
}, z.core.$strict>>>;
|
|
2262
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2190
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2263
2191
|
}, z.core.$strict>, z.ZodObject<{
|
|
2264
2192
|
steps: z.ZodArray<z.ZodObject<{
|
|
2265
2193
|
name: z.ZodString;
|
|
@@ -2285,11 +2213,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2285
2213
|
as: z.ZodString;
|
|
2286
2214
|
}, z.core.$strict>>>;
|
|
2287
2215
|
}, z.core.$strict>]>;
|
|
2288
|
-
}, z.core.$
|
|
2289
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2290
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2291
2217
|
label: z.ZodOptional<z.ZodString>;
|
|
2292
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2218
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2293
2219
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2294
2220
|
small: "small";
|
|
2295
2221
|
medium: "medium";
|
|
@@ -2299,9 +2225,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2299
2225
|
}>>;
|
|
2300
2226
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2301
2227
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2228
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2229
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2230
|
+
id: z.ZodString;
|
|
2231
|
+
group_id: z.ZodString;
|
|
2232
|
+
order: z.ZodNumber;
|
|
2305
2233
|
target: z.ZodLiteral<"kpi_card">;
|
|
2306
2234
|
card: z.ZodObject<{
|
|
2307
2235
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2323,8 +2251,8 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2323
2251
|
text: z.ZodOptional<z.ZodString>;
|
|
2324
2252
|
field: z.ZodOptional<z.ZodString>;
|
|
2325
2253
|
}, z.core.$strict>>;
|
|
2326
|
-
comparison: z.ZodOptional<z.
|
|
2327
|
-
sparkline: z.ZodOptional<z.
|
|
2254
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2255
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2328
2256
|
}, z.core.$strict>;
|
|
2329
2257
|
query: z.ZodObject<{
|
|
2330
2258
|
resource: z.ZodString;
|
|
@@ -2332,11 +2260,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2332
2260
|
field: z.ZodString;
|
|
2333
2261
|
as: z.ZodOptional<z.ZodString>;
|
|
2334
2262
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2335
|
-
hour: "hour";
|
|
2336
2263
|
day: "day";
|
|
2337
2264
|
week: "week";
|
|
2338
2265
|
month: "month";
|
|
2339
|
-
quarter: "quarter";
|
|
2340
2266
|
year: "year";
|
|
2341
2267
|
}>>;
|
|
2342
2268
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2357,20 +2283,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2357
2283
|
as: z.ZodString;
|
|
2358
2284
|
}, z.core.$strict>]>>>;
|
|
2359
2285
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2360
|
-
|
|
2286
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2361
2287
|
field: z.ZodString;
|
|
2362
2288
|
as: z.ZodOptional<z.ZodString>;
|
|
2363
2289
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2364
|
-
hour: "hour";
|
|
2365
2290
|
day: "day";
|
|
2366
2291
|
week: "week";
|
|
2367
2292
|
month: "month";
|
|
2368
|
-
quarter: "quarter";
|
|
2369
2293
|
year: "year";
|
|
2370
2294
|
}>>;
|
|
2371
2295
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2372
2296
|
}, z.core.$strict>]>>>;
|
|
2373
|
-
|
|
2297
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2374
2298
|
field: z.ZodString;
|
|
2375
2299
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2376
2300
|
asc: "asc";
|
|
@@ -2379,22 +2303,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2379
2303
|
}, z.core.$strict>>>;
|
|
2380
2304
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2381
2305
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2382
|
-
|
|
2306
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2383
2307
|
field: z.ZodString;
|
|
2384
2308
|
grain: z.ZodEnum<{
|
|
2385
|
-
hour: "hour";
|
|
2386
2309
|
day: "day";
|
|
2387
2310
|
week: "week";
|
|
2388
2311
|
month: "month";
|
|
2389
|
-
quarter: "quarter";
|
|
2390
2312
|
year: "year";
|
|
2391
2313
|
}>;
|
|
2392
2314
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2393
2315
|
}, z.core.$strict>>;
|
|
2394
2316
|
period: z.ZodOptional<z.ZodObject<{
|
|
2395
2317
|
field: z.ZodString;
|
|
2396
|
-
gte: z.ZodOptional<z.
|
|
2397
|
-
lt: z.ZodOptional<z.
|
|
2318
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2319
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2398
2320
|
}, z.core.$strict>>;
|
|
2399
2321
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2400
2322
|
field: z.ZodString;
|
|
@@ -2408,13 +2330,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2408
2330
|
calc: z.ZodString;
|
|
2409
2331
|
as: z.ZodString;
|
|
2410
2332
|
}, z.core.$strict>>>;
|
|
2411
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2333
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2412
2334
|
}, z.core.$strict>;
|
|
2413
|
-
}, z.core.$
|
|
2414
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2415
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2416
2336
|
label: z.ZodOptional<z.ZodString>;
|
|
2417
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2337
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2418
2338
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2419
2339
|
small: "small";
|
|
2420
2340
|
medium: "medium";
|
|
@@ -2424,9 +2344,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2424
2344
|
}>>;
|
|
2425
2345
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2426
2346
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2347
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2348
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2349
|
+
id: z.ZodString;
|
|
2350
|
+
group_id: z.ZodString;
|
|
2351
|
+
order: z.ZodNumber;
|
|
2430
2352
|
target: z.ZodLiteral<"gauge_card">;
|
|
2431
2353
|
card: z.ZodObject<{
|
|
2432
2354
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2450,9 +2372,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2450
2372
|
label: z.ZodOptional<z.ZodString>;
|
|
2451
2373
|
}, z.core.$strict>>;
|
|
2452
2374
|
progress: z.ZodOptional<z.ZodObject<{
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2375
|
+
value_field: z.ZodString;
|
|
2376
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
2377
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
2456
2378
|
format: z.ZodOptional<z.ZodEnum<{
|
|
2457
2379
|
number: "number";
|
|
2458
2380
|
compact_number: "compact_number";
|
|
@@ -2471,11 +2393,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2471
2393
|
field: z.ZodString;
|
|
2472
2394
|
as: z.ZodOptional<z.ZodString>;
|
|
2473
2395
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2474
|
-
hour: "hour";
|
|
2475
2396
|
day: "day";
|
|
2476
2397
|
week: "week";
|
|
2477
2398
|
month: "month";
|
|
2478
|
-
quarter: "quarter";
|
|
2479
2399
|
year: "year";
|
|
2480
2400
|
}>>;
|
|
2481
2401
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2496,20 +2416,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2496
2416
|
as: z.ZodString;
|
|
2497
2417
|
}, z.core.$strict>]>>>;
|
|
2498
2418
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2499
|
-
|
|
2419
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2500
2420
|
field: z.ZodString;
|
|
2501
2421
|
as: z.ZodOptional<z.ZodString>;
|
|
2502
2422
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2503
|
-
hour: "hour";
|
|
2504
2423
|
day: "day";
|
|
2505
2424
|
week: "week";
|
|
2506
2425
|
month: "month";
|
|
2507
|
-
quarter: "quarter";
|
|
2508
2426
|
year: "year";
|
|
2509
2427
|
}>>;
|
|
2510
2428
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2511
2429
|
}, z.core.$strict>]>>>;
|
|
2512
|
-
|
|
2430
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2513
2431
|
field: z.ZodString;
|
|
2514
2432
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2515
2433
|
asc: "asc";
|
|
@@ -2518,22 +2436,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2518
2436
|
}, z.core.$strict>>>;
|
|
2519
2437
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2520
2438
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2521
|
-
|
|
2439
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2522
2440
|
field: z.ZodString;
|
|
2523
2441
|
grain: z.ZodEnum<{
|
|
2524
|
-
hour: "hour";
|
|
2525
2442
|
day: "day";
|
|
2526
2443
|
week: "week";
|
|
2527
2444
|
month: "month";
|
|
2528
|
-
quarter: "quarter";
|
|
2529
2445
|
year: "year";
|
|
2530
2446
|
}>;
|
|
2531
2447
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2532
2448
|
}, z.core.$strict>>;
|
|
2533
2449
|
period: z.ZodOptional<z.ZodObject<{
|
|
2534
2450
|
field: z.ZodString;
|
|
2535
|
-
gte: z.ZodOptional<z.
|
|
2536
|
-
lt: z.ZodOptional<z.
|
|
2451
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2452
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2537
2453
|
}, z.core.$strict>>;
|
|
2538
2454
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2539
2455
|
field: z.ZodString;
|
|
@@ -2547,13 +2463,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2547
2463
|
calc: z.ZodString;
|
|
2548
2464
|
as: z.ZodString;
|
|
2549
2465
|
}, z.core.$strict>>>;
|
|
2550
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2466
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2551
2467
|
}, z.core.$strict>;
|
|
2552
|
-
}, z.core.$
|
|
2553
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2554
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2555
2469
|
label: z.ZodOptional<z.ZodString>;
|
|
2556
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2470
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2557
2471
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2558
2472
|
small: "small";
|
|
2559
2473
|
medium: "medium";
|
|
@@ -2563,9 +2477,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2563
2477
|
}>>;
|
|
2564
2478
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2565
2479
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2480
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2481
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2482
|
+
id: z.ZodString;
|
|
2483
|
+
group_id: z.ZodString;
|
|
2484
|
+
order: z.ZodNumber;
|
|
2569
2485
|
target: z.ZodLiteral<"pivot_table">;
|
|
2570
2486
|
pivot: z.ZodObject<{
|
|
2571
2487
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -2621,11 +2537,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2621
2537
|
field: z.ZodString;
|
|
2622
2538
|
as: z.ZodOptional<z.ZodString>;
|
|
2623
2539
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2624
|
-
hour: "hour";
|
|
2625
2540
|
day: "day";
|
|
2626
2541
|
week: "week";
|
|
2627
2542
|
month: "month";
|
|
2628
|
-
quarter: "quarter";
|
|
2629
2543
|
year: "year";
|
|
2630
2544
|
}>>;
|
|
2631
2545
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2646,20 +2560,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2646
2560
|
as: z.ZodString;
|
|
2647
2561
|
}, z.core.$strict>]>>>;
|
|
2648
2562
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2649
|
-
|
|
2563
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2650
2564
|
field: z.ZodString;
|
|
2651
2565
|
as: z.ZodOptional<z.ZodString>;
|
|
2652
2566
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2653
|
-
hour: "hour";
|
|
2654
2567
|
day: "day";
|
|
2655
2568
|
week: "week";
|
|
2656
2569
|
month: "month";
|
|
2657
|
-
quarter: "quarter";
|
|
2658
2570
|
year: "year";
|
|
2659
2571
|
}>>;
|
|
2660
2572
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2661
2573
|
}, z.core.$strict>]>>>;
|
|
2662
|
-
|
|
2574
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2663
2575
|
field: z.ZodString;
|
|
2664
2576
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2665
2577
|
asc: "asc";
|
|
@@ -2668,22 +2580,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2668
2580
|
}, z.core.$strict>>>;
|
|
2669
2581
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2670
2582
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2671
|
-
|
|
2583
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2672
2584
|
field: z.ZodString;
|
|
2673
2585
|
grain: z.ZodEnum<{
|
|
2674
|
-
hour: "hour";
|
|
2675
2586
|
day: "day";
|
|
2676
2587
|
week: "week";
|
|
2677
2588
|
month: "month";
|
|
2678
|
-
quarter: "quarter";
|
|
2679
2589
|
year: "year";
|
|
2680
2590
|
}>;
|
|
2681
2591
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2682
2592
|
}, z.core.$strict>>;
|
|
2683
2593
|
period: z.ZodOptional<z.ZodObject<{
|
|
2684
2594
|
field: z.ZodString;
|
|
2685
|
-
gte: z.ZodOptional<z.
|
|
2686
|
-
lt: z.ZodOptional<z.
|
|
2595
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2596
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2687
2597
|
}, z.core.$strict>>;
|
|
2688
2598
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2689
2599
|
field: z.ZodString;
|
|
@@ -2697,10 +2607,10 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2697
2607
|
calc: z.ZodString;
|
|
2698
2608
|
as: z.ZodString;
|
|
2699
2609
|
}, z.core.$strict>>>;
|
|
2700
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2610
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2701
2611
|
}, z.core.$strict>;
|
|
2702
|
-
}, z.core.$
|
|
2703
|
-
}, z.core.$
|
|
2612
|
+
}, z.core.$strict>], "target">>;
|
|
2613
|
+
}, z.core.$strict>;
|
|
2704
2614
|
}, z.core.$strip>, z.ZodObject<{
|
|
2705
2615
|
error: z.ZodString;
|
|
2706
2616
|
validationErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2710,10 +2620,8 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2710
2620
|
}, z.core.$strip>]>;
|
|
2711
2621
|
export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2712
2622
|
widget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2713
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2714
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2715
2623
|
label: z.ZodOptional<z.ZodString>;
|
|
2716
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2624
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2717
2625
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2718
2626
|
small: "small";
|
|
2719
2627
|
medium: "medium";
|
|
@@ -2723,15 +2631,15 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2723
2631
|
}>>;
|
|
2724
2632
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2725
2633
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2634
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2635
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2636
|
+
id: z.ZodString;
|
|
2637
|
+
group_id: z.ZodString;
|
|
2638
|
+
order: z.ZodNumber;
|
|
2729
2639
|
target: z.ZodLiteral<"empty">;
|
|
2730
|
-
}, z.core.$
|
|
2731
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2732
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2640
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2733
2641
|
label: z.ZodOptional<z.ZodString>;
|
|
2734
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2642
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2735
2643
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2736
2644
|
small: "small";
|
|
2737
2645
|
medium: "medium";
|
|
@@ -2741,9 +2649,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2741
2649
|
}>>;
|
|
2742
2650
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2743
2651
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2652
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2653
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2654
|
+
id: z.ZodString;
|
|
2655
|
+
group_id: z.ZodString;
|
|
2656
|
+
order: z.ZodNumber;
|
|
2747
2657
|
target: z.ZodLiteral<"table">;
|
|
2748
2658
|
table: z.ZodOptional<z.ZodObject<{
|
|
2749
2659
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -2760,7 +2670,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2760
2670
|
}>>;
|
|
2761
2671
|
}, z.core.$strict>]>>>;
|
|
2762
2672
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
2763
|
-
|
|
2673
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
2764
2674
|
}, z.core.$strict>>;
|
|
2765
2675
|
query: z.ZodObject<{
|
|
2766
2676
|
resource: z.ZodString;
|
|
@@ -2768,11 +2678,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2768
2678
|
field: z.ZodString;
|
|
2769
2679
|
as: z.ZodOptional<z.ZodString>;
|
|
2770
2680
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2771
|
-
hour: "hour";
|
|
2772
2681
|
day: "day";
|
|
2773
2682
|
week: "week";
|
|
2774
2683
|
month: "month";
|
|
2775
|
-
quarter: "quarter";
|
|
2776
2684
|
year: "year";
|
|
2777
2685
|
}>>;
|
|
2778
2686
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2793,20 +2701,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2793
2701
|
as: z.ZodString;
|
|
2794
2702
|
}, z.core.$strict>]>>>;
|
|
2795
2703
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2796
|
-
|
|
2704
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2797
2705
|
field: z.ZodString;
|
|
2798
2706
|
as: z.ZodOptional<z.ZodString>;
|
|
2799
2707
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2800
|
-
hour: "hour";
|
|
2801
2708
|
day: "day";
|
|
2802
2709
|
week: "week";
|
|
2803
2710
|
month: "month";
|
|
2804
|
-
quarter: "quarter";
|
|
2805
2711
|
year: "year";
|
|
2806
2712
|
}>>;
|
|
2807
2713
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2808
2714
|
}, z.core.$strict>]>>>;
|
|
2809
|
-
|
|
2715
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2810
2716
|
field: z.ZodString;
|
|
2811
2717
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2812
2718
|
asc: "asc";
|
|
@@ -2815,22 +2721,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2815
2721
|
}, z.core.$strict>>>;
|
|
2816
2722
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2817
2723
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2818
|
-
|
|
2724
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2819
2725
|
field: z.ZodString;
|
|
2820
2726
|
grain: z.ZodEnum<{
|
|
2821
|
-
hour: "hour";
|
|
2822
2727
|
day: "day";
|
|
2823
2728
|
week: "week";
|
|
2824
2729
|
month: "month";
|
|
2825
|
-
quarter: "quarter";
|
|
2826
2730
|
year: "year";
|
|
2827
2731
|
}>;
|
|
2828
2732
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2829
2733
|
}, z.core.$strict>>;
|
|
2830
2734
|
period: z.ZodOptional<z.ZodObject<{
|
|
2831
2735
|
field: z.ZodString;
|
|
2832
|
-
gte: z.ZodOptional<z.
|
|
2833
|
-
lt: z.ZodOptional<z.
|
|
2736
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2737
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2834
2738
|
}, z.core.$strict>>;
|
|
2835
2739
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2836
2740
|
field: z.ZodString;
|
|
@@ -2844,13 +2748,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2844
2748
|
calc: z.ZodString;
|
|
2845
2749
|
as: z.ZodString;
|
|
2846
2750
|
}, z.core.$strict>>>;
|
|
2847
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2751
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2848
2752
|
}, z.core.$strict>;
|
|
2849
|
-
}, z.core.$
|
|
2850
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2851
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2852
2754
|
label: z.ZodOptional<z.ZodString>;
|
|
2853
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
2755
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2854
2756
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2855
2757
|
small: "small";
|
|
2856
2758
|
medium: "medium";
|
|
@@ -2860,9 +2762,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2860
2762
|
}>>;
|
|
2861
2763
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2862
2764
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2765
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
2766
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2767
|
+
id: z.ZodString;
|
|
2768
|
+
group_id: z.ZodString;
|
|
2769
|
+
order: z.ZodNumber;
|
|
2866
2770
|
target: z.ZodLiteral<"chart">;
|
|
2867
2771
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2868
2772
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2899,7 +2803,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2899
2803
|
}, z.core.$strict>>;
|
|
2900
2804
|
color: z.ZodOptional<z.ZodString>;
|
|
2901
2805
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2902
|
-
}, z.core.$
|
|
2806
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2903
2807
|
title: z.ZodOptional<z.ZodString>;
|
|
2904
2808
|
type: z.ZodLiteral<"bar">;
|
|
2905
2809
|
x: z.ZodObject<{
|
|
@@ -2929,7 +2833,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2929
2833
|
}>>;
|
|
2930
2834
|
}, z.core.$strict>;
|
|
2931
2835
|
color: z.ZodOptional<z.ZodString>;
|
|
2932
|
-
}, z.core.$
|
|
2836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2933
2837
|
title: z.ZodOptional<z.ZodString>;
|
|
2934
2838
|
type: z.ZodLiteral<"stacked_bar">;
|
|
2935
2839
|
x: z.ZodObject<{
|
|
@@ -2975,7 +2879,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2975
2879
|
label: z.ZodOptional<z.ZodString>;
|
|
2976
2880
|
}, z.core.$strict>>;
|
|
2977
2881
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2978
|
-
}, z.core.$
|
|
2882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2979
2883
|
title: z.ZodOptional<z.ZodString>;
|
|
2980
2884
|
type: z.ZodLiteral<"pie">;
|
|
2981
2885
|
label: z.ZodObject<{
|
|
@@ -3005,7 +2909,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3005
2909
|
}>>;
|
|
3006
2910
|
}, z.core.$strict>;
|
|
3007
2911
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3008
|
-
}, z.core.$
|
|
2912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3009
2913
|
title: z.ZodOptional<z.ZodString>;
|
|
3010
2914
|
type: z.ZodLiteral<"histogram">;
|
|
3011
2915
|
x: z.ZodObject<{
|
|
@@ -3040,7 +2944,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3040
2944
|
max: z.ZodOptional<z.ZodNumber>;
|
|
3041
2945
|
}, z.core.$strict>>>;
|
|
3042
2946
|
color: z.ZodOptional<z.ZodString>;
|
|
3043
|
-
}, z.core.$
|
|
2947
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3044
2948
|
title: z.ZodOptional<z.ZodString>;
|
|
3045
2949
|
type: z.ZodLiteral<"funnel">;
|
|
3046
2950
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -3070,18 +2974,16 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3070
2974
|
}>>;
|
|
3071
2975
|
}, z.core.$strict>>;
|
|
3072
2976
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3073
|
-
}, z.core.$
|
|
2977
|
+
}, z.core.$strict>], "type">;
|
|
3074
2978
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
3075
2979
|
resource: z.ZodString;
|
|
3076
2980
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3077
2981
|
field: z.ZodString;
|
|
3078
2982
|
as: z.ZodOptional<z.ZodString>;
|
|
3079
2983
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3080
|
-
hour: "hour";
|
|
3081
2984
|
day: "day";
|
|
3082
2985
|
week: "week";
|
|
3083
2986
|
month: "month";
|
|
3084
|
-
quarter: "quarter";
|
|
3085
2987
|
year: "year";
|
|
3086
2988
|
}>>;
|
|
3087
2989
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3102,20 +3004,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3102
3004
|
as: z.ZodString;
|
|
3103
3005
|
}, z.core.$strict>]>>>;
|
|
3104
3006
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3105
|
-
|
|
3007
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3106
3008
|
field: z.ZodString;
|
|
3107
3009
|
as: z.ZodOptional<z.ZodString>;
|
|
3108
3010
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3109
|
-
hour: "hour";
|
|
3110
3011
|
day: "day";
|
|
3111
3012
|
week: "week";
|
|
3112
3013
|
month: "month";
|
|
3113
|
-
quarter: "quarter";
|
|
3114
3014
|
year: "year";
|
|
3115
3015
|
}>>;
|
|
3116
3016
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3117
3017
|
}, z.core.$strict>]>>>;
|
|
3118
|
-
|
|
3018
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3119
3019
|
field: z.ZodString;
|
|
3120
3020
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3121
3021
|
asc: "asc";
|
|
@@ -3124,22 +3024,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3124
3024
|
}, z.core.$strict>>>;
|
|
3125
3025
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3126
3026
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3127
|
-
|
|
3027
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3128
3028
|
field: z.ZodString;
|
|
3129
3029
|
grain: z.ZodEnum<{
|
|
3130
|
-
hour: "hour";
|
|
3131
3030
|
day: "day";
|
|
3132
3031
|
week: "week";
|
|
3133
3032
|
month: "month";
|
|
3134
|
-
quarter: "quarter";
|
|
3135
3033
|
year: "year";
|
|
3136
3034
|
}>;
|
|
3137
3035
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3138
3036
|
}, z.core.$strict>>;
|
|
3139
3037
|
period: z.ZodOptional<z.ZodObject<{
|
|
3140
3038
|
field: z.ZodString;
|
|
3141
|
-
gte: z.ZodOptional<z.
|
|
3142
|
-
lt: z.ZodOptional<z.
|
|
3039
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3040
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3143
3041
|
}, z.core.$strict>>;
|
|
3144
3042
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3145
3043
|
field: z.ZodString;
|
|
@@ -3153,7 +3051,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3153
3051
|
calc: z.ZodString;
|
|
3154
3052
|
as: z.ZodString;
|
|
3155
3053
|
}, z.core.$strict>>>;
|
|
3156
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3054
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3157
3055
|
}, z.core.$strict>, z.ZodObject<{
|
|
3158
3056
|
steps: z.ZodArray<z.ZodObject<{
|
|
3159
3057
|
name: z.ZodString;
|
|
@@ -3179,11 +3077,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3179
3077
|
as: z.ZodString;
|
|
3180
3078
|
}, z.core.$strict>>>;
|
|
3181
3079
|
}, z.core.$strict>]>;
|
|
3182
|
-
}, z.core.$
|
|
3183
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3184
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3185
3081
|
label: z.ZodOptional<z.ZodString>;
|
|
3186
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3082
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3187
3083
|
size: z.ZodOptional<z.ZodEnum<{
|
|
3188
3084
|
small: "small";
|
|
3189
3085
|
medium: "medium";
|
|
@@ -3193,9 +3089,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3193
3089
|
}>>;
|
|
3194
3090
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3195
3091
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3092
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3093
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3094
|
+
id: z.ZodString;
|
|
3095
|
+
group_id: z.ZodString;
|
|
3096
|
+
order: z.ZodNumber;
|
|
3199
3097
|
target: z.ZodLiteral<"kpi_card">;
|
|
3200
3098
|
card: z.ZodObject<{
|
|
3201
3099
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3217,8 +3115,8 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3217
3115
|
text: z.ZodOptional<z.ZodString>;
|
|
3218
3116
|
field: z.ZodOptional<z.ZodString>;
|
|
3219
3117
|
}, z.core.$strict>>;
|
|
3220
|
-
comparison: z.ZodOptional<z.
|
|
3221
|
-
sparkline: z.ZodOptional<z.
|
|
3118
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3119
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3222
3120
|
}, z.core.$strict>;
|
|
3223
3121
|
query: z.ZodObject<{
|
|
3224
3122
|
resource: z.ZodString;
|
|
@@ -3226,11 +3124,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3226
3124
|
field: z.ZodString;
|
|
3227
3125
|
as: z.ZodOptional<z.ZodString>;
|
|
3228
3126
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3229
|
-
hour: "hour";
|
|
3230
3127
|
day: "day";
|
|
3231
3128
|
week: "week";
|
|
3232
3129
|
month: "month";
|
|
3233
|
-
quarter: "quarter";
|
|
3234
3130
|
year: "year";
|
|
3235
3131
|
}>>;
|
|
3236
3132
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3251,20 +3147,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3251
3147
|
as: z.ZodString;
|
|
3252
3148
|
}, z.core.$strict>]>>>;
|
|
3253
3149
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3254
|
-
|
|
3150
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3255
3151
|
field: z.ZodString;
|
|
3256
3152
|
as: z.ZodOptional<z.ZodString>;
|
|
3257
3153
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3258
|
-
hour: "hour";
|
|
3259
3154
|
day: "day";
|
|
3260
3155
|
week: "week";
|
|
3261
3156
|
month: "month";
|
|
3262
|
-
quarter: "quarter";
|
|
3263
3157
|
year: "year";
|
|
3264
3158
|
}>>;
|
|
3265
3159
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3266
3160
|
}, z.core.$strict>]>>>;
|
|
3267
|
-
|
|
3161
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3268
3162
|
field: z.ZodString;
|
|
3269
3163
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3270
3164
|
asc: "asc";
|
|
@@ -3273,22 +3167,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3273
3167
|
}, z.core.$strict>>>;
|
|
3274
3168
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3275
3169
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3276
|
-
|
|
3170
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3277
3171
|
field: z.ZodString;
|
|
3278
3172
|
grain: z.ZodEnum<{
|
|
3279
|
-
hour: "hour";
|
|
3280
3173
|
day: "day";
|
|
3281
3174
|
week: "week";
|
|
3282
3175
|
month: "month";
|
|
3283
|
-
quarter: "quarter";
|
|
3284
3176
|
year: "year";
|
|
3285
3177
|
}>;
|
|
3286
3178
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3287
3179
|
}, z.core.$strict>>;
|
|
3288
3180
|
period: z.ZodOptional<z.ZodObject<{
|
|
3289
3181
|
field: z.ZodString;
|
|
3290
|
-
gte: z.ZodOptional<z.
|
|
3291
|
-
lt: z.ZodOptional<z.
|
|
3182
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3183
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3292
3184
|
}, z.core.$strict>>;
|
|
3293
3185
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3294
3186
|
field: z.ZodString;
|
|
@@ -3302,13 +3194,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3302
3194
|
calc: z.ZodString;
|
|
3303
3195
|
as: z.ZodString;
|
|
3304
3196
|
}, z.core.$strict>>>;
|
|
3305
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3197
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3306
3198
|
}, z.core.$strict>;
|
|
3307
|
-
}, z.core.$
|
|
3308
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3309
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
3199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3310
3200
|
label: z.ZodOptional<z.ZodString>;
|
|
3311
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3201
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3312
3202
|
size: z.ZodOptional<z.ZodEnum<{
|
|
3313
3203
|
small: "small";
|
|
3314
3204
|
medium: "medium";
|
|
@@ -3318,9 +3208,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3318
3208
|
}>>;
|
|
3319
3209
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3320
3210
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3211
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3212
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3213
|
+
id: z.ZodString;
|
|
3214
|
+
group_id: z.ZodString;
|
|
3215
|
+
order: z.ZodNumber;
|
|
3324
3216
|
target: z.ZodLiteral<"gauge_card">;
|
|
3325
3217
|
card: z.ZodObject<{
|
|
3326
3218
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3344,9 +3236,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3344
3236
|
label: z.ZodOptional<z.ZodString>;
|
|
3345
3237
|
}, z.core.$strict>>;
|
|
3346
3238
|
progress: z.ZodOptional<z.ZodObject<{
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3239
|
+
value_field: z.ZodString;
|
|
3240
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
3241
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
3350
3242
|
format: z.ZodOptional<z.ZodEnum<{
|
|
3351
3243
|
number: "number";
|
|
3352
3244
|
compact_number: "compact_number";
|
|
@@ -3365,11 +3257,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3365
3257
|
field: z.ZodString;
|
|
3366
3258
|
as: z.ZodOptional<z.ZodString>;
|
|
3367
3259
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3368
|
-
hour: "hour";
|
|
3369
3260
|
day: "day";
|
|
3370
3261
|
week: "week";
|
|
3371
3262
|
month: "month";
|
|
3372
|
-
quarter: "quarter";
|
|
3373
3263
|
year: "year";
|
|
3374
3264
|
}>>;
|
|
3375
3265
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3390,20 +3280,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3390
3280
|
as: z.ZodString;
|
|
3391
3281
|
}, z.core.$strict>]>>>;
|
|
3392
3282
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3393
|
-
|
|
3283
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3394
3284
|
field: z.ZodString;
|
|
3395
3285
|
as: z.ZodOptional<z.ZodString>;
|
|
3396
3286
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3397
|
-
hour: "hour";
|
|
3398
3287
|
day: "day";
|
|
3399
3288
|
week: "week";
|
|
3400
3289
|
month: "month";
|
|
3401
|
-
quarter: "quarter";
|
|
3402
3290
|
year: "year";
|
|
3403
3291
|
}>>;
|
|
3404
3292
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3405
3293
|
}, z.core.$strict>]>>>;
|
|
3406
|
-
|
|
3294
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3407
3295
|
field: z.ZodString;
|
|
3408
3296
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3409
3297
|
asc: "asc";
|
|
@@ -3412,22 +3300,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3412
3300
|
}, z.core.$strict>>>;
|
|
3413
3301
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3414
3302
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3415
|
-
|
|
3303
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3416
3304
|
field: z.ZodString;
|
|
3417
3305
|
grain: z.ZodEnum<{
|
|
3418
|
-
hour: "hour";
|
|
3419
3306
|
day: "day";
|
|
3420
3307
|
week: "week";
|
|
3421
3308
|
month: "month";
|
|
3422
|
-
quarter: "quarter";
|
|
3423
3309
|
year: "year";
|
|
3424
3310
|
}>;
|
|
3425
3311
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3426
3312
|
}, z.core.$strict>>;
|
|
3427
3313
|
period: z.ZodOptional<z.ZodObject<{
|
|
3428
3314
|
field: z.ZodString;
|
|
3429
|
-
gte: z.ZodOptional<z.
|
|
3430
|
-
lt: z.ZodOptional<z.
|
|
3315
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3316
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3431
3317
|
}, z.core.$strict>>;
|
|
3432
3318
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3433
3319
|
field: z.ZodString;
|
|
@@ -3441,13 +3327,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3441
3327
|
calc: z.ZodString;
|
|
3442
3328
|
as: z.ZodString;
|
|
3443
3329
|
}, z.core.$strict>>>;
|
|
3444
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3330
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3445
3331
|
}, z.core.$strict>;
|
|
3446
|
-
}, z.core.$
|
|
3447
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3448
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3449
3333
|
label: z.ZodOptional<z.ZodString>;
|
|
3450
|
-
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3334
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3451
3335
|
size: z.ZodOptional<z.ZodEnum<{
|
|
3452
3336
|
small: "small";
|
|
3453
3337
|
medium: "medium";
|
|
@@ -3457,9 +3341,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3457
3341
|
}>>;
|
|
3458
3342
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3459
3343
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3344
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3345
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3346
|
+
id: z.ZodString;
|
|
3347
|
+
group_id: z.ZodString;
|
|
3348
|
+
order: z.ZodNumber;
|
|
3463
3349
|
target: z.ZodLiteral<"pivot_table">;
|
|
3464
3350
|
pivot: z.ZodObject<{
|
|
3465
3351
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3515,11 +3401,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3515
3401
|
field: z.ZodString;
|
|
3516
3402
|
as: z.ZodOptional<z.ZodString>;
|
|
3517
3403
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3518
|
-
hour: "hour";
|
|
3519
3404
|
day: "day";
|
|
3520
3405
|
week: "week";
|
|
3521
3406
|
month: "month";
|
|
3522
|
-
quarter: "quarter";
|
|
3523
3407
|
year: "year";
|
|
3524
3408
|
}>>;
|
|
3525
3409
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3540,20 +3424,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3540
3424
|
as: z.ZodString;
|
|
3541
3425
|
}, z.core.$strict>]>>>;
|
|
3542
3426
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3543
|
-
|
|
3427
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3544
3428
|
field: z.ZodString;
|
|
3545
3429
|
as: z.ZodOptional<z.ZodString>;
|
|
3546
3430
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3547
|
-
hour: "hour";
|
|
3548
3431
|
day: "day";
|
|
3549
3432
|
week: "week";
|
|
3550
3433
|
month: "month";
|
|
3551
|
-
quarter: "quarter";
|
|
3552
3434
|
year: "year";
|
|
3553
3435
|
}>>;
|
|
3554
3436
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3555
3437
|
}, z.core.$strict>]>>>;
|
|
3556
|
-
|
|
3438
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3557
3439
|
field: z.ZodString;
|
|
3558
3440
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3559
3441
|
asc: "asc";
|
|
@@ -3562,22 +3444,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3562
3444
|
}, z.core.$strict>>>;
|
|
3563
3445
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3564
3446
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3565
|
-
|
|
3447
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3566
3448
|
field: z.ZodString;
|
|
3567
3449
|
grain: z.ZodEnum<{
|
|
3568
|
-
hour: "hour";
|
|
3569
3450
|
day: "day";
|
|
3570
3451
|
week: "week";
|
|
3571
3452
|
month: "month";
|
|
3572
|
-
quarter: "quarter";
|
|
3573
3453
|
year: "year";
|
|
3574
3454
|
}>;
|
|
3575
3455
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3576
3456
|
}, z.core.$strict>>;
|
|
3577
3457
|
period: z.ZodOptional<z.ZodObject<{
|
|
3578
3458
|
field: z.ZodString;
|
|
3579
|
-
gte: z.ZodOptional<z.
|
|
3580
|
-
lt: z.ZodOptional<z.
|
|
3459
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3460
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3581
3461
|
}, z.core.$strict>>;
|
|
3582
3462
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3583
3463
|
field: z.ZodString;
|
|
@@ -3591,9 +3471,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3591
3471
|
calc: z.ZodString;
|
|
3592
3472
|
as: z.ZodString;
|
|
3593
3473
|
}, z.core.$strict>>>;
|
|
3594
|
-
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3474
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3595
3475
|
}, z.core.$strict>;
|
|
3596
|
-
}, z.core.$
|
|
3476
|
+
}, z.core.$strict>], "target">;
|
|
3597
3477
|
data: z.ZodUnknown;
|
|
3598
3478
|
}, z.core.$strip>, z.ZodObject<{
|
|
3599
3479
|
error: z.ZodString;
|
|
@@ -3603,57 +3483,1756 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3603
3483
|
}, z.core.$strip>>>;
|
|
3604
3484
|
}, z.core.$strip>]>;
|
|
3605
3485
|
export declare const SlugRequestZodSchema: z.ZodObject<{
|
|
3606
|
-
slug: z.
|
|
3486
|
+
slug: z.ZodString;
|
|
3607
3487
|
}, z.core.$strict>;
|
|
3608
3488
|
export declare const SetDashboardConfigRequestZodSchema: z.ZodObject<{
|
|
3609
|
-
slug: z.
|
|
3610
|
-
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3611
|
-
}, z.core.$strict>;
|
|
3612
|
-
export declare const GroupIdRequestZodSchema: z.ZodObject<{
|
|
3613
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
3614
|
-
groupId: z.ZodString;
|
|
3615
|
-
}, z.core.$strict>;
|
|
3616
|
-
export declare const MoveGroupRequestZodSchema: z.ZodObject<{
|
|
3617
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
3618
|
-
groupId: z.ZodString;
|
|
3619
|
-
direction: z.ZodEnum<{
|
|
3620
|
-
up: "up";
|
|
3621
|
-
down: "down";
|
|
3622
|
-
}>;
|
|
3623
|
-
}, z.core.$strict>;
|
|
3624
|
-
export declare const SetGroupConfigRequestZodSchema: z.ZodObject<{
|
|
3625
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
3626
|
-
groupId: z.ZodString;
|
|
3489
|
+
slug: z.ZodString;
|
|
3627
3490
|
config: z.ZodObject<{
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
}, z.core.$strict
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3491
|
+
version: z.ZodNumber;
|
|
3492
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
3493
|
+
id: z.ZodString;
|
|
3494
|
+
label: z.ZodString;
|
|
3495
|
+
order: z.ZodNumber;
|
|
3496
|
+
}, z.core.$strict>>;
|
|
3497
|
+
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3498
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3499
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3500
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
3501
|
+
small: "small";
|
|
3502
|
+
medium: "medium";
|
|
3503
|
+
large: "large";
|
|
3504
|
+
wide: "wide";
|
|
3505
|
+
full: "full";
|
|
3506
|
+
}>>;
|
|
3507
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3508
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3509
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3510
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3511
|
+
id: z.ZodString;
|
|
3512
|
+
group_id: z.ZodString;
|
|
3513
|
+
order: z.ZodNumber;
|
|
3514
|
+
target: z.ZodLiteral<"empty">;
|
|
3515
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3516
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3517
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3518
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
3519
|
+
small: "small";
|
|
3520
|
+
medium: "medium";
|
|
3521
|
+
large: "large";
|
|
3522
|
+
wide: "wide";
|
|
3523
|
+
full: "full";
|
|
3524
|
+
}>>;
|
|
3525
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3526
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3527
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3528
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3529
|
+
id: z.ZodString;
|
|
3530
|
+
group_id: z.ZodString;
|
|
3531
|
+
order: z.ZodNumber;
|
|
3532
|
+
target: z.ZodLiteral<"table">;
|
|
3533
|
+
table: z.ZodOptional<z.ZodObject<{
|
|
3534
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3535
|
+
field: z.ZodString;
|
|
3536
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3537
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3538
|
+
number: "number";
|
|
3539
|
+
compact_number: "compact_number";
|
|
3540
|
+
currency: "currency";
|
|
3541
|
+
percent: "percent";
|
|
3542
|
+
percent_delta: "percent_delta";
|
|
3543
|
+
number_delta: "number_delta";
|
|
3544
|
+
currency_delta: "currency_delta";
|
|
3545
|
+
}>>;
|
|
3546
|
+
}, z.core.$strict>]>>>;
|
|
3547
|
+
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
3548
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
3549
|
+
}, z.core.$strict>>;
|
|
3550
|
+
query: z.ZodObject<{
|
|
3551
|
+
resource: z.ZodString;
|
|
3552
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3553
|
+
field: z.ZodString;
|
|
3554
|
+
as: z.ZodOptional<z.ZodString>;
|
|
3555
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
3556
|
+
day: "day";
|
|
3557
|
+
week: "week";
|
|
3558
|
+
month: "month";
|
|
3559
|
+
year: "year";
|
|
3560
|
+
}>>;
|
|
3561
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3562
|
+
agg: z.ZodEnum<{
|
|
3563
|
+
sum: "sum";
|
|
3564
|
+
count: "count";
|
|
3565
|
+
count_distinct: "count_distinct";
|
|
3566
|
+
avg: "avg";
|
|
3567
|
+
min: "min";
|
|
3568
|
+
max: "max";
|
|
3569
|
+
median: "median";
|
|
3570
|
+
}>;
|
|
3571
|
+
field: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
as: z.ZodString;
|
|
3573
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3575
|
+
calc: z.ZodString;
|
|
3576
|
+
as: z.ZodString;
|
|
3577
|
+
}, z.core.$strict>]>>>;
|
|
3578
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3579
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3580
|
+
field: z.ZodString;
|
|
3581
|
+
as: z.ZodOptional<z.ZodString>;
|
|
3582
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
3583
|
+
day: "day";
|
|
3584
|
+
week: "week";
|
|
3585
|
+
month: "month";
|
|
3586
|
+
year: "year";
|
|
3587
|
+
}>>;
|
|
3588
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
3589
|
+
}, z.core.$strict>]>>>;
|
|
3590
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3591
|
+
field: z.ZodString;
|
|
3592
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
3593
|
+
asc: "asc";
|
|
3594
|
+
desc: "desc";
|
|
3595
|
+
}>>;
|
|
3596
|
+
}, z.core.$strict>>>;
|
|
3597
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3598
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3599
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3600
|
+
field: z.ZodString;
|
|
3601
|
+
grain: z.ZodEnum<{
|
|
3602
|
+
day: "day";
|
|
3603
|
+
week: "week";
|
|
3604
|
+
month: "month";
|
|
3605
|
+
year: "year";
|
|
3606
|
+
}>;
|
|
3607
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
3608
|
+
}, z.core.$strict>>;
|
|
3609
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
3610
|
+
field: z.ZodString;
|
|
3611
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3612
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3613
|
+
}, z.core.$strict>>;
|
|
3614
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
3615
|
+
field: z.ZodString;
|
|
3616
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
3617
|
+
label: z.ZodString;
|
|
3618
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3619
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3620
|
+
}, z.core.$strict>>;
|
|
3621
|
+
}, z.core.$strict>>;
|
|
3622
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3623
|
+
calc: z.ZodString;
|
|
3624
|
+
as: z.ZodString;
|
|
3625
|
+
}, z.core.$strict>>>;
|
|
3626
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3627
|
+
}, z.core.$strict>;
|
|
3628
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3629
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3630
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3631
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
3632
|
+
small: "small";
|
|
3633
|
+
medium: "medium";
|
|
3634
|
+
large: "large";
|
|
3635
|
+
wide: "wide";
|
|
3636
|
+
full: "full";
|
|
3637
|
+
}>>;
|
|
3638
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3639
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3640
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3641
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3642
|
+
id: z.ZodString;
|
|
3643
|
+
group_id: z.ZodString;
|
|
3644
|
+
order: z.ZodNumber;
|
|
3645
|
+
target: z.ZodLiteral<"chart">;
|
|
3646
|
+
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3647
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3648
|
+
type: z.ZodLiteral<"line">;
|
|
3649
|
+
x: z.ZodObject<{
|
|
3650
|
+
field: z.ZodString;
|
|
3651
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3652
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3653
|
+
number: "number";
|
|
3654
|
+
compact_number: "compact_number";
|
|
3655
|
+
currency: "currency";
|
|
3656
|
+
percent: "percent";
|
|
3657
|
+
percent_delta: "percent_delta";
|
|
3658
|
+
number_delta: "number_delta";
|
|
3659
|
+
currency_delta: "currency_delta";
|
|
3660
|
+
}>>;
|
|
3661
|
+
}, z.core.$strict>;
|
|
3662
|
+
y: z.ZodArray<z.ZodObject<{
|
|
3663
|
+
field: z.ZodString;
|
|
3664
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3665
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3666
|
+
number: "number";
|
|
3667
|
+
compact_number: "compact_number";
|
|
3668
|
+
currency: "currency";
|
|
3669
|
+
percent: "percent";
|
|
3670
|
+
percent_delta: "percent_delta";
|
|
3671
|
+
number_delta: "number_delta";
|
|
3672
|
+
currency_delta: "currency_delta";
|
|
3673
|
+
}>>;
|
|
3674
|
+
}, z.core.$strict>>;
|
|
3675
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
3676
|
+
field: z.ZodString;
|
|
3677
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3678
|
+
}, z.core.$strict>>;
|
|
3679
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3681
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3682
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
type: z.ZodLiteral<"bar">;
|
|
3684
|
+
x: z.ZodObject<{
|
|
3685
|
+
field: z.ZodString;
|
|
3686
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3687
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3688
|
+
number: "number";
|
|
3689
|
+
compact_number: "compact_number";
|
|
3690
|
+
currency: "currency";
|
|
3691
|
+
percent: "percent";
|
|
3692
|
+
percent_delta: "percent_delta";
|
|
3693
|
+
number_delta: "number_delta";
|
|
3694
|
+
currency_delta: "currency_delta";
|
|
3695
|
+
}>>;
|
|
3696
|
+
}, z.core.$strict>;
|
|
3697
|
+
y: z.ZodObject<{
|
|
3698
|
+
field: z.ZodString;
|
|
3699
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3700
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3701
|
+
number: "number";
|
|
3702
|
+
compact_number: "compact_number";
|
|
3703
|
+
currency: "currency";
|
|
3704
|
+
percent: "percent";
|
|
3705
|
+
percent_delta: "percent_delta";
|
|
3706
|
+
number_delta: "number_delta";
|
|
3707
|
+
currency_delta: "currency_delta";
|
|
3708
|
+
}>>;
|
|
3709
|
+
}, z.core.$strict>;
|
|
3710
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3711
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3712
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3713
|
+
type: z.ZodLiteral<"stacked_bar">;
|
|
3714
|
+
x: z.ZodObject<{
|
|
3715
|
+
field: z.ZodString;
|
|
3716
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3717
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3718
|
+
number: "number";
|
|
3719
|
+
compact_number: "compact_number";
|
|
3720
|
+
currency: "currency";
|
|
3721
|
+
percent: "percent";
|
|
3722
|
+
percent_delta: "percent_delta";
|
|
3723
|
+
number_delta: "number_delta";
|
|
3724
|
+
currency_delta: "currency_delta";
|
|
3725
|
+
}>>;
|
|
3726
|
+
}, z.core.$strict>;
|
|
3727
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
3728
|
+
field: z.ZodString;
|
|
3729
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3730
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3731
|
+
number: "number";
|
|
3732
|
+
compact_number: "compact_number";
|
|
3733
|
+
currency: "currency";
|
|
3734
|
+
percent: "percent";
|
|
3735
|
+
percent_delta: "percent_delta";
|
|
3736
|
+
number_delta: "number_delta";
|
|
3737
|
+
currency_delta: "currency_delta";
|
|
3738
|
+
}>>;
|
|
3739
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
3740
|
+
field: z.ZodString;
|
|
3741
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3742
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3743
|
+
number: "number";
|
|
3744
|
+
compact_number: "compact_number";
|
|
3745
|
+
currency: "currency";
|
|
3746
|
+
percent: "percent";
|
|
3747
|
+
percent_delta: "percent_delta";
|
|
3748
|
+
number_delta: "number_delta";
|
|
3749
|
+
currency_delta: "currency_delta";
|
|
3750
|
+
}>>;
|
|
3751
|
+
}, z.core.$strict>>]>;
|
|
3752
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
3753
|
+
field: z.ZodString;
|
|
3754
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3755
|
+
}, z.core.$strict>>;
|
|
3756
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3758
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3759
|
+
type: z.ZodLiteral<"pie">;
|
|
3760
|
+
label: z.ZodObject<{
|
|
3761
|
+
field: z.ZodString;
|
|
3762
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3763
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3764
|
+
number: "number";
|
|
3765
|
+
compact_number: "compact_number";
|
|
3766
|
+
currency: "currency";
|
|
3767
|
+
percent: "percent";
|
|
3768
|
+
percent_delta: "percent_delta";
|
|
3769
|
+
number_delta: "number_delta";
|
|
3770
|
+
currency_delta: "currency_delta";
|
|
3771
|
+
}>>;
|
|
3772
|
+
}, z.core.$strict>;
|
|
3773
|
+
value: z.ZodObject<{
|
|
3774
|
+
field: z.ZodString;
|
|
3775
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3776
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3777
|
+
number: "number";
|
|
3778
|
+
compact_number: "compact_number";
|
|
3779
|
+
currency: "currency";
|
|
3780
|
+
percent: "percent";
|
|
3781
|
+
percent_delta: "percent_delta";
|
|
3782
|
+
number_delta: "number_delta";
|
|
3783
|
+
currency_delta: "currency_delta";
|
|
3784
|
+
}>>;
|
|
3785
|
+
}, z.core.$strict>;
|
|
3786
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3787
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3788
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3789
|
+
type: z.ZodLiteral<"histogram">;
|
|
3790
|
+
x: z.ZodObject<{
|
|
3791
|
+
field: z.ZodString;
|
|
3792
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3793
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3794
|
+
number: "number";
|
|
3795
|
+
compact_number: "compact_number";
|
|
3796
|
+
currency: "currency";
|
|
3797
|
+
percent: "percent";
|
|
3798
|
+
percent_delta: "percent_delta";
|
|
3799
|
+
number_delta: "number_delta";
|
|
3800
|
+
currency_delta: "currency_delta";
|
|
3801
|
+
}>>;
|
|
3802
|
+
}, z.core.$strict>;
|
|
3803
|
+
y: z.ZodObject<{
|
|
3804
|
+
field: z.ZodString;
|
|
3805
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3806
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3807
|
+
number: "number";
|
|
3808
|
+
compact_number: "compact_number";
|
|
3809
|
+
currency: "currency";
|
|
3810
|
+
percent: "percent";
|
|
3811
|
+
percent_delta: "percent_delta";
|
|
3812
|
+
number_delta: "number_delta";
|
|
3813
|
+
currency_delta: "currency_delta";
|
|
3814
|
+
}>>;
|
|
3815
|
+
}, z.core.$strict>;
|
|
3816
|
+
buckets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3817
|
+
label: z.ZodString;
|
|
3818
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3819
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3820
|
+
}, z.core.$strict>>>;
|
|
3821
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3822
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3823
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3824
|
+
type: z.ZodLiteral<"funnel">;
|
|
3825
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
3826
|
+
field: z.ZodString;
|
|
3827
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3828
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3829
|
+
number: "number";
|
|
3830
|
+
compact_number: "compact_number";
|
|
3831
|
+
currency: "currency";
|
|
3832
|
+
percent: "percent";
|
|
3833
|
+
percent_delta: "percent_delta";
|
|
3834
|
+
number_delta: "number_delta";
|
|
3835
|
+
currency_delta: "currency_delta";
|
|
3836
|
+
}>>;
|
|
3837
|
+
}, z.core.$strict>>;
|
|
3838
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
3839
|
+
field: z.ZodString;
|
|
3840
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3841
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3842
|
+
number: "number";
|
|
3843
|
+
compact_number: "compact_number";
|
|
3844
|
+
currency: "currency";
|
|
3845
|
+
percent: "percent";
|
|
3846
|
+
percent_delta: "percent_delta";
|
|
3847
|
+
number_delta: "number_delta";
|
|
3848
|
+
currency_delta: "currency_delta";
|
|
3849
|
+
}>>;
|
|
3850
|
+
}, z.core.$strict>>;
|
|
3851
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3852
|
+
}, z.core.$strict>], "type">;
|
|
3853
|
+
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
3854
|
+
resource: z.ZodString;
|
|
3855
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3856
|
+
field: z.ZodString;
|
|
3857
|
+
as: z.ZodOptional<z.ZodString>;
|
|
3858
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
3859
|
+
day: "day";
|
|
3860
|
+
week: "week";
|
|
3861
|
+
month: "month";
|
|
3862
|
+
year: "year";
|
|
3863
|
+
}>>;
|
|
3864
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3865
|
+
agg: z.ZodEnum<{
|
|
3866
|
+
sum: "sum";
|
|
3867
|
+
count: "count";
|
|
3868
|
+
count_distinct: "count_distinct";
|
|
3869
|
+
avg: "avg";
|
|
3870
|
+
min: "min";
|
|
3871
|
+
max: "max";
|
|
3872
|
+
median: "median";
|
|
3873
|
+
}>;
|
|
3874
|
+
field: z.ZodOptional<z.ZodString>;
|
|
3875
|
+
as: z.ZodString;
|
|
3876
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3878
|
+
calc: z.ZodString;
|
|
3879
|
+
as: z.ZodString;
|
|
3880
|
+
}, z.core.$strict>]>>>;
|
|
3881
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3882
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3883
|
+
field: z.ZodString;
|
|
3884
|
+
as: z.ZodOptional<z.ZodString>;
|
|
3885
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
3886
|
+
day: "day";
|
|
3887
|
+
week: "week";
|
|
3888
|
+
month: "month";
|
|
3889
|
+
year: "year";
|
|
3890
|
+
}>>;
|
|
3891
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
3892
|
+
}, z.core.$strict>]>>>;
|
|
3893
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3894
|
+
field: z.ZodString;
|
|
3895
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
3896
|
+
asc: "asc";
|
|
3897
|
+
desc: "desc";
|
|
3898
|
+
}>>;
|
|
3899
|
+
}, z.core.$strict>>>;
|
|
3900
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3901
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
3902
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3903
|
+
field: z.ZodString;
|
|
3904
|
+
grain: z.ZodEnum<{
|
|
3905
|
+
day: "day";
|
|
3906
|
+
week: "week";
|
|
3907
|
+
month: "month";
|
|
3908
|
+
year: "year";
|
|
3909
|
+
}>;
|
|
3910
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
3911
|
+
}, z.core.$strict>>;
|
|
3912
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
3913
|
+
field: z.ZodString;
|
|
3914
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3915
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3916
|
+
}, z.core.$strict>>;
|
|
3917
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
3918
|
+
field: z.ZodString;
|
|
3919
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
3920
|
+
label: z.ZodString;
|
|
3921
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3922
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3923
|
+
}, z.core.$strict>>;
|
|
3924
|
+
}, z.core.$strict>>;
|
|
3925
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3926
|
+
calc: z.ZodString;
|
|
3927
|
+
as: z.ZodString;
|
|
3928
|
+
}, z.core.$strict>>>;
|
|
3929
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3930
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3931
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3932
|
+
name: z.ZodString;
|
|
3933
|
+
resource: z.ZodString;
|
|
3934
|
+
metric: z.ZodObject<{
|
|
3935
|
+
agg: z.ZodEnum<{
|
|
3936
|
+
sum: "sum";
|
|
3937
|
+
count: "count";
|
|
3938
|
+
count_distinct: "count_distinct";
|
|
3939
|
+
avg: "avg";
|
|
3940
|
+
min: "min";
|
|
3941
|
+
max: "max";
|
|
3942
|
+
median: "median";
|
|
3943
|
+
}>;
|
|
3944
|
+
field: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
as: z.ZodString;
|
|
3946
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3947
|
+
}, z.core.$strict>;
|
|
3948
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3949
|
+
}, z.core.$strict>>;
|
|
3950
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3951
|
+
calc: z.ZodString;
|
|
3952
|
+
as: z.ZodString;
|
|
3953
|
+
}, z.core.$strict>>>;
|
|
3954
|
+
}, z.core.$strict>]>;
|
|
3955
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3956
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3957
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3958
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
3959
|
+
small: "small";
|
|
3960
|
+
medium: "medium";
|
|
3961
|
+
large: "large";
|
|
3962
|
+
wide: "wide";
|
|
3963
|
+
full: "full";
|
|
3964
|
+
}>>;
|
|
3965
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
3966
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
3967
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
3968
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3969
|
+
id: z.ZodString;
|
|
3970
|
+
group_id: z.ZodString;
|
|
3971
|
+
order: z.ZodNumber;
|
|
3972
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
3973
|
+
card: z.ZodObject<{
|
|
3974
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3975
|
+
value: z.ZodObject<{
|
|
3976
|
+
field: z.ZodString;
|
|
3977
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3978
|
+
number: "number";
|
|
3979
|
+
compact_number: "compact_number";
|
|
3980
|
+
currency: "currency";
|
|
3981
|
+
percent: "percent";
|
|
3982
|
+
percent_delta: "percent_delta";
|
|
3983
|
+
number_delta: "number_delta";
|
|
3984
|
+
currency_delta: "currency_delta";
|
|
3985
|
+
}>>;
|
|
3986
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
3988
|
+
}, z.core.$strict>;
|
|
3989
|
+
subtitle: z.ZodOptional<z.ZodObject<{
|
|
3990
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3991
|
+
field: z.ZodOptional<z.ZodString>;
|
|
3992
|
+
}, z.core.$strict>>;
|
|
3993
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3994
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3995
|
+
}, z.core.$strict>;
|
|
3996
|
+
query: z.ZodObject<{
|
|
3997
|
+
resource: z.ZodString;
|
|
3998
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3999
|
+
field: z.ZodString;
|
|
4000
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4001
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4002
|
+
day: "day";
|
|
4003
|
+
week: "week";
|
|
4004
|
+
month: "month";
|
|
4005
|
+
year: "year";
|
|
4006
|
+
}>>;
|
|
4007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4008
|
+
agg: z.ZodEnum<{
|
|
4009
|
+
sum: "sum";
|
|
4010
|
+
count: "count";
|
|
4011
|
+
count_distinct: "count_distinct";
|
|
4012
|
+
avg: "avg";
|
|
4013
|
+
min: "min";
|
|
4014
|
+
max: "max";
|
|
4015
|
+
median: "median";
|
|
4016
|
+
}>;
|
|
4017
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4018
|
+
as: z.ZodString;
|
|
4019
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4021
|
+
calc: z.ZodString;
|
|
4022
|
+
as: z.ZodString;
|
|
4023
|
+
}, z.core.$strict>]>>>;
|
|
4024
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4025
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4026
|
+
field: z.ZodString;
|
|
4027
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4028
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4029
|
+
day: "day";
|
|
4030
|
+
week: "week";
|
|
4031
|
+
month: "month";
|
|
4032
|
+
year: "year";
|
|
4033
|
+
}>>;
|
|
4034
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4035
|
+
}, z.core.$strict>]>>>;
|
|
4036
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4037
|
+
field: z.ZodString;
|
|
4038
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4039
|
+
asc: "asc";
|
|
4040
|
+
desc: "desc";
|
|
4041
|
+
}>>;
|
|
4042
|
+
}, z.core.$strict>>>;
|
|
4043
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4044
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4045
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
4046
|
+
field: z.ZodString;
|
|
4047
|
+
grain: z.ZodEnum<{
|
|
4048
|
+
day: "day";
|
|
4049
|
+
week: "week";
|
|
4050
|
+
month: "month";
|
|
4051
|
+
year: "year";
|
|
4052
|
+
}>;
|
|
4053
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4054
|
+
}, z.core.$strict>>;
|
|
4055
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
4056
|
+
field: z.ZodString;
|
|
4057
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4058
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4059
|
+
}, z.core.$strict>>;
|
|
4060
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
4061
|
+
field: z.ZodString;
|
|
4062
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
4063
|
+
label: z.ZodString;
|
|
4064
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4065
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4066
|
+
}, z.core.$strict>>;
|
|
4067
|
+
}, z.core.$strict>>;
|
|
4068
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4069
|
+
calc: z.ZodString;
|
|
4070
|
+
as: z.ZodString;
|
|
4071
|
+
}, z.core.$strict>>>;
|
|
4072
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4073
|
+
}, z.core.$strict>;
|
|
4074
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4075
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4077
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4078
|
+
small: "small";
|
|
4079
|
+
medium: "medium";
|
|
4080
|
+
large: "large";
|
|
4081
|
+
wide: "wide";
|
|
4082
|
+
full: "full";
|
|
4083
|
+
}>>;
|
|
4084
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4085
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4086
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4087
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4088
|
+
id: z.ZodString;
|
|
4089
|
+
group_id: z.ZodString;
|
|
4090
|
+
order: z.ZodNumber;
|
|
4091
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
4092
|
+
card: z.ZodObject<{
|
|
4093
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
value: z.ZodObject<{
|
|
4095
|
+
field: z.ZodString;
|
|
4096
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4097
|
+
number: "number";
|
|
4098
|
+
compact_number: "compact_number";
|
|
4099
|
+
currency: "currency";
|
|
4100
|
+
percent: "percent";
|
|
4101
|
+
percent_delta: "percent_delta";
|
|
4102
|
+
number_delta: "number_delta";
|
|
4103
|
+
currency_delta: "currency_delta";
|
|
4104
|
+
}>>;
|
|
4105
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
4106
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
4107
|
+
}, z.core.$strict>;
|
|
4108
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
4109
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
4110
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4111
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4112
|
+
}, z.core.$strict>>;
|
|
4113
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
4114
|
+
value_field: z.ZodString;
|
|
4115
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
4116
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
4117
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4118
|
+
number: "number";
|
|
4119
|
+
compact_number: "compact_number";
|
|
4120
|
+
currency: "currency";
|
|
4121
|
+
percent: "percent";
|
|
4122
|
+
percent_delta: "percent_delta";
|
|
4123
|
+
number_delta: "number_delta";
|
|
4124
|
+
currency_delta: "currency_delta";
|
|
4125
|
+
}>>;
|
|
4126
|
+
}, z.core.$strict>>;
|
|
4127
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4128
|
+
}, z.core.$strict>;
|
|
4129
|
+
query: z.ZodObject<{
|
|
4130
|
+
resource: z.ZodString;
|
|
4131
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4132
|
+
field: z.ZodString;
|
|
4133
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4134
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4135
|
+
day: "day";
|
|
4136
|
+
week: "week";
|
|
4137
|
+
month: "month";
|
|
4138
|
+
year: "year";
|
|
4139
|
+
}>>;
|
|
4140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4141
|
+
agg: z.ZodEnum<{
|
|
4142
|
+
sum: "sum";
|
|
4143
|
+
count: "count";
|
|
4144
|
+
count_distinct: "count_distinct";
|
|
4145
|
+
avg: "avg";
|
|
4146
|
+
min: "min";
|
|
4147
|
+
max: "max";
|
|
4148
|
+
median: "median";
|
|
4149
|
+
}>;
|
|
4150
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4151
|
+
as: z.ZodString;
|
|
4152
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4153
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4154
|
+
calc: z.ZodString;
|
|
4155
|
+
as: z.ZodString;
|
|
4156
|
+
}, z.core.$strict>]>>>;
|
|
4157
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4158
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4159
|
+
field: z.ZodString;
|
|
4160
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4161
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4162
|
+
day: "day";
|
|
4163
|
+
week: "week";
|
|
4164
|
+
month: "month";
|
|
4165
|
+
year: "year";
|
|
4166
|
+
}>>;
|
|
4167
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4168
|
+
}, z.core.$strict>]>>>;
|
|
4169
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4170
|
+
field: z.ZodString;
|
|
4171
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4172
|
+
asc: "asc";
|
|
4173
|
+
desc: "desc";
|
|
4174
|
+
}>>;
|
|
4175
|
+
}, z.core.$strict>>>;
|
|
4176
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4177
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4178
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
4179
|
+
field: z.ZodString;
|
|
4180
|
+
grain: z.ZodEnum<{
|
|
4181
|
+
day: "day";
|
|
4182
|
+
week: "week";
|
|
4183
|
+
month: "month";
|
|
4184
|
+
year: "year";
|
|
4185
|
+
}>;
|
|
4186
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4187
|
+
}, z.core.$strict>>;
|
|
4188
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
4189
|
+
field: z.ZodString;
|
|
4190
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4191
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4192
|
+
}, z.core.$strict>>;
|
|
4193
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
4194
|
+
field: z.ZodString;
|
|
4195
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
4196
|
+
label: z.ZodString;
|
|
4197
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4198
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4199
|
+
}, z.core.$strict>>;
|
|
4200
|
+
}, z.core.$strict>>;
|
|
4201
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4202
|
+
calc: z.ZodString;
|
|
4203
|
+
as: z.ZodString;
|
|
4204
|
+
}, z.core.$strict>>>;
|
|
4205
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4206
|
+
}, z.core.$strict>;
|
|
4207
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4208
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4209
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4210
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4211
|
+
small: "small";
|
|
4212
|
+
medium: "medium";
|
|
4213
|
+
large: "large";
|
|
4214
|
+
wide: "wide";
|
|
4215
|
+
full: "full";
|
|
4216
|
+
}>>;
|
|
4217
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4218
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4219
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4220
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4221
|
+
id: z.ZodString;
|
|
4222
|
+
group_id: z.ZodString;
|
|
4223
|
+
order: z.ZodNumber;
|
|
4224
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
4225
|
+
pivot: z.ZodObject<{
|
|
4226
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4227
|
+
field: z.ZodString;
|
|
4228
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4229
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4230
|
+
number: "number";
|
|
4231
|
+
compact_number: "compact_number";
|
|
4232
|
+
currency: "currency";
|
|
4233
|
+
percent: "percent";
|
|
4234
|
+
percent_delta: "percent_delta";
|
|
4235
|
+
number_delta: "number_delta";
|
|
4236
|
+
currency_delta: "currency_delta";
|
|
4237
|
+
}>>;
|
|
4238
|
+
}, z.core.$strict>]>>;
|
|
4239
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4240
|
+
field: z.ZodString;
|
|
4241
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4243
|
+
number: "number";
|
|
4244
|
+
compact_number: "compact_number";
|
|
4245
|
+
currency: "currency";
|
|
4246
|
+
percent: "percent";
|
|
4247
|
+
percent_delta: "percent_delta";
|
|
4248
|
+
number_delta: "number_delta";
|
|
4249
|
+
currency_delta: "currency_delta";
|
|
4250
|
+
}>>;
|
|
4251
|
+
}, z.core.$strict>]>>>;
|
|
4252
|
+
values: z.ZodArray<z.ZodObject<{
|
|
4253
|
+
field: z.ZodString;
|
|
4254
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4255
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4256
|
+
number: "number";
|
|
4257
|
+
compact_number: "compact_number";
|
|
4258
|
+
currency: "currency";
|
|
4259
|
+
percent: "percent";
|
|
4260
|
+
percent_delta: "percent_delta";
|
|
4261
|
+
number_delta: "number_delta";
|
|
4262
|
+
currency_delta: "currency_delta";
|
|
4263
|
+
}>>;
|
|
4264
|
+
aggregation: z.ZodOptional<z.ZodEnum<{
|
|
4265
|
+
sum: "sum";
|
|
4266
|
+
count: "count";
|
|
4267
|
+
avg: "avg";
|
|
4268
|
+
min: "min";
|
|
4269
|
+
max: "max";
|
|
4270
|
+
}>>;
|
|
4271
|
+
}, z.core.$strict>>;
|
|
4272
|
+
}, z.core.$strict>;
|
|
4273
|
+
query: z.ZodObject<{
|
|
4274
|
+
resource: z.ZodString;
|
|
4275
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4276
|
+
field: z.ZodString;
|
|
4277
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4278
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4279
|
+
day: "day";
|
|
4280
|
+
week: "week";
|
|
4281
|
+
month: "month";
|
|
4282
|
+
year: "year";
|
|
4283
|
+
}>>;
|
|
4284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4285
|
+
agg: z.ZodEnum<{
|
|
4286
|
+
sum: "sum";
|
|
4287
|
+
count: "count";
|
|
4288
|
+
count_distinct: "count_distinct";
|
|
4289
|
+
avg: "avg";
|
|
4290
|
+
min: "min";
|
|
4291
|
+
max: "max";
|
|
4292
|
+
median: "median";
|
|
4293
|
+
}>;
|
|
4294
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4295
|
+
as: z.ZodString;
|
|
4296
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4297
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4298
|
+
calc: z.ZodString;
|
|
4299
|
+
as: z.ZodString;
|
|
4300
|
+
}, z.core.$strict>]>>>;
|
|
4301
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4302
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4303
|
+
field: z.ZodString;
|
|
4304
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4305
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4306
|
+
day: "day";
|
|
4307
|
+
week: "week";
|
|
4308
|
+
month: "month";
|
|
4309
|
+
year: "year";
|
|
4310
|
+
}>>;
|
|
4311
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4312
|
+
}, z.core.$strict>]>>>;
|
|
4313
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4314
|
+
field: z.ZodString;
|
|
4315
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4316
|
+
asc: "asc";
|
|
4317
|
+
desc: "desc";
|
|
4318
|
+
}>>;
|
|
4319
|
+
}, z.core.$strict>>>;
|
|
4320
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4321
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4322
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
4323
|
+
field: z.ZodString;
|
|
4324
|
+
grain: z.ZodEnum<{
|
|
4325
|
+
day: "day";
|
|
4326
|
+
week: "week";
|
|
4327
|
+
month: "month";
|
|
4328
|
+
year: "year";
|
|
4329
|
+
}>;
|
|
4330
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4331
|
+
}, z.core.$strict>>;
|
|
4332
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
4333
|
+
field: z.ZodString;
|
|
4334
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4335
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4336
|
+
}, z.core.$strict>>;
|
|
4337
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
4338
|
+
field: z.ZodString;
|
|
4339
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
4340
|
+
label: z.ZodString;
|
|
4341
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4342
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4343
|
+
}, z.core.$strict>>;
|
|
4344
|
+
}, z.core.$strict>>;
|
|
4345
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4346
|
+
calc: z.ZodString;
|
|
4347
|
+
as: z.ZodString;
|
|
4348
|
+
}, z.core.$strict>>>;
|
|
4349
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4350
|
+
}, z.core.$strict>;
|
|
4351
|
+
}, z.core.$strict>], "target">>;
|
|
4352
|
+
}, z.core.$strict>;
|
|
4353
|
+
}, z.core.$strict>;
|
|
4354
|
+
export declare const GroupIdRequestZodSchema: z.ZodObject<{
|
|
4355
|
+
slug: z.ZodString;
|
|
4356
|
+
groupId: z.ZodString;
|
|
4357
|
+
}, z.core.$strict>;
|
|
4358
|
+
export declare const MoveGroupRequestZodSchema: z.ZodObject<{
|
|
4359
|
+
slug: z.ZodString;
|
|
4360
|
+
groupId: z.ZodString;
|
|
4361
|
+
direction: z.ZodEnum<{
|
|
4362
|
+
up: "up";
|
|
4363
|
+
down: "down";
|
|
4364
|
+
}>;
|
|
4365
|
+
}, z.core.$strict>;
|
|
4366
|
+
export declare const EditableDashboardGroupConfigZodSchema: z.ZodObject<{
|
|
4367
|
+
label: z.ZodString;
|
|
4368
|
+
}, z.core.$strict>;
|
|
4369
|
+
export declare const SetGroupConfigRequestZodSchema: z.ZodObject<{
|
|
4370
|
+
slug: z.ZodString;
|
|
4371
|
+
groupId: z.ZodString;
|
|
4372
|
+
config: z.ZodObject<{
|
|
4373
|
+
label: z.ZodString;
|
|
4374
|
+
}, z.core.$strict>;
|
|
4375
|
+
}, z.core.$strict>;
|
|
4376
|
+
export declare const WidgetIdRequestZodSchema: z.ZodObject<{
|
|
4377
|
+
slug: z.ZodString;
|
|
4378
|
+
widgetId: z.ZodString;
|
|
4379
|
+
}, z.core.$strict>;
|
|
4380
|
+
export declare const WidgetDataRequestZodSchema: z.ZodObject<{
|
|
4381
|
+
slug: z.ZodString;
|
|
4382
|
+
widgetId: z.ZodString;
|
|
4383
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
4384
|
+
page: z.ZodNumber;
|
|
4385
|
+
pageSize: z.ZodNumber;
|
|
4386
|
+
}, z.core.$strip>>;
|
|
4387
|
+
}, z.core.$strict>;
|
|
4388
|
+
export declare const MoveWidgetRequestZodSchema: z.ZodObject<{
|
|
4389
|
+
slug: z.ZodString;
|
|
4390
|
+
widgetId: z.ZodString;
|
|
4391
|
+
direction: z.ZodEnum<{
|
|
4392
|
+
up: "up";
|
|
4393
|
+
down: "down";
|
|
4394
|
+
}>;
|
|
4395
|
+
}, z.core.$strict>;
|
|
4396
|
+
export declare const SetWidgetConfigRequestZodSchema: z.ZodObject<{
|
|
4397
|
+
slug: z.ZodString;
|
|
4398
|
+
widgetId: z.ZodString;
|
|
4399
|
+
config: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4400
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4401
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4402
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4403
|
+
small: "small";
|
|
4404
|
+
medium: "medium";
|
|
4405
|
+
large: "large";
|
|
4406
|
+
wide: "wide";
|
|
4407
|
+
full: "full";
|
|
4408
|
+
}>>;
|
|
4409
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4410
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4411
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4412
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4413
|
+
target: z.ZodLiteral<"empty">;
|
|
4414
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4415
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4416
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4417
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4418
|
+
small: "small";
|
|
4419
|
+
medium: "medium";
|
|
4420
|
+
large: "large";
|
|
4421
|
+
wide: "wide";
|
|
4422
|
+
full: "full";
|
|
4423
|
+
}>>;
|
|
4424
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4425
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4426
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4427
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4428
|
+
target: z.ZodLiteral<"table">;
|
|
4429
|
+
table: z.ZodOptional<z.ZodObject<{
|
|
4430
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4431
|
+
field: z.ZodString;
|
|
4432
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4433
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4434
|
+
number: "number";
|
|
4435
|
+
compact_number: "compact_number";
|
|
4436
|
+
currency: "currency";
|
|
4437
|
+
percent: "percent";
|
|
4438
|
+
percent_delta: "percent_delta";
|
|
4439
|
+
number_delta: "number_delta";
|
|
4440
|
+
currency_delta: "currency_delta";
|
|
4441
|
+
}>>;
|
|
4442
|
+
}, z.core.$strict>]>>>;
|
|
4443
|
+
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
4444
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
4445
|
+
}, z.core.$strict>>;
|
|
4446
|
+
query: z.ZodObject<{
|
|
4447
|
+
resource: z.ZodString;
|
|
4448
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4449
|
+
field: z.ZodString;
|
|
4450
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4451
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4452
|
+
day: "day";
|
|
4453
|
+
week: "week";
|
|
4454
|
+
month: "month";
|
|
4455
|
+
year: "year";
|
|
4456
|
+
}>>;
|
|
4457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4458
|
+
agg: z.ZodEnum<{
|
|
4459
|
+
sum: "sum";
|
|
4460
|
+
count: "count";
|
|
4461
|
+
count_distinct: "count_distinct";
|
|
4462
|
+
avg: "avg";
|
|
4463
|
+
min: "min";
|
|
4464
|
+
max: "max";
|
|
4465
|
+
median: "median";
|
|
4466
|
+
}>;
|
|
4467
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4468
|
+
as: z.ZodString;
|
|
4469
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4471
|
+
calc: z.ZodString;
|
|
4472
|
+
as: z.ZodString;
|
|
4473
|
+
}, z.core.$strict>]>>>;
|
|
4474
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4475
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4476
|
+
field: z.ZodString;
|
|
4477
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4478
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4479
|
+
day: "day";
|
|
4480
|
+
week: "week";
|
|
4481
|
+
month: "month";
|
|
4482
|
+
year: "year";
|
|
4483
|
+
}>>;
|
|
4484
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4485
|
+
}, z.core.$strict>]>>>;
|
|
4486
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4487
|
+
field: z.ZodString;
|
|
4488
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4489
|
+
asc: "asc";
|
|
4490
|
+
desc: "desc";
|
|
4491
|
+
}>>;
|
|
4492
|
+
}, z.core.$strict>>>;
|
|
4493
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4494
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4495
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
4496
|
+
field: z.ZodString;
|
|
4497
|
+
grain: z.ZodEnum<{
|
|
4498
|
+
day: "day";
|
|
4499
|
+
week: "week";
|
|
4500
|
+
month: "month";
|
|
4501
|
+
year: "year";
|
|
4502
|
+
}>;
|
|
4503
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4504
|
+
}, z.core.$strict>>;
|
|
4505
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
4506
|
+
field: z.ZodString;
|
|
4507
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4508
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4509
|
+
}, z.core.$strict>>;
|
|
4510
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
4511
|
+
field: z.ZodString;
|
|
4512
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
4513
|
+
label: z.ZodString;
|
|
4514
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4515
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4516
|
+
}, z.core.$strict>>;
|
|
4517
|
+
}, z.core.$strict>>;
|
|
4518
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4519
|
+
calc: z.ZodString;
|
|
4520
|
+
as: z.ZodString;
|
|
4521
|
+
}, z.core.$strict>>>;
|
|
4522
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4523
|
+
}, z.core.$strict>;
|
|
4524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4525
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4526
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4527
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4528
|
+
small: "small";
|
|
4529
|
+
medium: "medium";
|
|
4530
|
+
large: "large";
|
|
4531
|
+
wide: "wide";
|
|
4532
|
+
full: "full";
|
|
4533
|
+
}>>;
|
|
4534
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4535
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4536
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4537
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4538
|
+
target: z.ZodLiteral<"chart">;
|
|
4539
|
+
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4540
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4541
|
+
type: z.ZodLiteral<"line">;
|
|
4542
|
+
x: z.ZodObject<{
|
|
4543
|
+
field: z.ZodString;
|
|
4544
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4545
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4546
|
+
number: "number";
|
|
4547
|
+
compact_number: "compact_number";
|
|
4548
|
+
currency: "currency";
|
|
4549
|
+
percent: "percent";
|
|
4550
|
+
percent_delta: "percent_delta";
|
|
4551
|
+
number_delta: "number_delta";
|
|
4552
|
+
currency_delta: "currency_delta";
|
|
4553
|
+
}>>;
|
|
4554
|
+
}, z.core.$strict>;
|
|
4555
|
+
y: z.ZodArray<z.ZodObject<{
|
|
4556
|
+
field: z.ZodString;
|
|
4557
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4558
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4559
|
+
number: "number";
|
|
4560
|
+
compact_number: "compact_number";
|
|
4561
|
+
currency: "currency";
|
|
4562
|
+
percent: "percent";
|
|
4563
|
+
percent_delta: "percent_delta";
|
|
4564
|
+
number_delta: "number_delta";
|
|
4565
|
+
currency_delta: "currency_delta";
|
|
4566
|
+
}>>;
|
|
4567
|
+
}, z.core.$strict>>;
|
|
4568
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
4569
|
+
field: z.ZodString;
|
|
4570
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4571
|
+
}, z.core.$strict>>;
|
|
4572
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4573
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4575
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4576
|
+
type: z.ZodLiteral<"bar">;
|
|
4577
|
+
x: z.ZodObject<{
|
|
4578
|
+
field: z.ZodString;
|
|
4579
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4580
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4581
|
+
number: "number";
|
|
4582
|
+
compact_number: "compact_number";
|
|
4583
|
+
currency: "currency";
|
|
4584
|
+
percent: "percent";
|
|
4585
|
+
percent_delta: "percent_delta";
|
|
4586
|
+
number_delta: "number_delta";
|
|
4587
|
+
currency_delta: "currency_delta";
|
|
4588
|
+
}>>;
|
|
4589
|
+
}, z.core.$strict>;
|
|
4590
|
+
y: z.ZodObject<{
|
|
4591
|
+
field: z.ZodString;
|
|
4592
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4593
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4594
|
+
number: "number";
|
|
4595
|
+
compact_number: "compact_number";
|
|
4596
|
+
currency: "currency";
|
|
4597
|
+
percent: "percent";
|
|
4598
|
+
percent_delta: "percent_delta";
|
|
4599
|
+
number_delta: "number_delta";
|
|
4600
|
+
currency_delta: "currency_delta";
|
|
4601
|
+
}>>;
|
|
4602
|
+
}, z.core.$strict>;
|
|
4603
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4604
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4605
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4606
|
+
type: z.ZodLiteral<"stacked_bar">;
|
|
4607
|
+
x: z.ZodObject<{
|
|
4608
|
+
field: z.ZodString;
|
|
4609
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4610
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4611
|
+
number: "number";
|
|
4612
|
+
compact_number: "compact_number";
|
|
4613
|
+
currency: "currency";
|
|
4614
|
+
percent: "percent";
|
|
4615
|
+
percent_delta: "percent_delta";
|
|
4616
|
+
number_delta: "number_delta";
|
|
4617
|
+
currency_delta: "currency_delta";
|
|
4618
|
+
}>>;
|
|
4619
|
+
}, z.core.$strict>;
|
|
4620
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
4621
|
+
field: z.ZodString;
|
|
4622
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4623
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4624
|
+
number: "number";
|
|
4625
|
+
compact_number: "compact_number";
|
|
4626
|
+
currency: "currency";
|
|
4627
|
+
percent: "percent";
|
|
4628
|
+
percent_delta: "percent_delta";
|
|
4629
|
+
number_delta: "number_delta";
|
|
4630
|
+
currency_delta: "currency_delta";
|
|
4631
|
+
}>>;
|
|
4632
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
4633
|
+
field: z.ZodString;
|
|
4634
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4635
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4636
|
+
number: "number";
|
|
4637
|
+
compact_number: "compact_number";
|
|
4638
|
+
currency: "currency";
|
|
4639
|
+
percent: "percent";
|
|
4640
|
+
percent_delta: "percent_delta";
|
|
4641
|
+
number_delta: "number_delta";
|
|
4642
|
+
currency_delta: "currency_delta";
|
|
4643
|
+
}>>;
|
|
4644
|
+
}, z.core.$strict>>]>;
|
|
4645
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
4646
|
+
field: z.ZodString;
|
|
4647
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4648
|
+
}, z.core.$strict>>;
|
|
4649
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4651
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4652
|
+
type: z.ZodLiteral<"pie">;
|
|
4653
|
+
label: z.ZodObject<{
|
|
4654
|
+
field: z.ZodString;
|
|
4655
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4656
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4657
|
+
number: "number";
|
|
4658
|
+
compact_number: "compact_number";
|
|
4659
|
+
currency: "currency";
|
|
4660
|
+
percent: "percent";
|
|
4661
|
+
percent_delta: "percent_delta";
|
|
4662
|
+
number_delta: "number_delta";
|
|
4663
|
+
currency_delta: "currency_delta";
|
|
4664
|
+
}>>;
|
|
4665
|
+
}, z.core.$strict>;
|
|
4666
|
+
value: z.ZodObject<{
|
|
4667
|
+
field: z.ZodString;
|
|
4668
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4669
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4670
|
+
number: "number";
|
|
4671
|
+
compact_number: "compact_number";
|
|
4672
|
+
currency: "currency";
|
|
4673
|
+
percent: "percent";
|
|
4674
|
+
percent_delta: "percent_delta";
|
|
4675
|
+
number_delta: "number_delta";
|
|
4676
|
+
currency_delta: "currency_delta";
|
|
4677
|
+
}>>;
|
|
4678
|
+
}, z.core.$strict>;
|
|
4679
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4680
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4681
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4682
|
+
type: z.ZodLiteral<"histogram">;
|
|
4683
|
+
x: z.ZodObject<{
|
|
4684
|
+
field: z.ZodString;
|
|
4685
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4686
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4687
|
+
number: "number";
|
|
4688
|
+
compact_number: "compact_number";
|
|
4689
|
+
currency: "currency";
|
|
4690
|
+
percent: "percent";
|
|
4691
|
+
percent_delta: "percent_delta";
|
|
4692
|
+
number_delta: "number_delta";
|
|
4693
|
+
currency_delta: "currency_delta";
|
|
4694
|
+
}>>;
|
|
4695
|
+
}, z.core.$strict>;
|
|
4696
|
+
y: z.ZodObject<{
|
|
4697
|
+
field: z.ZodString;
|
|
4698
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4699
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4700
|
+
number: "number";
|
|
4701
|
+
compact_number: "compact_number";
|
|
4702
|
+
currency: "currency";
|
|
4703
|
+
percent: "percent";
|
|
4704
|
+
percent_delta: "percent_delta";
|
|
4705
|
+
number_delta: "number_delta";
|
|
4706
|
+
currency_delta: "currency_delta";
|
|
4707
|
+
}>>;
|
|
4708
|
+
}, z.core.$strict>;
|
|
4709
|
+
buckets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4710
|
+
label: z.ZodString;
|
|
4711
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4712
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4713
|
+
}, z.core.$strict>>>;
|
|
4714
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4716
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4717
|
+
type: z.ZodLiteral<"funnel">;
|
|
4718
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4719
|
+
field: z.ZodString;
|
|
4720
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4721
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4722
|
+
number: "number";
|
|
4723
|
+
compact_number: "compact_number";
|
|
4724
|
+
currency: "currency";
|
|
4725
|
+
percent: "percent";
|
|
4726
|
+
percent_delta: "percent_delta";
|
|
4727
|
+
number_delta: "number_delta";
|
|
4728
|
+
currency_delta: "currency_delta";
|
|
4729
|
+
}>>;
|
|
4730
|
+
}, z.core.$strict>>;
|
|
4731
|
+
value: z.ZodOptional<z.ZodObject<{
|
|
4732
|
+
field: z.ZodString;
|
|
4733
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4734
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4735
|
+
number: "number";
|
|
4736
|
+
compact_number: "compact_number";
|
|
4737
|
+
currency: "currency";
|
|
4738
|
+
percent: "percent";
|
|
4739
|
+
percent_delta: "percent_delta";
|
|
4740
|
+
number_delta: "number_delta";
|
|
4741
|
+
currency_delta: "currency_delta";
|
|
4742
|
+
}>>;
|
|
4743
|
+
}, z.core.$strict>>;
|
|
4744
|
+
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4745
|
+
}, z.core.$strict>], "type">;
|
|
4746
|
+
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
4747
|
+
resource: z.ZodString;
|
|
4748
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4749
|
+
field: z.ZodString;
|
|
4750
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4751
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4752
|
+
day: "day";
|
|
4753
|
+
week: "week";
|
|
4754
|
+
month: "month";
|
|
4755
|
+
year: "year";
|
|
4756
|
+
}>>;
|
|
4757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4758
|
+
agg: z.ZodEnum<{
|
|
4759
|
+
sum: "sum";
|
|
4760
|
+
count: "count";
|
|
4761
|
+
count_distinct: "count_distinct";
|
|
4762
|
+
avg: "avg";
|
|
4763
|
+
min: "min";
|
|
4764
|
+
max: "max";
|
|
4765
|
+
median: "median";
|
|
4766
|
+
}>;
|
|
4767
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4768
|
+
as: z.ZodString;
|
|
4769
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4771
|
+
calc: z.ZodString;
|
|
4772
|
+
as: z.ZodString;
|
|
4773
|
+
}, z.core.$strict>]>>>;
|
|
4774
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4775
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4776
|
+
field: z.ZodString;
|
|
4777
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4778
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4779
|
+
day: "day";
|
|
4780
|
+
week: "week";
|
|
4781
|
+
month: "month";
|
|
4782
|
+
year: "year";
|
|
4783
|
+
}>>;
|
|
4784
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4785
|
+
}, z.core.$strict>]>>>;
|
|
4786
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4787
|
+
field: z.ZodString;
|
|
4788
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4789
|
+
asc: "asc";
|
|
4790
|
+
desc: "desc";
|
|
4791
|
+
}>>;
|
|
4792
|
+
}, z.core.$strict>>>;
|
|
4793
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4794
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4795
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
4796
|
+
field: z.ZodString;
|
|
4797
|
+
grain: z.ZodEnum<{
|
|
4798
|
+
day: "day";
|
|
4799
|
+
week: "week";
|
|
4800
|
+
month: "month";
|
|
4801
|
+
year: "year";
|
|
4802
|
+
}>;
|
|
4803
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4804
|
+
}, z.core.$strict>>;
|
|
4805
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
4806
|
+
field: z.ZodString;
|
|
4807
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4808
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4809
|
+
}, z.core.$strict>>;
|
|
4810
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
4811
|
+
field: z.ZodString;
|
|
4812
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
4813
|
+
label: z.ZodString;
|
|
4814
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4815
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4816
|
+
}, z.core.$strict>>;
|
|
4817
|
+
}, z.core.$strict>>;
|
|
4818
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4819
|
+
calc: z.ZodString;
|
|
4820
|
+
as: z.ZodString;
|
|
4821
|
+
}, z.core.$strict>>>;
|
|
4822
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4824
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4825
|
+
name: z.ZodString;
|
|
4826
|
+
resource: z.ZodString;
|
|
4827
|
+
metric: z.ZodObject<{
|
|
4828
|
+
agg: z.ZodEnum<{
|
|
4829
|
+
sum: "sum";
|
|
4830
|
+
count: "count";
|
|
4831
|
+
count_distinct: "count_distinct";
|
|
4832
|
+
avg: "avg";
|
|
4833
|
+
min: "min";
|
|
4834
|
+
max: "max";
|
|
4835
|
+
median: "median";
|
|
4836
|
+
}>;
|
|
4837
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4838
|
+
as: z.ZodString;
|
|
4839
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4840
|
+
}, z.core.$strict>;
|
|
4841
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4842
|
+
}, z.core.$strict>>;
|
|
4843
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4844
|
+
calc: z.ZodString;
|
|
4845
|
+
as: z.ZodString;
|
|
4846
|
+
}, z.core.$strict>>>;
|
|
4847
|
+
}, z.core.$strict>]>;
|
|
4848
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4849
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4850
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4851
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4852
|
+
small: "small";
|
|
4853
|
+
medium: "medium";
|
|
4854
|
+
large: "large";
|
|
4855
|
+
wide: "wide";
|
|
4856
|
+
full: "full";
|
|
4857
|
+
}>>;
|
|
4858
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4859
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4860
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4861
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4862
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
4863
|
+
card: z.ZodObject<{
|
|
4864
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4865
|
+
value: z.ZodObject<{
|
|
4866
|
+
field: z.ZodString;
|
|
4867
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4868
|
+
number: "number";
|
|
4869
|
+
compact_number: "compact_number";
|
|
4870
|
+
currency: "currency";
|
|
4871
|
+
percent: "percent";
|
|
4872
|
+
percent_delta: "percent_delta";
|
|
4873
|
+
number_delta: "number_delta";
|
|
4874
|
+
currency_delta: "currency_delta";
|
|
4875
|
+
}>>;
|
|
4876
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
4877
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
4878
|
+
}, z.core.$strict>;
|
|
4879
|
+
subtitle: z.ZodOptional<z.ZodObject<{
|
|
4880
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4881
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4882
|
+
}, z.core.$strict>>;
|
|
4883
|
+
comparison: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4884
|
+
sparkline: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4885
|
+
}, z.core.$strict>;
|
|
4886
|
+
query: z.ZodObject<{
|
|
4887
|
+
resource: z.ZodString;
|
|
4888
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4889
|
+
field: z.ZodString;
|
|
4890
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4891
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4892
|
+
day: "day";
|
|
4893
|
+
week: "week";
|
|
4894
|
+
month: "month";
|
|
4895
|
+
year: "year";
|
|
4896
|
+
}>>;
|
|
4897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4898
|
+
agg: z.ZodEnum<{
|
|
4899
|
+
sum: "sum";
|
|
4900
|
+
count: "count";
|
|
4901
|
+
count_distinct: "count_distinct";
|
|
4902
|
+
avg: "avg";
|
|
4903
|
+
min: "min";
|
|
4904
|
+
max: "max";
|
|
4905
|
+
median: "median";
|
|
4906
|
+
}>;
|
|
4907
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4908
|
+
as: z.ZodString;
|
|
4909
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4910
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4911
|
+
calc: z.ZodString;
|
|
4912
|
+
as: z.ZodString;
|
|
4913
|
+
}, z.core.$strict>]>>>;
|
|
4914
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4915
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4916
|
+
field: z.ZodString;
|
|
4917
|
+
as: z.ZodOptional<z.ZodString>;
|
|
4918
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
4919
|
+
day: "day";
|
|
4920
|
+
week: "week";
|
|
4921
|
+
month: "month";
|
|
4922
|
+
year: "year";
|
|
4923
|
+
}>>;
|
|
4924
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4925
|
+
}, z.core.$strict>]>>>;
|
|
4926
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4927
|
+
field: z.ZodString;
|
|
4928
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
4929
|
+
asc: "asc";
|
|
4930
|
+
desc: "desc";
|
|
4931
|
+
}>>;
|
|
4932
|
+
}, z.core.$strict>>>;
|
|
4933
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4934
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
4935
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
4936
|
+
field: z.ZodString;
|
|
4937
|
+
grain: z.ZodEnum<{
|
|
4938
|
+
day: "day";
|
|
4939
|
+
week: "week";
|
|
4940
|
+
month: "month";
|
|
4941
|
+
year: "year";
|
|
4942
|
+
}>;
|
|
4943
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4944
|
+
}, z.core.$strict>>;
|
|
4945
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
4946
|
+
field: z.ZodString;
|
|
4947
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4948
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4949
|
+
}, z.core.$strict>>;
|
|
4950
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
4951
|
+
field: z.ZodString;
|
|
4952
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
4953
|
+
label: z.ZodString;
|
|
4954
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4955
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4956
|
+
}, z.core.$strict>>;
|
|
4957
|
+
}, z.core.$strict>>;
|
|
4958
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4959
|
+
calc: z.ZodString;
|
|
4960
|
+
as: z.ZodString;
|
|
4961
|
+
}, z.core.$strict>>>;
|
|
4962
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4963
|
+
}, z.core.$strict>;
|
|
4964
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4965
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4966
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
4967
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4968
|
+
small: "small";
|
|
4969
|
+
medium: "medium";
|
|
4970
|
+
large: "large";
|
|
4971
|
+
wide: "wide";
|
|
4972
|
+
full: "full";
|
|
4973
|
+
}>>;
|
|
4974
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
4975
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
4976
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
4977
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4978
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
4979
|
+
card: z.ZodObject<{
|
|
4980
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4981
|
+
value: z.ZodObject<{
|
|
4982
|
+
field: z.ZodString;
|
|
4983
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
4984
|
+
number: "number";
|
|
4985
|
+
compact_number: "compact_number";
|
|
4986
|
+
currency: "currency";
|
|
4987
|
+
percent: "percent";
|
|
4988
|
+
percent_delta: "percent_delta";
|
|
4989
|
+
number_delta: "number_delta";
|
|
4990
|
+
currency_delta: "currency_delta";
|
|
4991
|
+
}>>;
|
|
4992
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
4993
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
4994
|
+
}, z.core.$strict>;
|
|
4995
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
4996
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
4997
|
+
field: z.ZodOptional<z.ZodString>;
|
|
4998
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4999
|
+
}, z.core.$strict>>;
|
|
5000
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
5001
|
+
value_field: z.ZodString;
|
|
5002
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
5003
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
5004
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
5005
|
+
number: "number";
|
|
5006
|
+
compact_number: "compact_number";
|
|
5007
|
+
currency: "currency";
|
|
5008
|
+
percent: "percent";
|
|
5009
|
+
percent_delta: "percent_delta";
|
|
5010
|
+
number_delta: "number_delta";
|
|
5011
|
+
currency_delta: "currency_delta";
|
|
5012
|
+
}>>;
|
|
5013
|
+
}, z.core.$strict>>;
|
|
5014
|
+
color: z.ZodOptional<z.ZodString>;
|
|
5015
|
+
}, z.core.$strict>;
|
|
5016
|
+
query: z.ZodObject<{
|
|
5017
|
+
resource: z.ZodString;
|
|
5018
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5019
|
+
field: z.ZodString;
|
|
5020
|
+
as: z.ZodOptional<z.ZodString>;
|
|
5021
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
5022
|
+
day: "day";
|
|
5023
|
+
week: "week";
|
|
5024
|
+
month: "month";
|
|
5025
|
+
year: "year";
|
|
5026
|
+
}>>;
|
|
5027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5028
|
+
agg: z.ZodEnum<{
|
|
5029
|
+
sum: "sum";
|
|
5030
|
+
count: "count";
|
|
5031
|
+
count_distinct: "count_distinct";
|
|
5032
|
+
avg: "avg";
|
|
5033
|
+
min: "min";
|
|
5034
|
+
max: "max";
|
|
5035
|
+
median: "median";
|
|
5036
|
+
}>;
|
|
5037
|
+
field: z.ZodOptional<z.ZodString>;
|
|
5038
|
+
as: z.ZodString;
|
|
5039
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5040
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5041
|
+
calc: z.ZodString;
|
|
5042
|
+
as: z.ZodString;
|
|
5043
|
+
}, z.core.$strict>]>>>;
|
|
5044
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5045
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5046
|
+
field: z.ZodString;
|
|
5047
|
+
as: z.ZodOptional<z.ZodString>;
|
|
5048
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
5049
|
+
day: "day";
|
|
5050
|
+
week: "week";
|
|
5051
|
+
month: "month";
|
|
5052
|
+
year: "year";
|
|
5053
|
+
}>>;
|
|
5054
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5055
|
+
}, z.core.$strict>]>>>;
|
|
5056
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5057
|
+
field: z.ZodString;
|
|
5058
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
5059
|
+
asc: "asc";
|
|
5060
|
+
desc: "desc";
|
|
5061
|
+
}>>;
|
|
5062
|
+
}, z.core.$strict>>>;
|
|
5063
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5064
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
5065
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
5066
|
+
field: z.ZodString;
|
|
5067
|
+
grain: z.ZodEnum<{
|
|
5068
|
+
day: "day";
|
|
5069
|
+
week: "week";
|
|
5070
|
+
month: "month";
|
|
5071
|
+
year: "year";
|
|
5072
|
+
}>;
|
|
5073
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5074
|
+
}, z.core.$strict>>;
|
|
5075
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
5076
|
+
field: z.ZodString;
|
|
5077
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5078
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5079
|
+
}, z.core.$strict>>;
|
|
5080
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
5081
|
+
field: z.ZodString;
|
|
5082
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
5083
|
+
label: z.ZodString;
|
|
5084
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5085
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5086
|
+
}, z.core.$strict>>;
|
|
5087
|
+
}, z.core.$strict>>;
|
|
5088
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5089
|
+
calc: z.ZodString;
|
|
5090
|
+
as: z.ZodString;
|
|
5091
|
+
}, z.core.$strict>>>;
|
|
5092
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
5093
|
+
}, z.core.$strict>;
|
|
5094
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5095
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5096
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
5097
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
5098
|
+
small: "small";
|
|
5099
|
+
medium: "medium";
|
|
5100
|
+
large: "large";
|
|
5101
|
+
wide: "wide";
|
|
5102
|
+
full: "full";
|
|
5103
|
+
}>>;
|
|
5104
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
5105
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
5106
|
+
min_width: z.ZodOptional<z.ZodNumber>;
|
|
5107
|
+
max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5108
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
5109
|
+
pivot: z.ZodObject<{
|
|
5110
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5111
|
+
field: z.ZodString;
|
|
5112
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5113
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
5114
|
+
number: "number";
|
|
5115
|
+
compact_number: "compact_number";
|
|
5116
|
+
currency: "currency";
|
|
5117
|
+
percent: "percent";
|
|
5118
|
+
percent_delta: "percent_delta";
|
|
5119
|
+
number_delta: "number_delta";
|
|
5120
|
+
currency_delta: "currency_delta";
|
|
5121
|
+
}>>;
|
|
5122
|
+
}, z.core.$strict>]>>;
|
|
5123
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5124
|
+
field: z.ZodString;
|
|
5125
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5126
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
5127
|
+
number: "number";
|
|
5128
|
+
compact_number: "compact_number";
|
|
5129
|
+
currency: "currency";
|
|
5130
|
+
percent: "percent";
|
|
5131
|
+
percent_delta: "percent_delta";
|
|
5132
|
+
number_delta: "number_delta";
|
|
5133
|
+
currency_delta: "currency_delta";
|
|
5134
|
+
}>>;
|
|
5135
|
+
}, z.core.$strict>]>>>;
|
|
5136
|
+
values: z.ZodArray<z.ZodObject<{
|
|
5137
|
+
field: z.ZodString;
|
|
5138
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5139
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
5140
|
+
number: "number";
|
|
5141
|
+
compact_number: "compact_number";
|
|
5142
|
+
currency: "currency";
|
|
5143
|
+
percent: "percent";
|
|
5144
|
+
percent_delta: "percent_delta";
|
|
5145
|
+
number_delta: "number_delta";
|
|
5146
|
+
currency_delta: "currency_delta";
|
|
5147
|
+
}>>;
|
|
5148
|
+
aggregation: z.ZodOptional<z.ZodEnum<{
|
|
5149
|
+
sum: "sum";
|
|
5150
|
+
count: "count";
|
|
5151
|
+
avg: "avg";
|
|
5152
|
+
min: "min";
|
|
5153
|
+
max: "max";
|
|
5154
|
+
}>>;
|
|
5155
|
+
}, z.core.$strict>>;
|
|
5156
|
+
}, z.core.$strict>;
|
|
5157
|
+
query: z.ZodObject<{
|
|
5158
|
+
resource: z.ZodString;
|
|
5159
|
+
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5160
|
+
field: z.ZodString;
|
|
5161
|
+
as: z.ZodOptional<z.ZodString>;
|
|
5162
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
5163
|
+
day: "day";
|
|
5164
|
+
week: "week";
|
|
5165
|
+
month: "month";
|
|
5166
|
+
year: "year";
|
|
5167
|
+
}>>;
|
|
5168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5169
|
+
agg: z.ZodEnum<{
|
|
5170
|
+
sum: "sum";
|
|
5171
|
+
count: "count";
|
|
5172
|
+
count_distinct: "count_distinct";
|
|
5173
|
+
avg: "avg";
|
|
5174
|
+
min: "min";
|
|
5175
|
+
max: "max";
|
|
5176
|
+
median: "median";
|
|
5177
|
+
}>;
|
|
5178
|
+
field: z.ZodOptional<z.ZodString>;
|
|
5179
|
+
as: z.ZodString;
|
|
5180
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5181
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5182
|
+
calc: z.ZodString;
|
|
5183
|
+
as: z.ZodString;
|
|
5184
|
+
}, z.core.$strict>]>>>;
|
|
5185
|
+
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5186
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5187
|
+
field: z.ZodString;
|
|
5188
|
+
as: z.ZodOptional<z.ZodString>;
|
|
5189
|
+
grain: z.ZodOptional<z.ZodEnum<{
|
|
5190
|
+
day: "day";
|
|
5191
|
+
week: "week";
|
|
5192
|
+
month: "month";
|
|
5193
|
+
year: "year";
|
|
5194
|
+
}>>;
|
|
5195
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5196
|
+
}, z.core.$strict>]>>>;
|
|
5197
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5198
|
+
field: z.ZodString;
|
|
5199
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
5200
|
+
asc: "asc";
|
|
5201
|
+
desc: "desc";
|
|
5202
|
+
}>>;
|
|
5203
|
+
}, z.core.$strict>>>;
|
|
5204
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5205
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
5206
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
5207
|
+
field: z.ZodString;
|
|
5208
|
+
grain: z.ZodEnum<{
|
|
5209
|
+
day: "day";
|
|
5210
|
+
week: "week";
|
|
5211
|
+
month: "month";
|
|
5212
|
+
year: "year";
|
|
5213
|
+
}>;
|
|
5214
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5215
|
+
}, z.core.$strict>>;
|
|
5216
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
5217
|
+
field: z.ZodString;
|
|
5218
|
+
gte: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5219
|
+
lt: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5220
|
+
}, z.core.$strict>>;
|
|
5221
|
+
bucket: z.ZodOptional<z.ZodObject<{
|
|
5222
|
+
field: z.ZodString;
|
|
5223
|
+
buckets: z.ZodArray<z.ZodObject<{
|
|
5224
|
+
label: z.ZodString;
|
|
5225
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
5226
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
5227
|
+
}, z.core.$strict>>;
|
|
5228
|
+
}, z.core.$strict>>;
|
|
5229
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5230
|
+
calc: z.ZodString;
|
|
5231
|
+
as: z.ZodString;
|
|
5232
|
+
}, z.core.$strict>>>;
|
|
5233
|
+
formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
5234
|
+
}, z.core.$strict>;
|
|
5235
|
+
}, z.core.$strict>], "target">;
|
|
3657
5236
|
}, z.core.$strict>;
|
|
3658
5237
|
export declare const DashboardErrorResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3659
5238
|
export declare const DashboardGroupSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|