@crasi/bisque-spec 0.0.0-stage → 0.3.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.
@@ -0,0 +1,2536 @@
1
+ import { z } from "zod";
2
+ import { Literal } from "@crasi/bisque-ir";
3
+ /** Display strings, per locale. Length caps are part of P6 (chrome integrity). */
4
+ export declare const Title: z.ZodRecord<z.ZodString, z.ZodString>;
5
+ export declare const Label: z.ZodRecord<z.ZodString, z.ZodString>;
6
+ export declare const FORMATS: readonly ["number", "money", "percent", "date", "month", "text"];
7
+ export declare const Format: z.ZodEnum<{
8
+ date: "date";
9
+ money: "money";
10
+ month: "month";
11
+ number: "number";
12
+ percent: "percent";
13
+ text: "text";
14
+ }>;
15
+ /**
16
+ * How an action or navigation argument is computed from the row the user
17
+ * acts on. Pure data: no expressions, no code.
18
+ */
19
+ export type ArgExpr = {
20
+ field: string;
21
+ } | {
22
+ input: string;
23
+ } | {
24
+ param: string;
25
+ } | {
26
+ literal: z.infer<typeof Literal> | z.infer<typeof Literal>[];
27
+ } | {
28
+ today: number;
29
+ } | {
30
+ template: string;
31
+ } | {
32
+ list: ArgExpr[];
33
+ };
34
+ export declare const ArgExprSchema: z.ZodType<ArgExpr>;
35
+ export declare const Args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
36
+ export declare const ParamSchema: z.ZodUnion<readonly [z.ZodObject<{
37
+ bind: z.ZodString;
38
+ }, z.core.$strict>, z.ZodObject<{
39
+ control: z.ZodLiteral<"slider">;
40
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
41
+ min: z.ZodNumber;
42
+ max: z.ZodNumber;
43
+ step: z.ZodOptional<z.ZodNumber>;
44
+ default: z.ZodNumber;
45
+ }, z.core.$strict>, z.ZodObject<{
46
+ control: z.ZodLiteral<"select">;
47
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
48
+ options: z.ZodArray<z.ZodObject<{
49
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
50
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
51
+ }, z.core.$strict>>;
52
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
53
+ }, z.core.$strict>, z.ZodObject<{
54
+ control: z.ZodLiteral<"toggle">;
55
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
56
+ default: z.ZodBoolean;
57
+ }, z.core.$strict>]>;
58
+ export type Param = z.infer<typeof ParamSchema>;
59
+ export declare const SankeySpec: z.ZodObject<{
60
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
61
+ data: z.ZodObject<{
62
+ scan: z.ZodString;
63
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
64
+ on: z.ZodString;
65
+ to: z.ZodString;
66
+ }, z.core.$strict>>>;
67
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
68
+ "!=": "!=";
69
+ "<": "<";
70
+ "<=": "<=";
71
+ "=": "=";
72
+ ">": ">";
73
+ ">=": ">=";
74
+ in: "in";
75
+ match: "match";
76
+ notIn: "notIn";
77
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
78
+ param: z.ZodString;
79
+ }, z.core.$strict>, z.ZodObject<{
80
+ today: z.ZodNumber;
81
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
82
+ param: z.ZodString;
83
+ }, z.core.$strict>, z.ZodObject<{
84
+ today: z.ZodNumber;
85
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
86
+ isNull: "isNull";
87
+ notNull: "notNull";
88
+ }>], null>]>>>;
89
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
91
+ as: z.ZodString;
92
+ sum: z.ZodString;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ as: z.ZodString;
95
+ avg: z.ZodString;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ as: z.ZodString;
98
+ min: z.ZodString;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ as: z.ZodString;
101
+ max: z.ZodString;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ as: z.ZodString;
104
+ count: z.ZodString;
105
+ }, z.core.$strict>, z.ZodObject<{
106
+ as: z.ZodString;
107
+ countDistinct: z.ZodString;
108
+ }, z.core.$strict>]>>>;
109
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
111
+ asc: "asc";
112
+ desc: "desc";
113
+ }>], null>>>;
114
+ limit: z.ZodNumber;
115
+ }, z.core.$strict>;
116
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
117
+ bind: z.ZodString;
118
+ }, z.core.$strict>, z.ZodObject<{
119
+ control: z.ZodLiteral<"slider">;
120
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
121
+ min: z.ZodNumber;
122
+ max: z.ZodNumber;
123
+ step: z.ZodOptional<z.ZodNumber>;
124
+ default: z.ZodNumber;
125
+ }, z.core.$strict>, z.ZodObject<{
126
+ control: z.ZodLiteral<"select">;
127
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
128
+ options: z.ZodArray<z.ZodObject<{
129
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
130
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
131
+ }, z.core.$strict>>;
132
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ control: z.ZodLiteral<"toggle">;
135
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
136
+ default: z.ZodBoolean;
137
+ }, z.core.$strict>]>>>;
138
+ onClick: z.ZodOptional<z.ZodObject<{
139
+ navigate: z.ZodString;
140
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
141
+ }, z.core.$strict>>;
142
+ component: z.ZodLiteral<"sankey">;
143
+ encode: z.ZodObject<{
144
+ source: z.ZodString;
145
+ target: z.ZodString;
146
+ value: z.ZodString;
147
+ label: z.ZodOptional<z.ZodEnum<{
148
+ "share-of-source": "share-of-source";
149
+ "share-of-total": "share-of-total";
150
+ value: "value";
151
+ }>>;
152
+ }, z.core.$strict>;
153
+ otherBucket: z.ZodOptional<z.ZodObject<{
154
+ maxTargets: z.ZodNumber;
155
+ }, z.core.$strict>>;
156
+ }, z.core.$strict>;
157
+ export declare const BarSpec: z.ZodObject<{
158
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
159
+ data: z.ZodObject<{
160
+ scan: z.ZodString;
161
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
+ on: z.ZodString;
163
+ to: z.ZodString;
164
+ }, z.core.$strict>>>;
165
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
166
+ "!=": "!=";
167
+ "<": "<";
168
+ "<=": "<=";
169
+ "=": "=";
170
+ ">": ">";
171
+ ">=": ">=";
172
+ in: "in";
173
+ match: "match";
174
+ notIn: "notIn";
175
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
176
+ param: z.ZodString;
177
+ }, z.core.$strict>, z.ZodObject<{
178
+ today: z.ZodNumber;
179
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
180
+ param: z.ZodString;
181
+ }, z.core.$strict>, z.ZodObject<{
182
+ today: z.ZodNumber;
183
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
184
+ isNull: "isNull";
185
+ notNull: "notNull";
186
+ }>], null>]>>>;
187
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
189
+ as: z.ZodString;
190
+ sum: z.ZodString;
191
+ }, z.core.$strict>, z.ZodObject<{
192
+ as: z.ZodString;
193
+ avg: z.ZodString;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ as: z.ZodString;
196
+ min: z.ZodString;
197
+ }, z.core.$strict>, z.ZodObject<{
198
+ as: z.ZodString;
199
+ max: z.ZodString;
200
+ }, z.core.$strict>, z.ZodObject<{
201
+ as: z.ZodString;
202
+ count: z.ZodString;
203
+ }, z.core.$strict>, z.ZodObject<{
204
+ as: z.ZodString;
205
+ countDistinct: z.ZodString;
206
+ }, z.core.$strict>]>>>;
207
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
208
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
209
+ asc: "asc";
210
+ desc: "desc";
211
+ }>], null>>>;
212
+ limit: z.ZodNumber;
213
+ }, z.core.$strict>;
214
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
215
+ bind: z.ZodString;
216
+ }, z.core.$strict>, z.ZodObject<{
217
+ control: z.ZodLiteral<"slider">;
218
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
219
+ min: z.ZodNumber;
220
+ max: z.ZodNumber;
221
+ step: z.ZodOptional<z.ZodNumber>;
222
+ default: z.ZodNumber;
223
+ }, z.core.$strict>, z.ZodObject<{
224
+ control: z.ZodLiteral<"select">;
225
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
226
+ options: z.ZodArray<z.ZodObject<{
227
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
228
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
229
+ }, z.core.$strict>>;
230
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
231
+ }, z.core.$strict>, z.ZodObject<{
232
+ control: z.ZodLiteral<"toggle">;
233
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
234
+ default: z.ZodBoolean;
235
+ }, z.core.$strict>]>>>;
236
+ onClick: z.ZodOptional<z.ZodObject<{
237
+ navigate: z.ZodString;
238
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
239
+ }, z.core.$strict>>;
240
+ component: z.ZodLiteral<"bar">;
241
+ encode: z.ZodObject<{
242
+ x: z.ZodString;
243
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
244
+ series: z.ZodOptional<z.ZodString>;
245
+ stacked: z.ZodOptional<z.ZodBoolean>;
246
+ horizontal: z.ZodOptional<z.ZodBoolean>;
247
+ format: z.ZodOptional<z.ZodEnum<{
248
+ date: "date";
249
+ money: "money";
250
+ month: "month";
251
+ number: "number";
252
+ percent: "percent";
253
+ text: "text";
254
+ }>>;
255
+ }, z.core.$strict>;
256
+ otherBucket: z.ZodOptional<z.ZodObject<{
257
+ maxCategories: z.ZodNumber;
258
+ }, z.core.$strict>>;
259
+ }, z.core.$strict>;
260
+ export declare const LineSpec: z.ZodObject<{
261
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
262
+ data: z.ZodObject<{
263
+ scan: z.ZodString;
264
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
265
+ on: z.ZodString;
266
+ to: z.ZodString;
267
+ }, z.core.$strict>>>;
268
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
269
+ "!=": "!=";
270
+ "<": "<";
271
+ "<=": "<=";
272
+ "=": "=";
273
+ ">": ">";
274
+ ">=": ">=";
275
+ in: "in";
276
+ match: "match";
277
+ notIn: "notIn";
278
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
279
+ param: z.ZodString;
280
+ }, z.core.$strict>, z.ZodObject<{
281
+ today: z.ZodNumber;
282
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
283
+ param: z.ZodString;
284
+ }, z.core.$strict>, z.ZodObject<{
285
+ today: z.ZodNumber;
286
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
287
+ isNull: "isNull";
288
+ notNull: "notNull";
289
+ }>], null>]>>>;
290
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
291
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
292
+ as: z.ZodString;
293
+ sum: z.ZodString;
294
+ }, z.core.$strict>, z.ZodObject<{
295
+ as: z.ZodString;
296
+ avg: z.ZodString;
297
+ }, z.core.$strict>, z.ZodObject<{
298
+ as: z.ZodString;
299
+ min: z.ZodString;
300
+ }, z.core.$strict>, z.ZodObject<{
301
+ as: z.ZodString;
302
+ max: z.ZodString;
303
+ }, z.core.$strict>, z.ZodObject<{
304
+ as: z.ZodString;
305
+ count: z.ZodString;
306
+ }, z.core.$strict>, z.ZodObject<{
307
+ as: z.ZodString;
308
+ countDistinct: z.ZodString;
309
+ }, z.core.$strict>]>>>;
310
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
311
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
312
+ asc: "asc";
313
+ desc: "desc";
314
+ }>], null>>>;
315
+ limit: z.ZodNumber;
316
+ }, z.core.$strict>;
317
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
318
+ bind: z.ZodString;
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ control: z.ZodLiteral<"slider">;
321
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
322
+ min: z.ZodNumber;
323
+ max: z.ZodNumber;
324
+ step: z.ZodOptional<z.ZodNumber>;
325
+ default: z.ZodNumber;
326
+ }, z.core.$strict>, z.ZodObject<{
327
+ control: z.ZodLiteral<"select">;
328
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
329
+ options: z.ZodArray<z.ZodObject<{
330
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
331
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
332
+ }, z.core.$strict>>;
333
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
334
+ }, z.core.$strict>, z.ZodObject<{
335
+ control: z.ZodLiteral<"toggle">;
336
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
337
+ default: z.ZodBoolean;
338
+ }, z.core.$strict>]>>>;
339
+ onClick: z.ZodOptional<z.ZodObject<{
340
+ navigate: z.ZodString;
341
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
342
+ }, z.core.$strict>>;
343
+ component: z.ZodLiteral<"line">;
344
+ encode: z.ZodObject<{
345
+ x: z.ZodString;
346
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
347
+ series: z.ZodOptional<z.ZodString>;
348
+ stacked: z.ZodOptional<z.ZodBoolean>;
349
+ horizontal: z.ZodOptional<z.ZodBoolean>;
350
+ format: z.ZodOptional<z.ZodEnum<{
351
+ date: "date";
352
+ money: "money";
353
+ month: "month";
354
+ number: "number";
355
+ percent: "percent";
356
+ text: "text";
357
+ }>>;
358
+ }, z.core.$strict>;
359
+ }, z.core.$strict>;
360
+ export declare const AreaSpec: z.ZodObject<{
361
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
362
+ data: z.ZodObject<{
363
+ scan: z.ZodString;
364
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
365
+ on: z.ZodString;
366
+ to: z.ZodString;
367
+ }, z.core.$strict>>>;
368
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
369
+ "!=": "!=";
370
+ "<": "<";
371
+ "<=": "<=";
372
+ "=": "=";
373
+ ">": ">";
374
+ ">=": ">=";
375
+ in: "in";
376
+ match: "match";
377
+ notIn: "notIn";
378
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
379
+ param: z.ZodString;
380
+ }, z.core.$strict>, z.ZodObject<{
381
+ today: z.ZodNumber;
382
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
383
+ param: z.ZodString;
384
+ }, z.core.$strict>, z.ZodObject<{
385
+ today: z.ZodNumber;
386
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
387
+ isNull: "isNull";
388
+ notNull: "notNull";
389
+ }>], null>]>>>;
390
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
391
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
392
+ as: z.ZodString;
393
+ sum: z.ZodString;
394
+ }, z.core.$strict>, z.ZodObject<{
395
+ as: z.ZodString;
396
+ avg: z.ZodString;
397
+ }, z.core.$strict>, z.ZodObject<{
398
+ as: z.ZodString;
399
+ min: z.ZodString;
400
+ }, z.core.$strict>, z.ZodObject<{
401
+ as: z.ZodString;
402
+ max: z.ZodString;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ as: z.ZodString;
405
+ count: z.ZodString;
406
+ }, z.core.$strict>, z.ZodObject<{
407
+ as: z.ZodString;
408
+ countDistinct: z.ZodString;
409
+ }, z.core.$strict>]>>>;
410
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
411
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
412
+ asc: "asc";
413
+ desc: "desc";
414
+ }>], null>>>;
415
+ limit: z.ZodNumber;
416
+ }, z.core.$strict>;
417
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
418
+ bind: z.ZodString;
419
+ }, z.core.$strict>, z.ZodObject<{
420
+ control: z.ZodLiteral<"slider">;
421
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
422
+ min: z.ZodNumber;
423
+ max: z.ZodNumber;
424
+ step: z.ZodOptional<z.ZodNumber>;
425
+ default: z.ZodNumber;
426
+ }, z.core.$strict>, z.ZodObject<{
427
+ control: z.ZodLiteral<"select">;
428
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
429
+ options: z.ZodArray<z.ZodObject<{
430
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
431
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
432
+ }, z.core.$strict>>;
433
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
434
+ }, z.core.$strict>, z.ZodObject<{
435
+ control: z.ZodLiteral<"toggle">;
436
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
437
+ default: z.ZodBoolean;
438
+ }, z.core.$strict>]>>>;
439
+ onClick: z.ZodOptional<z.ZodObject<{
440
+ navigate: z.ZodString;
441
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
442
+ }, z.core.$strict>>;
443
+ component: z.ZodLiteral<"area">;
444
+ encode: z.ZodObject<{
445
+ x: z.ZodString;
446
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
447
+ series: z.ZodOptional<z.ZodString>;
448
+ stacked: z.ZodOptional<z.ZodBoolean>;
449
+ horizontal: z.ZodOptional<z.ZodBoolean>;
450
+ format: z.ZodOptional<z.ZodEnum<{
451
+ date: "date";
452
+ money: "money";
453
+ month: "month";
454
+ number: "number";
455
+ percent: "percent";
456
+ text: "text";
457
+ }>>;
458
+ }, z.core.$strict>;
459
+ }, z.core.$strict>;
460
+ export declare const TableSpec: z.ZodObject<{
461
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
462
+ data: z.ZodObject<{
463
+ scan: z.ZodString;
464
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
465
+ on: z.ZodString;
466
+ to: z.ZodString;
467
+ }, z.core.$strict>>>;
468
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
469
+ "!=": "!=";
470
+ "<": "<";
471
+ "<=": "<=";
472
+ "=": "=";
473
+ ">": ">";
474
+ ">=": ">=";
475
+ in: "in";
476
+ match: "match";
477
+ notIn: "notIn";
478
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
479
+ param: z.ZodString;
480
+ }, z.core.$strict>, z.ZodObject<{
481
+ today: z.ZodNumber;
482
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
483
+ param: z.ZodString;
484
+ }, z.core.$strict>, z.ZodObject<{
485
+ today: z.ZodNumber;
486
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
487
+ isNull: "isNull";
488
+ notNull: "notNull";
489
+ }>], null>]>>>;
490
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
491
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
492
+ as: z.ZodString;
493
+ sum: z.ZodString;
494
+ }, z.core.$strict>, z.ZodObject<{
495
+ as: z.ZodString;
496
+ avg: z.ZodString;
497
+ }, z.core.$strict>, z.ZodObject<{
498
+ as: z.ZodString;
499
+ min: z.ZodString;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ as: z.ZodString;
502
+ max: z.ZodString;
503
+ }, z.core.$strict>, z.ZodObject<{
504
+ as: z.ZodString;
505
+ count: z.ZodString;
506
+ }, z.core.$strict>, z.ZodObject<{
507
+ as: z.ZodString;
508
+ countDistinct: z.ZodString;
509
+ }, z.core.$strict>]>>>;
510
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
511
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
512
+ asc: "asc";
513
+ desc: "desc";
514
+ }>], null>>>;
515
+ limit: z.ZodNumber;
516
+ }, z.core.$strict>;
517
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
518
+ bind: z.ZodString;
519
+ }, z.core.$strict>, z.ZodObject<{
520
+ control: z.ZodLiteral<"slider">;
521
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
522
+ min: z.ZodNumber;
523
+ max: z.ZodNumber;
524
+ step: z.ZodOptional<z.ZodNumber>;
525
+ default: z.ZodNumber;
526
+ }, z.core.$strict>, z.ZodObject<{
527
+ control: z.ZodLiteral<"select">;
528
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
529
+ options: z.ZodArray<z.ZodObject<{
530
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
531
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
532
+ }, z.core.$strict>>;
533
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ control: z.ZodLiteral<"toggle">;
536
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
537
+ default: z.ZodBoolean;
538
+ }, z.core.$strict>]>>>;
539
+ onClick: z.ZodOptional<z.ZodObject<{
540
+ navigate: z.ZodString;
541
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
542
+ }, z.core.$strict>>;
543
+ component: z.ZodLiteral<"table">;
544
+ encode: z.ZodObject<{
545
+ columns: z.ZodArray<z.ZodObject<{
546
+ field: z.ZodString;
547
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
548
+ format: z.ZodOptional<z.ZodEnum<{
549
+ date: "date";
550
+ money: "money";
551
+ month: "month";
552
+ number: "number";
553
+ percent: "percent";
554
+ text: "text";
555
+ }>>;
556
+ }, z.core.$strict>>;
557
+ }, z.core.$strict>;
558
+ }, z.core.$strict>;
559
+ export declare const KpiSpec: z.ZodObject<{
560
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
561
+ data: z.ZodObject<{
562
+ scan: z.ZodString;
563
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
564
+ on: z.ZodString;
565
+ to: z.ZodString;
566
+ }, z.core.$strict>>>;
567
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
568
+ "!=": "!=";
569
+ "<": "<";
570
+ "<=": "<=";
571
+ "=": "=";
572
+ ">": ">";
573
+ ">=": ">=";
574
+ in: "in";
575
+ match: "match";
576
+ notIn: "notIn";
577
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
578
+ param: z.ZodString;
579
+ }, z.core.$strict>, z.ZodObject<{
580
+ today: z.ZodNumber;
581
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
582
+ param: z.ZodString;
583
+ }, z.core.$strict>, z.ZodObject<{
584
+ today: z.ZodNumber;
585
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
586
+ isNull: "isNull";
587
+ notNull: "notNull";
588
+ }>], null>]>>>;
589
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
590
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
591
+ as: z.ZodString;
592
+ sum: z.ZodString;
593
+ }, z.core.$strict>, z.ZodObject<{
594
+ as: z.ZodString;
595
+ avg: z.ZodString;
596
+ }, z.core.$strict>, z.ZodObject<{
597
+ as: z.ZodString;
598
+ min: z.ZodString;
599
+ }, z.core.$strict>, z.ZodObject<{
600
+ as: z.ZodString;
601
+ max: z.ZodString;
602
+ }, z.core.$strict>, z.ZodObject<{
603
+ as: z.ZodString;
604
+ count: z.ZodString;
605
+ }, z.core.$strict>, z.ZodObject<{
606
+ as: z.ZodString;
607
+ countDistinct: z.ZodString;
608
+ }, z.core.$strict>]>>>;
609
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
610
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
611
+ asc: "asc";
612
+ desc: "desc";
613
+ }>], null>>>;
614
+ limit: z.ZodNumber;
615
+ }, z.core.$strict>;
616
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
617
+ bind: z.ZodString;
618
+ }, z.core.$strict>, z.ZodObject<{
619
+ control: z.ZodLiteral<"slider">;
620
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
621
+ min: z.ZodNumber;
622
+ max: z.ZodNumber;
623
+ step: z.ZodOptional<z.ZodNumber>;
624
+ default: z.ZodNumber;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ control: z.ZodLiteral<"select">;
627
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
628
+ options: z.ZodArray<z.ZodObject<{
629
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
630
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
631
+ }, z.core.$strict>>;
632
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
633
+ }, z.core.$strict>, z.ZodObject<{
634
+ control: z.ZodLiteral<"toggle">;
635
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
636
+ default: z.ZodBoolean;
637
+ }, z.core.$strict>]>>>;
638
+ onClick: z.ZodOptional<z.ZodObject<{
639
+ navigate: z.ZodString;
640
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
641
+ }, z.core.$strict>>;
642
+ component: z.ZodLiteral<"kpi">;
643
+ encode: z.ZodObject<{
644
+ value: z.ZodString;
645
+ format: z.ZodOptional<z.ZodEnum<{
646
+ date: "date";
647
+ money: "money";
648
+ month: "month";
649
+ number: "number";
650
+ percent: "percent";
651
+ text: "text";
652
+ }>>;
653
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
654
+ }, z.core.$strict>;
655
+ }, z.core.$strict>;
656
+ export declare const GridSpec: z.ZodObject<{
657
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
658
+ data: z.ZodObject<{
659
+ scan: z.ZodString;
660
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
661
+ on: z.ZodString;
662
+ to: z.ZodString;
663
+ }, z.core.$strict>>>;
664
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
665
+ "!=": "!=";
666
+ "<": "<";
667
+ "<=": "<=";
668
+ "=": "=";
669
+ ">": ">";
670
+ ">=": ">=";
671
+ in: "in";
672
+ match: "match";
673
+ notIn: "notIn";
674
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
675
+ param: z.ZodString;
676
+ }, z.core.$strict>, z.ZodObject<{
677
+ today: z.ZodNumber;
678
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
679
+ param: z.ZodString;
680
+ }, z.core.$strict>, z.ZodObject<{
681
+ today: z.ZodNumber;
682
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
683
+ isNull: "isNull";
684
+ notNull: "notNull";
685
+ }>], null>]>>>;
686
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
687
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
688
+ as: z.ZodString;
689
+ sum: z.ZodString;
690
+ }, z.core.$strict>, z.ZodObject<{
691
+ as: z.ZodString;
692
+ avg: z.ZodString;
693
+ }, z.core.$strict>, z.ZodObject<{
694
+ as: z.ZodString;
695
+ min: z.ZodString;
696
+ }, z.core.$strict>, z.ZodObject<{
697
+ as: z.ZodString;
698
+ max: z.ZodString;
699
+ }, z.core.$strict>, z.ZodObject<{
700
+ as: z.ZodString;
701
+ count: z.ZodString;
702
+ }, z.core.$strict>, z.ZodObject<{
703
+ as: z.ZodString;
704
+ countDistinct: z.ZodString;
705
+ }, z.core.$strict>]>>>;
706
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
707
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
708
+ asc: "asc";
709
+ desc: "desc";
710
+ }>], null>>>;
711
+ limit: z.ZodNumber;
712
+ }, z.core.$strict>;
713
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
714
+ bind: z.ZodString;
715
+ }, z.core.$strict>, z.ZodObject<{
716
+ control: z.ZodLiteral<"slider">;
717
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
718
+ min: z.ZodNumber;
719
+ max: z.ZodNumber;
720
+ step: z.ZodOptional<z.ZodNumber>;
721
+ default: z.ZodNumber;
722
+ }, z.core.$strict>, z.ZodObject<{
723
+ control: z.ZodLiteral<"select">;
724
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
725
+ options: z.ZodArray<z.ZodObject<{
726
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
727
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
728
+ }, z.core.$strict>>;
729
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
730
+ }, z.core.$strict>, z.ZodObject<{
731
+ control: z.ZodLiteral<"toggle">;
732
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
733
+ default: z.ZodBoolean;
734
+ }, z.core.$strict>]>>>;
735
+ onClick: z.ZodOptional<z.ZodObject<{
736
+ navigate: z.ZodString;
737
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
738
+ }, z.core.$strict>>;
739
+ component: z.ZodLiteral<"grid">;
740
+ encode: z.ZodObject<{
741
+ rowKey: z.ZodString;
742
+ columns: z.ZodArray<z.ZodObject<{
743
+ field: z.ZodString;
744
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
745
+ format: z.ZodOptional<z.ZodEnum<{
746
+ date: "date";
747
+ money: "money";
748
+ month: "month";
749
+ number: "number";
750
+ percent: "percent";
751
+ text: "text";
752
+ }>>;
753
+ edit: z.ZodOptional<z.ZodObject<{
754
+ intent: z.ZodString;
755
+ value: z.ZodString;
756
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
757
+ }, z.core.$strict>>;
758
+ }, z.core.$strict>>;
759
+ }, z.core.$strict>;
760
+ }, z.core.$strict>;
761
+ export declare const RowInput: z.ZodObject<{
762
+ name: z.ZodString;
763
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
764
+ type: z.ZodEnum<{
765
+ number: "number";
766
+ text: "text";
767
+ }>;
768
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
769
+ min: z.ZodOptional<z.ZodNumber>;
770
+ max: z.ZodOptional<z.ZodNumber>;
771
+ }, z.core.$strict>;
772
+ export declare const ActionTableSpec: z.ZodObject<{
773
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
774
+ data: z.ZodObject<{
775
+ scan: z.ZodString;
776
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
+ on: z.ZodString;
778
+ to: z.ZodString;
779
+ }, z.core.$strict>>>;
780
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
781
+ "!=": "!=";
782
+ "<": "<";
783
+ "<=": "<=";
784
+ "=": "=";
785
+ ">": ">";
786
+ ">=": ">=";
787
+ in: "in";
788
+ match: "match";
789
+ notIn: "notIn";
790
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
791
+ param: z.ZodString;
792
+ }, z.core.$strict>, z.ZodObject<{
793
+ today: z.ZodNumber;
794
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
795
+ param: z.ZodString;
796
+ }, z.core.$strict>, z.ZodObject<{
797
+ today: z.ZodNumber;
798
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
799
+ isNull: "isNull";
800
+ notNull: "notNull";
801
+ }>], null>]>>>;
802
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
803
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
804
+ as: z.ZodString;
805
+ sum: z.ZodString;
806
+ }, z.core.$strict>, z.ZodObject<{
807
+ as: z.ZodString;
808
+ avg: z.ZodString;
809
+ }, z.core.$strict>, z.ZodObject<{
810
+ as: z.ZodString;
811
+ min: z.ZodString;
812
+ }, z.core.$strict>, z.ZodObject<{
813
+ as: z.ZodString;
814
+ max: z.ZodString;
815
+ }, z.core.$strict>, z.ZodObject<{
816
+ as: z.ZodString;
817
+ count: z.ZodString;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ as: z.ZodString;
820
+ countDistinct: z.ZodString;
821
+ }, z.core.$strict>]>>>;
822
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
823
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
824
+ asc: "asc";
825
+ desc: "desc";
826
+ }>], null>>>;
827
+ limit: z.ZodNumber;
828
+ }, z.core.$strict>;
829
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
830
+ bind: z.ZodString;
831
+ }, z.core.$strict>, z.ZodObject<{
832
+ control: z.ZodLiteral<"slider">;
833
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
834
+ min: z.ZodNumber;
835
+ max: z.ZodNumber;
836
+ step: z.ZodOptional<z.ZodNumber>;
837
+ default: z.ZodNumber;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ control: z.ZodLiteral<"select">;
840
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
841
+ options: z.ZodArray<z.ZodObject<{
842
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
843
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
844
+ }, z.core.$strict>>;
845
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
846
+ }, z.core.$strict>, z.ZodObject<{
847
+ control: z.ZodLiteral<"toggle">;
848
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
849
+ default: z.ZodBoolean;
850
+ }, z.core.$strict>]>>>;
851
+ onClick: z.ZodOptional<z.ZodObject<{
852
+ navigate: z.ZodString;
853
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
854
+ }, z.core.$strict>>;
855
+ component: z.ZodLiteral<"actionTable">;
856
+ encode: z.ZodObject<{
857
+ rowKey: z.ZodString;
858
+ columns: z.ZodArray<z.ZodObject<{
859
+ field: z.ZodString;
860
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
861
+ format: z.ZodOptional<z.ZodEnum<{
862
+ date: "date";
863
+ money: "money";
864
+ month: "month";
865
+ number: "number";
866
+ percent: "percent";
867
+ text: "text";
868
+ }>>;
869
+ }, z.core.$strict>>;
870
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
871
+ name: z.ZodString;
872
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
873
+ type: z.ZodEnum<{
874
+ number: "number";
875
+ text: "text";
876
+ }>;
877
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
878
+ min: z.ZodOptional<z.ZodNumber>;
879
+ max: z.ZodOptional<z.ZodNumber>;
880
+ }, z.core.$strict>>>;
881
+ action: z.ZodObject<{
882
+ intent: z.ZodString;
883
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
884
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
885
+ }, z.core.$strict>;
886
+ }, z.core.$strict>;
887
+ }, z.core.$strict>;
888
+ export declare const SpecBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
889
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
890
+ data: z.ZodObject<{
891
+ scan: z.ZodString;
892
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
893
+ on: z.ZodString;
894
+ to: z.ZodString;
895
+ }, z.core.$strict>>>;
896
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
897
+ "!=": "!=";
898
+ "<": "<";
899
+ "<=": "<=";
900
+ "=": "=";
901
+ ">": ">";
902
+ ">=": ">=";
903
+ in: "in";
904
+ match: "match";
905
+ notIn: "notIn";
906
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
907
+ param: z.ZodString;
908
+ }, z.core.$strict>, z.ZodObject<{
909
+ today: z.ZodNumber;
910
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
911
+ param: z.ZodString;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ today: z.ZodNumber;
914
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
915
+ isNull: "isNull";
916
+ notNull: "notNull";
917
+ }>], null>]>>>;
918
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
919
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
920
+ as: z.ZodString;
921
+ sum: z.ZodString;
922
+ }, z.core.$strict>, z.ZodObject<{
923
+ as: z.ZodString;
924
+ avg: z.ZodString;
925
+ }, z.core.$strict>, z.ZodObject<{
926
+ as: z.ZodString;
927
+ min: z.ZodString;
928
+ }, z.core.$strict>, z.ZodObject<{
929
+ as: z.ZodString;
930
+ max: z.ZodString;
931
+ }, z.core.$strict>, z.ZodObject<{
932
+ as: z.ZodString;
933
+ count: z.ZodString;
934
+ }, z.core.$strict>, z.ZodObject<{
935
+ as: z.ZodString;
936
+ countDistinct: z.ZodString;
937
+ }, z.core.$strict>]>>>;
938
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
939
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
940
+ asc: "asc";
941
+ desc: "desc";
942
+ }>], null>>>;
943
+ limit: z.ZodNumber;
944
+ }, z.core.$strict>;
945
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
946
+ bind: z.ZodString;
947
+ }, z.core.$strict>, z.ZodObject<{
948
+ control: z.ZodLiteral<"slider">;
949
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
950
+ min: z.ZodNumber;
951
+ max: z.ZodNumber;
952
+ step: z.ZodOptional<z.ZodNumber>;
953
+ default: z.ZodNumber;
954
+ }, z.core.$strict>, z.ZodObject<{
955
+ control: z.ZodLiteral<"select">;
956
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
957
+ options: z.ZodArray<z.ZodObject<{
958
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
959
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
960
+ }, z.core.$strict>>;
961
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
962
+ }, z.core.$strict>, z.ZodObject<{
963
+ control: z.ZodLiteral<"toggle">;
964
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
965
+ default: z.ZodBoolean;
966
+ }, z.core.$strict>]>>>;
967
+ onClick: z.ZodOptional<z.ZodObject<{
968
+ navigate: z.ZodString;
969
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
970
+ }, z.core.$strict>>;
971
+ component: z.ZodLiteral<"sankey">;
972
+ encode: z.ZodObject<{
973
+ source: z.ZodString;
974
+ target: z.ZodString;
975
+ value: z.ZodString;
976
+ label: z.ZodOptional<z.ZodEnum<{
977
+ "share-of-source": "share-of-source";
978
+ "share-of-total": "share-of-total";
979
+ value: "value";
980
+ }>>;
981
+ }, z.core.$strict>;
982
+ otherBucket: z.ZodOptional<z.ZodObject<{
983
+ maxTargets: z.ZodNumber;
984
+ }, z.core.$strict>>;
985
+ }, z.core.$strict>, z.ZodObject<{
986
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
987
+ data: z.ZodObject<{
988
+ scan: z.ZodString;
989
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
990
+ on: z.ZodString;
991
+ to: z.ZodString;
992
+ }, z.core.$strict>>>;
993
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
994
+ "!=": "!=";
995
+ "<": "<";
996
+ "<=": "<=";
997
+ "=": "=";
998
+ ">": ">";
999
+ ">=": ">=";
1000
+ in: "in";
1001
+ match: "match";
1002
+ notIn: "notIn";
1003
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1004
+ param: z.ZodString;
1005
+ }, z.core.$strict>, z.ZodObject<{
1006
+ today: z.ZodNumber;
1007
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1008
+ param: z.ZodString;
1009
+ }, z.core.$strict>, z.ZodObject<{
1010
+ today: z.ZodNumber;
1011
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1012
+ isNull: "isNull";
1013
+ notNull: "notNull";
1014
+ }>], null>]>>>;
1015
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1016
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1017
+ as: z.ZodString;
1018
+ sum: z.ZodString;
1019
+ }, z.core.$strict>, z.ZodObject<{
1020
+ as: z.ZodString;
1021
+ avg: z.ZodString;
1022
+ }, z.core.$strict>, z.ZodObject<{
1023
+ as: z.ZodString;
1024
+ min: z.ZodString;
1025
+ }, z.core.$strict>, z.ZodObject<{
1026
+ as: z.ZodString;
1027
+ max: z.ZodString;
1028
+ }, z.core.$strict>, z.ZodObject<{
1029
+ as: z.ZodString;
1030
+ count: z.ZodString;
1031
+ }, z.core.$strict>, z.ZodObject<{
1032
+ as: z.ZodString;
1033
+ countDistinct: z.ZodString;
1034
+ }, z.core.$strict>]>>>;
1035
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1036
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1037
+ asc: "asc";
1038
+ desc: "desc";
1039
+ }>], null>>>;
1040
+ limit: z.ZodNumber;
1041
+ }, z.core.$strict>;
1042
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1043
+ bind: z.ZodString;
1044
+ }, z.core.$strict>, z.ZodObject<{
1045
+ control: z.ZodLiteral<"slider">;
1046
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1047
+ min: z.ZodNumber;
1048
+ max: z.ZodNumber;
1049
+ step: z.ZodOptional<z.ZodNumber>;
1050
+ default: z.ZodNumber;
1051
+ }, z.core.$strict>, z.ZodObject<{
1052
+ control: z.ZodLiteral<"select">;
1053
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1054
+ options: z.ZodArray<z.ZodObject<{
1055
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1056
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1057
+ }, z.core.$strict>>;
1058
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1059
+ }, z.core.$strict>, z.ZodObject<{
1060
+ control: z.ZodLiteral<"toggle">;
1061
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1062
+ default: z.ZodBoolean;
1063
+ }, z.core.$strict>]>>>;
1064
+ onClick: z.ZodOptional<z.ZodObject<{
1065
+ navigate: z.ZodString;
1066
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1067
+ }, z.core.$strict>>;
1068
+ component: z.ZodLiteral<"bar">;
1069
+ encode: z.ZodObject<{
1070
+ x: z.ZodString;
1071
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1072
+ series: z.ZodOptional<z.ZodString>;
1073
+ stacked: z.ZodOptional<z.ZodBoolean>;
1074
+ horizontal: z.ZodOptional<z.ZodBoolean>;
1075
+ format: z.ZodOptional<z.ZodEnum<{
1076
+ date: "date";
1077
+ money: "money";
1078
+ month: "month";
1079
+ number: "number";
1080
+ percent: "percent";
1081
+ text: "text";
1082
+ }>>;
1083
+ }, z.core.$strict>;
1084
+ otherBucket: z.ZodOptional<z.ZodObject<{
1085
+ maxCategories: z.ZodNumber;
1086
+ }, z.core.$strict>>;
1087
+ }, z.core.$strict>, z.ZodObject<{
1088
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1089
+ data: z.ZodObject<{
1090
+ scan: z.ZodString;
1091
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1092
+ on: z.ZodString;
1093
+ to: z.ZodString;
1094
+ }, z.core.$strict>>>;
1095
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1096
+ "!=": "!=";
1097
+ "<": "<";
1098
+ "<=": "<=";
1099
+ "=": "=";
1100
+ ">": ">";
1101
+ ">=": ">=";
1102
+ in: "in";
1103
+ match: "match";
1104
+ notIn: "notIn";
1105
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1106
+ param: z.ZodString;
1107
+ }, z.core.$strict>, z.ZodObject<{
1108
+ today: z.ZodNumber;
1109
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1110
+ param: z.ZodString;
1111
+ }, z.core.$strict>, z.ZodObject<{
1112
+ today: z.ZodNumber;
1113
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1114
+ isNull: "isNull";
1115
+ notNull: "notNull";
1116
+ }>], null>]>>>;
1117
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1118
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1119
+ as: z.ZodString;
1120
+ sum: z.ZodString;
1121
+ }, z.core.$strict>, z.ZodObject<{
1122
+ as: z.ZodString;
1123
+ avg: z.ZodString;
1124
+ }, z.core.$strict>, z.ZodObject<{
1125
+ as: z.ZodString;
1126
+ min: z.ZodString;
1127
+ }, z.core.$strict>, z.ZodObject<{
1128
+ as: z.ZodString;
1129
+ max: z.ZodString;
1130
+ }, z.core.$strict>, z.ZodObject<{
1131
+ as: z.ZodString;
1132
+ count: z.ZodString;
1133
+ }, z.core.$strict>, z.ZodObject<{
1134
+ as: z.ZodString;
1135
+ countDistinct: z.ZodString;
1136
+ }, z.core.$strict>]>>>;
1137
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1138
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1139
+ asc: "asc";
1140
+ desc: "desc";
1141
+ }>], null>>>;
1142
+ limit: z.ZodNumber;
1143
+ }, z.core.$strict>;
1144
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1145
+ bind: z.ZodString;
1146
+ }, z.core.$strict>, z.ZodObject<{
1147
+ control: z.ZodLiteral<"slider">;
1148
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1149
+ min: z.ZodNumber;
1150
+ max: z.ZodNumber;
1151
+ step: z.ZodOptional<z.ZodNumber>;
1152
+ default: z.ZodNumber;
1153
+ }, z.core.$strict>, z.ZodObject<{
1154
+ control: z.ZodLiteral<"select">;
1155
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1156
+ options: z.ZodArray<z.ZodObject<{
1157
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1158
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1159
+ }, z.core.$strict>>;
1160
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1161
+ }, z.core.$strict>, z.ZodObject<{
1162
+ control: z.ZodLiteral<"toggle">;
1163
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1164
+ default: z.ZodBoolean;
1165
+ }, z.core.$strict>]>>>;
1166
+ onClick: z.ZodOptional<z.ZodObject<{
1167
+ navigate: z.ZodString;
1168
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1169
+ }, z.core.$strict>>;
1170
+ component: z.ZodLiteral<"line">;
1171
+ encode: z.ZodObject<{
1172
+ x: z.ZodString;
1173
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1174
+ series: z.ZodOptional<z.ZodString>;
1175
+ stacked: z.ZodOptional<z.ZodBoolean>;
1176
+ horizontal: z.ZodOptional<z.ZodBoolean>;
1177
+ format: z.ZodOptional<z.ZodEnum<{
1178
+ date: "date";
1179
+ money: "money";
1180
+ month: "month";
1181
+ number: "number";
1182
+ percent: "percent";
1183
+ text: "text";
1184
+ }>>;
1185
+ }, z.core.$strict>;
1186
+ }, z.core.$strict>, z.ZodObject<{
1187
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1188
+ data: z.ZodObject<{
1189
+ scan: z.ZodString;
1190
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1191
+ on: z.ZodString;
1192
+ to: z.ZodString;
1193
+ }, z.core.$strict>>>;
1194
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1195
+ "!=": "!=";
1196
+ "<": "<";
1197
+ "<=": "<=";
1198
+ "=": "=";
1199
+ ">": ">";
1200
+ ">=": ">=";
1201
+ in: "in";
1202
+ match: "match";
1203
+ notIn: "notIn";
1204
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1205
+ param: z.ZodString;
1206
+ }, z.core.$strict>, z.ZodObject<{
1207
+ today: z.ZodNumber;
1208
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1209
+ param: z.ZodString;
1210
+ }, z.core.$strict>, z.ZodObject<{
1211
+ today: z.ZodNumber;
1212
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1213
+ isNull: "isNull";
1214
+ notNull: "notNull";
1215
+ }>], null>]>>>;
1216
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1217
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1218
+ as: z.ZodString;
1219
+ sum: z.ZodString;
1220
+ }, z.core.$strict>, z.ZodObject<{
1221
+ as: z.ZodString;
1222
+ avg: z.ZodString;
1223
+ }, z.core.$strict>, z.ZodObject<{
1224
+ as: z.ZodString;
1225
+ min: z.ZodString;
1226
+ }, z.core.$strict>, z.ZodObject<{
1227
+ as: z.ZodString;
1228
+ max: z.ZodString;
1229
+ }, z.core.$strict>, z.ZodObject<{
1230
+ as: z.ZodString;
1231
+ count: z.ZodString;
1232
+ }, z.core.$strict>, z.ZodObject<{
1233
+ as: z.ZodString;
1234
+ countDistinct: z.ZodString;
1235
+ }, z.core.$strict>]>>>;
1236
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1237
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1238
+ asc: "asc";
1239
+ desc: "desc";
1240
+ }>], null>>>;
1241
+ limit: z.ZodNumber;
1242
+ }, z.core.$strict>;
1243
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1244
+ bind: z.ZodString;
1245
+ }, z.core.$strict>, z.ZodObject<{
1246
+ control: z.ZodLiteral<"slider">;
1247
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1248
+ min: z.ZodNumber;
1249
+ max: z.ZodNumber;
1250
+ step: z.ZodOptional<z.ZodNumber>;
1251
+ default: z.ZodNumber;
1252
+ }, z.core.$strict>, z.ZodObject<{
1253
+ control: z.ZodLiteral<"select">;
1254
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1255
+ options: z.ZodArray<z.ZodObject<{
1256
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1257
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1258
+ }, z.core.$strict>>;
1259
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1260
+ }, z.core.$strict>, z.ZodObject<{
1261
+ control: z.ZodLiteral<"toggle">;
1262
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1263
+ default: z.ZodBoolean;
1264
+ }, z.core.$strict>]>>>;
1265
+ onClick: z.ZodOptional<z.ZodObject<{
1266
+ navigate: z.ZodString;
1267
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1268
+ }, z.core.$strict>>;
1269
+ component: z.ZodLiteral<"area">;
1270
+ encode: z.ZodObject<{
1271
+ x: z.ZodString;
1272
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1273
+ series: z.ZodOptional<z.ZodString>;
1274
+ stacked: z.ZodOptional<z.ZodBoolean>;
1275
+ horizontal: z.ZodOptional<z.ZodBoolean>;
1276
+ format: z.ZodOptional<z.ZodEnum<{
1277
+ date: "date";
1278
+ money: "money";
1279
+ month: "month";
1280
+ number: "number";
1281
+ percent: "percent";
1282
+ text: "text";
1283
+ }>>;
1284
+ }, z.core.$strict>;
1285
+ }, z.core.$strict>, z.ZodObject<{
1286
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1287
+ data: z.ZodObject<{
1288
+ scan: z.ZodString;
1289
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1290
+ on: z.ZodString;
1291
+ to: z.ZodString;
1292
+ }, z.core.$strict>>>;
1293
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1294
+ "!=": "!=";
1295
+ "<": "<";
1296
+ "<=": "<=";
1297
+ "=": "=";
1298
+ ">": ">";
1299
+ ">=": ">=";
1300
+ in: "in";
1301
+ match: "match";
1302
+ notIn: "notIn";
1303
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1304
+ param: z.ZodString;
1305
+ }, z.core.$strict>, z.ZodObject<{
1306
+ today: z.ZodNumber;
1307
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1308
+ param: z.ZodString;
1309
+ }, z.core.$strict>, z.ZodObject<{
1310
+ today: z.ZodNumber;
1311
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1312
+ isNull: "isNull";
1313
+ notNull: "notNull";
1314
+ }>], null>]>>>;
1315
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1316
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1317
+ as: z.ZodString;
1318
+ sum: z.ZodString;
1319
+ }, z.core.$strict>, z.ZodObject<{
1320
+ as: z.ZodString;
1321
+ avg: z.ZodString;
1322
+ }, z.core.$strict>, z.ZodObject<{
1323
+ as: z.ZodString;
1324
+ min: z.ZodString;
1325
+ }, z.core.$strict>, z.ZodObject<{
1326
+ as: z.ZodString;
1327
+ max: z.ZodString;
1328
+ }, z.core.$strict>, z.ZodObject<{
1329
+ as: z.ZodString;
1330
+ count: z.ZodString;
1331
+ }, z.core.$strict>, z.ZodObject<{
1332
+ as: z.ZodString;
1333
+ countDistinct: z.ZodString;
1334
+ }, z.core.$strict>]>>>;
1335
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1336
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1337
+ asc: "asc";
1338
+ desc: "desc";
1339
+ }>], null>>>;
1340
+ limit: z.ZodNumber;
1341
+ }, z.core.$strict>;
1342
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1343
+ bind: z.ZodString;
1344
+ }, z.core.$strict>, z.ZodObject<{
1345
+ control: z.ZodLiteral<"slider">;
1346
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1347
+ min: z.ZodNumber;
1348
+ max: z.ZodNumber;
1349
+ step: z.ZodOptional<z.ZodNumber>;
1350
+ default: z.ZodNumber;
1351
+ }, z.core.$strict>, z.ZodObject<{
1352
+ control: z.ZodLiteral<"select">;
1353
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1354
+ options: z.ZodArray<z.ZodObject<{
1355
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1356
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1357
+ }, z.core.$strict>>;
1358
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1359
+ }, z.core.$strict>, z.ZodObject<{
1360
+ control: z.ZodLiteral<"toggle">;
1361
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1362
+ default: z.ZodBoolean;
1363
+ }, z.core.$strict>]>>>;
1364
+ onClick: z.ZodOptional<z.ZodObject<{
1365
+ navigate: z.ZodString;
1366
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1367
+ }, z.core.$strict>>;
1368
+ component: z.ZodLiteral<"table">;
1369
+ encode: z.ZodObject<{
1370
+ columns: z.ZodArray<z.ZodObject<{
1371
+ field: z.ZodString;
1372
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1373
+ format: z.ZodOptional<z.ZodEnum<{
1374
+ date: "date";
1375
+ money: "money";
1376
+ month: "month";
1377
+ number: "number";
1378
+ percent: "percent";
1379
+ text: "text";
1380
+ }>>;
1381
+ }, z.core.$strict>>;
1382
+ }, z.core.$strict>;
1383
+ }, z.core.$strict>, z.ZodObject<{
1384
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1385
+ data: z.ZodObject<{
1386
+ scan: z.ZodString;
1387
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1388
+ on: z.ZodString;
1389
+ to: z.ZodString;
1390
+ }, z.core.$strict>>>;
1391
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1392
+ "!=": "!=";
1393
+ "<": "<";
1394
+ "<=": "<=";
1395
+ "=": "=";
1396
+ ">": ">";
1397
+ ">=": ">=";
1398
+ in: "in";
1399
+ match: "match";
1400
+ notIn: "notIn";
1401
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1402
+ param: z.ZodString;
1403
+ }, z.core.$strict>, z.ZodObject<{
1404
+ today: z.ZodNumber;
1405
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1406
+ param: z.ZodString;
1407
+ }, z.core.$strict>, z.ZodObject<{
1408
+ today: z.ZodNumber;
1409
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1410
+ isNull: "isNull";
1411
+ notNull: "notNull";
1412
+ }>], null>]>>>;
1413
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1414
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1415
+ as: z.ZodString;
1416
+ sum: z.ZodString;
1417
+ }, z.core.$strict>, z.ZodObject<{
1418
+ as: z.ZodString;
1419
+ avg: z.ZodString;
1420
+ }, z.core.$strict>, z.ZodObject<{
1421
+ as: z.ZodString;
1422
+ min: z.ZodString;
1423
+ }, z.core.$strict>, z.ZodObject<{
1424
+ as: z.ZodString;
1425
+ max: z.ZodString;
1426
+ }, z.core.$strict>, z.ZodObject<{
1427
+ as: z.ZodString;
1428
+ count: z.ZodString;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ as: z.ZodString;
1431
+ countDistinct: z.ZodString;
1432
+ }, z.core.$strict>]>>>;
1433
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1434
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1435
+ asc: "asc";
1436
+ desc: "desc";
1437
+ }>], null>>>;
1438
+ limit: z.ZodNumber;
1439
+ }, z.core.$strict>;
1440
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1441
+ bind: z.ZodString;
1442
+ }, z.core.$strict>, z.ZodObject<{
1443
+ control: z.ZodLiteral<"slider">;
1444
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1445
+ min: z.ZodNumber;
1446
+ max: z.ZodNumber;
1447
+ step: z.ZodOptional<z.ZodNumber>;
1448
+ default: z.ZodNumber;
1449
+ }, z.core.$strict>, z.ZodObject<{
1450
+ control: z.ZodLiteral<"select">;
1451
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1452
+ options: z.ZodArray<z.ZodObject<{
1453
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1454
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1455
+ }, z.core.$strict>>;
1456
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1457
+ }, z.core.$strict>, z.ZodObject<{
1458
+ control: z.ZodLiteral<"toggle">;
1459
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1460
+ default: z.ZodBoolean;
1461
+ }, z.core.$strict>]>>>;
1462
+ onClick: z.ZodOptional<z.ZodObject<{
1463
+ navigate: z.ZodString;
1464
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1465
+ }, z.core.$strict>>;
1466
+ component: z.ZodLiteral<"kpi">;
1467
+ encode: z.ZodObject<{
1468
+ value: z.ZodString;
1469
+ format: z.ZodOptional<z.ZodEnum<{
1470
+ date: "date";
1471
+ money: "money";
1472
+ month: "month";
1473
+ number: "number";
1474
+ percent: "percent";
1475
+ text: "text";
1476
+ }>>;
1477
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1478
+ }, z.core.$strict>;
1479
+ }, z.core.$strict>, z.ZodObject<{
1480
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1481
+ data: z.ZodObject<{
1482
+ scan: z.ZodString;
1483
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1484
+ on: z.ZodString;
1485
+ to: z.ZodString;
1486
+ }, z.core.$strict>>>;
1487
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1488
+ "!=": "!=";
1489
+ "<": "<";
1490
+ "<=": "<=";
1491
+ "=": "=";
1492
+ ">": ">";
1493
+ ">=": ">=";
1494
+ in: "in";
1495
+ match: "match";
1496
+ notIn: "notIn";
1497
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1498
+ param: z.ZodString;
1499
+ }, z.core.$strict>, z.ZodObject<{
1500
+ today: z.ZodNumber;
1501
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1502
+ param: z.ZodString;
1503
+ }, z.core.$strict>, z.ZodObject<{
1504
+ today: z.ZodNumber;
1505
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1506
+ isNull: "isNull";
1507
+ notNull: "notNull";
1508
+ }>], null>]>>>;
1509
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1510
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1511
+ as: z.ZodString;
1512
+ sum: z.ZodString;
1513
+ }, z.core.$strict>, z.ZodObject<{
1514
+ as: z.ZodString;
1515
+ avg: z.ZodString;
1516
+ }, z.core.$strict>, z.ZodObject<{
1517
+ as: z.ZodString;
1518
+ min: z.ZodString;
1519
+ }, z.core.$strict>, z.ZodObject<{
1520
+ as: z.ZodString;
1521
+ max: z.ZodString;
1522
+ }, z.core.$strict>, z.ZodObject<{
1523
+ as: z.ZodString;
1524
+ count: z.ZodString;
1525
+ }, z.core.$strict>, z.ZodObject<{
1526
+ as: z.ZodString;
1527
+ countDistinct: z.ZodString;
1528
+ }, z.core.$strict>]>>>;
1529
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1530
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1531
+ asc: "asc";
1532
+ desc: "desc";
1533
+ }>], null>>>;
1534
+ limit: z.ZodNumber;
1535
+ }, z.core.$strict>;
1536
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1537
+ bind: z.ZodString;
1538
+ }, z.core.$strict>, z.ZodObject<{
1539
+ control: z.ZodLiteral<"slider">;
1540
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1541
+ min: z.ZodNumber;
1542
+ max: z.ZodNumber;
1543
+ step: z.ZodOptional<z.ZodNumber>;
1544
+ default: z.ZodNumber;
1545
+ }, z.core.$strict>, z.ZodObject<{
1546
+ control: z.ZodLiteral<"select">;
1547
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1548
+ options: z.ZodArray<z.ZodObject<{
1549
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1550
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1551
+ }, z.core.$strict>>;
1552
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1553
+ }, z.core.$strict>, z.ZodObject<{
1554
+ control: z.ZodLiteral<"toggle">;
1555
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1556
+ default: z.ZodBoolean;
1557
+ }, z.core.$strict>]>>>;
1558
+ onClick: z.ZodOptional<z.ZodObject<{
1559
+ navigate: z.ZodString;
1560
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1561
+ }, z.core.$strict>>;
1562
+ component: z.ZodLiteral<"grid">;
1563
+ encode: z.ZodObject<{
1564
+ rowKey: z.ZodString;
1565
+ columns: z.ZodArray<z.ZodObject<{
1566
+ field: z.ZodString;
1567
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1568
+ format: z.ZodOptional<z.ZodEnum<{
1569
+ date: "date";
1570
+ money: "money";
1571
+ month: "month";
1572
+ number: "number";
1573
+ percent: "percent";
1574
+ text: "text";
1575
+ }>>;
1576
+ edit: z.ZodOptional<z.ZodObject<{
1577
+ intent: z.ZodString;
1578
+ value: z.ZodString;
1579
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1580
+ }, z.core.$strict>>;
1581
+ }, z.core.$strict>>;
1582
+ }, z.core.$strict>;
1583
+ }, z.core.$strict>, z.ZodObject<{
1584
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1585
+ data: z.ZodObject<{
1586
+ scan: z.ZodString;
1587
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1588
+ on: z.ZodString;
1589
+ to: z.ZodString;
1590
+ }, z.core.$strict>>>;
1591
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1592
+ "!=": "!=";
1593
+ "<": "<";
1594
+ "<=": "<=";
1595
+ "=": "=";
1596
+ ">": ">";
1597
+ ">=": ">=";
1598
+ in: "in";
1599
+ match: "match";
1600
+ notIn: "notIn";
1601
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1602
+ param: z.ZodString;
1603
+ }, z.core.$strict>, z.ZodObject<{
1604
+ today: z.ZodNumber;
1605
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1606
+ param: z.ZodString;
1607
+ }, z.core.$strict>, z.ZodObject<{
1608
+ today: z.ZodNumber;
1609
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1610
+ isNull: "isNull";
1611
+ notNull: "notNull";
1612
+ }>], null>]>>>;
1613
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1614
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1615
+ as: z.ZodString;
1616
+ sum: z.ZodString;
1617
+ }, z.core.$strict>, z.ZodObject<{
1618
+ as: z.ZodString;
1619
+ avg: z.ZodString;
1620
+ }, z.core.$strict>, z.ZodObject<{
1621
+ as: z.ZodString;
1622
+ min: z.ZodString;
1623
+ }, z.core.$strict>, z.ZodObject<{
1624
+ as: z.ZodString;
1625
+ max: z.ZodString;
1626
+ }, z.core.$strict>, z.ZodObject<{
1627
+ as: z.ZodString;
1628
+ count: z.ZodString;
1629
+ }, z.core.$strict>, z.ZodObject<{
1630
+ as: z.ZodString;
1631
+ countDistinct: z.ZodString;
1632
+ }, z.core.$strict>]>>>;
1633
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1634
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1635
+ asc: "asc";
1636
+ desc: "desc";
1637
+ }>], null>>>;
1638
+ limit: z.ZodNumber;
1639
+ }, z.core.$strict>;
1640
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1641
+ bind: z.ZodString;
1642
+ }, z.core.$strict>, z.ZodObject<{
1643
+ control: z.ZodLiteral<"slider">;
1644
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1645
+ min: z.ZodNumber;
1646
+ max: z.ZodNumber;
1647
+ step: z.ZodOptional<z.ZodNumber>;
1648
+ default: z.ZodNumber;
1649
+ }, z.core.$strict>, z.ZodObject<{
1650
+ control: z.ZodLiteral<"select">;
1651
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1652
+ options: z.ZodArray<z.ZodObject<{
1653
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1654
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1655
+ }, z.core.$strict>>;
1656
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1657
+ }, z.core.$strict>, z.ZodObject<{
1658
+ control: z.ZodLiteral<"toggle">;
1659
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1660
+ default: z.ZodBoolean;
1661
+ }, z.core.$strict>]>>>;
1662
+ onClick: z.ZodOptional<z.ZodObject<{
1663
+ navigate: z.ZodString;
1664
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1665
+ }, z.core.$strict>>;
1666
+ component: z.ZodLiteral<"actionTable">;
1667
+ encode: z.ZodObject<{
1668
+ rowKey: z.ZodString;
1669
+ columns: z.ZodArray<z.ZodObject<{
1670
+ field: z.ZodString;
1671
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1672
+ format: z.ZodOptional<z.ZodEnum<{
1673
+ date: "date";
1674
+ money: "money";
1675
+ month: "month";
1676
+ number: "number";
1677
+ percent: "percent";
1678
+ text: "text";
1679
+ }>>;
1680
+ }, z.core.$strict>>;
1681
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1682
+ name: z.ZodString;
1683
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1684
+ type: z.ZodEnum<{
1685
+ number: "number";
1686
+ text: "text";
1687
+ }>;
1688
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1689
+ min: z.ZodOptional<z.ZodNumber>;
1690
+ max: z.ZodOptional<z.ZodNumber>;
1691
+ }, z.core.$strict>>>;
1692
+ action: z.ZodObject<{
1693
+ intent: z.ZodString;
1694
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1695
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1696
+ }, z.core.$strict>;
1697
+ }, z.core.$strict>;
1698
+ }, z.core.$strict>], "component">;
1699
+ export type Spec = z.infer<typeof SpecBody>;
1700
+ export type ComponentName = Spec["component"];
1701
+ export declare const Placement: z.ZodObject<{
1702
+ slot: z.ZodString;
1703
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1704
+ }, z.core.$strict>;
1705
+ export type Placement = z.infer<typeof Placement>;
1706
+ export declare const ArtifactManifestSchema: z.ZodObject<{
1707
+ reads: z.ZodArray<z.ZodString>;
1708
+ acts: z.ZodArray<z.ZodString>;
1709
+ contributes: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
1710
+ }, z.core.$strict>;
1711
+ export type ArtifactManifest = z.infer<typeof ArtifactManifestSchema>;
1712
+ /** What the conductor proposes and what Apply saves (Definition 2 minus id and revision). */
1713
+ export declare const DraftSchema: z.ZodObject<{
1714
+ kind: z.ZodLiteral<"spec">;
1715
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
1716
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1717
+ data: z.ZodObject<{
1718
+ scan: z.ZodString;
1719
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1720
+ on: z.ZodString;
1721
+ to: z.ZodString;
1722
+ }, z.core.$strict>>>;
1723
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1724
+ "!=": "!=";
1725
+ "<": "<";
1726
+ "<=": "<=";
1727
+ "=": "=";
1728
+ ">": ">";
1729
+ ">=": ">=";
1730
+ in: "in";
1731
+ match: "match";
1732
+ notIn: "notIn";
1733
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1734
+ param: z.ZodString;
1735
+ }, z.core.$strict>, z.ZodObject<{
1736
+ today: z.ZodNumber;
1737
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1738
+ param: z.ZodString;
1739
+ }, z.core.$strict>, z.ZodObject<{
1740
+ today: z.ZodNumber;
1741
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1742
+ isNull: "isNull";
1743
+ notNull: "notNull";
1744
+ }>], null>]>>>;
1745
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1746
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1747
+ as: z.ZodString;
1748
+ sum: z.ZodString;
1749
+ }, z.core.$strict>, z.ZodObject<{
1750
+ as: z.ZodString;
1751
+ avg: z.ZodString;
1752
+ }, z.core.$strict>, z.ZodObject<{
1753
+ as: z.ZodString;
1754
+ min: z.ZodString;
1755
+ }, z.core.$strict>, z.ZodObject<{
1756
+ as: z.ZodString;
1757
+ max: z.ZodString;
1758
+ }, z.core.$strict>, z.ZodObject<{
1759
+ as: z.ZodString;
1760
+ count: z.ZodString;
1761
+ }, z.core.$strict>, z.ZodObject<{
1762
+ as: z.ZodString;
1763
+ countDistinct: z.ZodString;
1764
+ }, z.core.$strict>]>>>;
1765
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1766
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1767
+ asc: "asc";
1768
+ desc: "desc";
1769
+ }>], null>>>;
1770
+ limit: z.ZodNumber;
1771
+ }, z.core.$strict>;
1772
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1773
+ bind: z.ZodString;
1774
+ }, z.core.$strict>, z.ZodObject<{
1775
+ control: z.ZodLiteral<"slider">;
1776
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1777
+ min: z.ZodNumber;
1778
+ max: z.ZodNumber;
1779
+ step: z.ZodOptional<z.ZodNumber>;
1780
+ default: z.ZodNumber;
1781
+ }, z.core.$strict>, z.ZodObject<{
1782
+ control: z.ZodLiteral<"select">;
1783
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1784
+ options: z.ZodArray<z.ZodObject<{
1785
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1786
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1787
+ }, z.core.$strict>>;
1788
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1789
+ }, z.core.$strict>, z.ZodObject<{
1790
+ control: z.ZodLiteral<"toggle">;
1791
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1792
+ default: z.ZodBoolean;
1793
+ }, z.core.$strict>]>>>;
1794
+ onClick: z.ZodOptional<z.ZodObject<{
1795
+ navigate: z.ZodString;
1796
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1797
+ }, z.core.$strict>>;
1798
+ component: z.ZodLiteral<"sankey">;
1799
+ encode: z.ZodObject<{
1800
+ source: z.ZodString;
1801
+ target: z.ZodString;
1802
+ value: z.ZodString;
1803
+ label: z.ZodOptional<z.ZodEnum<{
1804
+ "share-of-source": "share-of-source";
1805
+ "share-of-total": "share-of-total";
1806
+ value: "value";
1807
+ }>>;
1808
+ }, z.core.$strict>;
1809
+ otherBucket: z.ZodOptional<z.ZodObject<{
1810
+ maxTargets: z.ZodNumber;
1811
+ }, z.core.$strict>>;
1812
+ }, z.core.$strict>, z.ZodObject<{
1813
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1814
+ data: z.ZodObject<{
1815
+ scan: z.ZodString;
1816
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1817
+ on: z.ZodString;
1818
+ to: z.ZodString;
1819
+ }, z.core.$strict>>>;
1820
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1821
+ "!=": "!=";
1822
+ "<": "<";
1823
+ "<=": "<=";
1824
+ "=": "=";
1825
+ ">": ">";
1826
+ ">=": ">=";
1827
+ in: "in";
1828
+ match: "match";
1829
+ notIn: "notIn";
1830
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1831
+ param: z.ZodString;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ today: z.ZodNumber;
1834
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1835
+ param: z.ZodString;
1836
+ }, z.core.$strict>, z.ZodObject<{
1837
+ today: z.ZodNumber;
1838
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1839
+ isNull: "isNull";
1840
+ notNull: "notNull";
1841
+ }>], null>]>>>;
1842
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1843
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1844
+ as: z.ZodString;
1845
+ sum: z.ZodString;
1846
+ }, z.core.$strict>, z.ZodObject<{
1847
+ as: z.ZodString;
1848
+ avg: z.ZodString;
1849
+ }, z.core.$strict>, z.ZodObject<{
1850
+ as: z.ZodString;
1851
+ min: z.ZodString;
1852
+ }, z.core.$strict>, z.ZodObject<{
1853
+ as: z.ZodString;
1854
+ max: z.ZodString;
1855
+ }, z.core.$strict>, z.ZodObject<{
1856
+ as: z.ZodString;
1857
+ count: z.ZodString;
1858
+ }, z.core.$strict>, z.ZodObject<{
1859
+ as: z.ZodString;
1860
+ countDistinct: z.ZodString;
1861
+ }, z.core.$strict>]>>>;
1862
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1863
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1864
+ asc: "asc";
1865
+ desc: "desc";
1866
+ }>], null>>>;
1867
+ limit: z.ZodNumber;
1868
+ }, z.core.$strict>;
1869
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1870
+ bind: z.ZodString;
1871
+ }, z.core.$strict>, z.ZodObject<{
1872
+ control: z.ZodLiteral<"slider">;
1873
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1874
+ min: z.ZodNumber;
1875
+ max: z.ZodNumber;
1876
+ step: z.ZodOptional<z.ZodNumber>;
1877
+ default: z.ZodNumber;
1878
+ }, z.core.$strict>, z.ZodObject<{
1879
+ control: z.ZodLiteral<"select">;
1880
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1881
+ options: z.ZodArray<z.ZodObject<{
1882
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1883
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1884
+ }, z.core.$strict>>;
1885
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1886
+ }, z.core.$strict>, z.ZodObject<{
1887
+ control: z.ZodLiteral<"toggle">;
1888
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1889
+ default: z.ZodBoolean;
1890
+ }, z.core.$strict>]>>>;
1891
+ onClick: z.ZodOptional<z.ZodObject<{
1892
+ navigate: z.ZodString;
1893
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1894
+ }, z.core.$strict>>;
1895
+ component: z.ZodLiteral<"bar">;
1896
+ encode: z.ZodObject<{
1897
+ x: z.ZodString;
1898
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
1899
+ series: z.ZodOptional<z.ZodString>;
1900
+ stacked: z.ZodOptional<z.ZodBoolean>;
1901
+ horizontal: z.ZodOptional<z.ZodBoolean>;
1902
+ format: z.ZodOptional<z.ZodEnum<{
1903
+ date: "date";
1904
+ money: "money";
1905
+ month: "month";
1906
+ number: "number";
1907
+ percent: "percent";
1908
+ text: "text";
1909
+ }>>;
1910
+ }, z.core.$strict>;
1911
+ otherBucket: z.ZodOptional<z.ZodObject<{
1912
+ maxCategories: z.ZodNumber;
1913
+ }, z.core.$strict>>;
1914
+ }, z.core.$strict>, z.ZodObject<{
1915
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
1916
+ data: z.ZodObject<{
1917
+ scan: z.ZodString;
1918
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
1919
+ on: z.ZodString;
1920
+ to: z.ZodString;
1921
+ }, z.core.$strict>>>;
1922
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
1923
+ "!=": "!=";
1924
+ "<": "<";
1925
+ "<=": "<=";
1926
+ "=": "=";
1927
+ ">": ">";
1928
+ ">=": ">=";
1929
+ in: "in";
1930
+ match: "match";
1931
+ notIn: "notIn";
1932
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1933
+ param: z.ZodString;
1934
+ }, z.core.$strict>, z.ZodObject<{
1935
+ today: z.ZodNumber;
1936
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
1937
+ param: z.ZodString;
1938
+ }, z.core.$strict>, z.ZodObject<{
1939
+ today: z.ZodNumber;
1940
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
1941
+ isNull: "isNull";
1942
+ notNull: "notNull";
1943
+ }>], null>]>>>;
1944
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1945
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1946
+ as: z.ZodString;
1947
+ sum: z.ZodString;
1948
+ }, z.core.$strict>, z.ZodObject<{
1949
+ as: z.ZodString;
1950
+ avg: z.ZodString;
1951
+ }, z.core.$strict>, z.ZodObject<{
1952
+ as: z.ZodString;
1953
+ min: z.ZodString;
1954
+ }, z.core.$strict>, z.ZodObject<{
1955
+ as: z.ZodString;
1956
+ max: z.ZodString;
1957
+ }, z.core.$strict>, z.ZodObject<{
1958
+ as: z.ZodString;
1959
+ count: z.ZodString;
1960
+ }, z.core.$strict>, z.ZodObject<{
1961
+ as: z.ZodString;
1962
+ countDistinct: z.ZodString;
1963
+ }, z.core.$strict>]>>>;
1964
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1965
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
1966
+ asc: "asc";
1967
+ desc: "desc";
1968
+ }>], null>>>;
1969
+ limit: z.ZodNumber;
1970
+ }, z.core.$strict>;
1971
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1972
+ bind: z.ZodString;
1973
+ }, z.core.$strict>, z.ZodObject<{
1974
+ control: z.ZodLiteral<"slider">;
1975
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1976
+ min: z.ZodNumber;
1977
+ max: z.ZodNumber;
1978
+ step: z.ZodOptional<z.ZodNumber>;
1979
+ default: z.ZodNumber;
1980
+ }, z.core.$strict>, z.ZodObject<{
1981
+ control: z.ZodLiteral<"select">;
1982
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1983
+ options: z.ZodArray<z.ZodObject<{
1984
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1985
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1986
+ }, z.core.$strict>>;
1987
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1988
+ }, z.core.$strict>, z.ZodObject<{
1989
+ control: z.ZodLiteral<"toggle">;
1990
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1991
+ default: z.ZodBoolean;
1992
+ }, z.core.$strict>]>>>;
1993
+ onClick: z.ZodOptional<z.ZodObject<{
1994
+ navigate: z.ZodString;
1995
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
1996
+ }, z.core.$strict>>;
1997
+ component: z.ZodLiteral<"line">;
1998
+ encode: z.ZodObject<{
1999
+ x: z.ZodString;
2000
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2001
+ series: z.ZodOptional<z.ZodString>;
2002
+ stacked: z.ZodOptional<z.ZodBoolean>;
2003
+ horizontal: z.ZodOptional<z.ZodBoolean>;
2004
+ format: z.ZodOptional<z.ZodEnum<{
2005
+ date: "date";
2006
+ money: "money";
2007
+ month: "month";
2008
+ number: "number";
2009
+ percent: "percent";
2010
+ text: "text";
2011
+ }>>;
2012
+ }, z.core.$strict>;
2013
+ }, z.core.$strict>, z.ZodObject<{
2014
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
2015
+ data: z.ZodObject<{
2016
+ scan: z.ZodString;
2017
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
2018
+ on: z.ZodString;
2019
+ to: z.ZodString;
2020
+ }, z.core.$strict>>>;
2021
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
2022
+ "!=": "!=";
2023
+ "<": "<";
2024
+ "<=": "<=";
2025
+ "=": "=";
2026
+ ">": ">";
2027
+ ">=": ">=";
2028
+ in: "in";
2029
+ match: "match";
2030
+ notIn: "notIn";
2031
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2032
+ param: z.ZodString;
2033
+ }, z.core.$strict>, z.ZodObject<{
2034
+ today: z.ZodNumber;
2035
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2036
+ param: z.ZodString;
2037
+ }, z.core.$strict>, z.ZodObject<{
2038
+ today: z.ZodNumber;
2039
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
2040
+ isNull: "isNull";
2041
+ notNull: "notNull";
2042
+ }>], null>]>>>;
2043
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2044
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2045
+ as: z.ZodString;
2046
+ sum: z.ZodString;
2047
+ }, z.core.$strict>, z.ZodObject<{
2048
+ as: z.ZodString;
2049
+ avg: z.ZodString;
2050
+ }, z.core.$strict>, z.ZodObject<{
2051
+ as: z.ZodString;
2052
+ min: z.ZodString;
2053
+ }, z.core.$strict>, z.ZodObject<{
2054
+ as: z.ZodString;
2055
+ max: z.ZodString;
2056
+ }, z.core.$strict>, z.ZodObject<{
2057
+ as: z.ZodString;
2058
+ count: z.ZodString;
2059
+ }, z.core.$strict>, z.ZodObject<{
2060
+ as: z.ZodString;
2061
+ countDistinct: z.ZodString;
2062
+ }, z.core.$strict>]>>>;
2063
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
2064
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
2065
+ asc: "asc";
2066
+ desc: "desc";
2067
+ }>], null>>>;
2068
+ limit: z.ZodNumber;
2069
+ }, z.core.$strict>;
2070
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2071
+ bind: z.ZodString;
2072
+ }, z.core.$strict>, z.ZodObject<{
2073
+ control: z.ZodLiteral<"slider">;
2074
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2075
+ min: z.ZodNumber;
2076
+ max: z.ZodNumber;
2077
+ step: z.ZodOptional<z.ZodNumber>;
2078
+ default: z.ZodNumber;
2079
+ }, z.core.$strict>, z.ZodObject<{
2080
+ control: z.ZodLiteral<"select">;
2081
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2082
+ options: z.ZodArray<z.ZodObject<{
2083
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2084
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2085
+ }, z.core.$strict>>;
2086
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2087
+ }, z.core.$strict>, z.ZodObject<{
2088
+ control: z.ZodLiteral<"toggle">;
2089
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2090
+ default: z.ZodBoolean;
2091
+ }, z.core.$strict>]>>>;
2092
+ onClick: z.ZodOptional<z.ZodObject<{
2093
+ navigate: z.ZodString;
2094
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2095
+ }, z.core.$strict>>;
2096
+ component: z.ZodLiteral<"area">;
2097
+ encode: z.ZodObject<{
2098
+ x: z.ZodString;
2099
+ y: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
2100
+ series: z.ZodOptional<z.ZodString>;
2101
+ stacked: z.ZodOptional<z.ZodBoolean>;
2102
+ horizontal: z.ZodOptional<z.ZodBoolean>;
2103
+ format: z.ZodOptional<z.ZodEnum<{
2104
+ date: "date";
2105
+ money: "money";
2106
+ month: "month";
2107
+ number: "number";
2108
+ percent: "percent";
2109
+ text: "text";
2110
+ }>>;
2111
+ }, z.core.$strict>;
2112
+ }, z.core.$strict>, z.ZodObject<{
2113
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
2114
+ data: z.ZodObject<{
2115
+ scan: z.ZodString;
2116
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
2117
+ on: z.ZodString;
2118
+ to: z.ZodString;
2119
+ }, z.core.$strict>>>;
2120
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
2121
+ "!=": "!=";
2122
+ "<": "<";
2123
+ "<=": "<=";
2124
+ "=": "=";
2125
+ ">": ">";
2126
+ ">=": ">=";
2127
+ in: "in";
2128
+ match: "match";
2129
+ notIn: "notIn";
2130
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2131
+ param: z.ZodString;
2132
+ }, z.core.$strict>, z.ZodObject<{
2133
+ today: z.ZodNumber;
2134
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2135
+ param: z.ZodString;
2136
+ }, z.core.$strict>, z.ZodObject<{
2137
+ today: z.ZodNumber;
2138
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
2139
+ isNull: "isNull";
2140
+ notNull: "notNull";
2141
+ }>], null>]>>>;
2142
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2143
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2144
+ as: z.ZodString;
2145
+ sum: z.ZodString;
2146
+ }, z.core.$strict>, z.ZodObject<{
2147
+ as: z.ZodString;
2148
+ avg: z.ZodString;
2149
+ }, z.core.$strict>, z.ZodObject<{
2150
+ as: z.ZodString;
2151
+ min: z.ZodString;
2152
+ }, z.core.$strict>, z.ZodObject<{
2153
+ as: z.ZodString;
2154
+ max: z.ZodString;
2155
+ }, z.core.$strict>, z.ZodObject<{
2156
+ as: z.ZodString;
2157
+ count: z.ZodString;
2158
+ }, z.core.$strict>, z.ZodObject<{
2159
+ as: z.ZodString;
2160
+ countDistinct: z.ZodString;
2161
+ }, z.core.$strict>]>>>;
2162
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
2163
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
2164
+ asc: "asc";
2165
+ desc: "desc";
2166
+ }>], null>>>;
2167
+ limit: z.ZodNumber;
2168
+ }, z.core.$strict>;
2169
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2170
+ bind: z.ZodString;
2171
+ }, z.core.$strict>, z.ZodObject<{
2172
+ control: z.ZodLiteral<"slider">;
2173
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2174
+ min: z.ZodNumber;
2175
+ max: z.ZodNumber;
2176
+ step: z.ZodOptional<z.ZodNumber>;
2177
+ default: z.ZodNumber;
2178
+ }, z.core.$strict>, z.ZodObject<{
2179
+ control: z.ZodLiteral<"select">;
2180
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2181
+ options: z.ZodArray<z.ZodObject<{
2182
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2183
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2184
+ }, z.core.$strict>>;
2185
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2186
+ }, z.core.$strict>, z.ZodObject<{
2187
+ control: z.ZodLiteral<"toggle">;
2188
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2189
+ default: z.ZodBoolean;
2190
+ }, z.core.$strict>]>>>;
2191
+ onClick: z.ZodOptional<z.ZodObject<{
2192
+ navigate: z.ZodString;
2193
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2194
+ }, z.core.$strict>>;
2195
+ component: z.ZodLiteral<"table">;
2196
+ encode: z.ZodObject<{
2197
+ columns: z.ZodArray<z.ZodObject<{
2198
+ field: z.ZodString;
2199
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2200
+ format: z.ZodOptional<z.ZodEnum<{
2201
+ date: "date";
2202
+ money: "money";
2203
+ month: "month";
2204
+ number: "number";
2205
+ percent: "percent";
2206
+ text: "text";
2207
+ }>>;
2208
+ }, z.core.$strict>>;
2209
+ }, z.core.$strict>;
2210
+ }, z.core.$strict>, z.ZodObject<{
2211
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
2212
+ data: z.ZodObject<{
2213
+ scan: z.ZodString;
2214
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
2215
+ on: z.ZodString;
2216
+ to: z.ZodString;
2217
+ }, z.core.$strict>>>;
2218
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
2219
+ "!=": "!=";
2220
+ "<": "<";
2221
+ "<=": "<=";
2222
+ "=": "=";
2223
+ ">": ">";
2224
+ ">=": ">=";
2225
+ in: "in";
2226
+ match: "match";
2227
+ notIn: "notIn";
2228
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2229
+ param: z.ZodString;
2230
+ }, z.core.$strict>, z.ZodObject<{
2231
+ today: z.ZodNumber;
2232
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2233
+ param: z.ZodString;
2234
+ }, z.core.$strict>, z.ZodObject<{
2235
+ today: z.ZodNumber;
2236
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
2237
+ isNull: "isNull";
2238
+ notNull: "notNull";
2239
+ }>], null>]>>>;
2240
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2241
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2242
+ as: z.ZodString;
2243
+ sum: z.ZodString;
2244
+ }, z.core.$strict>, z.ZodObject<{
2245
+ as: z.ZodString;
2246
+ avg: z.ZodString;
2247
+ }, z.core.$strict>, z.ZodObject<{
2248
+ as: z.ZodString;
2249
+ min: z.ZodString;
2250
+ }, z.core.$strict>, z.ZodObject<{
2251
+ as: z.ZodString;
2252
+ max: z.ZodString;
2253
+ }, z.core.$strict>, z.ZodObject<{
2254
+ as: z.ZodString;
2255
+ count: z.ZodString;
2256
+ }, z.core.$strict>, z.ZodObject<{
2257
+ as: z.ZodString;
2258
+ countDistinct: z.ZodString;
2259
+ }, z.core.$strict>]>>>;
2260
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
2261
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
2262
+ asc: "asc";
2263
+ desc: "desc";
2264
+ }>], null>>>;
2265
+ limit: z.ZodNumber;
2266
+ }, z.core.$strict>;
2267
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2268
+ bind: z.ZodString;
2269
+ }, z.core.$strict>, z.ZodObject<{
2270
+ control: z.ZodLiteral<"slider">;
2271
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2272
+ min: z.ZodNumber;
2273
+ max: z.ZodNumber;
2274
+ step: z.ZodOptional<z.ZodNumber>;
2275
+ default: z.ZodNumber;
2276
+ }, z.core.$strict>, z.ZodObject<{
2277
+ control: z.ZodLiteral<"select">;
2278
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2279
+ options: z.ZodArray<z.ZodObject<{
2280
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2281
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2282
+ }, z.core.$strict>>;
2283
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2284
+ }, z.core.$strict>, z.ZodObject<{
2285
+ control: z.ZodLiteral<"toggle">;
2286
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2287
+ default: z.ZodBoolean;
2288
+ }, z.core.$strict>]>>>;
2289
+ onClick: z.ZodOptional<z.ZodObject<{
2290
+ navigate: z.ZodString;
2291
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2292
+ }, z.core.$strict>>;
2293
+ component: z.ZodLiteral<"kpi">;
2294
+ encode: z.ZodObject<{
2295
+ value: z.ZodString;
2296
+ format: z.ZodOptional<z.ZodEnum<{
2297
+ date: "date";
2298
+ money: "money";
2299
+ month: "month";
2300
+ number: "number";
2301
+ percent: "percent";
2302
+ text: "text";
2303
+ }>>;
2304
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2305
+ }, z.core.$strict>;
2306
+ }, z.core.$strict>, z.ZodObject<{
2307
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
2308
+ data: z.ZodObject<{
2309
+ scan: z.ZodString;
2310
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
2311
+ on: z.ZodString;
2312
+ to: z.ZodString;
2313
+ }, z.core.$strict>>>;
2314
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
2315
+ "!=": "!=";
2316
+ "<": "<";
2317
+ "<=": "<=";
2318
+ "=": "=";
2319
+ ">": ">";
2320
+ ">=": ">=";
2321
+ in: "in";
2322
+ match: "match";
2323
+ notIn: "notIn";
2324
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2325
+ param: z.ZodString;
2326
+ }, z.core.$strict>, z.ZodObject<{
2327
+ today: z.ZodNumber;
2328
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2329
+ param: z.ZodString;
2330
+ }, z.core.$strict>, z.ZodObject<{
2331
+ today: z.ZodNumber;
2332
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
2333
+ isNull: "isNull";
2334
+ notNull: "notNull";
2335
+ }>], null>]>>>;
2336
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2337
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2338
+ as: z.ZodString;
2339
+ sum: z.ZodString;
2340
+ }, z.core.$strict>, z.ZodObject<{
2341
+ as: z.ZodString;
2342
+ avg: z.ZodString;
2343
+ }, z.core.$strict>, z.ZodObject<{
2344
+ as: z.ZodString;
2345
+ min: z.ZodString;
2346
+ }, z.core.$strict>, z.ZodObject<{
2347
+ as: z.ZodString;
2348
+ max: z.ZodString;
2349
+ }, z.core.$strict>, z.ZodObject<{
2350
+ as: z.ZodString;
2351
+ count: z.ZodString;
2352
+ }, z.core.$strict>, z.ZodObject<{
2353
+ as: z.ZodString;
2354
+ countDistinct: z.ZodString;
2355
+ }, z.core.$strict>]>>>;
2356
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
2357
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
2358
+ asc: "asc";
2359
+ desc: "desc";
2360
+ }>], null>>>;
2361
+ limit: z.ZodNumber;
2362
+ }, z.core.$strict>;
2363
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2364
+ bind: z.ZodString;
2365
+ }, z.core.$strict>, z.ZodObject<{
2366
+ control: z.ZodLiteral<"slider">;
2367
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2368
+ min: z.ZodNumber;
2369
+ max: z.ZodNumber;
2370
+ step: z.ZodOptional<z.ZodNumber>;
2371
+ default: z.ZodNumber;
2372
+ }, z.core.$strict>, z.ZodObject<{
2373
+ control: z.ZodLiteral<"select">;
2374
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2375
+ options: z.ZodArray<z.ZodObject<{
2376
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2377
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2378
+ }, z.core.$strict>>;
2379
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2380
+ }, z.core.$strict>, z.ZodObject<{
2381
+ control: z.ZodLiteral<"toggle">;
2382
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2383
+ default: z.ZodBoolean;
2384
+ }, z.core.$strict>]>>>;
2385
+ onClick: z.ZodOptional<z.ZodObject<{
2386
+ navigate: z.ZodString;
2387
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2388
+ }, z.core.$strict>>;
2389
+ component: z.ZodLiteral<"grid">;
2390
+ encode: z.ZodObject<{
2391
+ rowKey: z.ZodString;
2392
+ columns: z.ZodArray<z.ZodObject<{
2393
+ field: z.ZodString;
2394
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2395
+ format: z.ZodOptional<z.ZodEnum<{
2396
+ date: "date";
2397
+ money: "money";
2398
+ month: "month";
2399
+ number: "number";
2400
+ percent: "percent";
2401
+ text: "text";
2402
+ }>>;
2403
+ edit: z.ZodOptional<z.ZodObject<{
2404
+ intent: z.ZodString;
2405
+ value: z.ZodString;
2406
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2407
+ }, z.core.$strict>>;
2408
+ }, z.core.$strict>>;
2409
+ }, z.core.$strict>;
2410
+ }, z.core.$strict>, z.ZodObject<{
2411
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
2412
+ data: z.ZodObject<{
2413
+ scan: z.ZodString;
2414
+ join: z.ZodOptional<z.ZodArray<z.ZodObject<{
2415
+ on: z.ZodString;
2416
+ to: z.ZodString;
2417
+ }, z.core.$strict>>>;
2418
+ where: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodTuple<[z.ZodString, z.ZodEnum<{
2419
+ "!=": "!=";
2420
+ "<": "<";
2421
+ "<=": "<=";
2422
+ "=": "=";
2423
+ ">": ">";
2424
+ ">=": ">=";
2425
+ in: "in";
2426
+ match: "match";
2427
+ notIn: "notIn";
2428
+ }>, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2429
+ param: z.ZodString;
2430
+ }, z.core.$strict>, z.ZodObject<{
2431
+ today: z.ZodNumber;
2432
+ }, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
2433
+ param: z.ZodString;
2434
+ }, z.core.$strict>, z.ZodObject<{
2435
+ today: z.ZodNumber;
2436
+ }, z.core.$strict>]>>]>], null>, z.ZodTuple<[z.ZodString, z.ZodEnum<{
2437
+ isNull: "isNull";
2438
+ notNull: "notNull";
2439
+ }>], null>]>>>;
2440
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2441
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2442
+ as: z.ZodString;
2443
+ sum: z.ZodString;
2444
+ }, z.core.$strict>, z.ZodObject<{
2445
+ as: z.ZodString;
2446
+ avg: z.ZodString;
2447
+ }, z.core.$strict>, z.ZodObject<{
2448
+ as: z.ZodString;
2449
+ min: z.ZodString;
2450
+ }, z.core.$strict>, z.ZodObject<{
2451
+ as: z.ZodString;
2452
+ max: z.ZodString;
2453
+ }, z.core.$strict>, z.ZodObject<{
2454
+ as: z.ZodString;
2455
+ count: z.ZodString;
2456
+ }, z.core.$strict>, z.ZodObject<{
2457
+ as: z.ZodString;
2458
+ countDistinct: z.ZodString;
2459
+ }, z.core.$strict>]>>>;
2460
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
2461
+ orderBy: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodEnum<{
2462
+ asc: "asc";
2463
+ desc: "desc";
2464
+ }>], null>>>;
2465
+ limit: z.ZodNumber;
2466
+ }, z.core.$strict>;
2467
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
2468
+ bind: z.ZodString;
2469
+ }, z.core.$strict>, z.ZodObject<{
2470
+ control: z.ZodLiteral<"slider">;
2471
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2472
+ min: z.ZodNumber;
2473
+ max: z.ZodNumber;
2474
+ step: z.ZodOptional<z.ZodNumber>;
2475
+ default: z.ZodNumber;
2476
+ }, z.core.$strict>, z.ZodObject<{
2477
+ control: z.ZodLiteral<"select">;
2478
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2479
+ options: z.ZodArray<z.ZodObject<{
2480
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2481
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2482
+ }, z.core.$strict>>;
2483
+ default: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2484
+ }, z.core.$strict>, z.ZodObject<{
2485
+ control: z.ZodLiteral<"toggle">;
2486
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2487
+ default: z.ZodBoolean;
2488
+ }, z.core.$strict>]>>>;
2489
+ onClick: z.ZodOptional<z.ZodObject<{
2490
+ navigate: z.ZodString;
2491
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2492
+ }, z.core.$strict>>;
2493
+ component: z.ZodLiteral<"actionTable">;
2494
+ encode: z.ZodObject<{
2495
+ rowKey: z.ZodString;
2496
+ columns: z.ZodArray<z.ZodObject<{
2497
+ field: z.ZodString;
2498
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2499
+ format: z.ZodOptional<z.ZodEnum<{
2500
+ date: "date";
2501
+ money: "money";
2502
+ month: "month";
2503
+ number: "number";
2504
+ percent: "percent";
2505
+ text: "text";
2506
+ }>>;
2507
+ }, z.core.$strict>>;
2508
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2509
+ name: z.ZodString;
2510
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2511
+ type: z.ZodEnum<{
2512
+ number: "number";
2513
+ text: "text";
2514
+ }>;
2515
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
2516
+ min: z.ZodOptional<z.ZodNumber>;
2517
+ max: z.ZodOptional<z.ZodNumber>;
2518
+ }, z.core.$strict>>>;
2519
+ action: z.ZodObject<{
2520
+ intent: z.ZodString;
2521
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2522
+ args: z.ZodRecord<z.ZodString, z.ZodType<ArgExpr, unknown, z.core.$ZodTypeInternals<ArgExpr, unknown>>>;
2523
+ }, z.core.$strict>;
2524
+ }, z.core.$strict>;
2525
+ }, z.core.$strict>], "component">;
2526
+ manifest: z.ZodObject<{
2527
+ reads: z.ZodArray<z.ZodString>;
2528
+ acts: z.ZodArray<z.ZodString>;
2529
+ contributes: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
2530
+ }, z.core.$strict>;
2531
+ placement: z.ZodObject<{
2532
+ slot: z.ZodString;
2533
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2534
+ }, z.core.$strict>;
2535
+ }, z.core.$strict>;
2536
+ export type Draft = z.infer<typeof DraftSchema>;