@adminforth/dashboard 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -54
- package/custom/api/dashboardApi.ts +9 -0
- package/custom/model/dashboard.types.ts +353 -2
- package/custom/queries/useWidgetData.ts +8 -4
- package/custom/runtime/DashboardRuntime.vue +2 -1
- package/custom/runtime/WidgetRenderer.vue +2 -1
- package/custom/runtime/WidgetShell.vue +8 -4
- package/custom/skills/adminforth-dashboard/SKILL.md +4 -4
- package/custom/widgets/chart/ChartWidget.vue +45 -12
- package/custom/widgets/chart/chart.types.ts +83 -0
- package/custom/widgets/chart/chart.utils.ts +2 -2
- package/custom/widgets/gauge-card/GaugeCardWidget.vue +63 -12
- package/custom/widgets/kpi-card/KpiCardWidget.vue +6 -8
- package/custom/widgets/pivot-table/PivotTableWidget.vue +32 -12
- package/custom/widgets/table/TableWidget.vue +155 -30
- package/dist/custom/api/dashboardApi.d.ts +7 -1
- package/dist/custom/api/dashboardApi.js +4 -6
- package/dist/custom/api/dashboardApi.ts +9 -0
- package/dist/custom/model/dashboard.types.d.ts +70 -1
- package/dist/custom/model/dashboard.types.js +173 -1
- package/dist/custom/model/dashboard.types.ts +353 -2
- package/dist/custom/queries/useDashboardConfig.d.ts +42 -2
- package/dist/custom/queries/useWidgetData.d.ts +44 -3
- package/dist/custom/queries/useWidgetData.js +3 -3
- package/dist/custom/queries/useWidgetData.ts +8 -4
- package/dist/custom/runtime/DashboardRuntime.vue +2 -1
- package/dist/custom/runtime/WidgetRenderer.vue +2 -1
- package/dist/custom/runtime/WidgetShell.vue +8 -4
- package/dist/custom/skills/adminforth-dashboard/SKILL.md +4 -4
- package/dist/custom/widgets/chart/ChartWidget.vue +45 -12
- package/dist/custom/widgets/chart/chart.types.d.ts +15 -0
- package/dist/custom/widgets/chart/chart.types.js +46 -0
- package/dist/custom/widgets/chart/chart.types.ts +83 -0
- package/dist/custom/widgets/chart/chart.utils.d.ts +1 -1
- package/dist/custom/widgets/chart/chart.utils.js +2 -2
- package/dist/custom/widgets/chart/chart.utils.ts +2 -2
- package/dist/custom/widgets/gauge-card/GaugeCardWidget.vue +63 -12
- package/dist/custom/widgets/kpi-card/KpiCardWidget.vue +6 -8
- package/dist/custom/widgets/pivot-table/PivotTableWidget.vue +32 -12
- package/dist/custom/widgets/table/TableWidget.vue +155 -30
- package/dist/endpoint/widgets.d.ts +6 -1
- package/dist/endpoint/widgets.js +41 -6
- package/dist/schema/api.d.ts +874 -444
- package/dist/schema/api.js +11 -2
- package/dist/schema/widget.d.ts +538 -132
- package/dist/schema/widget.js +138 -14
- package/dist/services/widgetConfigValidator.js +26 -40
- package/dist/services/widgetDataService.d.ts +7 -14
- package/dist/services/widgetDataService.js +115 -11
- package/endpoint/widgets.ts +56 -6
- package/package.json +1 -1
- package/schema/api.ts +11 -1
- package/schema/widget.ts +145 -15
- package/services/widgetConfigValidator.ts +36 -44
- package/services/widgetDataService.ts +175 -28
package/dist/schema/api.d.ts
CHANGED
|
@@ -34,6 +34,42 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
34
34
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
35
35
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
order: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38
|
+
type: z.ZodLiteral<"resource">;
|
|
39
|
+
resourceId: z.ZodString;
|
|
40
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
42
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
43
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44
|
+
type: z.ZodLiteral<"aggregate">;
|
|
45
|
+
resourceId: z.ZodString;
|
|
46
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
47
|
+
operation: z.ZodEnum<{
|
|
48
|
+
sum: "sum";
|
|
49
|
+
count: "count";
|
|
50
|
+
avg: "avg";
|
|
51
|
+
min: "min";
|
|
52
|
+
max: "max";
|
|
53
|
+
median: "median";
|
|
54
|
+
}>;
|
|
55
|
+
field: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
58
|
+
type: z.ZodLiteral<"field">;
|
|
59
|
+
field: z.ZodString;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
62
|
+
field: z.ZodString;
|
|
63
|
+
truncation: z.ZodEnum<{
|
|
64
|
+
day: "day";
|
|
65
|
+
week: "week";
|
|
66
|
+
month: "month";
|
|
67
|
+
year: "year";
|
|
68
|
+
}>;
|
|
69
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>], "type">>;
|
|
71
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
72
|
+
}, z.core.$strict>], "type">>;
|
|
37
73
|
target: z.ZodLiteral<"empty">;
|
|
38
74
|
}, z.core.$strip>, z.ZodObject<{
|
|
39
75
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -51,20 +87,44 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
51
87
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
52
88
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
89
|
order: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
90
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"resource">;
|
|
92
|
+
resourceId: z.ZodString;
|
|
93
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
94
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
95
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
96
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
97
|
+
type: z.ZodLiteral<"aggregate">;
|
|
98
|
+
resourceId: z.ZodString;
|
|
99
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
100
|
+
operation: z.ZodEnum<{
|
|
101
|
+
sum: "sum";
|
|
102
|
+
count: "count";
|
|
103
|
+
avg: "avg";
|
|
104
|
+
min: "min";
|
|
105
|
+
max: "max";
|
|
106
|
+
median: "median";
|
|
64
107
|
}>;
|
|
108
|
+
field: z.ZodOptional<z.ZodString>;
|
|
65
109
|
}, z.core.$strip>>;
|
|
66
|
-
|
|
67
|
-
|
|
110
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
111
|
+
type: z.ZodLiteral<"field">;
|
|
112
|
+
field: z.ZodString;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
115
|
+
field: z.ZodString;
|
|
116
|
+
truncation: z.ZodEnum<{
|
|
117
|
+
day: "day";
|
|
118
|
+
week: "week";
|
|
119
|
+
month: "month";
|
|
120
|
+
year: "year";
|
|
121
|
+
}>;
|
|
122
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>], "type">>;
|
|
124
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
125
|
+
}, z.core.$strict>], "type">>;
|
|
126
|
+
target: z.ZodLiteral<"table">;
|
|
127
|
+
table: z.ZodOptional<z.ZodUnknown>;
|
|
68
128
|
}, z.core.$strip>, z.ZodObject<{
|
|
69
129
|
id: z.ZodOptional<z.ZodString>;
|
|
70
130
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -81,6 +141,42 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
81
141
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
82
142
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
83
143
|
order: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
|
+
type: z.ZodLiteral<"resource">;
|
|
146
|
+
resourceId: z.ZodString;
|
|
147
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
149
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
150
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
151
|
+
type: z.ZodLiteral<"aggregate">;
|
|
152
|
+
resourceId: z.ZodString;
|
|
153
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
154
|
+
operation: z.ZodEnum<{
|
|
155
|
+
sum: "sum";
|
|
156
|
+
count: "count";
|
|
157
|
+
avg: "avg";
|
|
158
|
+
min: "min";
|
|
159
|
+
max: "max";
|
|
160
|
+
median: "median";
|
|
161
|
+
}>;
|
|
162
|
+
field: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strip>>;
|
|
164
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
165
|
+
type: z.ZodLiteral<"field">;
|
|
166
|
+
field: z.ZodString;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
169
|
+
field: z.ZodString;
|
|
170
|
+
truncation: z.ZodEnum<{
|
|
171
|
+
day: "day";
|
|
172
|
+
week: "week";
|
|
173
|
+
month: "month";
|
|
174
|
+
year: "year";
|
|
175
|
+
}>;
|
|
176
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>], "type">>;
|
|
178
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
179
|
+
}, z.core.$strict>], "type">>;
|
|
84
180
|
target: z.ZodLiteral<"chart">;
|
|
85
181
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
86
182
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -136,18 +232,6 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
136
232
|
value_field: z.ZodOptional<z.ZodString>;
|
|
137
233
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
234
|
}, z.core.$strip>], "type">;
|
|
139
|
-
query: z.ZodObject<{
|
|
140
|
-
resource: z.ZodString;
|
|
141
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
143
|
-
field: z.ZodString;
|
|
144
|
-
direction: z.ZodEnum<{
|
|
145
|
-
asc: "asc";
|
|
146
|
-
desc: "desc";
|
|
147
|
-
}>;
|
|
148
|
-
}, z.core.$strip>>;
|
|
149
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
150
|
-
}, z.core.$strip>;
|
|
151
235
|
}, z.core.$strip>, z.ZodObject<{
|
|
152
236
|
id: z.ZodOptional<z.ZodString>;
|
|
153
237
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -164,20 +248,44 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
164
248
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
165
249
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
166
250
|
order: z.ZodOptional<z.ZodNumber>;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
251
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
252
|
+
type: z.ZodLiteral<"resource">;
|
|
253
|
+
resourceId: z.ZodString;
|
|
254
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
255
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
256
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
257
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
258
|
+
type: z.ZodLiteral<"aggregate">;
|
|
259
|
+
resourceId: z.ZodString;
|
|
260
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
261
|
+
operation: z.ZodEnum<{
|
|
262
|
+
sum: "sum";
|
|
263
|
+
count: "count";
|
|
264
|
+
avg: "avg";
|
|
265
|
+
min: "min";
|
|
266
|
+
max: "max";
|
|
267
|
+
median: "median";
|
|
177
268
|
}>;
|
|
269
|
+
field: z.ZodOptional<z.ZodString>;
|
|
178
270
|
}, z.core.$strip>>;
|
|
179
|
-
|
|
180
|
-
|
|
271
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
272
|
+
type: z.ZodLiteral<"field">;
|
|
273
|
+
field: z.ZodString;
|
|
274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
276
|
+
field: z.ZodString;
|
|
277
|
+
truncation: z.ZodEnum<{
|
|
278
|
+
day: "day";
|
|
279
|
+
week: "week";
|
|
280
|
+
month: "month";
|
|
281
|
+
year: "year";
|
|
282
|
+
}>;
|
|
283
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
284
|
+
}, z.core.$strip>], "type">>;
|
|
285
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
286
|
+
}, z.core.$strict>], "type">>;
|
|
287
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
288
|
+
kpi_card: z.ZodOptional<z.ZodUnknown>;
|
|
181
289
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
290
|
id: z.ZodOptional<z.ZodString>;
|
|
183
291
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -194,20 +302,44 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
194
302
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
195
303
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
196
304
|
order: z.ZodOptional<z.ZodNumber>;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
305
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
306
|
+
type: z.ZodLiteral<"resource">;
|
|
307
|
+
resourceId: z.ZodString;
|
|
308
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
309
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
310
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
311
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
312
|
+
type: z.ZodLiteral<"aggregate">;
|
|
313
|
+
resourceId: z.ZodString;
|
|
314
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
315
|
+
operation: z.ZodEnum<{
|
|
316
|
+
sum: "sum";
|
|
317
|
+
count: "count";
|
|
318
|
+
avg: "avg";
|
|
319
|
+
min: "min";
|
|
320
|
+
max: "max";
|
|
321
|
+
median: "median";
|
|
207
322
|
}>;
|
|
323
|
+
field: z.ZodOptional<z.ZodString>;
|
|
208
324
|
}, z.core.$strip>>;
|
|
209
|
-
|
|
210
|
-
|
|
325
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
326
|
+
type: z.ZodLiteral<"field">;
|
|
327
|
+
field: z.ZodString;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
330
|
+
field: z.ZodString;
|
|
331
|
+
truncation: z.ZodEnum<{
|
|
332
|
+
day: "day";
|
|
333
|
+
week: "week";
|
|
334
|
+
month: "month";
|
|
335
|
+
year: "year";
|
|
336
|
+
}>;
|
|
337
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
338
|
+
}, z.core.$strip>], "type">>;
|
|
339
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
340
|
+
}, z.core.$strict>], "type">>;
|
|
341
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
342
|
+
gauge_card: z.ZodOptional<z.ZodUnknown>;
|
|
211
343
|
}, z.core.$strip>, z.ZodObject<{
|
|
212
344
|
id: z.ZodOptional<z.ZodString>;
|
|
213
345
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -224,20 +356,44 @@ export declare const DashboardConfigZodSchema: z.ZodObject<{
|
|
|
224
356
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
225
357
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
226
358
|
order: z.ZodOptional<z.ZodNumber>;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
359
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
360
|
+
type: z.ZodLiteral<"resource">;
|
|
361
|
+
resourceId: z.ZodString;
|
|
362
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
363
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
364
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
type: z.ZodLiteral<"aggregate">;
|
|
367
|
+
resourceId: z.ZodString;
|
|
368
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
369
|
+
operation: z.ZodEnum<{
|
|
370
|
+
sum: "sum";
|
|
371
|
+
count: "count";
|
|
372
|
+
avg: "avg";
|
|
373
|
+
min: "min";
|
|
374
|
+
max: "max";
|
|
375
|
+
median: "median";
|
|
237
376
|
}>;
|
|
377
|
+
field: z.ZodOptional<z.ZodString>;
|
|
238
378
|
}, z.core.$strip>>;
|
|
239
|
-
|
|
240
|
-
|
|
379
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
380
|
+
type: z.ZodLiteral<"field">;
|
|
381
|
+
field: z.ZodString;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
384
|
+
field: z.ZodString;
|
|
385
|
+
truncation: z.ZodEnum<{
|
|
386
|
+
day: "day";
|
|
387
|
+
week: "week";
|
|
388
|
+
month: "month";
|
|
389
|
+
year: "year";
|
|
390
|
+
}>;
|
|
391
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
392
|
+
}, z.core.$strip>], "type">>;
|
|
393
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
394
|
+
}, z.core.$strict>], "type">>;
|
|
395
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
396
|
+
pivot_table: z.ZodOptional<z.ZodUnknown>;
|
|
241
397
|
}, z.core.$strip>], "target">>;
|
|
242
398
|
}, z.core.$strip>;
|
|
243
399
|
export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
@@ -268,6 +424,42 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
268
424
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
269
425
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
270
426
|
order: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
428
|
+
type: z.ZodLiteral<"resource">;
|
|
429
|
+
resourceId: z.ZodString;
|
|
430
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
431
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
432
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
433
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
434
|
+
type: z.ZodLiteral<"aggregate">;
|
|
435
|
+
resourceId: z.ZodString;
|
|
436
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
437
|
+
operation: z.ZodEnum<{
|
|
438
|
+
sum: "sum";
|
|
439
|
+
count: "count";
|
|
440
|
+
avg: "avg";
|
|
441
|
+
min: "min";
|
|
442
|
+
max: "max";
|
|
443
|
+
median: "median";
|
|
444
|
+
}>;
|
|
445
|
+
field: z.ZodOptional<z.ZodString>;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
448
|
+
type: z.ZodLiteral<"field">;
|
|
449
|
+
field: z.ZodString;
|
|
450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
451
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
452
|
+
field: z.ZodString;
|
|
453
|
+
truncation: z.ZodEnum<{
|
|
454
|
+
day: "day";
|
|
455
|
+
week: "week";
|
|
456
|
+
month: "month";
|
|
457
|
+
year: "year";
|
|
458
|
+
}>;
|
|
459
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
460
|
+
}, z.core.$strip>], "type">>;
|
|
461
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
462
|
+
}, z.core.$strict>], "type">>;
|
|
271
463
|
target: z.ZodLiteral<"empty">;
|
|
272
464
|
}, z.core.$strip>, z.ZodObject<{
|
|
273
465
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -285,20 +477,44 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
285
477
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
286
478
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
287
479
|
order: z.ZodOptional<z.ZodNumber>;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
480
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
481
|
+
type: z.ZodLiteral<"resource">;
|
|
482
|
+
resourceId: z.ZodString;
|
|
483
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
485
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
487
|
+
type: z.ZodLiteral<"aggregate">;
|
|
488
|
+
resourceId: z.ZodString;
|
|
489
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
490
|
+
operation: z.ZodEnum<{
|
|
491
|
+
sum: "sum";
|
|
492
|
+
count: "count";
|
|
493
|
+
avg: "avg";
|
|
494
|
+
min: "min";
|
|
495
|
+
max: "max";
|
|
496
|
+
median: "median";
|
|
298
497
|
}>;
|
|
498
|
+
field: z.ZodOptional<z.ZodString>;
|
|
299
499
|
}, z.core.$strip>>;
|
|
300
|
-
|
|
301
|
-
|
|
500
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
501
|
+
type: z.ZodLiteral<"field">;
|
|
502
|
+
field: z.ZodString;
|
|
503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
504
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
505
|
+
field: z.ZodString;
|
|
506
|
+
truncation: z.ZodEnum<{
|
|
507
|
+
day: "day";
|
|
508
|
+
week: "week";
|
|
509
|
+
month: "month";
|
|
510
|
+
year: "year";
|
|
511
|
+
}>;
|
|
512
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strip>], "type">>;
|
|
514
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
515
|
+
}, z.core.$strict>], "type">>;
|
|
516
|
+
target: z.ZodLiteral<"table">;
|
|
517
|
+
table: z.ZodOptional<z.ZodUnknown>;
|
|
302
518
|
}, z.core.$strip>, z.ZodObject<{
|
|
303
519
|
id: z.ZodOptional<z.ZodString>;
|
|
304
520
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -315,6 +531,42 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
315
531
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
316
532
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
317
533
|
order: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
535
|
+
type: z.ZodLiteral<"resource">;
|
|
536
|
+
resourceId: z.ZodString;
|
|
537
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
538
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
539
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
541
|
+
type: z.ZodLiteral<"aggregate">;
|
|
542
|
+
resourceId: z.ZodString;
|
|
543
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
544
|
+
operation: z.ZodEnum<{
|
|
545
|
+
sum: "sum";
|
|
546
|
+
count: "count";
|
|
547
|
+
avg: "avg";
|
|
548
|
+
min: "min";
|
|
549
|
+
max: "max";
|
|
550
|
+
median: "median";
|
|
551
|
+
}>;
|
|
552
|
+
field: z.ZodOptional<z.ZodString>;
|
|
553
|
+
}, z.core.$strip>>;
|
|
554
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
|
+
type: z.ZodLiteral<"field">;
|
|
556
|
+
field: z.ZodString;
|
|
557
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
558
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
559
|
+
field: z.ZodString;
|
|
560
|
+
truncation: z.ZodEnum<{
|
|
561
|
+
day: "day";
|
|
562
|
+
week: "week";
|
|
563
|
+
month: "month";
|
|
564
|
+
year: "year";
|
|
565
|
+
}>;
|
|
566
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
567
|
+
}, z.core.$strip>], "type">>;
|
|
568
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
569
|
+
}, z.core.$strict>], "type">>;
|
|
318
570
|
target: z.ZodLiteral<"chart">;
|
|
319
571
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
320
572
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -370,18 +622,6 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
370
622
|
value_field: z.ZodOptional<z.ZodString>;
|
|
371
623
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
372
624
|
}, z.core.$strip>], "type">;
|
|
373
|
-
query: z.ZodObject<{
|
|
374
|
-
resource: z.ZodString;
|
|
375
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
376
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
377
|
-
field: z.ZodString;
|
|
378
|
-
direction: z.ZodEnum<{
|
|
379
|
-
asc: "asc";
|
|
380
|
-
desc: "desc";
|
|
381
|
-
}>;
|
|
382
|
-
}, z.core.$strip>>;
|
|
383
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
384
|
-
}, z.core.$strip>;
|
|
385
625
|
}, z.core.$strip>, z.ZodObject<{
|
|
386
626
|
id: z.ZodOptional<z.ZodString>;
|
|
387
627
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -398,20 +638,44 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
398
638
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
399
639
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
400
640
|
order: z.ZodOptional<z.ZodNumber>;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
641
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
642
|
+
type: z.ZodLiteral<"resource">;
|
|
643
|
+
resourceId: z.ZodString;
|
|
644
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
645
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
646
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
647
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
648
|
+
type: z.ZodLiteral<"aggregate">;
|
|
649
|
+
resourceId: z.ZodString;
|
|
650
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
651
|
+
operation: z.ZodEnum<{
|
|
652
|
+
sum: "sum";
|
|
653
|
+
count: "count";
|
|
654
|
+
avg: "avg";
|
|
655
|
+
min: "min";
|
|
656
|
+
max: "max";
|
|
657
|
+
median: "median";
|
|
411
658
|
}>;
|
|
659
|
+
field: z.ZodOptional<z.ZodString>;
|
|
412
660
|
}, z.core.$strip>>;
|
|
413
|
-
|
|
414
|
-
|
|
661
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
662
|
+
type: z.ZodLiteral<"field">;
|
|
663
|
+
field: z.ZodString;
|
|
664
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
665
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
666
|
+
field: z.ZodString;
|
|
667
|
+
truncation: z.ZodEnum<{
|
|
668
|
+
day: "day";
|
|
669
|
+
week: "week";
|
|
670
|
+
month: "month";
|
|
671
|
+
year: "year";
|
|
672
|
+
}>;
|
|
673
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
674
|
+
}, z.core.$strip>], "type">>;
|
|
675
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
676
|
+
}, z.core.$strict>], "type">>;
|
|
677
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
678
|
+
kpi_card: z.ZodOptional<z.ZodUnknown>;
|
|
415
679
|
}, z.core.$strip>, z.ZodObject<{
|
|
416
680
|
id: z.ZodOptional<z.ZodString>;
|
|
417
681
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -428,20 +692,44 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
428
692
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
429
693
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
430
694
|
order: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
695
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
696
|
+
type: z.ZodLiteral<"resource">;
|
|
697
|
+
resourceId: z.ZodString;
|
|
698
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
699
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
700
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
701
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
702
|
+
type: z.ZodLiteral<"aggregate">;
|
|
703
|
+
resourceId: z.ZodString;
|
|
704
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
705
|
+
operation: z.ZodEnum<{
|
|
706
|
+
sum: "sum";
|
|
707
|
+
count: "count";
|
|
708
|
+
avg: "avg";
|
|
709
|
+
min: "min";
|
|
710
|
+
max: "max";
|
|
711
|
+
median: "median";
|
|
441
712
|
}>;
|
|
713
|
+
field: z.ZodOptional<z.ZodString>;
|
|
442
714
|
}, z.core.$strip>>;
|
|
443
|
-
|
|
444
|
-
|
|
715
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
716
|
+
type: z.ZodLiteral<"field">;
|
|
717
|
+
field: z.ZodString;
|
|
718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
719
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
720
|
+
field: z.ZodString;
|
|
721
|
+
truncation: z.ZodEnum<{
|
|
722
|
+
day: "day";
|
|
723
|
+
week: "week";
|
|
724
|
+
month: "month";
|
|
725
|
+
year: "year";
|
|
726
|
+
}>;
|
|
727
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
728
|
+
}, z.core.$strip>], "type">>;
|
|
729
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
730
|
+
}, z.core.$strict>], "type">>;
|
|
731
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
732
|
+
gauge_card: z.ZodOptional<z.ZodUnknown>;
|
|
445
733
|
}, z.core.$strip>, z.ZodObject<{
|
|
446
734
|
id: z.ZodOptional<z.ZodString>;
|
|
447
735
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -458,20 +746,44 @@ export declare const DashboardResponseZodSchema: z.ZodObject<{
|
|
|
458
746
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
459
747
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
460
748
|
order: z.ZodOptional<z.ZodNumber>;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
749
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
750
|
+
type: z.ZodLiteral<"resource">;
|
|
751
|
+
resourceId: z.ZodString;
|
|
752
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
753
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
754
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
756
|
+
type: z.ZodLiteral<"aggregate">;
|
|
757
|
+
resourceId: z.ZodString;
|
|
758
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
759
|
+
operation: z.ZodEnum<{
|
|
760
|
+
sum: "sum";
|
|
761
|
+
count: "count";
|
|
762
|
+
avg: "avg";
|
|
763
|
+
min: "min";
|
|
764
|
+
max: "max";
|
|
765
|
+
median: "median";
|
|
471
766
|
}>;
|
|
767
|
+
field: z.ZodOptional<z.ZodString>;
|
|
472
768
|
}, z.core.$strip>>;
|
|
473
|
-
|
|
474
|
-
|
|
769
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
770
|
+
type: z.ZodLiteral<"field">;
|
|
771
|
+
field: z.ZodString;
|
|
772
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
773
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
774
|
+
field: z.ZodString;
|
|
775
|
+
truncation: z.ZodEnum<{
|
|
776
|
+
day: "day";
|
|
777
|
+
week: "week";
|
|
778
|
+
month: "month";
|
|
779
|
+
year: "year";
|
|
780
|
+
}>;
|
|
781
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
782
|
+
}, z.core.$strip>], "type">>;
|
|
783
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
784
|
+
}, z.core.$strict>], "type">>;
|
|
785
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
786
|
+
pivot_table: z.ZodOptional<z.ZodUnknown>;
|
|
475
787
|
}, z.core.$strip>], "target">>;
|
|
476
788
|
}, z.core.$strip>;
|
|
477
789
|
}, z.core.$strip>;
|
|
@@ -503,6 +815,42 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
503
815
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
504
816
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
505
817
|
order: z.ZodOptional<z.ZodNumber>;
|
|
818
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
819
|
+
type: z.ZodLiteral<"resource">;
|
|
820
|
+
resourceId: z.ZodString;
|
|
821
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
822
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
823
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
824
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
825
|
+
type: z.ZodLiteral<"aggregate">;
|
|
826
|
+
resourceId: z.ZodString;
|
|
827
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
828
|
+
operation: z.ZodEnum<{
|
|
829
|
+
sum: "sum";
|
|
830
|
+
count: "count";
|
|
831
|
+
avg: "avg";
|
|
832
|
+
min: "min";
|
|
833
|
+
max: "max";
|
|
834
|
+
median: "median";
|
|
835
|
+
}>;
|
|
836
|
+
field: z.ZodOptional<z.ZodString>;
|
|
837
|
+
}, z.core.$strip>>;
|
|
838
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
839
|
+
type: z.ZodLiteral<"field">;
|
|
840
|
+
field: z.ZodString;
|
|
841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
842
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
843
|
+
field: z.ZodString;
|
|
844
|
+
truncation: z.ZodEnum<{
|
|
845
|
+
day: "day";
|
|
846
|
+
week: "week";
|
|
847
|
+
month: "month";
|
|
848
|
+
year: "year";
|
|
849
|
+
}>;
|
|
850
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
851
|
+
}, z.core.$strip>], "type">>;
|
|
852
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
853
|
+
}, z.core.$strict>], "type">>;
|
|
506
854
|
target: z.ZodLiteral<"empty">;
|
|
507
855
|
}, z.core.$strip>, z.ZodObject<{
|
|
508
856
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -520,20 +868,44 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
520
868
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
521
869
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
522
870
|
order: z.ZodOptional<z.ZodNumber>;
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
871
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
872
|
+
type: z.ZodLiteral<"resource">;
|
|
873
|
+
resourceId: z.ZodString;
|
|
874
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
875
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
876
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
878
|
+
type: z.ZodLiteral<"aggregate">;
|
|
879
|
+
resourceId: z.ZodString;
|
|
880
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
881
|
+
operation: z.ZodEnum<{
|
|
882
|
+
sum: "sum";
|
|
883
|
+
count: "count";
|
|
884
|
+
avg: "avg";
|
|
885
|
+
min: "min";
|
|
886
|
+
max: "max";
|
|
887
|
+
median: "median";
|
|
533
888
|
}>;
|
|
889
|
+
field: z.ZodOptional<z.ZodString>;
|
|
534
890
|
}, z.core.$strip>>;
|
|
535
|
-
|
|
536
|
-
|
|
891
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
892
|
+
type: z.ZodLiteral<"field">;
|
|
893
|
+
field: z.ZodString;
|
|
894
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
895
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
896
|
+
field: z.ZodString;
|
|
897
|
+
truncation: z.ZodEnum<{
|
|
898
|
+
day: "day";
|
|
899
|
+
week: "week";
|
|
900
|
+
month: "month";
|
|
901
|
+
year: "year";
|
|
902
|
+
}>;
|
|
903
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
904
|
+
}, z.core.$strip>], "type">>;
|
|
905
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
906
|
+
}, z.core.$strict>], "type">>;
|
|
907
|
+
target: z.ZodLiteral<"table">;
|
|
908
|
+
table: z.ZodOptional<z.ZodUnknown>;
|
|
537
909
|
}, z.core.$strip>, z.ZodObject<{
|
|
538
910
|
id: z.ZodOptional<z.ZodString>;
|
|
539
911
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -550,6 +922,42 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
550
922
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
551
923
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
552
924
|
order: z.ZodOptional<z.ZodNumber>;
|
|
925
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
926
|
+
type: z.ZodLiteral<"resource">;
|
|
927
|
+
resourceId: z.ZodString;
|
|
928
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
929
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
930
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
932
|
+
type: z.ZodLiteral<"aggregate">;
|
|
933
|
+
resourceId: z.ZodString;
|
|
934
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
935
|
+
operation: z.ZodEnum<{
|
|
936
|
+
sum: "sum";
|
|
937
|
+
count: "count";
|
|
938
|
+
avg: "avg";
|
|
939
|
+
min: "min";
|
|
940
|
+
max: "max";
|
|
941
|
+
median: "median";
|
|
942
|
+
}>;
|
|
943
|
+
field: z.ZodOptional<z.ZodString>;
|
|
944
|
+
}, z.core.$strip>>;
|
|
945
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
946
|
+
type: z.ZodLiteral<"field">;
|
|
947
|
+
field: z.ZodString;
|
|
948
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
949
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
950
|
+
field: z.ZodString;
|
|
951
|
+
truncation: z.ZodEnum<{
|
|
952
|
+
day: "day";
|
|
953
|
+
week: "week";
|
|
954
|
+
month: "month";
|
|
955
|
+
year: "year";
|
|
956
|
+
}>;
|
|
957
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
958
|
+
}, z.core.$strip>], "type">>;
|
|
959
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
960
|
+
}, z.core.$strict>], "type">>;
|
|
553
961
|
target: z.ZodLiteral<"chart">;
|
|
554
962
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
963
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -605,18 +1013,6 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
605
1013
|
value_field: z.ZodOptional<z.ZodString>;
|
|
606
1014
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
1015
|
}, z.core.$strip>], "type">;
|
|
608
|
-
query: z.ZodObject<{
|
|
609
|
-
resource: z.ZodString;
|
|
610
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
611
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
612
|
-
field: z.ZodString;
|
|
613
|
-
direction: z.ZodEnum<{
|
|
614
|
-
asc: "asc";
|
|
615
|
-
desc: "desc";
|
|
616
|
-
}>;
|
|
617
|
-
}, z.core.$strip>>;
|
|
618
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
619
|
-
}, z.core.$strip>;
|
|
620
1016
|
}, z.core.$strip>, z.ZodObject<{
|
|
621
1017
|
id: z.ZodOptional<z.ZodString>;
|
|
622
1018
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -633,20 +1029,44 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
633
1029
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
634
1030
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
635
1031
|
order: z.ZodOptional<z.ZodNumber>;
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
1032
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1033
|
+
type: z.ZodLiteral<"resource">;
|
|
1034
|
+
resourceId: z.ZodString;
|
|
1035
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1036
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1037
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1038
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1039
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1040
|
+
resourceId: z.ZodString;
|
|
1041
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1042
|
+
operation: z.ZodEnum<{
|
|
1043
|
+
sum: "sum";
|
|
1044
|
+
count: "count";
|
|
1045
|
+
avg: "avg";
|
|
1046
|
+
min: "min";
|
|
1047
|
+
max: "max";
|
|
1048
|
+
median: "median";
|
|
646
1049
|
}>;
|
|
1050
|
+
field: z.ZodOptional<z.ZodString>;
|
|
647
1051
|
}, z.core.$strip>>;
|
|
648
|
-
|
|
649
|
-
|
|
1052
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1053
|
+
type: z.ZodLiteral<"field">;
|
|
1054
|
+
field: z.ZodString;
|
|
1055
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1056
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1057
|
+
field: z.ZodString;
|
|
1058
|
+
truncation: z.ZodEnum<{
|
|
1059
|
+
day: "day";
|
|
1060
|
+
week: "week";
|
|
1061
|
+
month: "month";
|
|
1062
|
+
year: "year";
|
|
1063
|
+
}>;
|
|
1064
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
}, z.core.$strip>], "type">>;
|
|
1066
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1067
|
+
}, z.core.$strict>], "type">>;
|
|
1068
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
1069
|
+
kpi_card: z.ZodOptional<z.ZodUnknown>;
|
|
650
1070
|
}, z.core.$strip>, z.ZodObject<{
|
|
651
1071
|
id: z.ZodOptional<z.ZodString>;
|
|
652
1072
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -663,20 +1083,44 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
663
1083
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
664
1084
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
665
1085
|
order: z.ZodOptional<z.ZodNumber>;
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
1086
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1087
|
+
type: z.ZodLiteral<"resource">;
|
|
1088
|
+
resourceId: z.ZodString;
|
|
1089
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1090
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1091
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1092
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1093
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1094
|
+
resourceId: z.ZodString;
|
|
1095
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1096
|
+
operation: z.ZodEnum<{
|
|
1097
|
+
sum: "sum";
|
|
1098
|
+
count: "count";
|
|
1099
|
+
avg: "avg";
|
|
1100
|
+
min: "min";
|
|
1101
|
+
max: "max";
|
|
1102
|
+
median: "median";
|
|
676
1103
|
}>;
|
|
1104
|
+
field: z.ZodOptional<z.ZodString>;
|
|
677
1105
|
}, z.core.$strip>>;
|
|
678
|
-
|
|
679
|
-
|
|
1106
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1107
|
+
type: z.ZodLiteral<"field">;
|
|
1108
|
+
field: z.ZodString;
|
|
1109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1110
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1111
|
+
field: z.ZodString;
|
|
1112
|
+
truncation: z.ZodEnum<{
|
|
1113
|
+
day: "day";
|
|
1114
|
+
week: "week";
|
|
1115
|
+
month: "month";
|
|
1116
|
+
year: "year";
|
|
1117
|
+
}>;
|
|
1118
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
}, z.core.$strip>], "type">>;
|
|
1120
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1121
|
+
}, z.core.$strict>], "type">>;
|
|
1122
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
1123
|
+
gauge_card: z.ZodOptional<z.ZodUnknown>;
|
|
680
1124
|
}, z.core.$strip>, z.ZodObject<{
|
|
681
1125
|
id: z.ZodOptional<z.ZodString>;
|
|
682
1126
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -693,20 +1137,44 @@ export declare const DashboardApiResponseZodSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
693
1137
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
694
1138
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
695
1139
|
order: z.ZodOptional<z.ZodNumber>;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
1140
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1141
|
+
type: z.ZodLiteral<"resource">;
|
|
1142
|
+
resourceId: z.ZodString;
|
|
1143
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1144
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1145
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1147
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1148
|
+
resourceId: z.ZodString;
|
|
1149
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1150
|
+
operation: z.ZodEnum<{
|
|
1151
|
+
sum: "sum";
|
|
1152
|
+
count: "count";
|
|
1153
|
+
avg: "avg";
|
|
1154
|
+
min: "min";
|
|
1155
|
+
max: "max";
|
|
1156
|
+
median: "median";
|
|
706
1157
|
}>;
|
|
1158
|
+
field: z.ZodOptional<z.ZodString>;
|
|
707
1159
|
}, z.core.$strip>>;
|
|
708
|
-
|
|
709
|
-
|
|
1160
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1161
|
+
type: z.ZodLiteral<"field">;
|
|
1162
|
+
field: z.ZodString;
|
|
1163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1164
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1165
|
+
field: z.ZodString;
|
|
1166
|
+
truncation: z.ZodEnum<{
|
|
1167
|
+
day: "day";
|
|
1168
|
+
week: "week";
|
|
1169
|
+
month: "month";
|
|
1170
|
+
year: "year";
|
|
1171
|
+
}>;
|
|
1172
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
}, z.core.$strip>], "type">>;
|
|
1174
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1175
|
+
}, z.core.$strict>], "type">>;
|
|
1176
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
1177
|
+
pivot_table: z.ZodOptional<z.ZodUnknown>;
|
|
710
1178
|
}, z.core.$strip>], "target">>;
|
|
711
1179
|
}, z.core.$strip>;
|
|
712
1180
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -733,6 +1201,42 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
733
1201
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
734
1202
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
735
1203
|
order: z.ZodOptional<z.ZodNumber>;
|
|
1204
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1205
|
+
type: z.ZodLiteral<"resource">;
|
|
1206
|
+
resourceId: z.ZodString;
|
|
1207
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1208
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1209
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1210
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1211
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1212
|
+
resourceId: z.ZodString;
|
|
1213
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1214
|
+
operation: z.ZodEnum<{
|
|
1215
|
+
sum: "sum";
|
|
1216
|
+
count: "count";
|
|
1217
|
+
avg: "avg";
|
|
1218
|
+
min: "min";
|
|
1219
|
+
max: "max";
|
|
1220
|
+
median: "median";
|
|
1221
|
+
}>;
|
|
1222
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
}, z.core.$strip>>;
|
|
1224
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1225
|
+
type: z.ZodLiteral<"field">;
|
|
1226
|
+
field: z.ZodString;
|
|
1227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1228
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1229
|
+
field: z.ZodString;
|
|
1230
|
+
truncation: z.ZodEnum<{
|
|
1231
|
+
day: "day";
|
|
1232
|
+
week: "week";
|
|
1233
|
+
month: "month";
|
|
1234
|
+
year: "year";
|
|
1235
|
+
}>;
|
|
1236
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
}, z.core.$strip>], "type">>;
|
|
1238
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1239
|
+
}, z.core.$strict>], "type">>;
|
|
736
1240
|
target: z.ZodLiteral<"empty">;
|
|
737
1241
|
}, z.core.$strip>, z.ZodObject<{
|
|
738
1242
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -750,20 +1254,44 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
750
1254
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
751
1255
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
752
1256
|
order: z.ZodOptional<z.ZodNumber>;
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
1257
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1258
|
+
type: z.ZodLiteral<"resource">;
|
|
1259
|
+
resourceId: z.ZodString;
|
|
1260
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1261
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1262
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1264
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1265
|
+
resourceId: z.ZodString;
|
|
1266
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1267
|
+
operation: z.ZodEnum<{
|
|
1268
|
+
sum: "sum";
|
|
1269
|
+
count: "count";
|
|
1270
|
+
avg: "avg";
|
|
1271
|
+
min: "min";
|
|
1272
|
+
max: "max";
|
|
1273
|
+
median: "median";
|
|
763
1274
|
}>;
|
|
1275
|
+
field: z.ZodOptional<z.ZodString>;
|
|
764
1276
|
}, z.core.$strip>>;
|
|
765
|
-
|
|
766
|
-
|
|
1277
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1278
|
+
type: z.ZodLiteral<"field">;
|
|
1279
|
+
field: z.ZodString;
|
|
1280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1281
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1282
|
+
field: z.ZodString;
|
|
1283
|
+
truncation: z.ZodEnum<{
|
|
1284
|
+
day: "day";
|
|
1285
|
+
week: "week";
|
|
1286
|
+
month: "month";
|
|
1287
|
+
year: "year";
|
|
1288
|
+
}>;
|
|
1289
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
}, z.core.$strip>], "type">>;
|
|
1291
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1292
|
+
}, z.core.$strict>], "type">>;
|
|
1293
|
+
target: z.ZodLiteral<"table">;
|
|
1294
|
+
table: z.ZodOptional<z.ZodUnknown>;
|
|
767
1295
|
}, z.core.$strip>, z.ZodObject<{
|
|
768
1296
|
id: z.ZodOptional<z.ZodString>;
|
|
769
1297
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -780,6 +1308,42 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
780
1308
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
781
1309
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
782
1310
|
order: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1312
|
+
type: z.ZodLiteral<"resource">;
|
|
1313
|
+
resourceId: z.ZodString;
|
|
1314
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1315
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1316
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1318
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1319
|
+
resourceId: z.ZodString;
|
|
1320
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1321
|
+
operation: z.ZodEnum<{
|
|
1322
|
+
sum: "sum";
|
|
1323
|
+
count: "count";
|
|
1324
|
+
avg: "avg";
|
|
1325
|
+
min: "min";
|
|
1326
|
+
max: "max";
|
|
1327
|
+
median: "median";
|
|
1328
|
+
}>;
|
|
1329
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
}, z.core.$strip>>;
|
|
1331
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1332
|
+
type: z.ZodLiteral<"field">;
|
|
1333
|
+
field: z.ZodString;
|
|
1334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1335
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1336
|
+
field: z.ZodString;
|
|
1337
|
+
truncation: z.ZodEnum<{
|
|
1338
|
+
day: "day";
|
|
1339
|
+
week: "week";
|
|
1340
|
+
month: "month";
|
|
1341
|
+
year: "year";
|
|
1342
|
+
}>;
|
|
1343
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
}, z.core.$strip>], "type">>;
|
|
1345
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1346
|
+
}, z.core.$strict>], "type">>;
|
|
783
1347
|
target: z.ZodLiteral<"chart">;
|
|
784
1348
|
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
785
1349
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -835,18 +1399,6 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
835
1399
|
value_field: z.ZodOptional<z.ZodString>;
|
|
836
1400
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
837
1401
|
}, z.core.$strip>], "type">;
|
|
838
|
-
query: z.ZodObject<{
|
|
839
|
-
resource: z.ZodString;
|
|
840
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
841
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
842
|
-
field: z.ZodString;
|
|
843
|
-
direction: z.ZodEnum<{
|
|
844
|
-
asc: "asc";
|
|
845
|
-
desc: "desc";
|
|
846
|
-
}>;
|
|
847
|
-
}, z.core.$strip>>;
|
|
848
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
849
|
-
}, z.core.$strip>;
|
|
850
1402
|
}, z.core.$strip>, z.ZodObject<{
|
|
851
1403
|
id: z.ZodOptional<z.ZodString>;
|
|
852
1404
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -863,20 +1415,44 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
863
1415
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
864
1416
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
865
1417
|
order: z.ZodOptional<z.ZodNumber>;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
1418
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1419
|
+
type: z.ZodLiteral<"resource">;
|
|
1420
|
+
resourceId: z.ZodString;
|
|
1421
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1422
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1423
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1425
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1426
|
+
resourceId: z.ZodString;
|
|
1427
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1428
|
+
operation: z.ZodEnum<{
|
|
1429
|
+
sum: "sum";
|
|
1430
|
+
count: "count";
|
|
1431
|
+
avg: "avg";
|
|
1432
|
+
min: "min";
|
|
1433
|
+
max: "max";
|
|
1434
|
+
median: "median";
|
|
876
1435
|
}>;
|
|
1436
|
+
field: z.ZodOptional<z.ZodString>;
|
|
877
1437
|
}, z.core.$strip>>;
|
|
878
|
-
|
|
879
|
-
|
|
1438
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1439
|
+
type: z.ZodLiteral<"field">;
|
|
1440
|
+
field: z.ZodString;
|
|
1441
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1442
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1443
|
+
field: z.ZodString;
|
|
1444
|
+
truncation: z.ZodEnum<{
|
|
1445
|
+
day: "day";
|
|
1446
|
+
week: "week";
|
|
1447
|
+
month: "month";
|
|
1448
|
+
year: "year";
|
|
1449
|
+
}>;
|
|
1450
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
}, z.core.$strip>], "type">>;
|
|
1452
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1453
|
+
}, z.core.$strict>], "type">>;
|
|
1454
|
+
target: z.ZodLiteral<"kpi_card">;
|
|
1455
|
+
kpi_card: z.ZodOptional<z.ZodUnknown>;
|
|
880
1456
|
}, z.core.$strip>, z.ZodObject<{
|
|
881
1457
|
id: z.ZodOptional<z.ZodString>;
|
|
882
1458
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -893,20 +1469,44 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
893
1469
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
894
1470
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
895
1471
|
order: z.ZodOptional<z.ZodNumber>;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
1472
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1473
|
+
type: z.ZodLiteral<"resource">;
|
|
1474
|
+
resourceId: z.ZodString;
|
|
1475
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1476
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1477
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1479
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1480
|
+
resourceId: z.ZodString;
|
|
1481
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1482
|
+
operation: z.ZodEnum<{
|
|
1483
|
+
sum: "sum";
|
|
1484
|
+
count: "count";
|
|
1485
|
+
avg: "avg";
|
|
1486
|
+
min: "min";
|
|
1487
|
+
max: "max";
|
|
1488
|
+
median: "median";
|
|
906
1489
|
}>;
|
|
1490
|
+
field: z.ZodOptional<z.ZodString>;
|
|
907
1491
|
}, z.core.$strip>>;
|
|
908
|
-
|
|
909
|
-
|
|
1492
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1493
|
+
type: z.ZodLiteral<"field">;
|
|
1494
|
+
field: z.ZodString;
|
|
1495
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1496
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1497
|
+
field: z.ZodString;
|
|
1498
|
+
truncation: z.ZodEnum<{
|
|
1499
|
+
day: "day";
|
|
1500
|
+
week: "week";
|
|
1501
|
+
month: "month";
|
|
1502
|
+
year: "year";
|
|
1503
|
+
}>;
|
|
1504
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
}, z.core.$strip>], "type">>;
|
|
1506
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1507
|
+
}, z.core.$strict>], "type">>;
|
|
1508
|
+
target: z.ZodLiteral<"gauge_card">;
|
|
1509
|
+
gauge_card: z.ZodOptional<z.ZodUnknown>;
|
|
910
1510
|
}, z.core.$strip>, z.ZodObject<{
|
|
911
1511
|
id: z.ZodOptional<z.ZodString>;
|
|
912
1512
|
group_id: z.ZodOptional<z.ZodString>;
|
|
@@ -923,20 +1523,44 @@ export declare const DashboardWidgetDataResponseZodSchema: z.ZodUnion<readonly [
|
|
|
923
1523
|
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
924
1524
|
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
925
1525
|
order: z.ZodOptional<z.ZodNumber>;
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
1526
|
+
dataSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1527
|
+
type: z.ZodLiteral<"resource">;
|
|
1528
|
+
resourceId: z.ZodString;
|
|
1529
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1530
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1531
|
+
sort: z.ZodOptional<z.ZodUnknown>;
|
|
1532
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1533
|
+
type: z.ZodLiteral<"aggregate">;
|
|
1534
|
+
resourceId: z.ZodString;
|
|
1535
|
+
aggregations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1536
|
+
operation: z.ZodEnum<{
|
|
1537
|
+
sum: "sum";
|
|
1538
|
+
count: "count";
|
|
1539
|
+
avg: "avg";
|
|
1540
|
+
min: "min";
|
|
1541
|
+
max: "max";
|
|
1542
|
+
median: "median";
|
|
936
1543
|
}>;
|
|
1544
|
+
field: z.ZodOptional<z.ZodString>;
|
|
937
1545
|
}, z.core.$strip>>;
|
|
938
|
-
|
|
939
|
-
|
|
1546
|
+
groupBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1547
|
+
type: z.ZodLiteral<"field">;
|
|
1548
|
+
field: z.ZodString;
|
|
1549
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1550
|
+
type: z.ZodLiteral<"date_trunc">;
|
|
1551
|
+
field: z.ZodString;
|
|
1552
|
+
truncation: z.ZodEnum<{
|
|
1553
|
+
day: "day";
|
|
1554
|
+
week: "week";
|
|
1555
|
+
month: "month";
|
|
1556
|
+
year: "year";
|
|
1557
|
+
}>;
|
|
1558
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
}, z.core.$strip>], "type">>;
|
|
1560
|
+
filters: z.ZodOptional<z.ZodUnknown>;
|
|
1561
|
+
}, z.core.$strict>], "type">>;
|
|
1562
|
+
target: z.ZodLiteral<"pivot_table">;
|
|
1563
|
+
pivot_table: z.ZodOptional<z.ZodUnknown>;
|
|
940
1564
|
}, z.core.$strip>], "target">;
|
|
941
1565
|
data: z.ZodUnknown;
|
|
942
1566
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -974,6 +1598,14 @@ export declare const WidgetIdRequestZodSchema: z.ZodObject<{
|
|
|
974
1598
|
slug: z.ZodOptional<z.ZodString>;
|
|
975
1599
|
widgetId: z.ZodString;
|
|
976
1600
|
}, z.core.$strict>;
|
|
1601
|
+
export declare const WidgetDataRequestZodSchema: z.ZodObject<{
|
|
1602
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
widgetId: z.ZodString;
|
|
1604
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
1605
|
+
page: z.ZodNumber;
|
|
1606
|
+
pageSize: z.ZodNumber;
|
|
1607
|
+
}, z.core.$strip>>;
|
|
1608
|
+
}, z.core.$strict>;
|
|
977
1609
|
export declare const MoveWidgetRequestZodSchema: z.ZodObject<{
|
|
978
1610
|
slug: z.ZodOptional<z.ZodString>;
|
|
979
1611
|
widgetId: z.ZodString;
|
|
@@ -985,210 +1617,7 @@ export declare const MoveWidgetRequestZodSchema: z.ZodObject<{
|
|
|
985
1617
|
export declare const SetWidgetConfigRequestZodSchema: z.ZodObject<{
|
|
986
1618
|
slug: z.ZodOptional<z.ZodString>;
|
|
987
1619
|
widgetId: z.ZodString;
|
|
988
|
-
config: z.
|
|
989
|
-
id: z.ZodOptional<z.ZodString>;
|
|
990
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
991
|
-
label: z.ZodOptional<z.ZodString>;
|
|
992
|
-
size: z.ZodOptional<z.ZodEnum<{
|
|
993
|
-
small: "small";
|
|
994
|
-
medium: "medium";
|
|
995
|
-
large: "large";
|
|
996
|
-
wide: "wide";
|
|
997
|
-
full: "full";
|
|
998
|
-
}>>;
|
|
999
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
1000
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
1001
|
-
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
-
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1003
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1004
|
-
target: z.ZodLiteral<"table">;
|
|
1005
|
-
table: z.ZodOptional<z.ZodUnknown>;
|
|
1006
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1007
|
-
resource: z.ZodString;
|
|
1008
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1009
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
1010
|
-
field: z.ZodString;
|
|
1011
|
-
direction: z.ZodEnum<{
|
|
1012
|
-
asc: "asc";
|
|
1013
|
-
desc: "desc";
|
|
1014
|
-
}>;
|
|
1015
|
-
}, z.core.$strip>>;
|
|
1016
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1017
|
-
}, z.core.$strip>>;
|
|
1018
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1019
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1020
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1021
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1022
|
-
size: z.ZodOptional<z.ZodEnum<{
|
|
1023
|
-
small: "small";
|
|
1024
|
-
medium: "medium";
|
|
1025
|
-
large: "large";
|
|
1026
|
-
wide: "wide";
|
|
1027
|
-
full: "full";
|
|
1028
|
-
}>>;
|
|
1029
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
1030
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
1031
|
-
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1032
|
-
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1033
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
-
target: z.ZodLiteral<"chart">;
|
|
1035
|
-
chart: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1036
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1037
|
-
type: z.ZodLiteral<"line">;
|
|
1038
|
-
x_field: z.ZodOptional<z.ZodString>;
|
|
1039
|
-
y_field: z.ZodOptional<z.ZodString>;
|
|
1040
|
-
series_name: z.ZodOptional<z.ZodString>;
|
|
1041
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1042
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1043
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1044
|
-
type: z.ZodLiteral<"bar">;
|
|
1045
|
-
label_field: z.ZodOptional<z.ZodString>;
|
|
1046
|
-
value_field: z.ZodOptional<z.ZodString>;
|
|
1047
|
-
bucket_field: z.ZodOptional<z.ZodString>;
|
|
1048
|
-
buckets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1049
|
-
label: z.ZodString;
|
|
1050
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
1051
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1052
|
-
}, z.core.$strip>>>;
|
|
1053
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1054
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1055
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1056
|
-
type: z.ZodLiteral<"stacked_bar">;
|
|
1057
|
-
x_field: z.ZodOptional<z.ZodString>;
|
|
1058
|
-
series: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1059
|
-
name: z.ZodString;
|
|
1060
|
-
field: z.ZodString;
|
|
1061
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1062
|
-
}, z.core.$strip>>>;
|
|
1063
|
-
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1064
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1065
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1066
|
-
type: z.ZodLiteral<"pie">;
|
|
1067
|
-
label_field: z.ZodOptional<z.ZodString>;
|
|
1068
|
-
value_field: z.ZodOptional<z.ZodString>;
|
|
1069
|
-
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1070
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1071
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1072
|
-
type: z.ZodLiteral<"histogram">;
|
|
1073
|
-
label_field: z.ZodOptional<z.ZodString>;
|
|
1074
|
-
value_field: z.ZodOptional<z.ZodString>;
|
|
1075
|
-
bucket_field: z.ZodOptional<z.ZodString>;
|
|
1076
|
-
buckets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
|
-
label: z.ZodString;
|
|
1078
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
1079
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1080
|
-
}, z.core.$strip>>>;
|
|
1081
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1082
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1083
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1084
|
-
type: z.ZodLiteral<"funnel">;
|
|
1085
|
-
label_field: z.ZodOptional<z.ZodString>;
|
|
1086
|
-
value_field: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1088
|
-
}, z.core.$strip>], "type">;
|
|
1089
|
-
query: z.ZodObject<{
|
|
1090
|
-
resource: z.ZodString;
|
|
1091
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1092
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
1093
|
-
field: z.ZodString;
|
|
1094
|
-
direction: z.ZodEnum<{
|
|
1095
|
-
asc: "asc";
|
|
1096
|
-
desc: "desc";
|
|
1097
|
-
}>;
|
|
1098
|
-
}, z.core.$strip>>;
|
|
1099
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
-
}, z.core.$strip>;
|
|
1101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1102
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1103
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1105
|
-
size: z.ZodOptional<z.ZodEnum<{
|
|
1106
|
-
small: "small";
|
|
1107
|
-
medium: "medium";
|
|
1108
|
-
large: "large";
|
|
1109
|
-
wide: "wide";
|
|
1110
|
-
full: "full";
|
|
1111
|
-
}>>;
|
|
1112
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
1114
|
-
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
-
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1116
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1117
|
-
target: z.ZodLiteral<"kpi_card">;
|
|
1118
|
-
kpi_card: z.ZodOptional<z.ZodUnknown>;
|
|
1119
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1120
|
-
resource: z.ZodString;
|
|
1121
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1122
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
1123
|
-
field: z.ZodString;
|
|
1124
|
-
direction: z.ZodEnum<{
|
|
1125
|
-
asc: "asc";
|
|
1126
|
-
desc: "desc";
|
|
1127
|
-
}>;
|
|
1128
|
-
}, z.core.$strip>>;
|
|
1129
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1130
|
-
}, z.core.$strip>>;
|
|
1131
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1132
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1133
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1135
|
-
size: z.ZodOptional<z.ZodEnum<{
|
|
1136
|
-
small: "small";
|
|
1137
|
-
medium: "medium";
|
|
1138
|
-
large: "large";
|
|
1139
|
-
wide: "wide";
|
|
1140
|
-
full: "full";
|
|
1141
|
-
}>>;
|
|
1142
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
1143
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
1144
|
-
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1145
|
-
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1146
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1147
|
-
target: z.ZodLiteral<"gauge_card">;
|
|
1148
|
-
gauge_card: z.ZodOptional<z.ZodUnknown>;
|
|
1149
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1150
|
-
resource: z.ZodString;
|
|
1151
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1152
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
1153
|
-
field: z.ZodString;
|
|
1154
|
-
direction: z.ZodEnum<{
|
|
1155
|
-
asc: "asc";
|
|
1156
|
-
desc: "desc";
|
|
1157
|
-
}>;
|
|
1158
|
-
}, z.core.$strip>>;
|
|
1159
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
-
}, z.core.$strip>>;
|
|
1161
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1162
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
group_id: z.ZodOptional<z.ZodString>;
|
|
1164
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1165
|
-
size: z.ZodOptional<z.ZodEnum<{
|
|
1166
|
-
small: "small";
|
|
1167
|
-
medium: "medium";
|
|
1168
|
-
large: "large";
|
|
1169
|
-
wide: "wide";
|
|
1170
|
-
full: "full";
|
|
1171
|
-
}>>;
|
|
1172
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
1173
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
1174
|
-
minWidth: z.ZodOptional<z.ZodNumber>;
|
|
1175
|
-
maxWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1176
|
-
order: z.ZodOptional<z.ZodNumber>;
|
|
1177
|
-
target: z.ZodLiteral<"pivot_table">;
|
|
1178
|
-
pivot_table: z.ZodOptional<z.ZodUnknown>;
|
|
1179
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1180
|
-
resource: z.ZodString;
|
|
1181
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1182
|
-
order: z.ZodOptional<z.ZodObject<{
|
|
1183
|
-
field: z.ZodString;
|
|
1184
|
-
direction: z.ZodEnum<{
|
|
1185
|
-
asc: "asc";
|
|
1186
|
-
desc: "desc";
|
|
1187
|
-
}>;
|
|
1188
|
-
}, z.core.$strip>>;
|
|
1189
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1190
|
-
}, z.core.$strip>>;
|
|
1191
|
-
}, z.core.$strip>], "target">;
|
|
1620
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1192
1621
|
}, z.core.$strict>;
|
|
1193
1622
|
export declare const DashboardErrorResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1194
1623
|
export declare const DashboardGroupSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1201,5 +1630,6 @@ export declare const GroupIdRequestSchema: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
1201
1630
|
export declare const MoveGroupRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1202
1631
|
export declare const SetGroupConfigRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1203
1632
|
export declare const WidgetIdRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1633
|
+
export declare const WidgetDataRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1204
1634
|
export declare const MoveWidgetRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1205
1635
|
export declare const SetWidgetConfigRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|