@openframe-org/criteria-set-protocol 2.0.27 → 2.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/schemas/certification.d.ts +12 -16
- package/dist/v1/schemas/common.d.ts +9 -12
- package/dist/v1/schemas/criteria-tree.d.ts +369 -661
- package/dist/v1/schemas/criterion.d.ts +69 -119
- package/dist/v1/schemas/documentation.d.ts +18 -24
- package/dist/v1/schemas/task-group.d.ts +55 -103
- package/dist/v1/schemas/task-group.js +1 -0
- package/dist/v1/schemas/task-item.d.ts +55 -106
- package/dist/v1/schemas/task.d.ts +40 -87
- package/dist/v1/schemas/theme.d.ts +83 -135
- package/package.json +5 -5
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const criteriaTreeSchema: z.ZodObject<
|
|
2
|
+
export declare const criteriaTreeSchema: z.ZodObject<Pick<{
|
|
3
3
|
version: z.ZodString;
|
|
4
4
|
elements: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5
5
|
result: z.ZodAny;
|
|
6
6
|
certifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
-
}, "version" | "result" | "certifications"
|
|
8
|
-
themes: z.ZodArray<z.ZodObject<
|
|
9
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
7
|
+
}, "version" | "result" | "certifications"> & {
|
|
8
|
+
themes: z.ZodArray<z.ZodObject<{
|
|
10
9
|
title: z.ZodString;
|
|
11
10
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
12
11
|
code: z.ZodString;
|
|
13
12
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
15
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
13
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
16
14
|
label: z.ZodString;
|
|
17
15
|
text: z.ZodString;
|
|
18
|
-
}
|
|
16
|
+
} & {
|
|
19
17
|
type: z.ZodLiteral<"pdf">;
|
|
20
18
|
url: z.ZodString;
|
|
21
|
-
}
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
20
|
type: "pdf";
|
|
23
21
|
url: string;
|
|
24
22
|
label: string;
|
|
@@ -28,13 +26,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
28
26
|
url: string;
|
|
29
27
|
label: string;
|
|
30
28
|
text: string;
|
|
31
|
-
}>, z.ZodObject<
|
|
32
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
29
|
+
}>, z.ZodObject<{
|
|
33
30
|
label: z.ZodString;
|
|
34
31
|
text: z.ZodString;
|
|
35
|
-
}
|
|
32
|
+
} & {
|
|
36
33
|
type: z.ZodLiteral<"text">;
|
|
37
|
-
}
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
35
|
type: "text";
|
|
39
36
|
label: string;
|
|
40
37
|
text: string;
|
|
@@ -42,14 +39,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
42
39
|
type: "text";
|
|
43
40
|
label: string;
|
|
44
41
|
text: string;
|
|
45
|
-
}>, z.ZodObject<
|
|
46
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
42
|
+
}>, z.ZodObject<{
|
|
47
43
|
label: z.ZodString;
|
|
48
44
|
text: z.ZodString;
|
|
49
|
-
}
|
|
45
|
+
} & {
|
|
50
46
|
type: z.ZodLiteral<"link">;
|
|
51
47
|
url: z.ZodString;
|
|
52
|
-
}
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
49
|
type: "link";
|
|
54
50
|
url: string;
|
|
55
51
|
label: string;
|
|
@@ -95,7 +91,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
95
91
|
readOnly?: boolean | undefined;
|
|
96
92
|
}>>;
|
|
97
93
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
}
|
|
94
|
+
} & {
|
|
99
95
|
type: z.ZodLiteral<"theme">;
|
|
100
96
|
style: z.ZodOptional<z.ZodObject<{
|
|
101
97
|
primaryColor: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -147,20 +143,18 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
147
143
|
blue: number;
|
|
148
144
|
};
|
|
149
145
|
}>>;
|
|
150
|
-
items: z.ZodArray<z.ZodObject<
|
|
151
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
146
|
+
items: z.ZodArray<z.ZodObject<{
|
|
152
147
|
title: z.ZodString;
|
|
153
148
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
154
149
|
code: z.ZodString;
|
|
155
150
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
156
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
157
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
151
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
158
152
|
label: z.ZodString;
|
|
159
153
|
text: z.ZodString;
|
|
160
|
-
}
|
|
154
|
+
} & {
|
|
161
155
|
type: z.ZodLiteral<"pdf">;
|
|
162
156
|
url: z.ZodString;
|
|
163
|
-
}
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
158
|
type: "pdf";
|
|
165
159
|
url: string;
|
|
166
160
|
label: string;
|
|
@@ -170,13 +164,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
170
164
|
url: string;
|
|
171
165
|
label: string;
|
|
172
166
|
text: string;
|
|
173
|
-
}>, z.ZodObject<
|
|
174
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
167
|
+
}>, z.ZodObject<{
|
|
175
168
|
label: z.ZodString;
|
|
176
169
|
text: z.ZodString;
|
|
177
|
-
}
|
|
170
|
+
} & {
|
|
178
171
|
type: z.ZodLiteral<"text">;
|
|
179
|
-
}
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
173
|
type: "text";
|
|
181
174
|
label: string;
|
|
182
175
|
text: string;
|
|
@@ -184,14 +177,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
184
177
|
type: "text";
|
|
185
178
|
label: string;
|
|
186
179
|
text: string;
|
|
187
|
-
}>, z.ZodObject<
|
|
188
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
180
|
+
}>, z.ZodObject<{
|
|
189
181
|
label: z.ZodString;
|
|
190
182
|
text: z.ZodString;
|
|
191
|
-
}
|
|
183
|
+
} & {
|
|
192
184
|
type: z.ZodLiteral<"link">;
|
|
193
185
|
url: z.ZodString;
|
|
194
|
-
}
|
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
|
195
187
|
type: "link";
|
|
196
188
|
url: string;
|
|
197
189
|
label: string;
|
|
@@ -237,22 +229,20 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
237
229
|
readOnly?: boolean | undefined;
|
|
238
230
|
}>>;
|
|
239
231
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
240
|
-
}
|
|
232
|
+
} & {
|
|
241
233
|
type: z.ZodLiteral<"criterion">;
|
|
242
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
243
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
234
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
244
235
|
title: z.ZodString;
|
|
245
236
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
246
237
|
code: z.ZodString;
|
|
247
238
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
248
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
249
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
239
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
250
240
|
label: z.ZodString;
|
|
251
241
|
text: z.ZodString;
|
|
252
|
-
}
|
|
242
|
+
} & {
|
|
253
243
|
type: z.ZodLiteral<"pdf">;
|
|
254
244
|
url: z.ZodString;
|
|
255
|
-
}
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
246
|
type: "pdf";
|
|
257
247
|
url: string;
|
|
258
248
|
label: string;
|
|
@@ -262,13 +252,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
262
252
|
url: string;
|
|
263
253
|
label: string;
|
|
264
254
|
text: string;
|
|
265
|
-
}>, z.ZodObject<
|
|
266
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
255
|
+
}>, z.ZodObject<{
|
|
267
256
|
label: z.ZodString;
|
|
268
257
|
text: z.ZodString;
|
|
269
|
-
}
|
|
258
|
+
} & {
|
|
270
259
|
type: z.ZodLiteral<"text">;
|
|
271
|
-
}
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
261
|
type: "text";
|
|
273
262
|
label: string;
|
|
274
263
|
text: string;
|
|
@@ -276,14 +265,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
276
265
|
type: "text";
|
|
277
266
|
label: string;
|
|
278
267
|
text: string;
|
|
279
|
-
}>, z.ZodObject<
|
|
280
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
268
|
+
}>, z.ZodObject<{
|
|
281
269
|
label: z.ZodString;
|
|
282
270
|
text: z.ZodString;
|
|
283
|
-
}
|
|
271
|
+
} & {
|
|
284
272
|
type: z.ZodLiteral<"link">;
|
|
285
273
|
url: z.ZodString;
|
|
286
|
-
}
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
287
275
|
type: "link";
|
|
288
276
|
url: string;
|
|
289
277
|
label: string;
|
|
@@ -329,23 +317,22 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
329
317
|
readOnly?: boolean | undefined;
|
|
330
318
|
}>>;
|
|
331
319
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
332
|
-
}
|
|
320
|
+
} & {
|
|
333
321
|
type: z.ZodLiteral<"task-group">;
|
|
322
|
+
description: z.ZodOptional<z.ZodString>;
|
|
334
323
|
category: z.ZodOptional<z.ZodString>;
|
|
335
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
336
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
324
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
337
325
|
title: z.ZodString;
|
|
338
326
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
339
327
|
code: z.ZodString;
|
|
340
328
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
342
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
329
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
343
330
|
label: z.ZodString;
|
|
344
331
|
text: z.ZodString;
|
|
345
|
-
}
|
|
332
|
+
} & {
|
|
346
333
|
type: z.ZodLiteral<"pdf">;
|
|
347
334
|
url: z.ZodString;
|
|
348
|
-
}
|
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
336
|
type: "pdf";
|
|
350
337
|
url: string;
|
|
351
338
|
label: string;
|
|
@@ -355,13 +342,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
355
342
|
url: string;
|
|
356
343
|
label: string;
|
|
357
344
|
text: string;
|
|
358
|
-
}>, z.ZodObject<
|
|
359
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
345
|
+
}>, z.ZodObject<{
|
|
360
346
|
label: z.ZodString;
|
|
361
347
|
text: z.ZodString;
|
|
362
|
-
}
|
|
348
|
+
} & {
|
|
363
349
|
type: z.ZodLiteral<"text">;
|
|
364
|
-
}
|
|
350
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
351
|
type: "text";
|
|
366
352
|
label: string;
|
|
367
353
|
text: string;
|
|
@@ -369,14 +355,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
369
355
|
type: "text";
|
|
370
356
|
label: string;
|
|
371
357
|
text: string;
|
|
372
|
-
}>, z.ZodObject<
|
|
373
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
358
|
+
}>, z.ZodObject<{
|
|
374
359
|
label: z.ZodString;
|
|
375
360
|
text: z.ZodString;
|
|
376
|
-
}
|
|
361
|
+
} & {
|
|
377
362
|
type: z.ZodLiteral<"link">;
|
|
378
363
|
url: z.ZodString;
|
|
379
|
-
}
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
365
|
type: "link";
|
|
381
366
|
url: string;
|
|
382
367
|
label: string;
|
|
@@ -422,23 +407,20 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
422
407
|
readOnly?: boolean | undefined;
|
|
423
408
|
}>>;
|
|
424
409
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
425
|
-
}
|
|
410
|
+
} & {
|
|
426
411
|
type: z.ZodLiteral<"task">;
|
|
427
412
|
description: z.ZodOptional<z.ZodString>;
|
|
428
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
429
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
430
|
-
title: z.ZodString;
|
|
431
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
413
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
432
414
|
code: z.ZodString;
|
|
415
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
433
416
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
434
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
435
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
417
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
436
418
|
label: z.ZodString;
|
|
437
419
|
text: z.ZodString;
|
|
438
|
-
}
|
|
420
|
+
} & {
|
|
439
421
|
type: z.ZodLiteral<"pdf">;
|
|
440
422
|
url: z.ZodString;
|
|
441
|
-
}
|
|
423
|
+
}, "strip", z.ZodTypeAny, {
|
|
442
424
|
type: "pdf";
|
|
443
425
|
url: string;
|
|
444
426
|
label: string;
|
|
@@ -448,13 +430,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
448
430
|
url: string;
|
|
449
431
|
label: string;
|
|
450
432
|
text: string;
|
|
451
|
-
}>, z.ZodObject<
|
|
452
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
433
|
+
}>, z.ZodObject<{
|
|
453
434
|
label: z.ZodString;
|
|
454
435
|
text: z.ZodString;
|
|
455
|
-
}
|
|
436
|
+
} & {
|
|
456
437
|
type: z.ZodLiteral<"text">;
|
|
457
|
-
}
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
458
439
|
type: "text";
|
|
459
440
|
label: string;
|
|
460
441
|
text: string;
|
|
@@ -462,14 +443,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
462
443
|
type: "text";
|
|
463
444
|
label: string;
|
|
464
445
|
text: string;
|
|
465
|
-
}>, z.ZodObject<
|
|
466
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
446
|
+
}>, z.ZodObject<{
|
|
467
447
|
label: z.ZodString;
|
|
468
448
|
text: z.ZodString;
|
|
469
|
-
}
|
|
449
|
+
} & {
|
|
470
450
|
type: z.ZodLiteral<"link">;
|
|
471
451
|
url: z.ZodString;
|
|
472
|
-
}
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
473
453
|
type: "link";
|
|
474
454
|
url: string;
|
|
475
455
|
label: string;
|
|
@@ -480,44 +460,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
480
460
|
label: string;
|
|
481
461
|
text: string;
|
|
482
462
|
}>]>, "many">>;
|
|
483
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
484
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
485
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
486
|
-
text: z.ZodOptional<z.ZodString>;
|
|
487
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
488
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
489
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
490
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
491
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
492
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
493
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
-
}, "strip", z.ZodTypeAny, {
|
|
495
|
-
type?: "number" | "percentage" | undefined;
|
|
496
|
-
total?: number | undefined;
|
|
497
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
498
|
-
text?: string | undefined;
|
|
499
|
-
maximumValue?: number | undefined;
|
|
500
|
-
minimumValue?: number | undefined;
|
|
501
|
-
exclusiveMaximum?: number | undefined;
|
|
502
|
-
exclusiveMinimum?: number | undefined;
|
|
503
|
-
step?: number | undefined;
|
|
504
|
-
readOnly?: boolean | undefined;
|
|
505
|
-
}, {
|
|
506
|
-
type?: "number" | "percentage" | undefined;
|
|
507
|
-
total?: number | undefined;
|
|
508
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
509
|
-
text?: string | undefined;
|
|
510
|
-
maximumValue?: number | undefined;
|
|
511
|
-
minimumValue?: number | undefined;
|
|
512
|
-
exclusiveMaximum?: number | undefined;
|
|
513
|
-
exclusiveMinimum?: number | undefined;
|
|
514
|
-
step?: number | undefined;
|
|
515
|
-
readOnly?: boolean | undefined;
|
|
516
|
-
}>>;
|
|
517
463
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
518
|
-
}
|
|
464
|
+
} & {
|
|
519
465
|
type: z.ZodLiteral<"task-item">;
|
|
520
|
-
data: z.ZodOptional<z.ZodObject<
|
|
466
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
521
467
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
522
468
|
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
523
469
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -528,9 +474,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
528
474
|
step: z.ZodOptional<z.ZodNumber>;
|
|
529
475
|
total: z.ZodOptional<z.ZodNumber>;
|
|
530
476
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
531
|
-
}
|
|
477
|
+
} & {
|
|
532
478
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
533
|
-
}
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
480
|
type?: "number" | "percentage" | undefined;
|
|
535
481
|
total?: number | undefined;
|
|
536
482
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -555,11 +501,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
555
501
|
readOnly?: boolean | undefined;
|
|
556
502
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
557
503
|
}>>;
|
|
558
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
559
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
504
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
560
505
|
label: z.ZodOptional<z.ZodString>;
|
|
561
506
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
-
}
|
|
507
|
+
} & {
|
|
563
508
|
type: z.ZodLiteral<"select-single">;
|
|
564
509
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
565
510
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -583,7 +528,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
583
528
|
outro?: string | undefined;
|
|
584
529
|
}>, "many">;
|
|
585
530
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
586
|
-
}
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
587
532
|
type: "select-single";
|
|
588
533
|
options: {
|
|
589
534
|
value: string | number | boolean | null;
|
|
@@ -611,11 +556,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
611
556
|
maximum?: number | undefined;
|
|
612
557
|
defaultValue?: string | undefined;
|
|
613
558
|
readOnly?: boolean | undefined;
|
|
614
|
-
}>, z.ZodObject<
|
|
615
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
559
|
+
}>, z.ZodObject<{
|
|
616
560
|
label: z.ZodOptional<z.ZodString>;
|
|
617
561
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
618
|
-
}
|
|
562
|
+
} & {
|
|
619
563
|
type: z.ZodLiteral<"select-multiple">;
|
|
620
564
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
621
565
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -639,7 +583,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
639
583
|
outro?: string | undefined;
|
|
640
584
|
}>, "many">;
|
|
641
585
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
642
|
-
}
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
643
587
|
type: "select-multiple";
|
|
644
588
|
options: {
|
|
645
589
|
value: string | number | boolean | null;
|
|
@@ -667,17 +611,16 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
667
611
|
maximum?: number | undefined;
|
|
668
612
|
defaultValue?: string[] | undefined;
|
|
669
613
|
readOnly?: boolean | undefined;
|
|
670
|
-
}>, z.ZodObject<
|
|
671
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
614
|
+
}>, z.ZodObject<{
|
|
672
615
|
label: z.ZodOptional<z.ZodString>;
|
|
673
616
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
674
|
-
}
|
|
617
|
+
} & {
|
|
675
618
|
type: z.ZodLiteral<"number">;
|
|
676
619
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
677
620
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
678
621
|
step: z.ZodOptional<z.ZodNumber>;
|
|
679
622
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
680
|
-
}
|
|
623
|
+
}, "strip", z.ZodTypeAny, {
|
|
681
624
|
type: "number";
|
|
682
625
|
label?: string | undefined;
|
|
683
626
|
minimum?: number | undefined;
|
|
@@ -693,11 +636,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
693
636
|
defaultValue?: number | undefined;
|
|
694
637
|
step?: number | undefined;
|
|
695
638
|
readOnly?: boolean | undefined;
|
|
696
|
-
}>, z.ZodObject<
|
|
697
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
639
|
+
}>, z.ZodObject<{
|
|
698
640
|
label: z.ZodOptional<z.ZodString>;
|
|
699
641
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
700
|
-
}
|
|
642
|
+
} & {
|
|
701
643
|
type: z.ZodLiteral<"boolean">;
|
|
702
644
|
labels: z.ZodOptional<z.ZodObject<{
|
|
703
645
|
true: z.ZodString;
|
|
@@ -710,7 +652,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
710
652
|
true: string;
|
|
711
653
|
}>>;
|
|
712
654
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
713
|
-
}
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
714
656
|
type: "boolean";
|
|
715
657
|
label?: string | undefined;
|
|
716
658
|
labels?: {
|
|
@@ -741,7 +683,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
741
683
|
hideCode?: boolean | undefined;
|
|
742
684
|
excludeFromTargets?: boolean | undefined;
|
|
743
685
|
}>>;
|
|
744
|
-
}
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
745
687
|
code: string;
|
|
746
688
|
type: "task-item";
|
|
747
689
|
definition: {
|
|
@@ -921,7 +863,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
921
863
|
}, {
|
|
922
864
|
hideCode?: boolean | undefined;
|
|
923
865
|
}>>;
|
|
924
|
-
}
|
|
866
|
+
}, "strip", z.ZodTypeAny, {
|
|
925
867
|
code: string;
|
|
926
868
|
type: "task";
|
|
927
869
|
title: string;
|
|
@@ -1182,7 +1124,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1182
1124
|
hideCode?: boolean | undefined;
|
|
1183
1125
|
hideFromHierarchy?: boolean | undefined;
|
|
1184
1126
|
}>>;
|
|
1185
|
-
}
|
|
1127
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
1128
|
code: string;
|
|
1187
1129
|
type: "task-group";
|
|
1188
1130
|
title: string;
|
|
@@ -1328,6 +1270,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1328
1270
|
hideCode?: boolean | undefined;
|
|
1329
1271
|
hideFromHierarchy?: boolean | undefined;
|
|
1330
1272
|
} | undefined;
|
|
1273
|
+
description?: string | undefined;
|
|
1331
1274
|
longFormTitle?: string | undefined;
|
|
1332
1275
|
tags?: string[] | undefined;
|
|
1333
1276
|
documentation?: ({
|
|
@@ -1493,6 +1436,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1493
1436
|
hideCode?: boolean | undefined;
|
|
1494
1437
|
hideFromHierarchy?: boolean | undefined;
|
|
1495
1438
|
} | undefined;
|
|
1439
|
+
description?: string | undefined;
|
|
1496
1440
|
longFormTitle?: string | undefined;
|
|
1497
1441
|
tags?: string[] | undefined;
|
|
1498
1442
|
documentation?: ({
|
|
@@ -1523,7 +1467,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1523
1467
|
hideCode?: boolean | undefined;
|
|
1524
1468
|
hideFromHierarchy?: boolean | undefined;
|
|
1525
1469
|
}>>;
|
|
1526
|
-
}
|
|
1470
|
+
}, "strip", z.ZodTypeAny, {
|
|
1527
1471
|
code: string;
|
|
1528
1472
|
type: "criterion";
|
|
1529
1473
|
title: string;
|
|
@@ -1673,6 +1617,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1673
1617
|
hideCode?: boolean | undefined;
|
|
1674
1618
|
hideFromHierarchy?: boolean | undefined;
|
|
1675
1619
|
} | undefined;
|
|
1620
|
+
description?: string | undefined;
|
|
1676
1621
|
longFormTitle?: string | undefined;
|
|
1677
1622
|
tags?: string[] | undefined;
|
|
1678
1623
|
documentation?: ({
|
|
@@ -1877,6 +1822,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1877
1822
|
hideCode?: boolean | undefined;
|
|
1878
1823
|
hideFromHierarchy?: boolean | undefined;
|
|
1879
1824
|
} | undefined;
|
|
1825
|
+
description?: string | undefined;
|
|
1880
1826
|
longFormTitle?: string | undefined;
|
|
1881
1827
|
tags?: string[] | undefined;
|
|
1882
1828
|
documentation?: ({
|
|
@@ -1942,7 +1888,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1942
1888
|
hideCode?: boolean | undefined;
|
|
1943
1889
|
hideFromHierarchy?: boolean | undefined;
|
|
1944
1890
|
}>>;
|
|
1945
|
-
}
|
|
1891
|
+
}, "strip", z.ZodTypeAny, {
|
|
1946
1892
|
code: string;
|
|
1947
1893
|
type: "theme";
|
|
1948
1894
|
title: string;
|
|
@@ -2096,6 +2042,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2096
2042
|
hideCode?: boolean | undefined;
|
|
2097
2043
|
hideFromHierarchy?: boolean | undefined;
|
|
2098
2044
|
} | undefined;
|
|
2045
|
+
description?: string | undefined;
|
|
2099
2046
|
longFormTitle?: string | undefined;
|
|
2100
2047
|
tags?: string[] | undefined;
|
|
2101
2048
|
documentation?: ({
|
|
@@ -2351,6 +2298,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2351
2298
|
hideCode?: boolean | undefined;
|
|
2352
2299
|
hideFromHierarchy?: boolean | undefined;
|
|
2353
2300
|
} | undefined;
|
|
2301
|
+
description?: string | undefined;
|
|
2354
2302
|
longFormTitle?: string | undefined;
|
|
2355
2303
|
tags?: string[] | undefined;
|
|
2356
2304
|
documentation?: ({
|
|
@@ -2453,14 +2401,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2453
2401
|
})[] | undefined;
|
|
2454
2402
|
sortOrder?: number | undefined;
|
|
2455
2403
|
}>, "many">;
|
|
2456
|
-
certificationDefinitions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
2457
|
-
type: z.ZodEnum<["number", "percentage"]>;
|
|
2404
|
+
certificationDefinitions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2458
2405
|
code: z.ZodString;
|
|
2459
2406
|
icon: z.ZodOptional<z.ZodString>;
|
|
2460
2407
|
name: z.ZodString;
|
|
2461
2408
|
description: z.ZodOptional<z.ZodString>;
|
|
2462
2409
|
rulesText: z.ZodString;
|
|
2463
|
-
}
|
|
2410
|
+
} & {
|
|
2464
2411
|
type: z.ZodLiteral<"number">;
|
|
2465
2412
|
rules: z.ZodObject<{
|
|
2466
2413
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2478,7 +2425,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2478
2425
|
exclusiveMaximum?: number | undefined;
|
|
2479
2426
|
exclusiveMinimum?: number | undefined;
|
|
2480
2427
|
}>;
|
|
2481
|
-
}
|
|
2428
|
+
}, "strip", z.ZodTypeAny, {
|
|
2482
2429
|
code: string;
|
|
2483
2430
|
name: string;
|
|
2484
2431
|
type: "number";
|
|
@@ -2504,14 +2451,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2504
2451
|
};
|
|
2505
2452
|
description?: string | undefined;
|
|
2506
2453
|
icon?: string | undefined;
|
|
2507
|
-
}>, z.ZodObject<
|
|
2508
|
-
type: z.ZodEnum<["number", "percentage"]>;
|
|
2454
|
+
}>, z.ZodObject<{
|
|
2509
2455
|
code: z.ZodString;
|
|
2510
2456
|
icon: z.ZodOptional<z.ZodString>;
|
|
2511
2457
|
name: z.ZodString;
|
|
2512
2458
|
description: z.ZodOptional<z.ZodString>;
|
|
2513
2459
|
rulesText: z.ZodString;
|
|
2514
|
-
}
|
|
2460
|
+
} & {
|
|
2515
2461
|
type: z.ZodLiteral<"percentage">;
|
|
2516
2462
|
rules: z.ZodObject<{
|
|
2517
2463
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2529,7 +2475,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2529
2475
|
exclusiveMaximum?: number | undefined;
|
|
2530
2476
|
exclusiveMinimum?: number | undefined;
|
|
2531
2477
|
}>;
|
|
2532
|
-
}
|
|
2478
|
+
}, "strip", z.ZodTypeAny, {
|
|
2533
2479
|
code: string;
|
|
2534
2480
|
name: string;
|
|
2535
2481
|
type: "percentage";
|
|
@@ -2556,7 +2502,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2556
2502
|
description?: string | undefined;
|
|
2557
2503
|
icon?: string | undefined;
|
|
2558
2504
|
}>]>, "many">>;
|
|
2559
|
-
}
|
|
2505
|
+
}, "strip", z.ZodTypeAny, {
|
|
2560
2506
|
version: string;
|
|
2561
2507
|
themes: {
|
|
2562
2508
|
code: string;
|
|
@@ -2712,6 +2658,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2712
2658
|
hideCode?: boolean | undefined;
|
|
2713
2659
|
hideFromHierarchy?: boolean | undefined;
|
|
2714
2660
|
} | undefined;
|
|
2661
|
+
description?: string | undefined;
|
|
2715
2662
|
longFormTitle?: string | undefined;
|
|
2716
2663
|
tags?: string[] | undefined;
|
|
2717
2664
|
documentation?: ({
|
|
@@ -2999,6 +2946,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
2999
2946
|
hideCode?: boolean | undefined;
|
|
3000
2947
|
hideFromHierarchy?: boolean | undefined;
|
|
3001
2948
|
} | undefined;
|
|
2949
|
+
description?: string | undefined;
|
|
3002
2950
|
longFormTitle?: string | undefined;
|
|
3003
2951
|
tags?: string[] | undefined;
|
|
3004
2952
|
documentation?: ({
|
|
@@ -3131,20 +3079,18 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
3131
3079
|
icon?: string | undefined;
|
|
3132
3080
|
})[] | undefined;
|
|
3133
3081
|
}>;
|
|
3134
|
-
export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3135
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
3082
|
+
export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3136
3083
|
title: z.ZodString;
|
|
3137
3084
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
3138
3085
|
code: z.ZodString;
|
|
3139
3086
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3140
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3141
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3087
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3142
3088
|
label: z.ZodString;
|
|
3143
3089
|
text: z.ZodString;
|
|
3144
|
-
}
|
|
3090
|
+
} & {
|
|
3145
3091
|
type: z.ZodLiteral<"pdf">;
|
|
3146
3092
|
url: z.ZodString;
|
|
3147
|
-
}
|
|
3093
|
+
}, "strip", z.ZodTypeAny, {
|
|
3148
3094
|
type: "pdf";
|
|
3149
3095
|
url: string;
|
|
3150
3096
|
label: string;
|
|
@@ -3154,13 +3100,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3154
3100
|
url: string;
|
|
3155
3101
|
label: string;
|
|
3156
3102
|
text: string;
|
|
3157
|
-
}>, z.ZodObject<
|
|
3158
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3103
|
+
}>, z.ZodObject<{
|
|
3159
3104
|
label: z.ZodString;
|
|
3160
3105
|
text: z.ZodString;
|
|
3161
|
-
}
|
|
3106
|
+
} & {
|
|
3162
3107
|
type: z.ZodLiteral<"text">;
|
|
3163
|
-
}
|
|
3108
|
+
}, "strip", z.ZodTypeAny, {
|
|
3164
3109
|
type: "text";
|
|
3165
3110
|
label: string;
|
|
3166
3111
|
text: string;
|
|
@@ -3168,14 +3113,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3168
3113
|
type: "text";
|
|
3169
3114
|
label: string;
|
|
3170
3115
|
text: string;
|
|
3171
|
-
}>, z.ZodObject<
|
|
3172
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3116
|
+
}>, z.ZodObject<{
|
|
3173
3117
|
label: z.ZodString;
|
|
3174
3118
|
text: z.ZodString;
|
|
3175
|
-
}
|
|
3119
|
+
} & {
|
|
3176
3120
|
type: z.ZodLiteral<"link">;
|
|
3177
3121
|
url: z.ZodString;
|
|
3178
|
-
}
|
|
3122
|
+
}, "strip", z.ZodTypeAny, {
|
|
3179
3123
|
type: "link";
|
|
3180
3124
|
url: string;
|
|
3181
3125
|
label: string;
|
|
@@ -3221,7 +3165,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3221
3165
|
readOnly?: boolean | undefined;
|
|
3222
3166
|
}>>;
|
|
3223
3167
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3224
|
-
}
|
|
3168
|
+
} & {
|
|
3225
3169
|
type: z.ZodLiteral<"theme">;
|
|
3226
3170
|
style: z.ZodOptional<z.ZodObject<{
|
|
3227
3171
|
primaryColor: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -3273,20 +3217,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3273
3217
|
blue: number;
|
|
3274
3218
|
};
|
|
3275
3219
|
}>>;
|
|
3276
|
-
items: z.ZodArray<z.ZodObject<
|
|
3277
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
3220
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3278
3221
|
title: z.ZodString;
|
|
3279
3222
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
3280
3223
|
code: z.ZodString;
|
|
3281
3224
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3282
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3283
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3225
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3284
3226
|
label: z.ZodString;
|
|
3285
3227
|
text: z.ZodString;
|
|
3286
|
-
}
|
|
3228
|
+
} & {
|
|
3287
3229
|
type: z.ZodLiteral<"pdf">;
|
|
3288
3230
|
url: z.ZodString;
|
|
3289
|
-
}
|
|
3231
|
+
}, "strip", z.ZodTypeAny, {
|
|
3290
3232
|
type: "pdf";
|
|
3291
3233
|
url: string;
|
|
3292
3234
|
label: string;
|
|
@@ -3296,13 +3238,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3296
3238
|
url: string;
|
|
3297
3239
|
label: string;
|
|
3298
3240
|
text: string;
|
|
3299
|
-
}>, z.ZodObject<
|
|
3300
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3241
|
+
}>, z.ZodObject<{
|
|
3301
3242
|
label: z.ZodString;
|
|
3302
3243
|
text: z.ZodString;
|
|
3303
|
-
}
|
|
3244
|
+
} & {
|
|
3304
3245
|
type: z.ZodLiteral<"text">;
|
|
3305
|
-
}
|
|
3246
|
+
}, "strip", z.ZodTypeAny, {
|
|
3306
3247
|
type: "text";
|
|
3307
3248
|
label: string;
|
|
3308
3249
|
text: string;
|
|
@@ -3310,14 +3251,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3310
3251
|
type: "text";
|
|
3311
3252
|
label: string;
|
|
3312
3253
|
text: string;
|
|
3313
|
-
}>, z.ZodObject<
|
|
3314
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3254
|
+
}>, z.ZodObject<{
|
|
3315
3255
|
label: z.ZodString;
|
|
3316
3256
|
text: z.ZodString;
|
|
3317
|
-
}
|
|
3257
|
+
} & {
|
|
3318
3258
|
type: z.ZodLiteral<"link">;
|
|
3319
3259
|
url: z.ZodString;
|
|
3320
|
-
}
|
|
3260
|
+
}, "strip", z.ZodTypeAny, {
|
|
3321
3261
|
type: "link";
|
|
3322
3262
|
url: string;
|
|
3323
3263
|
label: string;
|
|
@@ -3363,22 +3303,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3363
3303
|
readOnly?: boolean | undefined;
|
|
3364
3304
|
}>>;
|
|
3365
3305
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3366
|
-
}
|
|
3306
|
+
} & {
|
|
3367
3307
|
type: z.ZodLiteral<"criterion">;
|
|
3368
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
3369
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
3308
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
3370
3309
|
title: z.ZodString;
|
|
3371
3310
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
3372
3311
|
code: z.ZodString;
|
|
3373
3312
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3374
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3375
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3313
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3376
3314
|
label: z.ZodString;
|
|
3377
3315
|
text: z.ZodString;
|
|
3378
|
-
}
|
|
3316
|
+
} & {
|
|
3379
3317
|
type: z.ZodLiteral<"pdf">;
|
|
3380
3318
|
url: z.ZodString;
|
|
3381
|
-
}
|
|
3319
|
+
}, "strip", z.ZodTypeAny, {
|
|
3382
3320
|
type: "pdf";
|
|
3383
3321
|
url: string;
|
|
3384
3322
|
label: string;
|
|
@@ -3388,13 +3326,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3388
3326
|
url: string;
|
|
3389
3327
|
label: string;
|
|
3390
3328
|
text: string;
|
|
3391
|
-
}>, z.ZodObject<
|
|
3392
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3329
|
+
}>, z.ZodObject<{
|
|
3393
3330
|
label: z.ZodString;
|
|
3394
3331
|
text: z.ZodString;
|
|
3395
|
-
}
|
|
3332
|
+
} & {
|
|
3396
3333
|
type: z.ZodLiteral<"text">;
|
|
3397
|
-
}
|
|
3334
|
+
}, "strip", z.ZodTypeAny, {
|
|
3398
3335
|
type: "text";
|
|
3399
3336
|
label: string;
|
|
3400
3337
|
text: string;
|
|
@@ -3402,14 +3339,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3402
3339
|
type: "text";
|
|
3403
3340
|
label: string;
|
|
3404
3341
|
text: string;
|
|
3405
|
-
}>, z.ZodObject<
|
|
3406
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3342
|
+
}>, z.ZodObject<{
|
|
3407
3343
|
label: z.ZodString;
|
|
3408
3344
|
text: z.ZodString;
|
|
3409
|
-
}
|
|
3345
|
+
} & {
|
|
3410
3346
|
type: z.ZodLiteral<"link">;
|
|
3411
3347
|
url: z.ZodString;
|
|
3412
|
-
}
|
|
3348
|
+
}, "strip", z.ZodTypeAny, {
|
|
3413
3349
|
type: "link";
|
|
3414
3350
|
url: string;
|
|
3415
3351
|
label: string;
|
|
@@ -3455,23 +3391,22 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3455
3391
|
readOnly?: boolean | undefined;
|
|
3456
3392
|
}>>;
|
|
3457
3393
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3458
|
-
}
|
|
3394
|
+
} & {
|
|
3459
3395
|
type: z.ZodLiteral<"task-group">;
|
|
3396
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3460
3397
|
category: z.ZodOptional<z.ZodString>;
|
|
3461
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
3462
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
3398
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
3463
3399
|
title: z.ZodString;
|
|
3464
3400
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
3465
3401
|
code: z.ZodString;
|
|
3466
3402
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3467
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3468
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3403
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3469
3404
|
label: z.ZodString;
|
|
3470
3405
|
text: z.ZodString;
|
|
3471
|
-
}
|
|
3406
|
+
} & {
|
|
3472
3407
|
type: z.ZodLiteral<"pdf">;
|
|
3473
3408
|
url: z.ZodString;
|
|
3474
|
-
}
|
|
3409
|
+
}, "strip", z.ZodTypeAny, {
|
|
3475
3410
|
type: "pdf";
|
|
3476
3411
|
url: string;
|
|
3477
3412
|
label: string;
|
|
@@ -3481,13 +3416,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3481
3416
|
url: string;
|
|
3482
3417
|
label: string;
|
|
3483
3418
|
text: string;
|
|
3484
|
-
}>, z.ZodObject<
|
|
3485
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3419
|
+
}>, z.ZodObject<{
|
|
3486
3420
|
label: z.ZodString;
|
|
3487
3421
|
text: z.ZodString;
|
|
3488
|
-
}
|
|
3422
|
+
} & {
|
|
3489
3423
|
type: z.ZodLiteral<"text">;
|
|
3490
|
-
}
|
|
3424
|
+
}, "strip", z.ZodTypeAny, {
|
|
3491
3425
|
type: "text";
|
|
3492
3426
|
label: string;
|
|
3493
3427
|
text: string;
|
|
@@ -3495,14 +3429,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3495
3429
|
type: "text";
|
|
3496
3430
|
label: string;
|
|
3497
3431
|
text: string;
|
|
3498
|
-
}>, z.ZodObject<
|
|
3499
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3432
|
+
}>, z.ZodObject<{
|
|
3500
3433
|
label: z.ZodString;
|
|
3501
3434
|
text: z.ZodString;
|
|
3502
|
-
}
|
|
3435
|
+
} & {
|
|
3503
3436
|
type: z.ZodLiteral<"link">;
|
|
3504
3437
|
url: z.ZodString;
|
|
3505
|
-
}
|
|
3438
|
+
}, "strip", z.ZodTypeAny, {
|
|
3506
3439
|
type: "link";
|
|
3507
3440
|
url: string;
|
|
3508
3441
|
label: string;
|
|
@@ -3548,23 +3481,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3548
3481
|
readOnly?: boolean | undefined;
|
|
3549
3482
|
}>>;
|
|
3550
3483
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3551
|
-
}
|
|
3484
|
+
} & {
|
|
3552
3485
|
type: z.ZodLiteral<"task">;
|
|
3553
3486
|
description: z.ZodOptional<z.ZodString>;
|
|
3554
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
3555
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
3556
|
-
title: z.ZodString;
|
|
3557
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
3487
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
3558
3488
|
code: z.ZodString;
|
|
3489
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
3559
3490
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3560
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3561
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3491
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3562
3492
|
label: z.ZodString;
|
|
3563
3493
|
text: z.ZodString;
|
|
3564
|
-
}
|
|
3494
|
+
} & {
|
|
3565
3495
|
type: z.ZodLiteral<"pdf">;
|
|
3566
3496
|
url: z.ZodString;
|
|
3567
|
-
}
|
|
3497
|
+
}, "strip", z.ZodTypeAny, {
|
|
3568
3498
|
type: "pdf";
|
|
3569
3499
|
url: string;
|
|
3570
3500
|
label: string;
|
|
@@ -3574,13 +3504,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3574
3504
|
url: string;
|
|
3575
3505
|
label: string;
|
|
3576
3506
|
text: string;
|
|
3577
|
-
}>, z.ZodObject<
|
|
3578
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3507
|
+
}>, z.ZodObject<{
|
|
3579
3508
|
label: z.ZodString;
|
|
3580
3509
|
text: z.ZodString;
|
|
3581
|
-
}
|
|
3510
|
+
} & {
|
|
3582
3511
|
type: z.ZodLiteral<"text">;
|
|
3583
|
-
}
|
|
3512
|
+
}, "strip", z.ZodTypeAny, {
|
|
3584
3513
|
type: "text";
|
|
3585
3514
|
label: string;
|
|
3586
3515
|
text: string;
|
|
@@ -3588,14 +3517,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3588
3517
|
type: "text";
|
|
3589
3518
|
label: string;
|
|
3590
3519
|
text: string;
|
|
3591
|
-
}>, z.ZodObject<
|
|
3592
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
3520
|
+
}>, z.ZodObject<{
|
|
3593
3521
|
label: z.ZodString;
|
|
3594
3522
|
text: z.ZodString;
|
|
3595
|
-
}
|
|
3523
|
+
} & {
|
|
3596
3524
|
type: z.ZodLiteral<"link">;
|
|
3597
3525
|
url: z.ZodString;
|
|
3598
|
-
}
|
|
3526
|
+
}, "strip", z.ZodTypeAny, {
|
|
3599
3527
|
type: "link";
|
|
3600
3528
|
url: string;
|
|
3601
3529
|
label: string;
|
|
@@ -3606,44 +3534,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3606
3534
|
label: string;
|
|
3607
3535
|
text: string;
|
|
3608
3536
|
}>]>, "many">>;
|
|
3609
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
3610
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
3611
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
3612
|
-
text: z.ZodOptional<z.ZodString>;
|
|
3613
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
3614
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
3615
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
3616
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
3617
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
3618
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
3619
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3620
|
-
}, "strip", z.ZodTypeAny, {
|
|
3621
|
-
type?: "number" | "percentage" | undefined;
|
|
3622
|
-
total?: number | undefined;
|
|
3623
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
3624
|
-
text?: string | undefined;
|
|
3625
|
-
maximumValue?: number | undefined;
|
|
3626
|
-
minimumValue?: number | undefined;
|
|
3627
|
-
exclusiveMaximum?: number | undefined;
|
|
3628
|
-
exclusiveMinimum?: number | undefined;
|
|
3629
|
-
step?: number | undefined;
|
|
3630
|
-
readOnly?: boolean | undefined;
|
|
3631
|
-
}, {
|
|
3632
|
-
type?: "number" | "percentage" | undefined;
|
|
3633
|
-
total?: number | undefined;
|
|
3634
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
3635
|
-
text?: string | undefined;
|
|
3636
|
-
maximumValue?: number | undefined;
|
|
3637
|
-
minimumValue?: number | undefined;
|
|
3638
|
-
exclusiveMaximum?: number | undefined;
|
|
3639
|
-
exclusiveMinimum?: number | undefined;
|
|
3640
|
-
step?: number | undefined;
|
|
3641
|
-
readOnly?: boolean | undefined;
|
|
3642
|
-
}>>;
|
|
3643
3537
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3644
|
-
}
|
|
3538
|
+
} & {
|
|
3645
3539
|
type: z.ZodLiteral<"task-item">;
|
|
3646
|
-
data: z.ZodOptional<z.ZodObject<
|
|
3540
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
3647
3541
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
3648
3542
|
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
3649
3543
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -3654,9 +3548,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3654
3548
|
step: z.ZodOptional<z.ZodNumber>;
|
|
3655
3549
|
total: z.ZodOptional<z.ZodNumber>;
|
|
3656
3550
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3657
|
-
}
|
|
3551
|
+
} & {
|
|
3658
3552
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
3659
|
-
}
|
|
3553
|
+
}, "strip", z.ZodTypeAny, {
|
|
3660
3554
|
type?: "number" | "percentage" | undefined;
|
|
3661
3555
|
total?: number | undefined;
|
|
3662
3556
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -3681,11 +3575,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3681
3575
|
readOnly?: boolean | undefined;
|
|
3682
3576
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
3683
3577
|
}>>;
|
|
3684
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
3685
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
3578
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3686
3579
|
label: z.ZodOptional<z.ZodString>;
|
|
3687
3580
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3688
|
-
}
|
|
3581
|
+
} & {
|
|
3689
3582
|
type: z.ZodLiteral<"select-single">;
|
|
3690
3583
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
3691
3584
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3709,7 +3602,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3709
3602
|
outro?: string | undefined;
|
|
3710
3603
|
}>, "many">;
|
|
3711
3604
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3712
|
-
}
|
|
3605
|
+
}, "strip", z.ZodTypeAny, {
|
|
3713
3606
|
type: "select-single";
|
|
3714
3607
|
options: {
|
|
3715
3608
|
value: string | number | boolean | null;
|
|
@@ -3737,11 +3630,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3737
3630
|
maximum?: number | undefined;
|
|
3738
3631
|
defaultValue?: string | undefined;
|
|
3739
3632
|
readOnly?: boolean | undefined;
|
|
3740
|
-
}>, z.ZodObject<
|
|
3741
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
3633
|
+
}>, z.ZodObject<{
|
|
3742
3634
|
label: z.ZodOptional<z.ZodString>;
|
|
3743
3635
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3744
|
-
}
|
|
3636
|
+
} & {
|
|
3745
3637
|
type: z.ZodLiteral<"select-multiple">;
|
|
3746
3638
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
3747
3639
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3765,7 +3657,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3765
3657
|
outro?: string | undefined;
|
|
3766
3658
|
}>, "many">;
|
|
3767
3659
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3768
|
-
}
|
|
3660
|
+
}, "strip", z.ZodTypeAny, {
|
|
3769
3661
|
type: "select-multiple";
|
|
3770
3662
|
options: {
|
|
3771
3663
|
value: string | number | boolean | null;
|
|
@@ -3793,17 +3685,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3793
3685
|
maximum?: number | undefined;
|
|
3794
3686
|
defaultValue?: string[] | undefined;
|
|
3795
3687
|
readOnly?: boolean | undefined;
|
|
3796
|
-
}>, z.ZodObject<
|
|
3797
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
3688
|
+
}>, z.ZodObject<{
|
|
3798
3689
|
label: z.ZodOptional<z.ZodString>;
|
|
3799
3690
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3800
|
-
}
|
|
3691
|
+
} & {
|
|
3801
3692
|
type: z.ZodLiteral<"number">;
|
|
3802
3693
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
3803
3694
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
3804
3695
|
step: z.ZodOptional<z.ZodNumber>;
|
|
3805
3696
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
3806
|
-
}
|
|
3697
|
+
}, "strip", z.ZodTypeAny, {
|
|
3807
3698
|
type: "number";
|
|
3808
3699
|
label?: string | undefined;
|
|
3809
3700
|
minimum?: number | undefined;
|
|
@@ -3819,11 +3710,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3819
3710
|
defaultValue?: number | undefined;
|
|
3820
3711
|
step?: number | undefined;
|
|
3821
3712
|
readOnly?: boolean | undefined;
|
|
3822
|
-
}>, z.ZodObject<
|
|
3823
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
3713
|
+
}>, z.ZodObject<{
|
|
3824
3714
|
label: z.ZodOptional<z.ZodString>;
|
|
3825
3715
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3826
|
-
}
|
|
3716
|
+
} & {
|
|
3827
3717
|
type: z.ZodLiteral<"boolean">;
|
|
3828
3718
|
labels: z.ZodOptional<z.ZodObject<{
|
|
3829
3719
|
true: z.ZodString;
|
|
@@ -3836,7 +3726,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3836
3726
|
true: string;
|
|
3837
3727
|
}>>;
|
|
3838
3728
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
3839
|
-
}
|
|
3729
|
+
}, "strip", z.ZodTypeAny, {
|
|
3840
3730
|
type: "boolean";
|
|
3841
3731
|
label?: string | undefined;
|
|
3842
3732
|
labels?: {
|
|
@@ -3867,7 +3757,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
3867
3757
|
hideCode?: boolean | undefined;
|
|
3868
3758
|
excludeFromTargets?: boolean | undefined;
|
|
3869
3759
|
}>>;
|
|
3870
|
-
}
|
|
3760
|
+
}, "strip", z.ZodTypeAny, {
|
|
3871
3761
|
code: string;
|
|
3872
3762
|
type: "task-item";
|
|
3873
3763
|
definition: {
|
|
@@ -4047,7 +3937,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
4047
3937
|
}, {
|
|
4048
3938
|
hideCode?: boolean | undefined;
|
|
4049
3939
|
}>>;
|
|
4050
|
-
}
|
|
3940
|
+
}, "strip", z.ZodTypeAny, {
|
|
4051
3941
|
code: string;
|
|
4052
3942
|
type: "task";
|
|
4053
3943
|
title: string;
|
|
@@ -4308,7 +4198,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
4308
4198
|
hideCode?: boolean | undefined;
|
|
4309
4199
|
hideFromHierarchy?: boolean | undefined;
|
|
4310
4200
|
}>>;
|
|
4311
|
-
}
|
|
4201
|
+
}, "strip", z.ZodTypeAny, {
|
|
4312
4202
|
code: string;
|
|
4313
4203
|
type: "task-group";
|
|
4314
4204
|
title: string;
|
|
@@ -4454,6 +4344,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
4454
4344
|
hideCode?: boolean | undefined;
|
|
4455
4345
|
hideFromHierarchy?: boolean | undefined;
|
|
4456
4346
|
} | undefined;
|
|
4347
|
+
description?: string | undefined;
|
|
4457
4348
|
longFormTitle?: string | undefined;
|
|
4458
4349
|
tags?: string[] | undefined;
|
|
4459
4350
|
documentation?: ({
|
|
@@ -4619,6 +4510,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
4619
4510
|
hideCode?: boolean | undefined;
|
|
4620
4511
|
hideFromHierarchy?: boolean | undefined;
|
|
4621
4512
|
} | undefined;
|
|
4513
|
+
description?: string | undefined;
|
|
4622
4514
|
longFormTitle?: string | undefined;
|
|
4623
4515
|
tags?: string[] | undefined;
|
|
4624
4516
|
documentation?: ({
|
|
@@ -4649,7 +4541,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
4649
4541
|
hideCode?: boolean | undefined;
|
|
4650
4542
|
hideFromHierarchy?: boolean | undefined;
|
|
4651
4543
|
}>>;
|
|
4652
|
-
}
|
|
4544
|
+
}, "strip", z.ZodTypeAny, {
|
|
4653
4545
|
code: string;
|
|
4654
4546
|
type: "criterion";
|
|
4655
4547
|
title: string;
|
|
@@ -4799,6 +4691,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
4799
4691
|
hideCode?: boolean | undefined;
|
|
4800
4692
|
hideFromHierarchy?: boolean | undefined;
|
|
4801
4693
|
} | undefined;
|
|
4694
|
+
description?: string | undefined;
|
|
4802
4695
|
longFormTitle?: string | undefined;
|
|
4803
4696
|
tags?: string[] | undefined;
|
|
4804
4697
|
documentation?: ({
|
|
@@ -5003,6 +4896,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5003
4896
|
hideCode?: boolean | undefined;
|
|
5004
4897
|
hideFromHierarchy?: boolean | undefined;
|
|
5005
4898
|
} | undefined;
|
|
4899
|
+
description?: string | undefined;
|
|
5006
4900
|
longFormTitle?: string | undefined;
|
|
5007
4901
|
tags?: string[] | undefined;
|
|
5008
4902
|
documentation?: ({
|
|
@@ -5068,7 +4962,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5068
4962
|
hideCode?: boolean | undefined;
|
|
5069
4963
|
hideFromHierarchy?: boolean | undefined;
|
|
5070
4964
|
}>>;
|
|
5071
|
-
}
|
|
4965
|
+
}, "strip", z.ZodTypeAny, {
|
|
5072
4966
|
code: string;
|
|
5073
4967
|
type: "theme";
|
|
5074
4968
|
title: string;
|
|
@@ -5222,6 +5116,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5222
5116
|
hideCode?: boolean | undefined;
|
|
5223
5117
|
hideFromHierarchy?: boolean | undefined;
|
|
5224
5118
|
} | undefined;
|
|
5119
|
+
description?: string | undefined;
|
|
5225
5120
|
longFormTitle?: string | undefined;
|
|
5226
5121
|
tags?: string[] | undefined;
|
|
5227
5122
|
documentation?: ({
|
|
@@ -5477,6 +5372,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5477
5372
|
hideCode?: boolean | undefined;
|
|
5478
5373
|
hideFromHierarchy?: boolean | undefined;
|
|
5479
5374
|
} | undefined;
|
|
5375
|
+
description?: string | undefined;
|
|
5480
5376
|
longFormTitle?: string | undefined;
|
|
5481
5377
|
tags?: string[] | undefined;
|
|
5482
5378
|
documentation?: ({
|
|
@@ -5578,20 +5474,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5578
5474
|
text: string;
|
|
5579
5475
|
})[] | undefined;
|
|
5580
5476
|
sortOrder?: number | undefined;
|
|
5581
|
-
}>, z.ZodObject<
|
|
5582
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
5477
|
+
}>, z.ZodObject<{
|
|
5583
5478
|
title: z.ZodString;
|
|
5584
5479
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
5585
5480
|
code: z.ZodString;
|
|
5586
5481
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5587
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
5588
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5482
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5589
5483
|
label: z.ZodString;
|
|
5590
5484
|
text: z.ZodString;
|
|
5591
|
-
}
|
|
5485
|
+
} & {
|
|
5592
5486
|
type: z.ZodLiteral<"pdf">;
|
|
5593
5487
|
url: z.ZodString;
|
|
5594
|
-
}
|
|
5488
|
+
}, "strip", z.ZodTypeAny, {
|
|
5595
5489
|
type: "pdf";
|
|
5596
5490
|
url: string;
|
|
5597
5491
|
label: string;
|
|
@@ -5601,13 +5495,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5601
5495
|
url: string;
|
|
5602
5496
|
label: string;
|
|
5603
5497
|
text: string;
|
|
5604
|
-
}>, z.ZodObject<
|
|
5605
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5498
|
+
}>, z.ZodObject<{
|
|
5606
5499
|
label: z.ZodString;
|
|
5607
5500
|
text: z.ZodString;
|
|
5608
|
-
}
|
|
5501
|
+
} & {
|
|
5609
5502
|
type: z.ZodLiteral<"text">;
|
|
5610
|
-
}
|
|
5503
|
+
}, "strip", z.ZodTypeAny, {
|
|
5611
5504
|
type: "text";
|
|
5612
5505
|
label: string;
|
|
5613
5506
|
text: string;
|
|
@@ -5615,14 +5508,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5615
5508
|
type: "text";
|
|
5616
5509
|
label: string;
|
|
5617
5510
|
text: string;
|
|
5618
|
-
}>, z.ZodObject<
|
|
5619
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5511
|
+
}>, z.ZodObject<{
|
|
5620
5512
|
label: z.ZodString;
|
|
5621
5513
|
text: z.ZodString;
|
|
5622
|
-
}
|
|
5514
|
+
} & {
|
|
5623
5515
|
type: z.ZodLiteral<"link">;
|
|
5624
5516
|
url: z.ZodString;
|
|
5625
|
-
}
|
|
5517
|
+
}, "strip", z.ZodTypeAny, {
|
|
5626
5518
|
type: "link";
|
|
5627
5519
|
url: string;
|
|
5628
5520
|
label: string;
|
|
@@ -5668,22 +5560,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5668
5560
|
readOnly?: boolean | undefined;
|
|
5669
5561
|
}>>;
|
|
5670
5562
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
5671
|
-
}
|
|
5563
|
+
} & {
|
|
5672
5564
|
type: z.ZodLiteral<"criterion">;
|
|
5673
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
5674
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
5565
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
5675
5566
|
title: z.ZodString;
|
|
5676
5567
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
5677
5568
|
code: z.ZodString;
|
|
5678
5569
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5679
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
5680
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5570
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5681
5571
|
label: z.ZodString;
|
|
5682
5572
|
text: z.ZodString;
|
|
5683
|
-
}
|
|
5573
|
+
} & {
|
|
5684
5574
|
type: z.ZodLiteral<"pdf">;
|
|
5685
5575
|
url: z.ZodString;
|
|
5686
|
-
}
|
|
5576
|
+
}, "strip", z.ZodTypeAny, {
|
|
5687
5577
|
type: "pdf";
|
|
5688
5578
|
url: string;
|
|
5689
5579
|
label: string;
|
|
@@ -5693,13 +5583,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5693
5583
|
url: string;
|
|
5694
5584
|
label: string;
|
|
5695
5585
|
text: string;
|
|
5696
|
-
}>, z.ZodObject<
|
|
5697
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5586
|
+
}>, z.ZodObject<{
|
|
5698
5587
|
label: z.ZodString;
|
|
5699
5588
|
text: z.ZodString;
|
|
5700
|
-
}
|
|
5589
|
+
} & {
|
|
5701
5590
|
type: z.ZodLiteral<"text">;
|
|
5702
|
-
}
|
|
5591
|
+
}, "strip", z.ZodTypeAny, {
|
|
5703
5592
|
type: "text";
|
|
5704
5593
|
label: string;
|
|
5705
5594
|
text: string;
|
|
@@ -5707,14 +5596,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5707
5596
|
type: "text";
|
|
5708
5597
|
label: string;
|
|
5709
5598
|
text: string;
|
|
5710
|
-
}>, z.ZodObject<
|
|
5711
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5599
|
+
}>, z.ZodObject<{
|
|
5712
5600
|
label: z.ZodString;
|
|
5713
5601
|
text: z.ZodString;
|
|
5714
|
-
}
|
|
5602
|
+
} & {
|
|
5715
5603
|
type: z.ZodLiteral<"link">;
|
|
5716
5604
|
url: z.ZodString;
|
|
5717
|
-
}
|
|
5605
|
+
}, "strip", z.ZodTypeAny, {
|
|
5718
5606
|
type: "link";
|
|
5719
5607
|
url: string;
|
|
5720
5608
|
label: string;
|
|
@@ -5760,23 +5648,22 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5760
5648
|
readOnly?: boolean | undefined;
|
|
5761
5649
|
}>>;
|
|
5762
5650
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
5763
|
-
}
|
|
5651
|
+
} & {
|
|
5764
5652
|
type: z.ZodLiteral<"task-group">;
|
|
5653
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5765
5654
|
category: z.ZodOptional<z.ZodString>;
|
|
5766
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
5767
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
5655
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
5768
5656
|
title: z.ZodString;
|
|
5769
5657
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
5770
5658
|
code: z.ZodString;
|
|
5771
5659
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5772
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
5773
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5660
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5774
5661
|
label: z.ZodString;
|
|
5775
5662
|
text: z.ZodString;
|
|
5776
|
-
}
|
|
5663
|
+
} & {
|
|
5777
5664
|
type: z.ZodLiteral<"pdf">;
|
|
5778
5665
|
url: z.ZodString;
|
|
5779
|
-
}
|
|
5666
|
+
}, "strip", z.ZodTypeAny, {
|
|
5780
5667
|
type: "pdf";
|
|
5781
5668
|
url: string;
|
|
5782
5669
|
label: string;
|
|
@@ -5786,13 +5673,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5786
5673
|
url: string;
|
|
5787
5674
|
label: string;
|
|
5788
5675
|
text: string;
|
|
5789
|
-
}>, z.ZodObject<
|
|
5790
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5676
|
+
}>, z.ZodObject<{
|
|
5791
5677
|
label: z.ZodString;
|
|
5792
5678
|
text: z.ZodString;
|
|
5793
|
-
}
|
|
5679
|
+
} & {
|
|
5794
5680
|
type: z.ZodLiteral<"text">;
|
|
5795
|
-
}
|
|
5681
|
+
}, "strip", z.ZodTypeAny, {
|
|
5796
5682
|
type: "text";
|
|
5797
5683
|
label: string;
|
|
5798
5684
|
text: string;
|
|
@@ -5800,14 +5686,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5800
5686
|
type: "text";
|
|
5801
5687
|
label: string;
|
|
5802
5688
|
text: string;
|
|
5803
|
-
}>, z.ZodObject<
|
|
5804
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5689
|
+
}>, z.ZodObject<{
|
|
5805
5690
|
label: z.ZodString;
|
|
5806
5691
|
text: z.ZodString;
|
|
5807
|
-
}
|
|
5692
|
+
} & {
|
|
5808
5693
|
type: z.ZodLiteral<"link">;
|
|
5809
5694
|
url: z.ZodString;
|
|
5810
|
-
}
|
|
5695
|
+
}, "strip", z.ZodTypeAny, {
|
|
5811
5696
|
type: "link";
|
|
5812
5697
|
url: string;
|
|
5813
5698
|
label: string;
|
|
@@ -5853,23 +5738,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5853
5738
|
readOnly?: boolean | undefined;
|
|
5854
5739
|
}>>;
|
|
5855
5740
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
5856
|
-
}
|
|
5741
|
+
} & {
|
|
5857
5742
|
type: z.ZodLiteral<"task">;
|
|
5858
5743
|
description: z.ZodOptional<z.ZodString>;
|
|
5859
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
5860
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
5861
|
-
title: z.ZodString;
|
|
5862
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
5744
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
5863
5745
|
code: z.ZodString;
|
|
5746
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
5864
5747
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5865
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
5866
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5748
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5867
5749
|
label: z.ZodString;
|
|
5868
5750
|
text: z.ZodString;
|
|
5869
|
-
}
|
|
5751
|
+
} & {
|
|
5870
5752
|
type: z.ZodLiteral<"pdf">;
|
|
5871
5753
|
url: z.ZodString;
|
|
5872
|
-
}
|
|
5754
|
+
}, "strip", z.ZodTypeAny, {
|
|
5873
5755
|
type: "pdf";
|
|
5874
5756
|
url: string;
|
|
5875
5757
|
label: string;
|
|
@@ -5879,13 +5761,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5879
5761
|
url: string;
|
|
5880
5762
|
label: string;
|
|
5881
5763
|
text: string;
|
|
5882
|
-
}>, z.ZodObject<
|
|
5883
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5764
|
+
}>, z.ZodObject<{
|
|
5884
5765
|
label: z.ZodString;
|
|
5885
5766
|
text: z.ZodString;
|
|
5886
|
-
}
|
|
5767
|
+
} & {
|
|
5887
5768
|
type: z.ZodLiteral<"text">;
|
|
5888
|
-
}
|
|
5769
|
+
}, "strip", z.ZodTypeAny, {
|
|
5889
5770
|
type: "text";
|
|
5890
5771
|
label: string;
|
|
5891
5772
|
text: string;
|
|
@@ -5893,14 +5774,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5893
5774
|
type: "text";
|
|
5894
5775
|
label: string;
|
|
5895
5776
|
text: string;
|
|
5896
|
-
}>, z.ZodObject<
|
|
5897
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
5777
|
+
}>, z.ZodObject<{
|
|
5898
5778
|
label: z.ZodString;
|
|
5899
5779
|
text: z.ZodString;
|
|
5900
|
-
}
|
|
5780
|
+
} & {
|
|
5901
5781
|
type: z.ZodLiteral<"link">;
|
|
5902
5782
|
url: z.ZodString;
|
|
5903
|
-
}
|
|
5783
|
+
}, "strip", z.ZodTypeAny, {
|
|
5904
5784
|
type: "link";
|
|
5905
5785
|
url: string;
|
|
5906
5786
|
label: string;
|
|
@@ -5911,44 +5791,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5911
5791
|
label: string;
|
|
5912
5792
|
text: string;
|
|
5913
5793
|
}>]>, "many">>;
|
|
5914
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
5915
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
5916
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
5917
|
-
text: z.ZodOptional<z.ZodString>;
|
|
5918
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
5919
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
5920
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
5921
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
5922
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
5923
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
5924
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5925
|
-
}, "strip", z.ZodTypeAny, {
|
|
5926
|
-
type?: "number" | "percentage" | undefined;
|
|
5927
|
-
total?: number | undefined;
|
|
5928
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
5929
|
-
text?: string | undefined;
|
|
5930
|
-
maximumValue?: number | undefined;
|
|
5931
|
-
minimumValue?: number | undefined;
|
|
5932
|
-
exclusiveMaximum?: number | undefined;
|
|
5933
|
-
exclusiveMinimum?: number | undefined;
|
|
5934
|
-
step?: number | undefined;
|
|
5935
|
-
readOnly?: boolean | undefined;
|
|
5936
|
-
}, {
|
|
5937
|
-
type?: "number" | "percentage" | undefined;
|
|
5938
|
-
total?: number | undefined;
|
|
5939
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
5940
|
-
text?: string | undefined;
|
|
5941
|
-
maximumValue?: number | undefined;
|
|
5942
|
-
minimumValue?: number | undefined;
|
|
5943
|
-
exclusiveMaximum?: number | undefined;
|
|
5944
|
-
exclusiveMinimum?: number | undefined;
|
|
5945
|
-
step?: number | undefined;
|
|
5946
|
-
readOnly?: boolean | undefined;
|
|
5947
|
-
}>>;
|
|
5948
5794
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
5949
|
-
}
|
|
5795
|
+
} & {
|
|
5950
5796
|
type: z.ZodLiteral<"task-item">;
|
|
5951
|
-
data: z.ZodOptional<z.ZodObject<
|
|
5797
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
5952
5798
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
5953
5799
|
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
5954
5800
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -5959,9 +5805,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5959
5805
|
step: z.ZodOptional<z.ZodNumber>;
|
|
5960
5806
|
total: z.ZodOptional<z.ZodNumber>;
|
|
5961
5807
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5962
|
-
}
|
|
5808
|
+
} & {
|
|
5963
5809
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
5964
|
-
}
|
|
5810
|
+
}, "strip", z.ZodTypeAny, {
|
|
5965
5811
|
type?: "number" | "percentage" | undefined;
|
|
5966
5812
|
total?: number | undefined;
|
|
5967
5813
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -5986,11 +5832,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
5986
5832
|
readOnly?: boolean | undefined;
|
|
5987
5833
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
5988
5834
|
}>>;
|
|
5989
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
5990
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
5835
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5991
5836
|
label: z.ZodOptional<z.ZodString>;
|
|
5992
5837
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
5993
|
-
}
|
|
5838
|
+
} & {
|
|
5994
5839
|
type: z.ZodLiteral<"select-single">;
|
|
5995
5840
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
5996
5841
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6014,7 +5859,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6014
5859
|
outro?: string | undefined;
|
|
6015
5860
|
}>, "many">;
|
|
6016
5861
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
6017
|
-
}
|
|
5862
|
+
}, "strip", z.ZodTypeAny, {
|
|
6018
5863
|
type: "select-single";
|
|
6019
5864
|
options: {
|
|
6020
5865
|
value: string | number | boolean | null;
|
|
@@ -6042,11 +5887,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6042
5887
|
maximum?: number | undefined;
|
|
6043
5888
|
defaultValue?: string | undefined;
|
|
6044
5889
|
readOnly?: boolean | undefined;
|
|
6045
|
-
}>, z.ZodObject<
|
|
6046
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
5890
|
+
}>, z.ZodObject<{
|
|
6047
5891
|
label: z.ZodOptional<z.ZodString>;
|
|
6048
5892
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6049
|
-
}
|
|
5893
|
+
} & {
|
|
6050
5894
|
type: z.ZodLiteral<"select-multiple">;
|
|
6051
5895
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
6052
5896
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6070,7 +5914,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6070
5914
|
outro?: string | undefined;
|
|
6071
5915
|
}>, "many">;
|
|
6072
5916
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6073
|
-
}
|
|
5917
|
+
}, "strip", z.ZodTypeAny, {
|
|
6074
5918
|
type: "select-multiple";
|
|
6075
5919
|
options: {
|
|
6076
5920
|
value: string | number | boolean | null;
|
|
@@ -6098,17 +5942,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6098
5942
|
maximum?: number | undefined;
|
|
6099
5943
|
defaultValue?: string[] | undefined;
|
|
6100
5944
|
readOnly?: boolean | undefined;
|
|
6101
|
-
}>, z.ZodObject<
|
|
6102
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
5945
|
+
}>, z.ZodObject<{
|
|
6103
5946
|
label: z.ZodOptional<z.ZodString>;
|
|
6104
5947
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6105
|
-
}
|
|
5948
|
+
} & {
|
|
6106
5949
|
type: z.ZodLiteral<"number">;
|
|
6107
5950
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
6108
5951
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
6109
5952
|
step: z.ZodOptional<z.ZodNumber>;
|
|
6110
5953
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
6111
|
-
}
|
|
5954
|
+
}, "strip", z.ZodTypeAny, {
|
|
6112
5955
|
type: "number";
|
|
6113
5956
|
label?: string | undefined;
|
|
6114
5957
|
minimum?: number | undefined;
|
|
@@ -6124,11 +5967,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6124
5967
|
defaultValue?: number | undefined;
|
|
6125
5968
|
step?: number | undefined;
|
|
6126
5969
|
readOnly?: boolean | undefined;
|
|
6127
|
-
}>, z.ZodObject<
|
|
6128
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
5970
|
+
}>, z.ZodObject<{
|
|
6129
5971
|
label: z.ZodOptional<z.ZodString>;
|
|
6130
5972
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6131
|
-
}
|
|
5973
|
+
} & {
|
|
6132
5974
|
type: z.ZodLiteral<"boolean">;
|
|
6133
5975
|
labels: z.ZodOptional<z.ZodObject<{
|
|
6134
5976
|
true: z.ZodString;
|
|
@@ -6141,7 +5983,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6141
5983
|
true: string;
|
|
6142
5984
|
}>>;
|
|
6143
5985
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
6144
|
-
}
|
|
5986
|
+
}, "strip", z.ZodTypeAny, {
|
|
6145
5987
|
type: "boolean";
|
|
6146
5988
|
label?: string | undefined;
|
|
6147
5989
|
labels?: {
|
|
@@ -6172,7 +6014,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6172
6014
|
hideCode?: boolean | undefined;
|
|
6173
6015
|
excludeFromTargets?: boolean | undefined;
|
|
6174
6016
|
}>>;
|
|
6175
|
-
}
|
|
6017
|
+
}, "strip", z.ZodTypeAny, {
|
|
6176
6018
|
code: string;
|
|
6177
6019
|
type: "task-item";
|
|
6178
6020
|
definition: {
|
|
@@ -6352,7 +6194,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6352
6194
|
}, {
|
|
6353
6195
|
hideCode?: boolean | undefined;
|
|
6354
6196
|
}>>;
|
|
6355
|
-
}
|
|
6197
|
+
}, "strip", z.ZodTypeAny, {
|
|
6356
6198
|
code: string;
|
|
6357
6199
|
type: "task";
|
|
6358
6200
|
title: string;
|
|
@@ -6613,7 +6455,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6613
6455
|
hideCode?: boolean | undefined;
|
|
6614
6456
|
hideFromHierarchy?: boolean | undefined;
|
|
6615
6457
|
}>>;
|
|
6616
|
-
}
|
|
6458
|
+
}, "strip", z.ZodTypeAny, {
|
|
6617
6459
|
code: string;
|
|
6618
6460
|
type: "task-group";
|
|
6619
6461
|
title: string;
|
|
@@ -6759,6 +6601,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6759
6601
|
hideCode?: boolean | undefined;
|
|
6760
6602
|
hideFromHierarchy?: boolean | undefined;
|
|
6761
6603
|
} | undefined;
|
|
6604
|
+
description?: string | undefined;
|
|
6762
6605
|
longFormTitle?: string | undefined;
|
|
6763
6606
|
tags?: string[] | undefined;
|
|
6764
6607
|
documentation?: ({
|
|
@@ -6924,6 +6767,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6924
6767
|
hideCode?: boolean | undefined;
|
|
6925
6768
|
hideFromHierarchy?: boolean | undefined;
|
|
6926
6769
|
} | undefined;
|
|
6770
|
+
description?: string | undefined;
|
|
6927
6771
|
longFormTitle?: string | undefined;
|
|
6928
6772
|
tags?: string[] | undefined;
|
|
6929
6773
|
documentation?: ({
|
|
@@ -6954,7 +6798,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
6954
6798
|
hideCode?: boolean | undefined;
|
|
6955
6799
|
hideFromHierarchy?: boolean | undefined;
|
|
6956
6800
|
}>>;
|
|
6957
|
-
}
|
|
6801
|
+
}, "strip", z.ZodTypeAny, {
|
|
6958
6802
|
code: string;
|
|
6959
6803
|
type: "criterion";
|
|
6960
6804
|
title: string;
|
|
@@ -7104,6 +6948,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7104
6948
|
hideCode?: boolean | undefined;
|
|
7105
6949
|
hideFromHierarchy?: boolean | undefined;
|
|
7106
6950
|
} | undefined;
|
|
6951
|
+
description?: string | undefined;
|
|
7107
6952
|
longFormTitle?: string | undefined;
|
|
7108
6953
|
tags?: string[] | undefined;
|
|
7109
6954
|
documentation?: ({
|
|
@@ -7308,6 +7153,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7308
7153
|
hideCode?: boolean | undefined;
|
|
7309
7154
|
hideFromHierarchy?: boolean | undefined;
|
|
7310
7155
|
} | undefined;
|
|
7156
|
+
description?: string | undefined;
|
|
7311
7157
|
longFormTitle?: string | undefined;
|
|
7312
7158
|
tags?: string[] | undefined;
|
|
7313
7159
|
documentation?: ({
|
|
@@ -7362,20 +7208,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7362
7208
|
text: string;
|
|
7363
7209
|
})[] | undefined;
|
|
7364
7210
|
sortOrder?: number | undefined;
|
|
7365
|
-
}>, z.ZodObject<
|
|
7366
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
7211
|
+
}>, z.ZodObject<{
|
|
7367
7212
|
title: z.ZodString;
|
|
7368
7213
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
7369
7214
|
code: z.ZodString;
|
|
7370
7215
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7371
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
7372
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7216
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7373
7217
|
label: z.ZodString;
|
|
7374
7218
|
text: z.ZodString;
|
|
7375
|
-
}
|
|
7219
|
+
} & {
|
|
7376
7220
|
type: z.ZodLiteral<"pdf">;
|
|
7377
7221
|
url: z.ZodString;
|
|
7378
|
-
}
|
|
7222
|
+
}, "strip", z.ZodTypeAny, {
|
|
7379
7223
|
type: "pdf";
|
|
7380
7224
|
url: string;
|
|
7381
7225
|
label: string;
|
|
@@ -7385,13 +7229,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7385
7229
|
url: string;
|
|
7386
7230
|
label: string;
|
|
7387
7231
|
text: string;
|
|
7388
|
-
}>, z.ZodObject<
|
|
7389
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7232
|
+
}>, z.ZodObject<{
|
|
7390
7233
|
label: z.ZodString;
|
|
7391
7234
|
text: z.ZodString;
|
|
7392
|
-
}
|
|
7235
|
+
} & {
|
|
7393
7236
|
type: z.ZodLiteral<"text">;
|
|
7394
|
-
}
|
|
7237
|
+
}, "strip", z.ZodTypeAny, {
|
|
7395
7238
|
type: "text";
|
|
7396
7239
|
label: string;
|
|
7397
7240
|
text: string;
|
|
@@ -7399,14 +7242,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7399
7242
|
type: "text";
|
|
7400
7243
|
label: string;
|
|
7401
7244
|
text: string;
|
|
7402
|
-
}>, z.ZodObject<
|
|
7403
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7245
|
+
}>, z.ZodObject<{
|
|
7404
7246
|
label: z.ZodString;
|
|
7405
7247
|
text: z.ZodString;
|
|
7406
|
-
}
|
|
7248
|
+
} & {
|
|
7407
7249
|
type: z.ZodLiteral<"link">;
|
|
7408
7250
|
url: z.ZodString;
|
|
7409
|
-
}
|
|
7251
|
+
}, "strip", z.ZodTypeAny, {
|
|
7410
7252
|
type: "link";
|
|
7411
7253
|
url: string;
|
|
7412
7254
|
label: string;
|
|
@@ -7452,23 +7294,22 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7452
7294
|
readOnly?: boolean | undefined;
|
|
7453
7295
|
}>>;
|
|
7454
7296
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
7455
|
-
}
|
|
7297
|
+
} & {
|
|
7456
7298
|
type: z.ZodLiteral<"task-group">;
|
|
7299
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7457
7300
|
category: z.ZodOptional<z.ZodString>;
|
|
7458
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
7459
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
7301
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
7460
7302
|
title: z.ZodString;
|
|
7461
7303
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
7462
7304
|
code: z.ZodString;
|
|
7463
7305
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7464
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
7465
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7306
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7466
7307
|
label: z.ZodString;
|
|
7467
7308
|
text: z.ZodString;
|
|
7468
|
-
}
|
|
7309
|
+
} & {
|
|
7469
7310
|
type: z.ZodLiteral<"pdf">;
|
|
7470
7311
|
url: z.ZodString;
|
|
7471
|
-
}
|
|
7312
|
+
}, "strip", z.ZodTypeAny, {
|
|
7472
7313
|
type: "pdf";
|
|
7473
7314
|
url: string;
|
|
7474
7315
|
label: string;
|
|
@@ -7478,13 +7319,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7478
7319
|
url: string;
|
|
7479
7320
|
label: string;
|
|
7480
7321
|
text: string;
|
|
7481
|
-
}>, z.ZodObject<
|
|
7482
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7322
|
+
}>, z.ZodObject<{
|
|
7483
7323
|
label: z.ZodString;
|
|
7484
7324
|
text: z.ZodString;
|
|
7485
|
-
}
|
|
7325
|
+
} & {
|
|
7486
7326
|
type: z.ZodLiteral<"text">;
|
|
7487
|
-
}
|
|
7327
|
+
}, "strip", z.ZodTypeAny, {
|
|
7488
7328
|
type: "text";
|
|
7489
7329
|
label: string;
|
|
7490
7330
|
text: string;
|
|
@@ -7492,14 +7332,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7492
7332
|
type: "text";
|
|
7493
7333
|
label: string;
|
|
7494
7334
|
text: string;
|
|
7495
|
-
}>, z.ZodObject<
|
|
7496
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7335
|
+
}>, z.ZodObject<{
|
|
7497
7336
|
label: z.ZodString;
|
|
7498
7337
|
text: z.ZodString;
|
|
7499
|
-
}
|
|
7338
|
+
} & {
|
|
7500
7339
|
type: z.ZodLiteral<"link">;
|
|
7501
7340
|
url: z.ZodString;
|
|
7502
|
-
}
|
|
7341
|
+
}, "strip", z.ZodTypeAny, {
|
|
7503
7342
|
type: "link";
|
|
7504
7343
|
url: string;
|
|
7505
7344
|
label: string;
|
|
@@ -7545,23 +7384,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7545
7384
|
readOnly?: boolean | undefined;
|
|
7546
7385
|
}>>;
|
|
7547
7386
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
7548
|
-
}
|
|
7387
|
+
} & {
|
|
7549
7388
|
type: z.ZodLiteral<"task">;
|
|
7550
7389
|
description: z.ZodOptional<z.ZodString>;
|
|
7551
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
7552
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
7553
|
-
title: z.ZodString;
|
|
7554
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
7390
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
7555
7391
|
code: z.ZodString;
|
|
7392
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
7556
7393
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7557
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
7558
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7394
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7559
7395
|
label: z.ZodString;
|
|
7560
7396
|
text: z.ZodString;
|
|
7561
|
-
}
|
|
7397
|
+
} & {
|
|
7562
7398
|
type: z.ZodLiteral<"pdf">;
|
|
7563
7399
|
url: z.ZodString;
|
|
7564
|
-
}
|
|
7400
|
+
}, "strip", z.ZodTypeAny, {
|
|
7565
7401
|
type: "pdf";
|
|
7566
7402
|
url: string;
|
|
7567
7403
|
label: string;
|
|
@@ -7571,13 +7407,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7571
7407
|
url: string;
|
|
7572
7408
|
label: string;
|
|
7573
7409
|
text: string;
|
|
7574
|
-
}>, z.ZodObject<
|
|
7575
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7410
|
+
}>, z.ZodObject<{
|
|
7576
7411
|
label: z.ZodString;
|
|
7577
7412
|
text: z.ZodString;
|
|
7578
|
-
}
|
|
7413
|
+
} & {
|
|
7579
7414
|
type: z.ZodLiteral<"text">;
|
|
7580
|
-
}
|
|
7415
|
+
}, "strip", z.ZodTypeAny, {
|
|
7581
7416
|
type: "text";
|
|
7582
7417
|
label: string;
|
|
7583
7418
|
text: string;
|
|
@@ -7585,14 +7420,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7585
7420
|
type: "text";
|
|
7586
7421
|
label: string;
|
|
7587
7422
|
text: string;
|
|
7588
|
-
}>, z.ZodObject<
|
|
7589
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
7423
|
+
}>, z.ZodObject<{
|
|
7590
7424
|
label: z.ZodString;
|
|
7591
7425
|
text: z.ZodString;
|
|
7592
|
-
}
|
|
7426
|
+
} & {
|
|
7593
7427
|
type: z.ZodLiteral<"link">;
|
|
7594
7428
|
url: z.ZodString;
|
|
7595
|
-
}
|
|
7429
|
+
}, "strip", z.ZodTypeAny, {
|
|
7596
7430
|
type: "link";
|
|
7597
7431
|
url: string;
|
|
7598
7432
|
label: string;
|
|
@@ -7603,44 +7437,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7603
7437
|
label: string;
|
|
7604
7438
|
text: string;
|
|
7605
7439
|
}>]>, "many">>;
|
|
7606
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
7607
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
7608
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
7609
|
-
text: z.ZodOptional<z.ZodString>;
|
|
7610
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
7611
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
7612
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
7613
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
7614
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
7615
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
7616
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7617
|
-
}, "strip", z.ZodTypeAny, {
|
|
7618
|
-
type?: "number" | "percentage" | undefined;
|
|
7619
|
-
total?: number | undefined;
|
|
7620
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
7621
|
-
text?: string | undefined;
|
|
7622
|
-
maximumValue?: number | undefined;
|
|
7623
|
-
minimumValue?: number | undefined;
|
|
7624
|
-
exclusiveMaximum?: number | undefined;
|
|
7625
|
-
exclusiveMinimum?: number | undefined;
|
|
7626
|
-
step?: number | undefined;
|
|
7627
|
-
readOnly?: boolean | undefined;
|
|
7628
|
-
}, {
|
|
7629
|
-
type?: "number" | "percentage" | undefined;
|
|
7630
|
-
total?: number | undefined;
|
|
7631
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
7632
|
-
text?: string | undefined;
|
|
7633
|
-
maximumValue?: number | undefined;
|
|
7634
|
-
minimumValue?: number | undefined;
|
|
7635
|
-
exclusiveMaximum?: number | undefined;
|
|
7636
|
-
exclusiveMinimum?: number | undefined;
|
|
7637
|
-
step?: number | undefined;
|
|
7638
|
-
readOnly?: boolean | undefined;
|
|
7639
|
-
}>>;
|
|
7640
7440
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
7641
|
-
}
|
|
7441
|
+
} & {
|
|
7642
7442
|
type: z.ZodLiteral<"task-item">;
|
|
7643
|
-
data: z.ZodOptional<z.ZodObject<
|
|
7443
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
7644
7444
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
7645
7445
|
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
7646
7446
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -7651,9 +7451,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7651
7451
|
step: z.ZodOptional<z.ZodNumber>;
|
|
7652
7452
|
total: z.ZodOptional<z.ZodNumber>;
|
|
7653
7453
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7654
|
-
}
|
|
7454
|
+
} & {
|
|
7655
7455
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
7656
|
-
}
|
|
7456
|
+
}, "strip", z.ZodTypeAny, {
|
|
7657
7457
|
type?: "number" | "percentage" | undefined;
|
|
7658
7458
|
total?: number | undefined;
|
|
7659
7459
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -7678,11 +7478,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7678
7478
|
readOnly?: boolean | undefined;
|
|
7679
7479
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
7680
7480
|
}>>;
|
|
7681
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
7682
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
7481
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7683
7482
|
label: z.ZodOptional<z.ZodString>;
|
|
7684
7483
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7685
|
-
}
|
|
7484
|
+
} & {
|
|
7686
7485
|
type: z.ZodLiteral<"select-single">;
|
|
7687
7486
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
7688
7487
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7706,7 +7505,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7706
7505
|
outro?: string | undefined;
|
|
7707
7506
|
}>, "many">;
|
|
7708
7507
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
7709
|
-
}
|
|
7508
|
+
}, "strip", z.ZodTypeAny, {
|
|
7710
7509
|
type: "select-single";
|
|
7711
7510
|
options: {
|
|
7712
7511
|
value: string | number | boolean | null;
|
|
@@ -7734,11 +7533,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7734
7533
|
maximum?: number | undefined;
|
|
7735
7534
|
defaultValue?: string | undefined;
|
|
7736
7535
|
readOnly?: boolean | undefined;
|
|
7737
|
-
}>, z.ZodObject<
|
|
7738
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
7536
|
+
}>, z.ZodObject<{
|
|
7739
7537
|
label: z.ZodOptional<z.ZodString>;
|
|
7740
7538
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7741
|
-
}
|
|
7539
|
+
} & {
|
|
7742
7540
|
type: z.ZodLiteral<"select-multiple">;
|
|
7743
7541
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
7744
7542
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7762,7 +7560,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7762
7560
|
outro?: string | undefined;
|
|
7763
7561
|
}>, "many">;
|
|
7764
7562
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7765
|
-
}
|
|
7563
|
+
}, "strip", z.ZodTypeAny, {
|
|
7766
7564
|
type: "select-multiple";
|
|
7767
7565
|
options: {
|
|
7768
7566
|
value: string | number | boolean | null;
|
|
@@ -7790,17 +7588,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7790
7588
|
maximum?: number | undefined;
|
|
7791
7589
|
defaultValue?: string[] | undefined;
|
|
7792
7590
|
readOnly?: boolean | undefined;
|
|
7793
|
-
}>, z.ZodObject<
|
|
7794
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
7591
|
+
}>, z.ZodObject<{
|
|
7795
7592
|
label: z.ZodOptional<z.ZodString>;
|
|
7796
7593
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7797
|
-
}
|
|
7594
|
+
} & {
|
|
7798
7595
|
type: z.ZodLiteral<"number">;
|
|
7799
7596
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
7800
7597
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
7801
7598
|
step: z.ZodOptional<z.ZodNumber>;
|
|
7802
7599
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
7803
|
-
}
|
|
7600
|
+
}, "strip", z.ZodTypeAny, {
|
|
7804
7601
|
type: "number";
|
|
7805
7602
|
label?: string | undefined;
|
|
7806
7603
|
minimum?: number | undefined;
|
|
@@ -7816,11 +7613,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7816
7613
|
defaultValue?: number | undefined;
|
|
7817
7614
|
step?: number | undefined;
|
|
7818
7615
|
readOnly?: boolean | undefined;
|
|
7819
|
-
}>, z.ZodObject<
|
|
7820
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
7616
|
+
}>, z.ZodObject<{
|
|
7821
7617
|
label: z.ZodOptional<z.ZodString>;
|
|
7822
7618
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7823
|
-
}
|
|
7619
|
+
} & {
|
|
7824
7620
|
type: z.ZodLiteral<"boolean">;
|
|
7825
7621
|
labels: z.ZodOptional<z.ZodObject<{
|
|
7826
7622
|
true: z.ZodString;
|
|
@@ -7833,7 +7629,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7833
7629
|
true: string;
|
|
7834
7630
|
}>>;
|
|
7835
7631
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
7836
|
-
}
|
|
7632
|
+
}, "strip", z.ZodTypeAny, {
|
|
7837
7633
|
type: "boolean";
|
|
7838
7634
|
label?: string | undefined;
|
|
7839
7635
|
labels?: {
|
|
@@ -7864,7 +7660,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
7864
7660
|
hideCode?: boolean | undefined;
|
|
7865
7661
|
excludeFromTargets?: boolean | undefined;
|
|
7866
7662
|
}>>;
|
|
7867
|
-
}
|
|
7663
|
+
}, "strip", z.ZodTypeAny, {
|
|
7868
7664
|
code: string;
|
|
7869
7665
|
type: "task-item";
|
|
7870
7666
|
definition: {
|
|
@@ -8044,7 +7840,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8044
7840
|
}, {
|
|
8045
7841
|
hideCode?: boolean | undefined;
|
|
8046
7842
|
}>>;
|
|
8047
|
-
}
|
|
7843
|
+
}, "strip", z.ZodTypeAny, {
|
|
8048
7844
|
code: string;
|
|
8049
7845
|
type: "task";
|
|
8050
7846
|
title: string;
|
|
@@ -8305,7 +8101,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8305
8101
|
hideCode?: boolean | undefined;
|
|
8306
8102
|
hideFromHierarchy?: boolean | undefined;
|
|
8307
8103
|
}>>;
|
|
8308
|
-
}
|
|
8104
|
+
}, "strip", z.ZodTypeAny, {
|
|
8309
8105
|
code: string;
|
|
8310
8106
|
type: "task-group";
|
|
8311
8107
|
title: string;
|
|
@@ -8451,6 +8247,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8451
8247
|
hideCode?: boolean | undefined;
|
|
8452
8248
|
hideFromHierarchy?: boolean | undefined;
|
|
8453
8249
|
} | undefined;
|
|
8250
|
+
description?: string | undefined;
|
|
8454
8251
|
longFormTitle?: string | undefined;
|
|
8455
8252
|
tags?: string[] | undefined;
|
|
8456
8253
|
documentation?: ({
|
|
@@ -8616,6 +8413,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8616
8413
|
hideCode?: boolean | undefined;
|
|
8617
8414
|
hideFromHierarchy?: boolean | undefined;
|
|
8618
8415
|
} | undefined;
|
|
8416
|
+
description?: string | undefined;
|
|
8619
8417
|
longFormTitle?: string | undefined;
|
|
8620
8418
|
tags?: string[] | undefined;
|
|
8621
8419
|
documentation?: ({
|
|
@@ -8635,20 +8433,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8635
8433
|
})[] | undefined;
|
|
8636
8434
|
sortOrder?: number | undefined;
|
|
8637
8435
|
category?: string | undefined;
|
|
8638
|
-
}>, z.ZodObject<
|
|
8639
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
8436
|
+
}>, z.ZodObject<{
|
|
8640
8437
|
title: z.ZodString;
|
|
8641
8438
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
8642
8439
|
code: z.ZodString;
|
|
8643
8440
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8644
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
8645
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
8441
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8646
8442
|
label: z.ZodString;
|
|
8647
8443
|
text: z.ZodString;
|
|
8648
|
-
}
|
|
8444
|
+
} & {
|
|
8649
8445
|
type: z.ZodLiteral<"pdf">;
|
|
8650
8446
|
url: z.ZodString;
|
|
8651
|
-
}
|
|
8447
|
+
}, "strip", z.ZodTypeAny, {
|
|
8652
8448
|
type: "pdf";
|
|
8653
8449
|
url: string;
|
|
8654
8450
|
label: string;
|
|
@@ -8658,13 +8454,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8658
8454
|
url: string;
|
|
8659
8455
|
label: string;
|
|
8660
8456
|
text: string;
|
|
8661
|
-
}>, z.ZodObject<
|
|
8662
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
8457
|
+
}>, z.ZodObject<{
|
|
8663
8458
|
label: z.ZodString;
|
|
8664
8459
|
text: z.ZodString;
|
|
8665
|
-
}
|
|
8460
|
+
} & {
|
|
8666
8461
|
type: z.ZodLiteral<"text">;
|
|
8667
|
-
}
|
|
8462
|
+
}, "strip", z.ZodTypeAny, {
|
|
8668
8463
|
type: "text";
|
|
8669
8464
|
label: string;
|
|
8670
8465
|
text: string;
|
|
@@ -8672,14 +8467,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8672
8467
|
type: "text";
|
|
8673
8468
|
label: string;
|
|
8674
8469
|
text: string;
|
|
8675
|
-
}>, z.ZodObject<
|
|
8676
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
8470
|
+
}>, z.ZodObject<{
|
|
8677
8471
|
label: z.ZodString;
|
|
8678
8472
|
text: z.ZodString;
|
|
8679
|
-
}
|
|
8473
|
+
} & {
|
|
8680
8474
|
type: z.ZodLiteral<"link">;
|
|
8681
8475
|
url: z.ZodString;
|
|
8682
|
-
}
|
|
8476
|
+
}, "strip", z.ZodTypeAny, {
|
|
8683
8477
|
type: "link";
|
|
8684
8478
|
url: string;
|
|
8685
8479
|
label: string;
|
|
@@ -8725,23 +8519,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8725
8519
|
readOnly?: boolean | undefined;
|
|
8726
8520
|
}>>;
|
|
8727
8521
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
8728
|
-
}
|
|
8522
|
+
} & {
|
|
8729
8523
|
type: z.ZodLiteral<"task">;
|
|
8730
8524
|
description: z.ZodOptional<z.ZodString>;
|
|
8731
|
-
items: z.ZodArray<z.ZodLazy<z.ZodObject<
|
|
8732
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
8733
|
-
title: z.ZodString;
|
|
8734
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
8525
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
8735
8526
|
code: z.ZodString;
|
|
8527
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
8736
8528
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8737
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
8738
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
8529
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8739
8530
|
label: z.ZodString;
|
|
8740
8531
|
text: z.ZodString;
|
|
8741
|
-
}
|
|
8532
|
+
} & {
|
|
8742
8533
|
type: z.ZodLiteral<"pdf">;
|
|
8743
8534
|
url: z.ZodString;
|
|
8744
|
-
}
|
|
8535
|
+
}, "strip", z.ZodTypeAny, {
|
|
8745
8536
|
type: "pdf";
|
|
8746
8537
|
url: string;
|
|
8747
8538
|
label: string;
|
|
@@ -8751,13 +8542,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8751
8542
|
url: string;
|
|
8752
8543
|
label: string;
|
|
8753
8544
|
text: string;
|
|
8754
|
-
}>, z.ZodObject<
|
|
8755
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
8545
|
+
}>, z.ZodObject<{
|
|
8756
8546
|
label: z.ZodString;
|
|
8757
8547
|
text: z.ZodString;
|
|
8758
|
-
}
|
|
8548
|
+
} & {
|
|
8759
8549
|
type: z.ZodLiteral<"text">;
|
|
8760
|
-
}
|
|
8550
|
+
}, "strip", z.ZodTypeAny, {
|
|
8761
8551
|
type: "text";
|
|
8762
8552
|
label: string;
|
|
8763
8553
|
text: string;
|
|
@@ -8765,14 +8555,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8765
8555
|
type: "text";
|
|
8766
8556
|
label: string;
|
|
8767
8557
|
text: string;
|
|
8768
|
-
}>, z.ZodObject<
|
|
8769
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
8558
|
+
}>, z.ZodObject<{
|
|
8770
8559
|
label: z.ZodString;
|
|
8771
8560
|
text: z.ZodString;
|
|
8772
|
-
}
|
|
8561
|
+
} & {
|
|
8773
8562
|
type: z.ZodLiteral<"link">;
|
|
8774
8563
|
url: z.ZodString;
|
|
8775
|
-
}
|
|
8564
|
+
}, "strip", z.ZodTypeAny, {
|
|
8776
8565
|
type: "link";
|
|
8777
8566
|
url: string;
|
|
8778
8567
|
label: string;
|
|
@@ -8783,44 +8572,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8783
8572
|
label: string;
|
|
8784
8573
|
text: string;
|
|
8785
8574
|
}>]>, "many">>;
|
|
8786
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
8787
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
8788
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
8789
|
-
text: z.ZodOptional<z.ZodString>;
|
|
8790
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
8791
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
8792
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
8793
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
8794
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
8795
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
8796
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
8797
|
-
}, "strip", z.ZodTypeAny, {
|
|
8798
|
-
type?: "number" | "percentage" | undefined;
|
|
8799
|
-
total?: number | undefined;
|
|
8800
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
8801
|
-
text?: string | undefined;
|
|
8802
|
-
maximumValue?: number | undefined;
|
|
8803
|
-
minimumValue?: number | undefined;
|
|
8804
|
-
exclusiveMaximum?: number | undefined;
|
|
8805
|
-
exclusiveMinimum?: number | undefined;
|
|
8806
|
-
step?: number | undefined;
|
|
8807
|
-
readOnly?: boolean | undefined;
|
|
8808
|
-
}, {
|
|
8809
|
-
type?: "number" | "percentage" | undefined;
|
|
8810
|
-
total?: number | undefined;
|
|
8811
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
8812
|
-
text?: string | undefined;
|
|
8813
|
-
maximumValue?: number | undefined;
|
|
8814
|
-
minimumValue?: number | undefined;
|
|
8815
|
-
exclusiveMaximum?: number | undefined;
|
|
8816
|
-
exclusiveMinimum?: number | undefined;
|
|
8817
|
-
step?: number | undefined;
|
|
8818
|
-
readOnly?: boolean | undefined;
|
|
8819
|
-
}>>;
|
|
8820
8575
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
8821
|
-
}
|
|
8576
|
+
} & {
|
|
8822
8577
|
type: z.ZodLiteral<"task-item">;
|
|
8823
|
-
data: z.ZodOptional<z.ZodObject<
|
|
8578
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
8824
8579
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
8825
8580
|
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
8826
8581
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -8831,9 +8586,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8831
8586
|
step: z.ZodOptional<z.ZodNumber>;
|
|
8832
8587
|
total: z.ZodOptional<z.ZodNumber>;
|
|
8833
8588
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
8834
|
-
}
|
|
8589
|
+
} & {
|
|
8835
8590
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
8836
|
-
}
|
|
8591
|
+
}, "strip", z.ZodTypeAny, {
|
|
8837
8592
|
type?: "number" | "percentage" | undefined;
|
|
8838
8593
|
total?: number | undefined;
|
|
8839
8594
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -8858,11 +8613,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8858
8613
|
readOnly?: boolean | undefined;
|
|
8859
8614
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
8860
8615
|
}>>;
|
|
8861
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
8862
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
8616
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8863
8617
|
label: z.ZodOptional<z.ZodString>;
|
|
8864
8618
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
8865
|
-
}
|
|
8619
|
+
} & {
|
|
8866
8620
|
type: z.ZodLiteral<"select-single">;
|
|
8867
8621
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
8868
8622
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8886,7 +8640,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8886
8640
|
outro?: string | undefined;
|
|
8887
8641
|
}>, "many">;
|
|
8888
8642
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
8889
|
-
}
|
|
8643
|
+
}, "strip", z.ZodTypeAny, {
|
|
8890
8644
|
type: "select-single";
|
|
8891
8645
|
options: {
|
|
8892
8646
|
value: string | number | boolean | null;
|
|
@@ -8914,11 +8668,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8914
8668
|
maximum?: number | undefined;
|
|
8915
8669
|
defaultValue?: string | undefined;
|
|
8916
8670
|
readOnly?: boolean | undefined;
|
|
8917
|
-
}>, z.ZodObject<
|
|
8918
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
8671
|
+
}>, z.ZodObject<{
|
|
8919
8672
|
label: z.ZodOptional<z.ZodString>;
|
|
8920
8673
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
8921
|
-
}
|
|
8674
|
+
} & {
|
|
8922
8675
|
type: z.ZodLiteral<"select-multiple">;
|
|
8923
8676
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
8924
8677
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8942,7 +8695,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8942
8695
|
outro?: string | undefined;
|
|
8943
8696
|
}>, "many">;
|
|
8944
8697
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8945
|
-
}
|
|
8698
|
+
}, "strip", z.ZodTypeAny, {
|
|
8946
8699
|
type: "select-multiple";
|
|
8947
8700
|
options: {
|
|
8948
8701
|
value: string | number | boolean | null;
|
|
@@ -8970,17 +8723,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8970
8723
|
maximum?: number | undefined;
|
|
8971
8724
|
defaultValue?: string[] | undefined;
|
|
8972
8725
|
readOnly?: boolean | undefined;
|
|
8973
|
-
}>, z.ZodObject<
|
|
8974
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
8726
|
+
}>, z.ZodObject<{
|
|
8975
8727
|
label: z.ZodOptional<z.ZodString>;
|
|
8976
8728
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
8977
|
-
}
|
|
8729
|
+
} & {
|
|
8978
8730
|
type: z.ZodLiteral<"number">;
|
|
8979
8731
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
8980
8732
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
8981
8733
|
step: z.ZodOptional<z.ZodNumber>;
|
|
8982
8734
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8983
|
-
}
|
|
8735
|
+
}, "strip", z.ZodTypeAny, {
|
|
8984
8736
|
type: "number";
|
|
8985
8737
|
label?: string | undefined;
|
|
8986
8738
|
minimum?: number | undefined;
|
|
@@ -8996,11 +8748,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
8996
8748
|
defaultValue?: number | undefined;
|
|
8997
8749
|
step?: number | undefined;
|
|
8998
8750
|
readOnly?: boolean | undefined;
|
|
8999
|
-
}>, z.ZodObject<
|
|
9000
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
8751
|
+
}>, z.ZodObject<{
|
|
9001
8752
|
label: z.ZodOptional<z.ZodString>;
|
|
9002
8753
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9003
|
-
}
|
|
8754
|
+
} & {
|
|
9004
8755
|
type: z.ZodLiteral<"boolean">;
|
|
9005
8756
|
labels: z.ZodOptional<z.ZodObject<{
|
|
9006
8757
|
true: z.ZodString;
|
|
@@ -9013,7 +8764,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9013
8764
|
true: string;
|
|
9014
8765
|
}>>;
|
|
9015
8766
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
9016
|
-
}
|
|
8767
|
+
}, "strip", z.ZodTypeAny, {
|
|
9017
8768
|
type: "boolean";
|
|
9018
8769
|
label?: string | undefined;
|
|
9019
8770
|
labels?: {
|
|
@@ -9044,7 +8795,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9044
8795
|
hideCode?: boolean | undefined;
|
|
9045
8796
|
excludeFromTargets?: boolean | undefined;
|
|
9046
8797
|
}>>;
|
|
9047
|
-
}
|
|
8798
|
+
}, "strip", z.ZodTypeAny, {
|
|
9048
8799
|
code: string;
|
|
9049
8800
|
type: "task-item";
|
|
9050
8801
|
definition: {
|
|
@@ -9224,7 +8975,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9224
8975
|
}, {
|
|
9225
8976
|
hideCode?: boolean | undefined;
|
|
9226
8977
|
}>>;
|
|
9227
|
-
}
|
|
8978
|
+
}, "strip", z.ZodTypeAny, {
|
|
9228
8979
|
code: string;
|
|
9229
8980
|
type: "task";
|
|
9230
8981
|
title: string;
|
|
@@ -9474,20 +9225,17 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9474
9225
|
text: string;
|
|
9475
9226
|
})[] | undefined;
|
|
9476
9227
|
sortOrder?: number | undefined;
|
|
9477
|
-
}>, z.ZodObject<
|
|
9478
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
9479
|
-
title: z.ZodString;
|
|
9480
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
9228
|
+
}>, z.ZodObject<{
|
|
9481
9229
|
code: z.ZodString;
|
|
9230
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
9482
9231
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9483
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
9484
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
9232
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9485
9233
|
label: z.ZodString;
|
|
9486
9234
|
text: z.ZodString;
|
|
9487
|
-
}
|
|
9235
|
+
} & {
|
|
9488
9236
|
type: z.ZodLiteral<"pdf">;
|
|
9489
9237
|
url: z.ZodString;
|
|
9490
|
-
}
|
|
9238
|
+
}, "strip", z.ZodTypeAny, {
|
|
9491
9239
|
type: "pdf";
|
|
9492
9240
|
url: string;
|
|
9493
9241
|
label: string;
|
|
@@ -9497,13 +9245,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9497
9245
|
url: string;
|
|
9498
9246
|
label: string;
|
|
9499
9247
|
text: string;
|
|
9500
|
-
}>, z.ZodObject<
|
|
9501
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
9248
|
+
}>, z.ZodObject<{
|
|
9502
9249
|
label: z.ZodString;
|
|
9503
9250
|
text: z.ZodString;
|
|
9504
|
-
}
|
|
9251
|
+
} & {
|
|
9505
9252
|
type: z.ZodLiteral<"text">;
|
|
9506
|
-
}
|
|
9253
|
+
}, "strip", z.ZodTypeAny, {
|
|
9507
9254
|
type: "text";
|
|
9508
9255
|
label: string;
|
|
9509
9256
|
text: string;
|
|
@@ -9511,14 +9258,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9511
9258
|
type: "text";
|
|
9512
9259
|
label: string;
|
|
9513
9260
|
text: string;
|
|
9514
|
-
}>, z.ZodObject<
|
|
9515
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
9261
|
+
}>, z.ZodObject<{
|
|
9516
9262
|
label: z.ZodString;
|
|
9517
9263
|
text: z.ZodString;
|
|
9518
|
-
}
|
|
9264
|
+
} & {
|
|
9519
9265
|
type: z.ZodLiteral<"link">;
|
|
9520
9266
|
url: z.ZodString;
|
|
9521
|
-
}
|
|
9267
|
+
}, "strip", z.ZodTypeAny, {
|
|
9522
9268
|
type: "link";
|
|
9523
9269
|
url: string;
|
|
9524
9270
|
label: string;
|
|
@@ -9529,44 +9275,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9529
9275
|
label: string;
|
|
9530
9276
|
text: string;
|
|
9531
9277
|
}>]>, "many">>;
|
|
9532
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
9533
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
9534
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
9535
|
-
text: z.ZodOptional<z.ZodString>;
|
|
9536
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
9537
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
9538
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
9539
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
9540
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
9541
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
9542
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9543
|
-
}, "strip", z.ZodTypeAny, {
|
|
9544
|
-
type?: "number" | "percentage" | undefined;
|
|
9545
|
-
total?: number | undefined;
|
|
9546
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
9547
|
-
text?: string | undefined;
|
|
9548
|
-
maximumValue?: number | undefined;
|
|
9549
|
-
minimumValue?: number | undefined;
|
|
9550
|
-
exclusiveMaximum?: number | undefined;
|
|
9551
|
-
exclusiveMinimum?: number | undefined;
|
|
9552
|
-
step?: number | undefined;
|
|
9553
|
-
readOnly?: boolean | undefined;
|
|
9554
|
-
}, {
|
|
9555
|
-
type?: "number" | "percentage" | undefined;
|
|
9556
|
-
total?: number | undefined;
|
|
9557
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
9558
|
-
text?: string | undefined;
|
|
9559
|
-
maximumValue?: number | undefined;
|
|
9560
|
-
minimumValue?: number | undefined;
|
|
9561
|
-
exclusiveMaximum?: number | undefined;
|
|
9562
|
-
exclusiveMinimum?: number | undefined;
|
|
9563
|
-
step?: number | undefined;
|
|
9564
|
-
readOnly?: boolean | undefined;
|
|
9565
|
-
}>>;
|
|
9566
9278
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
9567
|
-
}
|
|
9279
|
+
} & {
|
|
9568
9280
|
type: z.ZodLiteral<"task-item">;
|
|
9569
|
-
data: z.ZodOptional<z.ZodObject<
|
|
9281
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
9570
9282
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
9571
9283
|
value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
9572
9284
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -9577,9 +9289,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9577
9289
|
step: z.ZodOptional<z.ZodNumber>;
|
|
9578
9290
|
total: z.ZodOptional<z.ZodNumber>;
|
|
9579
9291
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9580
|
-
}
|
|
9292
|
+
} & {
|
|
9581
9293
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
9582
|
-
}
|
|
9294
|
+
}, "strip", z.ZodTypeAny, {
|
|
9583
9295
|
type?: "number" | "percentage" | undefined;
|
|
9584
9296
|
total?: number | undefined;
|
|
9585
9297
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -9604,11 +9316,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9604
9316
|
readOnly?: boolean | undefined;
|
|
9605
9317
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
9606
9318
|
}>>;
|
|
9607
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
9608
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
9319
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9609
9320
|
label: z.ZodOptional<z.ZodString>;
|
|
9610
9321
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9611
|
-
}
|
|
9322
|
+
} & {
|
|
9612
9323
|
type: z.ZodLiteral<"select-single">;
|
|
9613
9324
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
9614
9325
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9632,7 +9343,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9632
9343
|
outro?: string | undefined;
|
|
9633
9344
|
}>, "many">;
|
|
9634
9345
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
9635
|
-
}
|
|
9346
|
+
}, "strip", z.ZodTypeAny, {
|
|
9636
9347
|
type: "select-single";
|
|
9637
9348
|
options: {
|
|
9638
9349
|
value: string | number | boolean | null;
|
|
@@ -9660,11 +9371,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9660
9371
|
maximum?: number | undefined;
|
|
9661
9372
|
defaultValue?: string | undefined;
|
|
9662
9373
|
readOnly?: boolean | undefined;
|
|
9663
|
-
}>, z.ZodObject<
|
|
9664
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
9374
|
+
}>, z.ZodObject<{
|
|
9665
9375
|
label: z.ZodOptional<z.ZodString>;
|
|
9666
9376
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9667
|
-
}
|
|
9377
|
+
} & {
|
|
9668
9378
|
type: z.ZodLiteral<"select-multiple">;
|
|
9669
9379
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
9670
9380
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9688,7 +9398,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9688
9398
|
outro?: string | undefined;
|
|
9689
9399
|
}>, "many">;
|
|
9690
9400
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9691
|
-
}
|
|
9401
|
+
}, "strip", z.ZodTypeAny, {
|
|
9692
9402
|
type: "select-multiple";
|
|
9693
9403
|
options: {
|
|
9694
9404
|
value: string | number | boolean | null;
|
|
@@ -9716,17 +9426,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9716
9426
|
maximum?: number | undefined;
|
|
9717
9427
|
defaultValue?: string[] | undefined;
|
|
9718
9428
|
readOnly?: boolean | undefined;
|
|
9719
|
-
}>, z.ZodObject<
|
|
9720
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
9429
|
+
}>, z.ZodObject<{
|
|
9721
9430
|
label: z.ZodOptional<z.ZodString>;
|
|
9722
9431
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9723
|
-
}
|
|
9432
|
+
} & {
|
|
9724
9433
|
type: z.ZodLiteral<"number">;
|
|
9725
9434
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
9726
9435
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
9727
9436
|
step: z.ZodOptional<z.ZodNumber>;
|
|
9728
9437
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9729
|
-
}
|
|
9438
|
+
}, "strip", z.ZodTypeAny, {
|
|
9730
9439
|
type: "number";
|
|
9731
9440
|
label?: string | undefined;
|
|
9732
9441
|
minimum?: number | undefined;
|
|
@@ -9742,11 +9451,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9742
9451
|
defaultValue?: number | undefined;
|
|
9743
9452
|
step?: number | undefined;
|
|
9744
9453
|
readOnly?: boolean | undefined;
|
|
9745
|
-
}>, z.ZodObject<
|
|
9746
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
9454
|
+
}>, z.ZodObject<{
|
|
9747
9455
|
label: z.ZodOptional<z.ZodString>;
|
|
9748
9456
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
9749
|
-
}
|
|
9457
|
+
} & {
|
|
9750
9458
|
type: z.ZodLiteral<"boolean">;
|
|
9751
9459
|
labels: z.ZodOptional<z.ZodObject<{
|
|
9752
9460
|
true: z.ZodString;
|
|
@@ -9759,7 +9467,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9759
9467
|
true: string;
|
|
9760
9468
|
}>>;
|
|
9761
9469
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
9762
|
-
}
|
|
9470
|
+
}, "strip", z.ZodTypeAny, {
|
|
9763
9471
|
type: "boolean";
|
|
9764
9472
|
label?: string | undefined;
|
|
9765
9473
|
labels?: {
|
|
@@ -9790,7 +9498,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
9790
9498
|
hideCode?: boolean | undefined;
|
|
9791
9499
|
excludeFromTargets?: boolean | undefined;
|
|
9792
9500
|
}>>;
|
|
9793
|
-
}
|
|
9501
|
+
}, "strip", z.ZodTypeAny, {
|
|
9794
9502
|
code: string;
|
|
9795
9503
|
type: "task-item";
|
|
9796
9504
|
definition: {
|