@adminforth/dashboard 1.3.0 → 1.4.1
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 +103 -15
- package/custom/api/dashboardApi.ts +9 -8
- package/custom/model/dashboard.types.ts +63 -270
- package/custom/model/dashboardTopics.ts +5 -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 +110 -3
- 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 +24 -18
- 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 -7
- package/dist/custom/api/dashboardApi.js +5 -0
- package/dist/custom/api/dashboardApi.ts +9 -8
- package/dist/custom/model/dashboard.types.d.ts +40 -31
- package/dist/custom/model/dashboard.types.js +13 -152
- package/dist/custom/model/dashboard.types.ts +63 -270
- package/dist/custom/model/dashboardTopics.d.ts +2 -0
- package/dist/custom/model/dashboardTopics.js +8 -0
- package/dist/custom/model/dashboardTopics.ts +5 -0
- package/dist/custom/queries/useDashboardConfig.d.ts +116 -96
- package/dist/custom/queries/useWidgetData.d.ts +116 -96
- 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 +110 -3
- 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 +24 -18
- 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 +0 -23
- package/dist/custom/widgets/chart/chart.types.ts +0 -28
- package/dist/endpoint/dashboard.d.ts +6 -2
- package/dist/endpoint/dashboard.js +29 -5
- package/dist/endpoint/groups.d.ts +2 -21
- package/dist/endpoint/groups.js +18 -16
- package/dist/endpoint/widgets.d.ts +2 -4
- package/dist/endpoint/widgets.js +28 -74
- package/dist/index.js +1 -3
- package/dist/schema/api.d.ts +2172 -500
- package/dist/schema/api.js +21 -13
- package/dist/schema/widget.d.ts +1076 -263
- package/dist/schema/widget.js +108 -49
- package/dist/services/dashboardConfigService.d.ts +0 -10
- package/dist/services/dashboardConfigService.js +6 -21
- package/dist/services/widgetDataService.d.ts +2 -1
- package/dist/services/widgetDataService.js +266 -206
- package/endpoint/dashboard.ts +47 -7
- package/endpoint/groups.ts +25 -42
- package/endpoint/widgets.ts +41 -96
- package/index.ts +0 -3
- package/package.json +3 -3
- package/schema/api.ts +23 -13
- package/schema/widget.ts +119 -55
- package/services/dashboardConfigService.ts +6 -25
- package/services/widgetDataService.ts +350 -237
- 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,18 +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>;
|
|
23
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
25
24
|
size: z.ZodOptional<z.ZodEnum<{
|
|
26
25
|
small: "small";
|
|
27
26
|
medium: "medium";
|
|
@@ -31,14 +30,15 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
31
30
|
}>>;
|
|
32
31
|
width: z.ZodOptional<z.ZodNumber>;
|
|
33
32
|
height: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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;
|
|
37
38
|
target: z.ZodLiteral<"empty">;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
id: z.ZodOptional<z.ZodString>;
|
|
40
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
41
40
|
label: z.ZodOptional<z.ZodString>;
|
|
41
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
42
42
|
size: z.ZodOptional<z.ZodEnum<{
|
|
43
43
|
small: "small";
|
|
44
44
|
medium: "medium";
|
|
@@ -48,9 +48,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
48
48
|
}>>;
|
|
49
49
|
width: z.ZodOptional<z.ZodNumber>;
|
|
50
50
|
height: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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;
|
|
54
56
|
target: z.ZodLiteral<"table">;
|
|
55
57
|
table: z.ZodOptional<z.ZodObject<{
|
|
56
58
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -67,7 +69,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
67
69
|
}>>;
|
|
68
70
|
}, z.core.$strict>]>>>;
|
|
69
71
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
-
|
|
72
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
71
73
|
}, z.core.$strict>>;
|
|
72
74
|
query: z.ZodObject<{
|
|
73
75
|
resource: z.ZodString;
|
|
@@ -75,11 +77,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
75
77
|
field: z.ZodString;
|
|
76
78
|
as: z.ZodOptional<z.ZodString>;
|
|
77
79
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
78
|
-
hour: "hour";
|
|
79
80
|
day: "day";
|
|
80
81
|
week: "week";
|
|
81
82
|
month: "month";
|
|
82
|
-
quarter: "quarter";
|
|
83
83
|
year: "year";
|
|
84
84
|
}>>;
|
|
85
85
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -100,20 +100,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
100
100
|
as: z.ZodString;
|
|
101
101
|
}, z.core.$strict>]>>>;
|
|
102
102
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
103
|
-
|
|
103
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
104
104
|
field: z.ZodString;
|
|
105
105
|
as: z.ZodOptional<z.ZodString>;
|
|
106
106
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
107
|
-
hour: "hour";
|
|
108
107
|
day: "day";
|
|
109
108
|
week: "week";
|
|
110
109
|
month: "month";
|
|
111
|
-
quarter: "quarter";
|
|
112
110
|
year: "year";
|
|
113
111
|
}>>;
|
|
114
112
|
timezone: z.ZodOptional<z.ZodString>;
|
|
115
113
|
}, z.core.$strict>]>>>;
|
|
116
|
-
|
|
114
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
115
|
field: z.ZodString;
|
|
118
116
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
119
117
|
asc: "asc";
|
|
@@ -122,22 +120,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
122
120
|
}, z.core.$strict>>>;
|
|
123
121
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
124
122
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
125
|
-
|
|
123
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
126
124
|
field: z.ZodString;
|
|
127
125
|
grain: z.ZodEnum<{
|
|
128
|
-
hour: "hour";
|
|
129
126
|
day: "day";
|
|
130
127
|
week: "week";
|
|
131
128
|
month: "month";
|
|
132
|
-
quarter: "quarter";
|
|
133
129
|
year: "year";
|
|
134
130
|
}>;
|
|
135
131
|
timezone: z.ZodOptional<z.ZodString>;
|
|
136
132
|
}, z.core.$strict>>;
|
|
137
133
|
period: z.ZodOptional<z.ZodObject<{
|
|
138
134
|
field: z.ZodString;
|
|
139
|
-
gte: z.ZodOptional<z.
|
|
140
|
-
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>>>;
|
|
141
137
|
}, z.core.$strict>>;
|
|
142
138
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
143
139
|
field: z.ZodString;
|
|
@@ -151,12 +147,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
151
147
|
calc: z.ZodString;
|
|
152
148
|
as: z.ZodString;
|
|
153
149
|
}, z.core.$strict>>>;
|
|
154
|
-
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>>>>;
|
|
155
151
|
}, z.core.$strict>;
|
|
156
|
-
}, z.core.$
|
|
157
|
-
id: z.ZodOptional<z.ZodString>;
|
|
158
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
153
|
label: z.ZodOptional<z.ZodString>;
|
|
154
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
160
155
|
size: z.ZodOptional<z.ZodEnum<{
|
|
161
156
|
small: "small";
|
|
162
157
|
medium: "medium";
|
|
@@ -166,9 +161,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
166
161
|
}>>;
|
|
167
162
|
width: z.ZodOptional<z.ZodNumber>;
|
|
168
163
|
height: z.ZodOptional<z.ZodNumber>;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
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;
|
|
172
169
|
target: z.ZodLiteral<"chart">;
|
|
173
170
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
174
171
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -205,7 +202,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
205
202
|
}, z.core.$strict>>;
|
|
206
203
|
color: z.ZodOptional<z.ZodString>;
|
|
207
204
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
-
}, z.core.$
|
|
205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
209
206
|
title: z.ZodOptional<z.ZodString>;
|
|
210
207
|
type: z.ZodLiteral<"bar">;
|
|
211
208
|
x: z.ZodObject<{
|
|
@@ -235,7 +232,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
235
232
|
}>>;
|
|
236
233
|
}, z.core.$strict>;
|
|
237
234
|
color: z.ZodOptional<z.ZodString>;
|
|
238
|
-
}, z.core.$
|
|
235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
239
236
|
title: z.ZodOptional<z.ZodString>;
|
|
240
237
|
type: z.ZodLiteral<"stacked_bar">;
|
|
241
238
|
x: z.ZodObject<{
|
|
@@ -251,7 +248,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
251
248
|
currency_delta: "currency_delta";
|
|
252
249
|
}>>;
|
|
253
250
|
}, z.core.$strict>;
|
|
254
|
-
y: z.ZodObject<{
|
|
251
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
255
252
|
field: z.ZodString;
|
|
256
253
|
label: z.ZodOptional<z.ZodString>;
|
|
257
254
|
format: z.ZodOptional<z.ZodEnum<{
|
|
@@ -263,13 +260,25 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
263
260
|
number_delta: "number_delta";
|
|
264
261
|
currency_delta: "currency_delta";
|
|
265
262
|
}>>;
|
|
266
|
-
}, z.core.$strict
|
|
267
|
-
series: z.ZodObject<{
|
|
263
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
268
264
|
field: z.ZodString;
|
|
269
265
|
label: z.ZodOptional<z.ZodString>;
|
|
270
|
-
|
|
266
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
267
|
+
number: "number";
|
|
268
|
+
compact_number: "compact_number";
|
|
269
|
+
currency: "currency";
|
|
270
|
+
percent: "percent";
|
|
271
|
+
percent_delta: "percent_delta";
|
|
272
|
+
number_delta: "number_delta";
|
|
273
|
+
currency_delta: "currency_delta";
|
|
274
|
+
}>>;
|
|
275
|
+
}, z.core.$strict>>]>;
|
|
276
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
field: z.ZodString;
|
|
278
|
+
label: z.ZodOptional<z.ZodString>;
|
|
279
|
+
}, z.core.$strict>>;
|
|
271
280
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
272
|
-
}, z.core.$
|
|
281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
273
282
|
title: z.ZodOptional<z.ZodString>;
|
|
274
283
|
type: z.ZodLiteral<"pie">;
|
|
275
284
|
label: z.ZodObject<{
|
|
@@ -299,7 +308,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
299
308
|
}>>;
|
|
300
309
|
}, z.core.$strict>;
|
|
301
310
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
302
|
-
}, z.core.$
|
|
311
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
303
312
|
title: z.ZodOptional<z.ZodString>;
|
|
304
313
|
type: z.ZodLiteral<"histogram">;
|
|
305
314
|
x: z.ZodObject<{
|
|
@@ -334,7 +343,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
334
343
|
max: z.ZodOptional<z.ZodNumber>;
|
|
335
344
|
}, z.core.$strict>>>;
|
|
336
345
|
color: z.ZodOptional<z.ZodString>;
|
|
337
|
-
}, z.core.$
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
338
347
|
title: z.ZodOptional<z.ZodString>;
|
|
339
348
|
type: z.ZodLiteral<"funnel">;
|
|
340
349
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -364,18 +373,16 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
364
373
|
}>>;
|
|
365
374
|
}, z.core.$strict>>;
|
|
366
375
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
-
}, z.core.$
|
|
376
|
+
}, z.core.$strict>], "type">;
|
|
368
377
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
369
378
|
resource: z.ZodString;
|
|
370
379
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
371
380
|
field: z.ZodString;
|
|
372
381
|
as: z.ZodOptional<z.ZodString>;
|
|
373
382
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
374
|
-
hour: "hour";
|
|
375
383
|
day: "day";
|
|
376
384
|
week: "week";
|
|
377
385
|
month: "month";
|
|
378
|
-
quarter: "quarter";
|
|
379
386
|
year: "year";
|
|
380
387
|
}>>;
|
|
381
388
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -396,20 +403,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
396
403
|
as: z.ZodString;
|
|
397
404
|
}, z.core.$strict>]>>>;
|
|
398
405
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
399
|
-
|
|
406
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
400
407
|
field: z.ZodString;
|
|
401
408
|
as: z.ZodOptional<z.ZodString>;
|
|
402
409
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
hour: "hour";
|
|
404
410
|
day: "day";
|
|
405
411
|
week: "week";
|
|
406
412
|
month: "month";
|
|
407
|
-
quarter: "quarter";
|
|
408
413
|
year: "year";
|
|
409
414
|
}>>;
|
|
410
415
|
timezone: z.ZodOptional<z.ZodString>;
|
|
411
416
|
}, z.core.$strict>]>>>;
|
|
412
|
-
|
|
417
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
413
418
|
field: z.ZodString;
|
|
414
419
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
415
420
|
asc: "asc";
|
|
@@ -418,22 +423,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
418
423
|
}, z.core.$strict>>>;
|
|
419
424
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
420
425
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
421
|
-
|
|
426
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
422
427
|
field: z.ZodString;
|
|
423
428
|
grain: z.ZodEnum<{
|
|
424
|
-
hour: "hour";
|
|
425
429
|
day: "day";
|
|
426
430
|
week: "week";
|
|
427
431
|
month: "month";
|
|
428
|
-
quarter: "quarter";
|
|
429
432
|
year: "year";
|
|
430
433
|
}>;
|
|
431
434
|
timezone: z.ZodOptional<z.ZodString>;
|
|
432
435
|
}, z.core.$strict>>;
|
|
433
436
|
period: z.ZodOptional<z.ZodObject<{
|
|
434
437
|
field: z.ZodString;
|
|
435
|
-
gte: z.ZodOptional<z.
|
|
436
|
-
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>>>;
|
|
437
440
|
}, z.core.$strict>>;
|
|
438
441
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
439
442
|
field: z.ZodString;
|
|
@@ -447,7 +450,7 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
447
450
|
calc: z.ZodString;
|
|
448
451
|
as: z.ZodString;
|
|
449
452
|
}, z.core.$strict>>>;
|
|
450
|
-
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>>>>;
|
|
451
454
|
}, z.core.$strict>, z.ZodObject<{
|
|
452
455
|
steps: z.ZodArray<z.ZodObject<{
|
|
453
456
|
name: z.ZodString;
|
|
@@ -468,11 +471,14 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
468
471
|
}, z.core.$strict>;
|
|
469
472
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
470
473
|
}, z.core.$strict>>;
|
|
474
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
475
|
+
calc: z.ZodString;
|
|
476
|
+
as: z.ZodString;
|
|
477
|
+
}, z.core.$strict>>>;
|
|
471
478
|
}, z.core.$strict>]>;
|
|
472
|
-
}, z.core.$
|
|
473
|
-
id: z.ZodOptional<z.ZodString>;
|
|
474
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
475
480
|
label: z.ZodOptional<z.ZodString>;
|
|
481
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
476
482
|
size: z.ZodOptional<z.ZodEnum<{
|
|
477
483
|
small: "small";
|
|
478
484
|
medium: "medium";
|
|
@@ -482,9 +488,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
482
488
|
}>>;
|
|
483
489
|
width: z.ZodOptional<z.ZodNumber>;
|
|
484
490
|
height: z.ZodOptional<z.ZodNumber>;
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
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;
|
|
488
496
|
target: z.ZodLiteral<"kpi_card">;
|
|
489
497
|
card: z.ZodObject<{
|
|
490
498
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -506,8 +514,8 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
506
514
|
text: z.ZodOptional<z.ZodString>;
|
|
507
515
|
field: z.ZodOptional<z.ZodString>;
|
|
508
516
|
}, z.core.$strict>>;
|
|
509
|
-
comparison: z.ZodOptional<z.
|
|
510
|
-
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>>>;
|
|
511
519
|
}, z.core.$strict>;
|
|
512
520
|
query: z.ZodObject<{
|
|
513
521
|
resource: z.ZodString;
|
|
@@ -515,11 +523,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
515
523
|
field: z.ZodString;
|
|
516
524
|
as: z.ZodOptional<z.ZodString>;
|
|
517
525
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
518
|
-
hour: "hour";
|
|
519
526
|
day: "day";
|
|
520
527
|
week: "week";
|
|
521
528
|
month: "month";
|
|
522
|
-
quarter: "quarter";
|
|
523
529
|
year: "year";
|
|
524
530
|
}>>;
|
|
525
531
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -540,20 +546,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
540
546
|
as: z.ZodString;
|
|
541
547
|
}, z.core.$strict>]>>>;
|
|
542
548
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
543
|
-
|
|
549
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
544
550
|
field: z.ZodString;
|
|
545
551
|
as: z.ZodOptional<z.ZodString>;
|
|
546
552
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
547
|
-
hour: "hour";
|
|
548
553
|
day: "day";
|
|
549
554
|
week: "week";
|
|
550
555
|
month: "month";
|
|
551
|
-
quarter: "quarter";
|
|
552
556
|
year: "year";
|
|
553
557
|
}>>;
|
|
554
558
|
timezone: z.ZodOptional<z.ZodString>;
|
|
555
559
|
}, z.core.$strict>]>>>;
|
|
556
|
-
|
|
560
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
557
561
|
field: z.ZodString;
|
|
558
562
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
559
563
|
asc: "asc";
|
|
@@ -562,22 +566,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
562
566
|
}, z.core.$strict>>>;
|
|
563
567
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
564
568
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
565
|
-
|
|
569
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
566
570
|
field: z.ZodString;
|
|
567
571
|
grain: z.ZodEnum<{
|
|
568
|
-
hour: "hour";
|
|
569
572
|
day: "day";
|
|
570
573
|
week: "week";
|
|
571
574
|
month: "month";
|
|
572
|
-
quarter: "quarter";
|
|
573
575
|
year: "year";
|
|
574
576
|
}>;
|
|
575
577
|
timezone: z.ZodOptional<z.ZodString>;
|
|
576
578
|
}, z.core.$strict>>;
|
|
577
579
|
period: z.ZodOptional<z.ZodObject<{
|
|
578
580
|
field: z.ZodString;
|
|
579
|
-
gte: z.ZodOptional<z.
|
|
580
|
-
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>>>;
|
|
581
583
|
}, z.core.$strict>>;
|
|
582
584
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
583
585
|
field: z.ZodString;
|
|
@@ -591,12 +593,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
591
593
|
calc: z.ZodString;
|
|
592
594
|
as: z.ZodString;
|
|
593
595
|
}, z.core.$strict>>>;
|
|
594
|
-
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>>>>;
|
|
595
597
|
}, z.core.$strict>;
|
|
596
|
-
}, z.core.$
|
|
597
|
-
id: z.ZodOptional<z.ZodString>;
|
|
598
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
599
599
|
label: z.ZodOptional<z.ZodString>;
|
|
600
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
600
601
|
size: z.ZodOptional<z.ZodEnum<{
|
|
601
602
|
small: "small";
|
|
602
603
|
medium: "medium";
|
|
@@ -606,9 +607,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
606
607
|
}>>;
|
|
607
608
|
width: z.ZodOptional<z.ZodNumber>;
|
|
608
609
|
height: z.ZodOptional<z.ZodNumber>;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
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;
|
|
612
615
|
target: z.ZodLiteral<"gauge_card">;
|
|
613
616
|
card: z.ZodObject<{
|
|
614
617
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -632,9 +635,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
632
635
|
label: z.ZodOptional<z.ZodString>;
|
|
633
636
|
}, z.core.$strict>>;
|
|
634
637
|
progress: z.ZodOptional<z.ZodObject<{
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
+
value_field: z.ZodString;
|
|
639
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
640
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
638
641
|
format: z.ZodOptional<z.ZodEnum<{
|
|
639
642
|
number: "number";
|
|
640
643
|
compact_number: "compact_number";
|
|
@@ -653,11 +656,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
653
656
|
field: z.ZodString;
|
|
654
657
|
as: z.ZodOptional<z.ZodString>;
|
|
655
658
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
656
|
-
hour: "hour";
|
|
657
659
|
day: "day";
|
|
658
660
|
week: "week";
|
|
659
661
|
month: "month";
|
|
660
|
-
quarter: "quarter";
|
|
661
662
|
year: "year";
|
|
662
663
|
}>>;
|
|
663
664
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -678,20 +679,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
678
679
|
as: z.ZodString;
|
|
679
680
|
}, z.core.$strict>]>>>;
|
|
680
681
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
681
|
-
|
|
682
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
682
683
|
field: z.ZodString;
|
|
683
684
|
as: z.ZodOptional<z.ZodString>;
|
|
684
685
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
685
|
-
hour: "hour";
|
|
686
686
|
day: "day";
|
|
687
687
|
week: "week";
|
|
688
688
|
month: "month";
|
|
689
|
-
quarter: "quarter";
|
|
690
689
|
year: "year";
|
|
691
690
|
}>>;
|
|
692
691
|
timezone: z.ZodOptional<z.ZodString>;
|
|
693
692
|
}, z.core.$strict>]>>>;
|
|
694
|
-
|
|
693
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
695
694
|
field: z.ZodString;
|
|
696
695
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
697
696
|
asc: "asc";
|
|
@@ -700,22 +699,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
700
699
|
}, z.core.$strict>>>;
|
|
701
700
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
702
701
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
703
|
-
|
|
702
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
704
703
|
field: z.ZodString;
|
|
705
704
|
grain: z.ZodEnum<{
|
|
706
|
-
hour: "hour";
|
|
707
705
|
day: "day";
|
|
708
706
|
week: "week";
|
|
709
707
|
month: "month";
|
|
710
|
-
quarter: "quarter";
|
|
711
708
|
year: "year";
|
|
712
709
|
}>;
|
|
713
710
|
timezone: z.ZodOptional<z.ZodString>;
|
|
714
711
|
}, z.core.$strict>>;
|
|
715
712
|
period: z.ZodOptional<z.ZodObject<{
|
|
716
713
|
field: z.ZodString;
|
|
717
|
-
gte: z.ZodOptional<z.
|
|
718
|
-
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>>>;
|
|
719
716
|
}, z.core.$strict>>;
|
|
720
717
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
721
718
|
field: z.ZodString;
|
|
@@ -729,12 +726,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
729
726
|
calc: z.ZodString;
|
|
730
727
|
as: z.ZodString;
|
|
731
728
|
}, z.core.$strict>>>;
|
|
732
|
-
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>>>>;
|
|
733
730
|
}, z.core.$strict>;
|
|
734
|
-
}, z.core.$
|
|
735
|
-
id: z.ZodOptional<z.ZodString>;
|
|
736
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
737
732
|
label: z.ZodOptional<z.ZodString>;
|
|
733
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
738
734
|
size: z.ZodOptional<z.ZodEnum<{
|
|
739
735
|
small: "small";
|
|
740
736
|
medium: "medium";
|
|
@@ -744,9 +740,11 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
744
740
|
}>>;
|
|
745
741
|
width: z.ZodOptional<z.ZodNumber>;
|
|
746
742
|
height: z.ZodOptional<z.ZodNumber>;
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
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;
|
|
750
748
|
target: z.ZodLiteral<"pivot_table">;
|
|
751
749
|
pivot: z.ZodObject<{
|
|
752
750
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -802,11 +800,9 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
802
800
|
field: z.ZodString;
|
|
803
801
|
as: z.ZodOptional<z.ZodString>;
|
|
804
802
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
805
|
-
hour: "hour";
|
|
806
803
|
day: "day";
|
|
807
804
|
week: "week";
|
|
808
805
|
month: "month";
|
|
809
|
-
quarter: "quarter";
|
|
810
806
|
year: "year";
|
|
811
807
|
}>>;
|
|
812
808
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -827,20 +823,18 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
827
823
|
as: z.ZodString;
|
|
828
824
|
}, z.core.$strict>]>>>;
|
|
829
825
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
830
|
-
|
|
826
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
831
827
|
field: z.ZodString;
|
|
832
828
|
as: z.ZodOptional<z.ZodString>;
|
|
833
829
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
834
|
-
hour: "hour";
|
|
835
830
|
day: "day";
|
|
836
831
|
week: "week";
|
|
837
832
|
month: "month";
|
|
838
|
-
quarter: "quarter";
|
|
839
833
|
year: "year";
|
|
840
834
|
}>>;
|
|
841
835
|
timezone: z.ZodOptional<z.ZodString>;
|
|
842
836
|
}, z.core.$strict>]>>>;
|
|
843
|
-
|
|
837
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
844
838
|
field: z.ZodString;
|
|
845
839
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
846
840
|
asc: "asc";
|
|
@@ -849,22 +843,20 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
849
843
|
}, z.core.$strict>>>;
|
|
850
844
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
851
845
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
852
|
-
|
|
846
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
853
847
|
field: z.ZodString;
|
|
854
848
|
grain: z.ZodEnum<{
|
|
855
|
-
hour: "hour";
|
|
856
849
|
day: "day";
|
|
857
850
|
week: "week";
|
|
858
851
|
month: "month";
|
|
859
|
-
quarter: "quarter";
|
|
860
852
|
year: "year";
|
|
861
853
|
}>;
|
|
862
854
|
timezone: z.ZodOptional<z.ZodString>;
|
|
863
855
|
}, z.core.$strict>>;
|
|
864
856
|
period: z.ZodOptional<z.ZodObject<{
|
|
865
857
|
field: z.ZodString;
|
|
866
|
-
gte: z.ZodOptional<z.
|
|
867
|
-
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>>>;
|
|
868
860
|
}, z.core.$strict>>;
|
|
869
861
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
870
862
|
field: z.ZodString;
|
|
@@ -878,10 +870,10 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
878
870
|
calc: z.ZodString;
|
|
879
871
|
as: z.ZodString;
|
|
880
872
|
}, z.core.$strict>>>;
|
|
881
|
-
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>>>>;
|
|
882
874
|
}, z.core.$strict>;
|
|
883
|
-
}, z.core.$
|
|
884
|
-
}, z.core.$
|
|
875
|
+
}, z.core.$strict>], "target">>;
|
|
876
|
+
}, z.core.$strict>;
|
|
885
877
|
export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
886
878
|
id: z.ZodString;
|
|
887
879
|
slug: z.ZodString;
|
|
@@ -893,11 +885,10 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
893
885
|
id: z.ZodString;
|
|
894
886
|
label: z.ZodString;
|
|
895
887
|
order: z.ZodNumber;
|
|
896
|
-
}, z.core.$
|
|
888
|
+
}, z.core.$strict>>;
|
|
897
889
|
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
898
|
-
id: z.ZodOptional<z.ZodString>;
|
|
899
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
900
890
|
label: z.ZodOptional<z.ZodString>;
|
|
891
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
901
892
|
size: z.ZodOptional<z.ZodEnum<{
|
|
902
893
|
small: "small";
|
|
903
894
|
medium: "medium";
|
|
@@ -907,14 +898,15 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
907
898
|
}>>;
|
|
908
899
|
width: z.ZodOptional<z.ZodNumber>;
|
|
909
900
|
height: z.ZodOptional<z.ZodNumber>;
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
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;
|
|
913
906
|
target: z.ZodLiteral<"empty">;
|
|
914
|
-
}, z.core.$
|
|
915
|
-
id: z.ZodOptional<z.ZodString>;
|
|
916
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
917
908
|
label: z.ZodOptional<z.ZodString>;
|
|
909
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
918
910
|
size: z.ZodOptional<z.ZodEnum<{
|
|
919
911
|
small: "small";
|
|
920
912
|
medium: "medium";
|
|
@@ -924,9 +916,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
924
916
|
}>>;
|
|
925
917
|
width: z.ZodOptional<z.ZodNumber>;
|
|
926
918
|
height: z.ZodOptional<z.ZodNumber>;
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
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;
|
|
930
924
|
target: z.ZodLiteral<"table">;
|
|
931
925
|
table: z.ZodOptional<z.ZodObject<{
|
|
932
926
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -943,7 +937,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
943
937
|
}>>;
|
|
944
938
|
}, z.core.$strict>]>>>;
|
|
945
939
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
-
|
|
940
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
947
941
|
}, z.core.$strict>>;
|
|
948
942
|
query: z.ZodObject<{
|
|
949
943
|
resource: z.ZodString;
|
|
@@ -951,11 +945,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
951
945
|
field: z.ZodString;
|
|
952
946
|
as: z.ZodOptional<z.ZodString>;
|
|
953
947
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
954
|
-
hour: "hour";
|
|
955
948
|
day: "day";
|
|
956
949
|
week: "week";
|
|
957
950
|
month: "month";
|
|
958
|
-
quarter: "quarter";
|
|
959
951
|
year: "year";
|
|
960
952
|
}>>;
|
|
961
953
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -976,20 +968,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
976
968
|
as: z.ZodString;
|
|
977
969
|
}, z.core.$strict>]>>>;
|
|
978
970
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
979
|
-
|
|
971
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
980
972
|
field: z.ZodString;
|
|
981
973
|
as: z.ZodOptional<z.ZodString>;
|
|
982
974
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
983
|
-
hour: "hour";
|
|
984
975
|
day: "day";
|
|
985
976
|
week: "week";
|
|
986
977
|
month: "month";
|
|
987
|
-
quarter: "quarter";
|
|
988
978
|
year: "year";
|
|
989
979
|
}>>;
|
|
990
980
|
timezone: z.ZodOptional<z.ZodString>;
|
|
991
981
|
}, z.core.$strict>]>>>;
|
|
992
|
-
|
|
982
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
993
983
|
field: z.ZodString;
|
|
994
984
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
995
985
|
asc: "asc";
|
|
@@ -998,22 +988,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
998
988
|
}, z.core.$strict>>>;
|
|
999
989
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1000
990
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1001
|
-
|
|
991
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1002
992
|
field: z.ZodString;
|
|
1003
993
|
grain: z.ZodEnum<{
|
|
1004
|
-
hour: "hour";
|
|
1005
994
|
day: "day";
|
|
1006
995
|
week: "week";
|
|
1007
996
|
month: "month";
|
|
1008
|
-
quarter: "quarter";
|
|
1009
997
|
year: "year";
|
|
1010
998
|
}>;
|
|
1011
999
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1012
1000
|
}, z.core.$strict>>;
|
|
1013
1001
|
period: z.ZodOptional<z.ZodObject<{
|
|
1014
1002
|
field: z.ZodString;
|
|
1015
|
-
gte: z.ZodOptional<z.
|
|
1016
|
-
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>>>;
|
|
1017
1005
|
}, z.core.$strict>>;
|
|
1018
1006
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1019
1007
|
field: z.ZodString;
|
|
@@ -1027,12 +1015,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1027
1015
|
calc: z.ZodString;
|
|
1028
1016
|
as: z.ZodString;
|
|
1029
1017
|
}, z.core.$strict>>>;
|
|
1030
|
-
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>>>>;
|
|
1031
1019
|
}, z.core.$strict>;
|
|
1032
|
-
}, z.core.$
|
|
1033
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1034
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1035
1021
|
label: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1036
1023
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1037
1024
|
small: "small";
|
|
1038
1025
|
medium: "medium";
|
|
@@ -1042,9 +1029,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1042
1029
|
}>>;
|
|
1043
1030
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1044
1031
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
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;
|
|
1048
1037
|
target: z.ZodLiteral<"chart">;
|
|
1049
1038
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1050
1039
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1081,7 +1070,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1081
1070
|
}, z.core.$strict>>;
|
|
1082
1071
|
color: z.ZodOptional<z.ZodString>;
|
|
1083
1072
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1084
|
-
}, z.core.$
|
|
1073
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1085
1074
|
title: z.ZodOptional<z.ZodString>;
|
|
1086
1075
|
type: z.ZodLiteral<"bar">;
|
|
1087
1076
|
x: z.ZodObject<{
|
|
@@ -1111,7 +1100,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1111
1100
|
}>>;
|
|
1112
1101
|
}, z.core.$strict>;
|
|
1113
1102
|
color: z.ZodOptional<z.ZodString>;
|
|
1114
|
-
}, z.core.$
|
|
1103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1115
1104
|
title: z.ZodOptional<z.ZodString>;
|
|
1116
1105
|
type: z.ZodLiteral<"stacked_bar">;
|
|
1117
1106
|
x: z.ZodObject<{
|
|
@@ -1127,7 +1116,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1127
1116
|
currency_delta: "currency_delta";
|
|
1128
1117
|
}>>;
|
|
1129
1118
|
}, z.core.$strict>;
|
|
1130
|
-
y: z.ZodObject<{
|
|
1119
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
1131
1120
|
field: z.ZodString;
|
|
1132
1121
|
label: z.ZodOptional<z.ZodString>;
|
|
1133
1122
|
format: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1139,13 +1128,25 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1139
1128
|
number_delta: "number_delta";
|
|
1140
1129
|
currency_delta: "currency_delta";
|
|
1141
1130
|
}>>;
|
|
1142
|
-
}, z.core.$strict
|
|
1143
|
-
series: z.ZodObject<{
|
|
1131
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
1144
1132
|
field: z.ZodString;
|
|
1145
1133
|
label: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
|
|
1134
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1135
|
+
number: "number";
|
|
1136
|
+
compact_number: "compact_number";
|
|
1137
|
+
currency: "currency";
|
|
1138
|
+
percent: "percent";
|
|
1139
|
+
percent_delta: "percent_delta";
|
|
1140
|
+
number_delta: "number_delta";
|
|
1141
|
+
currency_delta: "currency_delta";
|
|
1142
|
+
}>>;
|
|
1143
|
+
}, z.core.$strict>>]>;
|
|
1144
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
1145
|
+
field: z.ZodString;
|
|
1146
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
}, z.core.$strict>>;
|
|
1147
1148
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1148
|
-
}, z.core.$
|
|
1149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1149
1150
|
title: z.ZodOptional<z.ZodString>;
|
|
1150
1151
|
type: z.ZodLiteral<"pie">;
|
|
1151
1152
|
label: z.ZodObject<{
|
|
@@ -1175,7 +1176,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1175
1176
|
}>>;
|
|
1176
1177
|
}, z.core.$strict>;
|
|
1177
1178
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1178
|
-
}, z.core.$
|
|
1179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1179
1180
|
title: z.ZodOptional<z.ZodString>;
|
|
1180
1181
|
type: z.ZodLiteral<"histogram">;
|
|
1181
1182
|
x: z.ZodObject<{
|
|
@@ -1210,7 +1211,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1210
1211
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1211
1212
|
}, z.core.$strict>>>;
|
|
1212
1213
|
color: z.ZodOptional<z.ZodString>;
|
|
1213
|
-
}, z.core.$
|
|
1214
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1214
1215
|
title: z.ZodOptional<z.ZodString>;
|
|
1215
1216
|
type: z.ZodLiteral<"funnel">;
|
|
1216
1217
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -1240,18 +1241,16 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1240
1241
|
}>>;
|
|
1241
1242
|
}, z.core.$strict>>;
|
|
1242
1243
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1243
|
-
}, z.core.$
|
|
1244
|
+
}, z.core.$strict>], "type">;
|
|
1244
1245
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
1245
1246
|
resource: z.ZodString;
|
|
1246
1247
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1247
1248
|
field: z.ZodString;
|
|
1248
1249
|
as: z.ZodOptional<z.ZodString>;
|
|
1249
1250
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1250
|
-
hour: "hour";
|
|
1251
1251
|
day: "day";
|
|
1252
1252
|
week: "week";
|
|
1253
1253
|
month: "month";
|
|
1254
|
-
quarter: "quarter";
|
|
1255
1254
|
year: "year";
|
|
1256
1255
|
}>>;
|
|
1257
1256
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1272,20 +1271,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1272
1271
|
as: z.ZodString;
|
|
1273
1272
|
}, z.core.$strict>]>>>;
|
|
1274
1273
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1275
|
-
|
|
1274
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1276
1275
|
field: z.ZodString;
|
|
1277
1276
|
as: z.ZodOptional<z.ZodString>;
|
|
1278
1277
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1279
|
-
hour: "hour";
|
|
1280
1278
|
day: "day";
|
|
1281
1279
|
week: "week";
|
|
1282
1280
|
month: "month";
|
|
1283
|
-
quarter: "quarter";
|
|
1284
1281
|
year: "year";
|
|
1285
1282
|
}>>;
|
|
1286
1283
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1287
1284
|
}, z.core.$strict>]>>>;
|
|
1288
|
-
|
|
1285
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1289
1286
|
field: z.ZodString;
|
|
1290
1287
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1291
1288
|
asc: "asc";
|
|
@@ -1294,22 +1291,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1294
1291
|
}, z.core.$strict>>>;
|
|
1295
1292
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1296
1293
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1297
|
-
|
|
1294
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1298
1295
|
field: z.ZodString;
|
|
1299
1296
|
grain: z.ZodEnum<{
|
|
1300
|
-
hour: "hour";
|
|
1301
1297
|
day: "day";
|
|
1302
1298
|
week: "week";
|
|
1303
1299
|
month: "month";
|
|
1304
|
-
quarter: "quarter";
|
|
1305
1300
|
year: "year";
|
|
1306
1301
|
}>;
|
|
1307
1302
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1308
1303
|
}, z.core.$strict>>;
|
|
1309
1304
|
period: z.ZodOptional<z.ZodObject<{
|
|
1310
1305
|
field: z.ZodString;
|
|
1311
|
-
gte: z.ZodOptional<z.
|
|
1312
|
-
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>>>;
|
|
1313
1308
|
}, z.core.$strict>>;
|
|
1314
1309
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1315
1310
|
field: z.ZodString;
|
|
@@ -1323,7 +1318,7 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1323
1318
|
calc: z.ZodString;
|
|
1324
1319
|
as: z.ZodString;
|
|
1325
1320
|
}, z.core.$strict>>>;
|
|
1326
|
-
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>>>>;
|
|
1327
1322
|
}, z.core.$strict>, z.ZodObject<{
|
|
1328
1323
|
steps: z.ZodArray<z.ZodObject<{
|
|
1329
1324
|
name: z.ZodString;
|
|
@@ -1344,11 +1339,14 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1344
1339
|
}, z.core.$strict>;
|
|
1345
1340
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1346
1341
|
}, z.core.$strict>>;
|
|
1342
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1343
|
+
calc: z.ZodString;
|
|
1344
|
+
as: z.ZodString;
|
|
1345
|
+
}, z.core.$strict>>>;
|
|
1347
1346
|
}, z.core.$strict>]>;
|
|
1348
|
-
}, z.core.$
|
|
1349
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1350
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1351
1348
|
label: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1352
1350
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1353
1351
|
small: "small";
|
|
1354
1352
|
medium: "medium";
|
|
@@ -1358,9 +1356,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1358
1356
|
}>>;
|
|
1359
1357
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1360
1358
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
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;
|
|
1364
1364
|
target: z.ZodLiteral<"kpi_card">;
|
|
1365
1365
|
card: z.ZodObject<{
|
|
1366
1366
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1382,8 +1382,8 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1382
1382
|
text: z.ZodOptional<z.ZodString>;
|
|
1383
1383
|
field: z.ZodOptional<z.ZodString>;
|
|
1384
1384
|
}, z.core.$strict>>;
|
|
1385
|
-
comparison: z.ZodOptional<z.
|
|
1386
|
-
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>>>;
|
|
1387
1387
|
}, z.core.$strict>;
|
|
1388
1388
|
query: z.ZodObject<{
|
|
1389
1389
|
resource: z.ZodString;
|
|
@@ -1391,11 +1391,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1391
1391
|
field: z.ZodString;
|
|
1392
1392
|
as: z.ZodOptional<z.ZodString>;
|
|
1393
1393
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1394
|
-
hour: "hour";
|
|
1395
1394
|
day: "day";
|
|
1396
1395
|
week: "week";
|
|
1397
1396
|
month: "month";
|
|
1398
|
-
quarter: "quarter";
|
|
1399
1397
|
year: "year";
|
|
1400
1398
|
}>>;
|
|
1401
1399
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1416,20 +1414,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1416
1414
|
as: z.ZodString;
|
|
1417
1415
|
}, z.core.$strict>]>>>;
|
|
1418
1416
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1419
|
-
|
|
1417
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1420
1418
|
field: z.ZodString;
|
|
1421
1419
|
as: z.ZodOptional<z.ZodString>;
|
|
1422
1420
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1423
|
-
hour: "hour";
|
|
1424
1421
|
day: "day";
|
|
1425
1422
|
week: "week";
|
|
1426
1423
|
month: "month";
|
|
1427
|
-
quarter: "quarter";
|
|
1428
1424
|
year: "year";
|
|
1429
1425
|
}>>;
|
|
1430
1426
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1431
1427
|
}, z.core.$strict>]>>>;
|
|
1432
|
-
|
|
1428
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1433
1429
|
field: z.ZodString;
|
|
1434
1430
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1435
1431
|
asc: "asc";
|
|
@@ -1438,22 +1434,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1438
1434
|
}, z.core.$strict>>>;
|
|
1439
1435
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1440
1436
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1441
|
-
|
|
1437
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1442
1438
|
field: z.ZodString;
|
|
1443
1439
|
grain: z.ZodEnum<{
|
|
1444
|
-
hour: "hour";
|
|
1445
1440
|
day: "day";
|
|
1446
1441
|
week: "week";
|
|
1447
1442
|
month: "month";
|
|
1448
|
-
quarter: "quarter";
|
|
1449
1443
|
year: "year";
|
|
1450
1444
|
}>;
|
|
1451
1445
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1452
1446
|
}, z.core.$strict>>;
|
|
1453
1447
|
period: z.ZodOptional<z.ZodObject<{
|
|
1454
1448
|
field: z.ZodString;
|
|
1455
|
-
gte: z.ZodOptional<z.
|
|
1456
|
-
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>>>;
|
|
1457
1451
|
}, z.core.$strict>>;
|
|
1458
1452
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1459
1453
|
field: z.ZodString;
|
|
@@ -1467,12 +1461,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1467
1461
|
calc: z.ZodString;
|
|
1468
1462
|
as: z.ZodString;
|
|
1469
1463
|
}, z.core.$strict>>>;
|
|
1470
|
-
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>>>>;
|
|
1471
1465
|
}, z.core.$strict>;
|
|
1472
|
-
}, z.core.$
|
|
1473
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1474
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1475
1467
|
label: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1476
1469
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1477
1470
|
small: "small";
|
|
1478
1471
|
medium: "medium";
|
|
@@ -1482,9 +1475,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1482
1475
|
}>>;
|
|
1483
1476
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1484
1477
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
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;
|
|
1488
1483
|
target: z.ZodLiteral<"gauge_card">;
|
|
1489
1484
|
card: z.ZodObject<{
|
|
1490
1485
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1508,9 +1503,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1508
1503
|
label: z.ZodOptional<z.ZodString>;
|
|
1509
1504
|
}, z.core.$strict>>;
|
|
1510
1505
|
progress: z.ZodOptional<z.ZodObject<{
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1506
|
+
value_field: z.ZodString;
|
|
1507
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
1508
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
1514
1509
|
format: z.ZodOptional<z.ZodEnum<{
|
|
1515
1510
|
number: "number";
|
|
1516
1511
|
compact_number: "compact_number";
|
|
@@ -1529,11 +1524,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1529
1524
|
field: z.ZodString;
|
|
1530
1525
|
as: z.ZodOptional<z.ZodString>;
|
|
1531
1526
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1532
|
-
hour: "hour";
|
|
1533
1527
|
day: "day";
|
|
1534
1528
|
week: "week";
|
|
1535
1529
|
month: "month";
|
|
1536
|
-
quarter: "quarter";
|
|
1537
1530
|
year: "year";
|
|
1538
1531
|
}>>;
|
|
1539
1532
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1554,20 +1547,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1554
1547
|
as: z.ZodString;
|
|
1555
1548
|
}, z.core.$strict>]>>>;
|
|
1556
1549
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1557
|
-
|
|
1550
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1558
1551
|
field: z.ZodString;
|
|
1559
1552
|
as: z.ZodOptional<z.ZodString>;
|
|
1560
1553
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1561
|
-
hour: "hour";
|
|
1562
1554
|
day: "day";
|
|
1563
1555
|
week: "week";
|
|
1564
1556
|
month: "month";
|
|
1565
|
-
quarter: "quarter";
|
|
1566
1557
|
year: "year";
|
|
1567
1558
|
}>>;
|
|
1568
1559
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1569
1560
|
}, z.core.$strict>]>>>;
|
|
1570
|
-
|
|
1561
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1571
1562
|
field: z.ZodString;
|
|
1572
1563
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1573
1564
|
asc: "asc";
|
|
@@ -1576,22 +1567,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1576
1567
|
}, z.core.$strict>>>;
|
|
1577
1568
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1578
1569
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1579
|
-
|
|
1570
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1580
1571
|
field: z.ZodString;
|
|
1581
1572
|
grain: z.ZodEnum<{
|
|
1582
|
-
hour: "hour";
|
|
1583
1573
|
day: "day";
|
|
1584
1574
|
week: "week";
|
|
1585
1575
|
month: "month";
|
|
1586
|
-
quarter: "quarter";
|
|
1587
1576
|
year: "year";
|
|
1588
1577
|
}>;
|
|
1589
1578
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1590
1579
|
}, z.core.$strict>>;
|
|
1591
1580
|
period: z.ZodOptional<z.ZodObject<{
|
|
1592
1581
|
field: z.ZodString;
|
|
1593
|
-
gte: z.ZodOptional<z.
|
|
1594
|
-
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>>>;
|
|
1595
1584
|
}, z.core.$strict>>;
|
|
1596
1585
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1597
1586
|
field: z.ZodString;
|
|
@@ -1605,12 +1594,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1605
1594
|
calc: z.ZodString;
|
|
1606
1595
|
as: z.ZodString;
|
|
1607
1596
|
}, z.core.$strict>>>;
|
|
1608
|
-
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>>>>;
|
|
1609
1598
|
}, z.core.$strict>;
|
|
1610
|
-
}, z.core.$
|
|
1611
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1612
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1613
1600
|
label: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1614
1602
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1615
1603
|
small: "small";
|
|
1616
1604
|
medium: "medium";
|
|
@@ -1620,9 +1608,11 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1620
1608
|
}>>;
|
|
1621
1609
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1622
1610
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
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;
|
|
1626
1616
|
target: z.ZodLiteral<"pivot_table">;
|
|
1627
1617
|
pivot: z.ZodObject<{
|
|
1628
1618
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1678,11 +1668,9 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1678
1668
|
field: z.ZodString;
|
|
1679
1669
|
as: z.ZodOptional<z.ZodString>;
|
|
1680
1670
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1681
|
-
hour: "hour";
|
|
1682
1671
|
day: "day";
|
|
1683
1672
|
week: "week";
|
|
1684
1673
|
month: "month";
|
|
1685
|
-
quarter: "quarter";
|
|
1686
1674
|
year: "year";
|
|
1687
1675
|
}>>;
|
|
1688
1676
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1703,20 +1691,18 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1703
1691
|
as: z.ZodString;
|
|
1704
1692
|
}, z.core.$strict>]>>>;
|
|
1705
1693
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1706
|
-
|
|
1694
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1707
1695
|
field: z.ZodString;
|
|
1708
1696
|
as: z.ZodOptional<z.ZodString>;
|
|
1709
1697
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1710
|
-
hour: "hour";
|
|
1711
1698
|
day: "day";
|
|
1712
1699
|
week: "week";
|
|
1713
1700
|
month: "month";
|
|
1714
|
-
quarter: "quarter";
|
|
1715
1701
|
year: "year";
|
|
1716
1702
|
}>>;
|
|
1717
1703
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1718
1704
|
}, z.core.$strict>]>>>;
|
|
1719
|
-
|
|
1705
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1720
1706
|
field: z.ZodString;
|
|
1721
1707
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1722
1708
|
asc: "asc";
|
|
@@ -1725,22 +1711,20 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1725
1711
|
}, z.core.$strict>>>;
|
|
1726
1712
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1727
1713
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
-
|
|
1714
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1729
1715
|
field: z.ZodString;
|
|
1730
1716
|
grain: z.ZodEnum<{
|
|
1731
|
-
hour: "hour";
|
|
1732
1717
|
day: "day";
|
|
1733
1718
|
week: "week";
|
|
1734
1719
|
month: "month";
|
|
1735
|
-
quarter: "quarter";
|
|
1736
1720
|
year: "year";
|
|
1737
1721
|
}>;
|
|
1738
1722
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1739
1723
|
}, z.core.$strict>>;
|
|
1740
1724
|
period: z.ZodOptional<z.ZodObject<{
|
|
1741
1725
|
field: z.ZodString;
|
|
1742
|
-
gte: z.ZodOptional<z.
|
|
1743
|
-
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>>>;
|
|
1744
1728
|
}, z.core.$strict>>;
|
|
1745
1729
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1746
1730
|
field: z.ZodString;
|
|
@@ -1754,10 +1738,10 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
1754
1738
|
calc: z.ZodString;
|
|
1755
1739
|
as: z.ZodString;
|
|
1756
1740
|
}, z.core.$strict>>>;
|
|
1757
|
-
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>>>>;
|
|
1758
1742
|
}, z.core.$strict>;
|
|
1759
|
-
}, z.core.$
|
|
1760
|
-
}, z.core.$
|
|
1743
|
+
}, z.core.$strict>], "target">>;
|
|
1744
|
+
}, z.core.$strict>;
|
|
1761
1745
|
}, z.core.$strip>;
|
|
1762
1746
|
export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1763
1747
|
id: z.ZodString;
|
|
@@ -1770,11 +1754,10 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1770
1754
|
id: z.ZodString;
|
|
1771
1755
|
label: z.ZodString;
|
|
1772
1756
|
order: z.ZodNumber;
|
|
1773
|
-
}, z.core.$
|
|
1757
|
+
}, z.core.$strict>>;
|
|
1774
1758
|
widgets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1775
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1776
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1777
1759
|
label: z.ZodOptional<z.ZodString>;
|
|
1760
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1778
1761
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1779
1762
|
small: "small";
|
|
1780
1763
|
medium: "medium";
|
|
@@ -1784,14 +1767,15 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1784
1767
|
}>>;
|
|
1785
1768
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1786
1769
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
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;
|
|
1790
1775
|
target: z.ZodLiteral<"empty">;
|
|
1791
|
-
}, z.core.$
|
|
1792
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1793
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1794
1777
|
label: z.ZodOptional<z.ZodString>;
|
|
1778
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1795
1779
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1796
1780
|
small: "small";
|
|
1797
1781
|
medium: "medium";
|
|
@@ -1801,9 +1785,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1801
1785
|
}>>;
|
|
1802
1786
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1803
1787
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
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;
|
|
1807
1793
|
target: z.ZodLiteral<"table">;
|
|
1808
1794
|
table: z.ZodOptional<z.ZodObject<{
|
|
1809
1795
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1820,7 +1806,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1820
1806
|
}>>;
|
|
1821
1807
|
}, z.core.$strict>]>>>;
|
|
1822
1808
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
1823
|
-
|
|
1809
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
1824
1810
|
}, z.core.$strict>>;
|
|
1825
1811
|
query: z.ZodObject<{
|
|
1826
1812
|
resource: z.ZodString;
|
|
@@ -1828,11 +1814,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1828
1814
|
field: z.ZodString;
|
|
1829
1815
|
as: z.ZodOptional<z.ZodString>;
|
|
1830
1816
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1831
|
-
hour: "hour";
|
|
1832
1817
|
day: "day";
|
|
1833
1818
|
week: "week";
|
|
1834
1819
|
month: "month";
|
|
1835
|
-
quarter: "quarter";
|
|
1836
1820
|
year: "year";
|
|
1837
1821
|
}>>;
|
|
1838
1822
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1853,20 +1837,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1853
1837
|
as: z.ZodString;
|
|
1854
1838
|
}, z.core.$strict>]>>>;
|
|
1855
1839
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1856
|
-
|
|
1840
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1857
1841
|
field: z.ZodString;
|
|
1858
1842
|
as: z.ZodOptional<z.ZodString>;
|
|
1859
1843
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
1860
|
-
hour: "hour";
|
|
1861
1844
|
day: "day";
|
|
1862
1845
|
week: "week";
|
|
1863
1846
|
month: "month";
|
|
1864
|
-
quarter: "quarter";
|
|
1865
1847
|
year: "year";
|
|
1866
1848
|
}>>;
|
|
1867
1849
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1868
1850
|
}, z.core.$strict>]>>>;
|
|
1869
|
-
|
|
1851
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1870
1852
|
field: z.ZodString;
|
|
1871
1853
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
1872
1854
|
asc: "asc";
|
|
@@ -1875,22 +1857,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1875
1857
|
}, z.core.$strict>>>;
|
|
1876
1858
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1877
1859
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1878
|
-
|
|
1860
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
1879
1861
|
field: z.ZodString;
|
|
1880
1862
|
grain: z.ZodEnum<{
|
|
1881
|
-
hour: "hour";
|
|
1882
1863
|
day: "day";
|
|
1883
1864
|
week: "week";
|
|
1884
1865
|
month: "month";
|
|
1885
|
-
quarter: "quarter";
|
|
1886
1866
|
year: "year";
|
|
1887
1867
|
}>;
|
|
1888
1868
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1889
1869
|
}, z.core.$strict>>;
|
|
1890
1870
|
period: z.ZodOptional<z.ZodObject<{
|
|
1891
1871
|
field: z.ZodString;
|
|
1892
|
-
gte: z.ZodOptional<z.
|
|
1893
|
-
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>>>;
|
|
1894
1874
|
}, z.core.$strict>>;
|
|
1895
1875
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
1896
1876
|
field: z.ZodString;
|
|
@@ -1904,12 +1884,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1904
1884
|
calc: z.ZodString;
|
|
1905
1885
|
as: z.ZodString;
|
|
1906
1886
|
}, z.core.$strict>>>;
|
|
1907
|
-
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>>>>;
|
|
1908
1888
|
}, z.core.$strict>;
|
|
1909
|
-
}, z.core.$
|
|
1910
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1911
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1889
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1912
1890
|
label: z.ZodOptional<z.ZodString>;
|
|
1891
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1913
1892
|
size: z.ZodOptional<z.ZodEnum<{
|
|
1914
1893
|
small: "small";
|
|
1915
1894
|
medium: "medium";
|
|
@@ -1919,9 +1898,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1919
1898
|
}>>;
|
|
1920
1899
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1921
1900
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
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;
|
|
1925
1906
|
target: z.ZodLiteral<"chart">;
|
|
1926
1907
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1927
1908
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1958,7 +1939,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1958
1939
|
}, z.core.$strict>>;
|
|
1959
1940
|
color: z.ZodOptional<z.ZodString>;
|
|
1960
1941
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1961
|
-
}, z.core.$
|
|
1942
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1962
1943
|
title: z.ZodOptional<z.ZodString>;
|
|
1963
1944
|
type: z.ZodLiteral<"bar">;
|
|
1964
1945
|
x: z.ZodObject<{
|
|
@@ -1988,7 +1969,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
1988
1969
|
}>>;
|
|
1989
1970
|
}, z.core.$strict>;
|
|
1990
1971
|
color: z.ZodOptional<z.ZodString>;
|
|
1991
|
-
}, z.core.$
|
|
1972
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1992
1973
|
title: z.ZodOptional<z.ZodString>;
|
|
1993
1974
|
type: z.ZodLiteral<"stacked_bar">;
|
|
1994
1975
|
x: z.ZodObject<{
|
|
@@ -2004,7 +1985,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2004
1985
|
currency_delta: "currency_delta";
|
|
2005
1986
|
}>>;
|
|
2006
1987
|
}, z.core.$strict>;
|
|
2007
|
-
y: z.ZodObject<{
|
|
1988
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
2008
1989
|
field: z.ZodString;
|
|
2009
1990
|
label: z.ZodOptional<z.ZodString>;
|
|
2010
1991
|
format: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2016,13 +1997,25 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2016
1997
|
number_delta: "number_delta";
|
|
2017
1998
|
currency_delta: "currency_delta";
|
|
2018
1999
|
}>>;
|
|
2019
|
-
}, z.core.$strict
|
|
2020
|
-
series: z.ZodObject<{
|
|
2000
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
2021
2001
|
field: z.ZodString;
|
|
2022
2002
|
label: z.ZodOptional<z.ZodString>;
|
|
2023
|
-
|
|
2003
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2004
|
+
number: "number";
|
|
2005
|
+
compact_number: "compact_number";
|
|
2006
|
+
currency: "currency";
|
|
2007
|
+
percent: "percent";
|
|
2008
|
+
percent_delta: "percent_delta";
|
|
2009
|
+
number_delta: "number_delta";
|
|
2010
|
+
currency_delta: "currency_delta";
|
|
2011
|
+
}>>;
|
|
2012
|
+
}, z.core.$strict>>]>;
|
|
2013
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
2014
|
+
field: z.ZodString;
|
|
2015
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2016
|
+
}, z.core.$strict>>;
|
|
2024
2017
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2025
|
-
}, z.core.$
|
|
2018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2026
2019
|
title: z.ZodOptional<z.ZodString>;
|
|
2027
2020
|
type: z.ZodLiteral<"pie">;
|
|
2028
2021
|
label: z.ZodObject<{
|
|
@@ -2052,7 +2045,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2052
2045
|
}>>;
|
|
2053
2046
|
}, z.core.$strict>;
|
|
2054
2047
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2055
|
-
}, z.core.$
|
|
2048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2056
2049
|
title: z.ZodOptional<z.ZodString>;
|
|
2057
2050
|
type: z.ZodLiteral<"histogram">;
|
|
2058
2051
|
x: z.ZodObject<{
|
|
@@ -2087,7 +2080,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2087
2080
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2088
2081
|
}, z.core.$strict>>>;
|
|
2089
2082
|
color: z.ZodOptional<z.ZodString>;
|
|
2090
|
-
}, z.core.$
|
|
2083
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2091
2084
|
title: z.ZodOptional<z.ZodString>;
|
|
2092
2085
|
type: z.ZodLiteral<"funnel">;
|
|
2093
2086
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -2117,18 +2110,16 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2117
2110
|
}>>;
|
|
2118
2111
|
}, z.core.$strict>>;
|
|
2119
2112
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2120
|
-
}, z.core.$
|
|
2113
|
+
}, z.core.$strict>], "type">;
|
|
2121
2114
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
2122
2115
|
resource: z.ZodString;
|
|
2123
2116
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2124
2117
|
field: z.ZodString;
|
|
2125
2118
|
as: z.ZodOptional<z.ZodString>;
|
|
2126
2119
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2127
|
-
hour: "hour";
|
|
2128
2120
|
day: "day";
|
|
2129
2121
|
week: "week";
|
|
2130
2122
|
month: "month";
|
|
2131
|
-
quarter: "quarter";
|
|
2132
2123
|
year: "year";
|
|
2133
2124
|
}>>;
|
|
2134
2125
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2149,20 +2140,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2149
2140
|
as: z.ZodString;
|
|
2150
2141
|
}, z.core.$strict>]>>>;
|
|
2151
2142
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2152
|
-
|
|
2143
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2153
2144
|
field: z.ZodString;
|
|
2154
2145
|
as: z.ZodOptional<z.ZodString>;
|
|
2155
2146
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2156
|
-
hour: "hour";
|
|
2157
2147
|
day: "day";
|
|
2158
2148
|
week: "week";
|
|
2159
2149
|
month: "month";
|
|
2160
|
-
quarter: "quarter";
|
|
2161
2150
|
year: "year";
|
|
2162
2151
|
}>>;
|
|
2163
2152
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2164
2153
|
}, z.core.$strict>]>>>;
|
|
2165
|
-
|
|
2154
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2166
2155
|
field: z.ZodString;
|
|
2167
2156
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2168
2157
|
asc: "asc";
|
|
@@ -2171,22 +2160,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2171
2160
|
}, z.core.$strict>>>;
|
|
2172
2161
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2173
2162
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2174
|
-
|
|
2163
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2175
2164
|
field: z.ZodString;
|
|
2176
2165
|
grain: z.ZodEnum<{
|
|
2177
|
-
hour: "hour";
|
|
2178
2166
|
day: "day";
|
|
2179
2167
|
week: "week";
|
|
2180
2168
|
month: "month";
|
|
2181
|
-
quarter: "quarter";
|
|
2182
2169
|
year: "year";
|
|
2183
2170
|
}>;
|
|
2184
2171
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2185
2172
|
}, z.core.$strict>>;
|
|
2186
2173
|
period: z.ZodOptional<z.ZodObject<{
|
|
2187
2174
|
field: z.ZodString;
|
|
2188
|
-
gte: z.ZodOptional<z.
|
|
2189
|
-
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>>>;
|
|
2190
2177
|
}, z.core.$strict>>;
|
|
2191
2178
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2192
2179
|
field: z.ZodString;
|
|
@@ -2200,7 +2187,7 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2200
2187
|
calc: z.ZodString;
|
|
2201
2188
|
as: z.ZodString;
|
|
2202
2189
|
}, z.core.$strict>>>;
|
|
2203
|
-
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>>>>;
|
|
2204
2191
|
}, z.core.$strict>, z.ZodObject<{
|
|
2205
2192
|
steps: z.ZodArray<z.ZodObject<{
|
|
2206
2193
|
name: z.ZodString;
|
|
@@ -2221,11 +2208,14 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2221
2208
|
}, z.core.$strict>;
|
|
2222
2209
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2223
2210
|
}, z.core.$strict>>;
|
|
2211
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2212
|
+
calc: z.ZodString;
|
|
2213
|
+
as: z.ZodString;
|
|
2214
|
+
}, z.core.$strict>>>;
|
|
2224
2215
|
}, z.core.$strict>]>;
|
|
2225
|
-
}, z.core.$
|
|
2226
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2227
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2228
2217
|
label: z.ZodOptional<z.ZodString>;
|
|
2218
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2229
2219
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2230
2220
|
small: "small";
|
|
2231
2221
|
medium: "medium";
|
|
@@ -2235,9 +2225,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2235
2225
|
}>>;
|
|
2236
2226
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2237
2227
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
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;
|
|
2241
2233
|
target: z.ZodLiteral<"kpi_card">;
|
|
2242
2234
|
card: z.ZodObject<{
|
|
2243
2235
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2259,8 +2251,8 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2259
2251
|
text: z.ZodOptional<z.ZodString>;
|
|
2260
2252
|
field: z.ZodOptional<z.ZodString>;
|
|
2261
2253
|
}, z.core.$strict>>;
|
|
2262
|
-
comparison: z.ZodOptional<z.
|
|
2263
|
-
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>>>;
|
|
2264
2256
|
}, z.core.$strict>;
|
|
2265
2257
|
query: z.ZodObject<{
|
|
2266
2258
|
resource: z.ZodString;
|
|
@@ -2268,11 +2260,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2268
2260
|
field: z.ZodString;
|
|
2269
2261
|
as: z.ZodOptional<z.ZodString>;
|
|
2270
2262
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2271
|
-
hour: "hour";
|
|
2272
2263
|
day: "day";
|
|
2273
2264
|
week: "week";
|
|
2274
2265
|
month: "month";
|
|
2275
|
-
quarter: "quarter";
|
|
2276
2266
|
year: "year";
|
|
2277
2267
|
}>>;
|
|
2278
2268
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2293,20 +2283,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2293
2283
|
as: z.ZodString;
|
|
2294
2284
|
}, z.core.$strict>]>>>;
|
|
2295
2285
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2296
|
-
|
|
2286
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2297
2287
|
field: z.ZodString;
|
|
2298
2288
|
as: z.ZodOptional<z.ZodString>;
|
|
2299
2289
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2300
|
-
hour: "hour";
|
|
2301
2290
|
day: "day";
|
|
2302
2291
|
week: "week";
|
|
2303
2292
|
month: "month";
|
|
2304
|
-
quarter: "quarter";
|
|
2305
2293
|
year: "year";
|
|
2306
2294
|
}>>;
|
|
2307
2295
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2308
2296
|
}, z.core.$strict>]>>>;
|
|
2309
|
-
|
|
2297
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2310
2298
|
field: z.ZodString;
|
|
2311
2299
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2312
2300
|
asc: "asc";
|
|
@@ -2315,22 +2303,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2315
2303
|
}, z.core.$strict>>>;
|
|
2316
2304
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2317
2305
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2318
|
-
|
|
2306
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2319
2307
|
field: z.ZodString;
|
|
2320
2308
|
grain: z.ZodEnum<{
|
|
2321
|
-
hour: "hour";
|
|
2322
2309
|
day: "day";
|
|
2323
2310
|
week: "week";
|
|
2324
2311
|
month: "month";
|
|
2325
|
-
quarter: "quarter";
|
|
2326
2312
|
year: "year";
|
|
2327
2313
|
}>;
|
|
2328
2314
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2329
2315
|
}, z.core.$strict>>;
|
|
2330
2316
|
period: z.ZodOptional<z.ZodObject<{
|
|
2331
2317
|
field: z.ZodString;
|
|
2332
|
-
gte: z.ZodOptional<z.
|
|
2333
|
-
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>>>;
|
|
2334
2320
|
}, z.core.$strict>>;
|
|
2335
2321
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2336
2322
|
field: z.ZodString;
|
|
@@ -2344,12 +2330,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2344
2330
|
calc: z.ZodString;
|
|
2345
2331
|
as: z.ZodString;
|
|
2346
2332
|
}, z.core.$strict>>>;
|
|
2347
|
-
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>>>>;
|
|
2348
2334
|
}, z.core.$strict>;
|
|
2349
|
-
}, z.core.$
|
|
2350
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2351
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2352
2336
|
label: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2353
2338
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2354
2339
|
small: "small";
|
|
2355
2340
|
medium: "medium";
|
|
@@ -2359,9 +2344,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2359
2344
|
}>>;
|
|
2360
2345
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2361
2346
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
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;
|
|
2365
2352
|
target: z.ZodLiteral<"gauge_card">;
|
|
2366
2353
|
card: z.ZodObject<{
|
|
2367
2354
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2385,9 +2372,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2385
2372
|
label: z.ZodOptional<z.ZodString>;
|
|
2386
2373
|
}, z.core.$strict>>;
|
|
2387
2374
|
progress: z.ZodOptional<z.ZodObject<{
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2375
|
+
value_field: z.ZodString;
|
|
2376
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
2377
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
2391
2378
|
format: z.ZodOptional<z.ZodEnum<{
|
|
2392
2379
|
number: "number";
|
|
2393
2380
|
compact_number: "compact_number";
|
|
@@ -2406,11 +2393,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2406
2393
|
field: z.ZodString;
|
|
2407
2394
|
as: z.ZodOptional<z.ZodString>;
|
|
2408
2395
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2409
|
-
hour: "hour";
|
|
2410
2396
|
day: "day";
|
|
2411
2397
|
week: "week";
|
|
2412
2398
|
month: "month";
|
|
2413
|
-
quarter: "quarter";
|
|
2414
2399
|
year: "year";
|
|
2415
2400
|
}>>;
|
|
2416
2401
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2431,20 +2416,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2431
2416
|
as: z.ZodString;
|
|
2432
2417
|
}, z.core.$strict>]>>>;
|
|
2433
2418
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2434
|
-
|
|
2419
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2435
2420
|
field: z.ZodString;
|
|
2436
2421
|
as: z.ZodOptional<z.ZodString>;
|
|
2437
2422
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2438
|
-
hour: "hour";
|
|
2439
2423
|
day: "day";
|
|
2440
2424
|
week: "week";
|
|
2441
2425
|
month: "month";
|
|
2442
|
-
quarter: "quarter";
|
|
2443
2426
|
year: "year";
|
|
2444
2427
|
}>>;
|
|
2445
2428
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2446
2429
|
}, z.core.$strict>]>>>;
|
|
2447
|
-
|
|
2430
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2448
2431
|
field: z.ZodString;
|
|
2449
2432
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2450
2433
|
asc: "asc";
|
|
@@ -2453,22 +2436,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2453
2436
|
}, z.core.$strict>>>;
|
|
2454
2437
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2455
2438
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2456
|
-
|
|
2439
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2457
2440
|
field: z.ZodString;
|
|
2458
2441
|
grain: z.ZodEnum<{
|
|
2459
|
-
hour: "hour";
|
|
2460
2442
|
day: "day";
|
|
2461
2443
|
week: "week";
|
|
2462
2444
|
month: "month";
|
|
2463
|
-
quarter: "quarter";
|
|
2464
2445
|
year: "year";
|
|
2465
2446
|
}>;
|
|
2466
2447
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2467
2448
|
}, z.core.$strict>>;
|
|
2468
2449
|
period: z.ZodOptional<z.ZodObject<{
|
|
2469
2450
|
field: z.ZodString;
|
|
2470
|
-
gte: z.ZodOptional<z.
|
|
2471
|
-
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>>>;
|
|
2472
2453
|
}, z.core.$strict>>;
|
|
2473
2454
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2474
2455
|
field: z.ZodString;
|
|
@@ -2482,12 +2463,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2482
2463
|
calc: z.ZodString;
|
|
2483
2464
|
as: z.ZodString;
|
|
2484
2465
|
}, z.core.$strict>>>;
|
|
2485
|
-
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>>>>;
|
|
2486
2467
|
}, z.core.$strict>;
|
|
2487
|
-
}, z.core.$
|
|
2488
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2489
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2490
2469
|
label: z.ZodOptional<z.ZodString>;
|
|
2470
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2491
2471
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2492
2472
|
small: "small";
|
|
2493
2473
|
medium: "medium";
|
|
@@ -2497,9 +2477,11 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2497
2477
|
}>>;
|
|
2498
2478
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2499
2479
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
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;
|
|
2503
2485
|
target: z.ZodLiteral<"pivot_table">;
|
|
2504
2486
|
pivot: z.ZodObject<{
|
|
2505
2487
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -2555,11 +2537,9 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2555
2537
|
field: z.ZodString;
|
|
2556
2538
|
as: z.ZodOptional<z.ZodString>;
|
|
2557
2539
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2558
|
-
hour: "hour";
|
|
2559
2540
|
day: "day";
|
|
2560
2541
|
week: "week";
|
|
2561
2542
|
month: "month";
|
|
2562
|
-
quarter: "quarter";
|
|
2563
2543
|
year: "year";
|
|
2564
2544
|
}>>;
|
|
2565
2545
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2580,20 +2560,18 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2580
2560
|
as: z.ZodString;
|
|
2581
2561
|
}, z.core.$strict>]>>>;
|
|
2582
2562
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2583
|
-
|
|
2563
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2584
2564
|
field: z.ZodString;
|
|
2585
2565
|
as: z.ZodOptional<z.ZodString>;
|
|
2586
2566
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2587
|
-
hour: "hour";
|
|
2588
2567
|
day: "day";
|
|
2589
2568
|
week: "week";
|
|
2590
2569
|
month: "month";
|
|
2591
|
-
quarter: "quarter";
|
|
2592
2570
|
year: "year";
|
|
2593
2571
|
}>>;
|
|
2594
2572
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2595
2573
|
}, z.core.$strict>]>>>;
|
|
2596
|
-
|
|
2574
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2597
2575
|
field: z.ZodString;
|
|
2598
2576
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2599
2577
|
asc: "asc";
|
|
@@ -2602,22 +2580,20 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2602
2580
|
}, z.core.$strict>>>;
|
|
2603
2581
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2604
2582
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2605
|
-
|
|
2583
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2606
2584
|
field: z.ZodString;
|
|
2607
2585
|
grain: z.ZodEnum<{
|
|
2608
|
-
hour: "hour";
|
|
2609
2586
|
day: "day";
|
|
2610
2587
|
week: "week";
|
|
2611
2588
|
month: "month";
|
|
2612
|
-
quarter: "quarter";
|
|
2613
2589
|
year: "year";
|
|
2614
2590
|
}>;
|
|
2615
2591
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2616
2592
|
}, z.core.$strict>>;
|
|
2617
2593
|
period: z.ZodOptional<z.ZodObject<{
|
|
2618
2594
|
field: z.ZodString;
|
|
2619
|
-
gte: z.ZodOptional<z.
|
|
2620
|
-
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>>>;
|
|
2621
2597
|
}, z.core.$strict>>;
|
|
2622
2598
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2623
2599
|
field: z.ZodString;
|
|
@@ -2631,10 +2607,10 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2631
2607
|
calc: z.ZodString;
|
|
2632
2608
|
as: z.ZodString;
|
|
2633
2609
|
}, z.core.$strict>>>;
|
|
2634
|
-
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>>>>;
|
|
2635
2611
|
}, z.core.$strict>;
|
|
2636
|
-
}, z.core.$
|
|
2637
|
-
}, z.core.$
|
|
2612
|
+
}, z.core.$strict>], "target">>;
|
|
2613
|
+
}, z.core.$strict>;
|
|
2638
2614
|
}, z.core.$strip>, z.ZodObject<{
|
|
2639
2615
|
error: z.ZodString;
|
|
2640
2616
|
validationErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2644,9 +2620,8 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
2644
2620
|
}, z.core.$strip>]>;
|
|
2645
2621
|
export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2646
2622
|
widget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2647
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2648
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2649
2623
|
label: z.ZodOptional<z.ZodString>;
|
|
2624
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2650
2625
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2651
2626
|
small: "small";
|
|
2652
2627
|
medium: "medium";
|
|
@@ -2656,14 +2631,15 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2656
2631
|
}>>;
|
|
2657
2632
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2658
2633
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
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;
|
|
2662
2639
|
target: z.ZodLiteral<"empty">;
|
|
2663
|
-
}, z.core.$
|
|
2664
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2665
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2640
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2666
2641
|
label: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2667
2643
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2668
2644
|
small: "small";
|
|
2669
2645
|
medium: "medium";
|
|
@@ -2673,9 +2649,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2673
2649
|
}>>;
|
|
2674
2650
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2675
2651
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
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;
|
|
2679
2657
|
target: z.ZodLiteral<"table">;
|
|
2680
2658
|
table: z.ZodOptional<z.ZodObject<{
|
|
2681
2659
|
columns: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -2692,7 +2670,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2692
2670
|
}>>;
|
|
2693
2671
|
}, z.core.$strict>]>>>;
|
|
2694
2672
|
pagination: z.ZodOptional<z.ZodBoolean>;
|
|
2695
|
-
|
|
2673
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
2696
2674
|
}, z.core.$strict>>;
|
|
2697
2675
|
query: z.ZodObject<{
|
|
2698
2676
|
resource: z.ZodString;
|
|
@@ -2700,11 +2678,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2700
2678
|
field: z.ZodString;
|
|
2701
2679
|
as: z.ZodOptional<z.ZodString>;
|
|
2702
2680
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2703
|
-
hour: "hour";
|
|
2704
2681
|
day: "day";
|
|
2705
2682
|
week: "week";
|
|
2706
2683
|
month: "month";
|
|
2707
|
-
quarter: "quarter";
|
|
2708
2684
|
year: "year";
|
|
2709
2685
|
}>>;
|
|
2710
2686
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2725,20 +2701,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2725
2701
|
as: z.ZodString;
|
|
2726
2702
|
}, z.core.$strict>]>>>;
|
|
2727
2703
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
2728
|
-
|
|
2704
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2729
2705
|
field: z.ZodString;
|
|
2730
2706
|
as: z.ZodOptional<z.ZodString>;
|
|
2731
2707
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2732
|
-
hour: "hour";
|
|
2733
2708
|
day: "day";
|
|
2734
2709
|
week: "week";
|
|
2735
2710
|
month: "month";
|
|
2736
|
-
quarter: "quarter";
|
|
2737
2711
|
year: "year";
|
|
2738
2712
|
}>>;
|
|
2739
2713
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2740
2714
|
}, z.core.$strict>]>>>;
|
|
2741
|
-
|
|
2715
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2742
2716
|
field: z.ZodString;
|
|
2743
2717
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
2744
2718
|
asc: "asc";
|
|
@@ -2747,22 +2721,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2747
2721
|
}, z.core.$strict>>>;
|
|
2748
2722
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2749
2723
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2750
|
-
|
|
2724
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
2751
2725
|
field: z.ZodString;
|
|
2752
2726
|
grain: z.ZodEnum<{
|
|
2753
|
-
hour: "hour";
|
|
2754
2727
|
day: "day";
|
|
2755
2728
|
week: "week";
|
|
2756
2729
|
month: "month";
|
|
2757
|
-
quarter: "quarter";
|
|
2758
2730
|
year: "year";
|
|
2759
2731
|
}>;
|
|
2760
2732
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2761
2733
|
}, z.core.$strict>>;
|
|
2762
2734
|
period: z.ZodOptional<z.ZodObject<{
|
|
2763
2735
|
field: z.ZodString;
|
|
2764
|
-
gte: z.ZodOptional<z.
|
|
2765
|
-
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>>>;
|
|
2766
2738
|
}, z.core.$strict>>;
|
|
2767
2739
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
2768
2740
|
field: z.ZodString;
|
|
@@ -2776,12 +2748,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2776
2748
|
calc: z.ZodString;
|
|
2777
2749
|
as: z.ZodString;
|
|
2778
2750
|
}, z.core.$strict>>>;
|
|
2779
|
-
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>>>>;
|
|
2780
2752
|
}, z.core.$strict>;
|
|
2781
|
-
}, z.core.$
|
|
2782
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2783
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2784
2754
|
label: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
2785
2756
|
size: z.ZodOptional<z.ZodEnum<{
|
|
2786
2757
|
small: "small";
|
|
2787
2758
|
medium: "medium";
|
|
@@ -2791,9 +2762,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2791
2762
|
}>>;
|
|
2792
2763
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2793
2764
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
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;
|
|
2797
2770
|
target: z.ZodLiteral<"chart">;
|
|
2798
2771
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2799
2772
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2830,7 +2803,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2830
2803
|
}, z.core.$strict>>;
|
|
2831
2804
|
color: z.ZodOptional<z.ZodString>;
|
|
2832
2805
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2833
|
-
}, z.core.$
|
|
2806
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2834
2807
|
title: z.ZodOptional<z.ZodString>;
|
|
2835
2808
|
type: z.ZodLiteral<"bar">;
|
|
2836
2809
|
x: z.ZodObject<{
|
|
@@ -2860,7 +2833,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2860
2833
|
}>>;
|
|
2861
2834
|
}, z.core.$strict>;
|
|
2862
2835
|
color: z.ZodOptional<z.ZodString>;
|
|
2863
|
-
}, z.core.$
|
|
2836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2864
2837
|
title: z.ZodOptional<z.ZodString>;
|
|
2865
2838
|
type: z.ZodLiteral<"stacked_bar">;
|
|
2866
2839
|
x: z.ZodObject<{
|
|
@@ -2876,7 +2849,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2876
2849
|
currency_delta: "currency_delta";
|
|
2877
2850
|
}>>;
|
|
2878
2851
|
}, z.core.$strict>;
|
|
2879
|
-
y: z.ZodObject<{
|
|
2852
|
+
y: z.ZodUnion<readonly [z.ZodObject<{
|
|
2880
2853
|
field: z.ZodString;
|
|
2881
2854
|
label: z.ZodOptional<z.ZodString>;
|
|
2882
2855
|
format: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2888,13 +2861,25 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2888
2861
|
number_delta: "number_delta";
|
|
2889
2862
|
currency_delta: "currency_delta";
|
|
2890
2863
|
}>>;
|
|
2891
|
-
}, z.core.$strict
|
|
2892
|
-
series: z.ZodObject<{
|
|
2864
|
+
}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
2893
2865
|
field: z.ZodString;
|
|
2894
2866
|
label: z.ZodOptional<z.ZodString>;
|
|
2895
|
-
|
|
2867
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2868
|
+
number: "number";
|
|
2869
|
+
compact_number: "compact_number";
|
|
2870
|
+
currency: "currency";
|
|
2871
|
+
percent: "percent";
|
|
2872
|
+
percent_delta: "percent_delta";
|
|
2873
|
+
number_delta: "number_delta";
|
|
2874
|
+
currency_delta: "currency_delta";
|
|
2875
|
+
}>>;
|
|
2876
|
+
}, z.core.$strict>>]>;
|
|
2877
|
+
series: z.ZodOptional<z.ZodObject<{
|
|
2878
|
+
field: z.ZodString;
|
|
2879
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2880
|
+
}, z.core.$strict>>;
|
|
2896
2881
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2897
|
-
}, z.core.$
|
|
2882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2898
2883
|
title: z.ZodOptional<z.ZodString>;
|
|
2899
2884
|
type: z.ZodLiteral<"pie">;
|
|
2900
2885
|
label: z.ZodObject<{
|
|
@@ -2924,7 +2909,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2924
2909
|
}>>;
|
|
2925
2910
|
}, z.core.$strict>;
|
|
2926
2911
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2927
|
-
}, z.core.$
|
|
2912
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2928
2913
|
title: z.ZodOptional<z.ZodString>;
|
|
2929
2914
|
type: z.ZodLiteral<"histogram">;
|
|
2930
2915
|
x: z.ZodObject<{
|
|
@@ -2959,7 +2944,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2959
2944
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2960
2945
|
}, z.core.$strict>>>;
|
|
2961
2946
|
color: z.ZodOptional<z.ZodString>;
|
|
2962
|
-
}, z.core.$
|
|
2947
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2963
2948
|
title: z.ZodOptional<z.ZodString>;
|
|
2964
2949
|
type: z.ZodLiteral<"funnel">;
|
|
2965
2950
|
label: z.ZodOptional<z.ZodObject<{
|
|
@@ -2989,18 +2974,16 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
2989
2974
|
}>>;
|
|
2990
2975
|
}, z.core.$strict>>;
|
|
2991
2976
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2992
|
-
}, z.core.$
|
|
2977
|
+
}, z.core.$strict>], "type">;
|
|
2993
2978
|
query: z.ZodUnion<readonly [z.ZodObject<{
|
|
2994
2979
|
resource: z.ZodString;
|
|
2995
2980
|
select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2996
2981
|
field: z.ZodString;
|
|
2997
2982
|
as: z.ZodOptional<z.ZodString>;
|
|
2998
2983
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
2999
|
-
hour: "hour";
|
|
3000
2984
|
day: "day";
|
|
3001
2985
|
week: "week";
|
|
3002
2986
|
month: "month";
|
|
3003
|
-
quarter: "quarter";
|
|
3004
2987
|
year: "year";
|
|
3005
2988
|
}>>;
|
|
3006
2989
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3021,20 +3004,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3021
3004
|
as: z.ZodString;
|
|
3022
3005
|
}, z.core.$strict>]>>>;
|
|
3023
3006
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3024
|
-
|
|
3007
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3025
3008
|
field: z.ZodString;
|
|
3026
3009
|
as: z.ZodOptional<z.ZodString>;
|
|
3027
3010
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3028
|
-
hour: "hour";
|
|
3029
3011
|
day: "day";
|
|
3030
3012
|
week: "week";
|
|
3031
3013
|
month: "month";
|
|
3032
|
-
quarter: "quarter";
|
|
3033
3014
|
year: "year";
|
|
3034
3015
|
}>>;
|
|
3035
3016
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3036
3017
|
}, z.core.$strict>]>>>;
|
|
3037
|
-
|
|
3018
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3038
3019
|
field: z.ZodString;
|
|
3039
3020
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3040
3021
|
asc: "asc";
|
|
@@ -3043,22 +3024,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3043
3024
|
}, z.core.$strict>>>;
|
|
3044
3025
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3045
3026
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3046
|
-
|
|
3027
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3047
3028
|
field: z.ZodString;
|
|
3048
3029
|
grain: z.ZodEnum<{
|
|
3049
|
-
hour: "hour";
|
|
3050
3030
|
day: "day";
|
|
3051
3031
|
week: "week";
|
|
3052
3032
|
month: "month";
|
|
3053
|
-
quarter: "quarter";
|
|
3054
3033
|
year: "year";
|
|
3055
3034
|
}>;
|
|
3056
3035
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3057
3036
|
}, z.core.$strict>>;
|
|
3058
3037
|
period: z.ZodOptional<z.ZodObject<{
|
|
3059
3038
|
field: z.ZodString;
|
|
3060
|
-
gte: z.ZodOptional<z.
|
|
3061
|
-
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>>>;
|
|
3062
3041
|
}, z.core.$strict>>;
|
|
3063
3042
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3064
3043
|
field: z.ZodString;
|
|
@@ -3072,7 +3051,7 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3072
3051
|
calc: z.ZodString;
|
|
3073
3052
|
as: z.ZodString;
|
|
3074
3053
|
}, z.core.$strict>>>;
|
|
3075
|
-
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>>>>;
|
|
3076
3055
|
}, z.core.$strict>, z.ZodObject<{
|
|
3077
3056
|
steps: z.ZodArray<z.ZodObject<{
|
|
3078
3057
|
name: z.ZodString;
|
|
@@ -3093,11 +3072,14 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3093
3072
|
}, z.core.$strict>;
|
|
3094
3073
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3095
3074
|
}, z.core.$strict>>;
|
|
3075
|
+
calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3076
|
+
calc: z.ZodString;
|
|
3077
|
+
as: z.ZodString;
|
|
3078
|
+
}, z.core.$strict>>>;
|
|
3096
3079
|
}, z.core.$strict>]>;
|
|
3097
|
-
}, z.core.$
|
|
3098
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3099
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3100
3081
|
label: z.ZodOptional<z.ZodString>;
|
|
3082
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3101
3083
|
size: z.ZodOptional<z.ZodEnum<{
|
|
3102
3084
|
small: "small";
|
|
3103
3085
|
medium: "medium";
|
|
@@ -3107,9 +3089,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3107
3089
|
}>>;
|
|
3108
3090
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3109
3091
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
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;
|
|
3113
3097
|
target: z.ZodLiteral<"kpi_card">;
|
|
3114
3098
|
card: z.ZodObject<{
|
|
3115
3099
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3131,8 +3115,8 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3131
3115
|
text: z.ZodOptional<z.ZodString>;
|
|
3132
3116
|
field: z.ZodOptional<z.ZodString>;
|
|
3133
3117
|
}, z.core.$strict>>;
|
|
3134
|
-
comparison: z.ZodOptional<z.
|
|
3135
|
-
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>>>;
|
|
3136
3120
|
}, z.core.$strict>;
|
|
3137
3121
|
query: z.ZodObject<{
|
|
3138
3122
|
resource: z.ZodString;
|
|
@@ -3140,11 +3124,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3140
3124
|
field: z.ZodString;
|
|
3141
3125
|
as: z.ZodOptional<z.ZodString>;
|
|
3142
3126
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3143
|
-
hour: "hour";
|
|
3144
3127
|
day: "day";
|
|
3145
3128
|
week: "week";
|
|
3146
3129
|
month: "month";
|
|
3147
|
-
quarter: "quarter";
|
|
3148
3130
|
year: "year";
|
|
3149
3131
|
}>>;
|
|
3150
3132
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3165,20 +3147,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3165
3147
|
as: z.ZodString;
|
|
3166
3148
|
}, z.core.$strict>]>>>;
|
|
3167
3149
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3168
|
-
|
|
3150
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3169
3151
|
field: z.ZodString;
|
|
3170
3152
|
as: z.ZodOptional<z.ZodString>;
|
|
3171
3153
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3172
|
-
hour: "hour";
|
|
3173
3154
|
day: "day";
|
|
3174
3155
|
week: "week";
|
|
3175
3156
|
month: "month";
|
|
3176
|
-
quarter: "quarter";
|
|
3177
3157
|
year: "year";
|
|
3178
3158
|
}>>;
|
|
3179
3159
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3180
3160
|
}, z.core.$strict>]>>>;
|
|
3181
|
-
|
|
3161
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3182
3162
|
field: z.ZodString;
|
|
3183
3163
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3184
3164
|
asc: "asc";
|
|
@@ -3187,22 +3167,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3187
3167
|
}, z.core.$strict>>>;
|
|
3188
3168
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3189
3169
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3190
|
-
|
|
3170
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3191
3171
|
field: z.ZodString;
|
|
3192
3172
|
grain: z.ZodEnum<{
|
|
3193
|
-
hour: "hour";
|
|
3194
3173
|
day: "day";
|
|
3195
3174
|
week: "week";
|
|
3196
3175
|
month: "month";
|
|
3197
|
-
quarter: "quarter";
|
|
3198
3176
|
year: "year";
|
|
3199
3177
|
}>;
|
|
3200
3178
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3201
3179
|
}, z.core.$strict>>;
|
|
3202
3180
|
period: z.ZodOptional<z.ZodObject<{
|
|
3203
3181
|
field: z.ZodString;
|
|
3204
|
-
gte: z.ZodOptional<z.
|
|
3205
|
-
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>>>;
|
|
3206
3184
|
}, z.core.$strict>>;
|
|
3207
3185
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3208
3186
|
field: z.ZodString;
|
|
@@ -3216,12 +3194,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3216
3194
|
calc: z.ZodString;
|
|
3217
3195
|
as: z.ZodString;
|
|
3218
3196
|
}, z.core.$strict>>>;
|
|
3219
|
-
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>>>>;
|
|
3220
3198
|
}, z.core.$strict>;
|
|
3221
|
-
}, z.core.$
|
|
3222
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3223
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
3199
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3224
3200
|
label: z.ZodOptional<z.ZodString>;
|
|
3201
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3225
3202
|
size: z.ZodOptional<z.ZodEnum<{
|
|
3226
3203
|
small: "small";
|
|
3227
3204
|
medium: "medium";
|
|
@@ -3231,9 +3208,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3231
3208
|
}>>;
|
|
3232
3209
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3233
3210
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
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;
|
|
3237
3216
|
target: z.ZodLiteral<"gauge_card">;
|
|
3238
3217
|
card: z.ZodObject<{
|
|
3239
3218
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3257,9 +3236,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3257
3236
|
label: z.ZodOptional<z.ZodString>;
|
|
3258
3237
|
}, z.core.$strict>>;
|
|
3259
3238
|
progress: z.ZodOptional<z.ZodObject<{
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3239
|
+
value_field: z.ZodString;
|
|
3240
|
+
target_value: z.ZodOptional<z.ZodNumber>;
|
|
3241
|
+
target_field: z.ZodOptional<z.ZodString>;
|
|
3263
3242
|
format: z.ZodOptional<z.ZodEnum<{
|
|
3264
3243
|
number: "number";
|
|
3265
3244
|
compact_number: "compact_number";
|
|
@@ -3278,11 +3257,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3278
3257
|
field: z.ZodString;
|
|
3279
3258
|
as: z.ZodOptional<z.ZodString>;
|
|
3280
3259
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3281
|
-
hour: "hour";
|
|
3282
3260
|
day: "day";
|
|
3283
3261
|
week: "week";
|
|
3284
3262
|
month: "month";
|
|
3285
|
-
quarter: "quarter";
|
|
3286
3263
|
year: "year";
|
|
3287
3264
|
}>>;
|
|
3288
3265
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3303,20 +3280,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3303
3280
|
as: z.ZodString;
|
|
3304
3281
|
}, z.core.$strict>]>>>;
|
|
3305
3282
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3306
|
-
|
|
3283
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3307
3284
|
field: z.ZodString;
|
|
3308
3285
|
as: z.ZodOptional<z.ZodString>;
|
|
3309
3286
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3310
|
-
hour: "hour";
|
|
3311
3287
|
day: "day";
|
|
3312
3288
|
week: "week";
|
|
3313
3289
|
month: "month";
|
|
3314
|
-
quarter: "quarter";
|
|
3315
3290
|
year: "year";
|
|
3316
3291
|
}>>;
|
|
3317
3292
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3318
3293
|
}, z.core.$strict>]>>>;
|
|
3319
|
-
|
|
3294
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3320
3295
|
field: z.ZodString;
|
|
3321
3296
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3322
3297
|
asc: "asc";
|
|
@@ -3325,22 +3300,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3325
3300
|
}, z.core.$strict>>>;
|
|
3326
3301
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3327
3302
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3328
|
-
|
|
3303
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3329
3304
|
field: z.ZodString;
|
|
3330
3305
|
grain: z.ZodEnum<{
|
|
3331
|
-
hour: "hour";
|
|
3332
3306
|
day: "day";
|
|
3333
3307
|
week: "week";
|
|
3334
3308
|
month: "month";
|
|
3335
|
-
quarter: "quarter";
|
|
3336
3309
|
year: "year";
|
|
3337
3310
|
}>;
|
|
3338
3311
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3339
3312
|
}, z.core.$strict>>;
|
|
3340
3313
|
period: z.ZodOptional<z.ZodObject<{
|
|
3341
3314
|
field: z.ZodString;
|
|
3342
|
-
gte: z.ZodOptional<z.
|
|
3343
|
-
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>>>;
|
|
3344
3317
|
}, z.core.$strict>>;
|
|
3345
3318
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3346
3319
|
field: z.ZodString;
|
|
@@ -3354,12 +3327,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3354
3327
|
calc: z.ZodString;
|
|
3355
3328
|
as: z.ZodString;
|
|
3356
3329
|
}, z.core.$strict>>>;
|
|
3357
|
-
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>>>>;
|
|
3358
3331
|
}, z.core.$strict>;
|
|
3359
|
-
}, z.core.$
|
|
3360
|
-
id: z.ZodOptional<z.ZodString>;
|
|
3361
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3362
3333
|
label: z.ZodOptional<z.ZodString>;
|
|
3334
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
3363
3335
|
size: z.ZodOptional<z.ZodEnum<{
|
|
3364
3336
|
small: "small";
|
|
3365
3337
|
medium: "medium";
|
|
@@ -3369,9 +3341,11 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3369
3341
|
}>>;
|
|
3370
3342
|
width: z.ZodOptional<z.ZodNumber>;
|
|
3371
3343
|
height: z.ZodOptional<z.ZodNumber>;
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
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;
|
|
3375
3349
|
target: z.ZodLiteral<"pivot_table">;
|
|
3376
3350
|
pivot: z.ZodObject<{
|
|
3377
3351
|
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3427,11 +3401,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3427
3401
|
field: z.ZodString;
|
|
3428
3402
|
as: z.ZodOptional<z.ZodString>;
|
|
3429
3403
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3430
|
-
hour: "hour";
|
|
3431
3404
|
day: "day";
|
|
3432
3405
|
week: "week";
|
|
3433
3406
|
month: "month";
|
|
3434
|
-
quarter: "quarter";
|
|
3435
3407
|
year: "year";
|
|
3436
3408
|
}>>;
|
|
3437
3409
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3452,20 +3424,18 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3452
3424
|
as: z.ZodString;
|
|
3453
3425
|
}, z.core.$strict>]>>>;
|
|
3454
3426
|
filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3455
|
-
|
|
3427
|
+
group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3456
3428
|
field: z.ZodString;
|
|
3457
3429
|
as: z.ZodOptional<z.ZodString>;
|
|
3458
3430
|
grain: z.ZodOptional<z.ZodEnum<{
|
|
3459
|
-
hour: "hour";
|
|
3460
3431
|
day: "day";
|
|
3461
3432
|
week: "week";
|
|
3462
3433
|
month: "month";
|
|
3463
|
-
quarter: "quarter";
|
|
3464
3434
|
year: "year";
|
|
3465
3435
|
}>>;
|
|
3466
3436
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3467
3437
|
}, z.core.$strict>]>>>;
|
|
3468
|
-
|
|
3438
|
+
order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3469
3439
|
field: z.ZodString;
|
|
3470
3440
|
direction: z.ZodOptional<z.ZodEnum<{
|
|
3471
3441
|
asc: "asc";
|
|
@@ -3474,22 +3444,20 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3474
3444
|
}, z.core.$strict>>>;
|
|
3475
3445
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3476
3446
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3477
|
-
|
|
3447
|
+
time_series: z.ZodOptional<z.ZodObject<{
|
|
3478
3448
|
field: z.ZodString;
|
|
3479
3449
|
grain: z.ZodEnum<{
|
|
3480
|
-
hour: "hour";
|
|
3481
3450
|
day: "day";
|
|
3482
3451
|
week: "week";
|
|
3483
3452
|
month: "month";
|
|
3484
|
-
quarter: "quarter";
|
|
3485
3453
|
year: "year";
|
|
3486
3454
|
}>;
|
|
3487
3455
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3488
3456
|
}, z.core.$strict>>;
|
|
3489
3457
|
period: z.ZodOptional<z.ZodObject<{
|
|
3490
3458
|
field: z.ZodString;
|
|
3491
|
-
gte: z.ZodOptional<z.
|
|
3492
|
-
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>>>;
|
|
3493
3461
|
}, z.core.$strict>>;
|
|
3494
3462
|
bucket: z.ZodOptional<z.ZodObject<{
|
|
3495
3463
|
field: z.ZodString;
|
|
@@ -3503,9 +3471,9 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3503
3471
|
calc: z.ZodString;
|
|
3504
3472
|
as: z.ZodString;
|
|
3505
3473
|
}, z.core.$strict>>>;
|
|
3506
|
-
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>>>>;
|
|
3507
3475
|
}, z.core.$strict>;
|
|
3508
|
-
}, z.core.$
|
|
3476
|
+
}, z.core.$strict>], "target">;
|
|
3509
3477
|
data: z.ZodUnknown;
|
|
3510
3478
|
}, z.core.$strip>, z.ZodObject<{
|
|
3511
3479
|
error: z.ZodString;
|
|
@@ -3515,53 +3483,1756 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
3515
3483
|
}, z.core.$strip>>>;
|
|
3516
3484
|
}, z.core.$strip>]>;
|
|
3517
3485
|
export declare const SlugRequestZodSchema: z.ZodObject<{
|
|
3518
|
-
slug: z.
|
|
3519
|
-
}, z.core.$strict>;
|
|
3520
|
-
export declare const GroupIdRequestZodSchema: z.ZodObject<{
|
|
3521
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
3522
|
-
groupId: z.ZodString;
|
|
3523
|
-
}, z.core.$strict>;
|
|
3524
|
-
export declare const MoveGroupRequestZodSchema: z.ZodObject<{
|
|
3525
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
3526
|
-
groupId: z.ZodString;
|
|
3527
|
-
direction: z.ZodEnum<{
|
|
3528
|
-
up: "up";
|
|
3529
|
-
down: "down";
|
|
3530
|
-
}>;
|
|
3486
|
+
slug: z.ZodString;
|
|
3531
3487
|
}, z.core.$strict>;
|
|
3532
|
-
export declare const
|
|
3533
|
-
slug: z.
|
|
3534
|
-
groupId: z.ZodString;
|
|
3488
|
+
export declare const SetDashboardConfigRequestZodSchema: z.ZodObject<{
|
|
3489
|
+
slug: z.ZodString;
|
|
3535
3490
|
config: z.ZodObject<{
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
}, z.core.$strict
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
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">;
|
|
3565
5236
|
}, z.core.$strict>;
|
|
3566
5237
|
export declare const DashboardErrorResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3567
5238
|
export declare const DashboardGroupSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -3570,6 +5241,7 @@ export declare const DashboardResponseSchema: z.core.ZodStandardJSONSchemaPayloa
|
|
|
3570
5241
|
export declare const DashboardApiResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3571
5242
|
export declare const DashboardWidgetDataResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3572
5243
|
export declare const SlugRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
5244
|
+
export declare const SetDashboardConfigRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3573
5245
|
export declare const GroupIdRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3574
5246
|
export declare const MoveGroupRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3575
5247
|
export declare const SetGroupConfigRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|