@openframe-org/criteria-set-protocol 2.0.28 → 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.
@@ -1,24 +1,22 @@
1
1
  import { z } from "zod";
2
- export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
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<z.objectUtil.extendShape<{
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
- }>, "strip", z.ZodTypeAny, {
274
+ }, "strip", z.ZodTypeAny, {
287
275
  type: "link";
288
276
  url: string;
289
277
  label: string;
@@ -329,24 +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">;
334
322
  description: z.ZodOptional<z.ZodString>;
335
323
  category: z.ZodOptional<z.ZodString>;
336
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
337
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
324
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
338
325
  title: z.ZodString;
339
326
  longFormTitle: z.ZodOptional<z.ZodString>;
340
327
  code: z.ZodString;
341
328
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
342
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
343
- type: z.ZodEnum<["pdf", "text", "link"]>;
329
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
344
330
  label: z.ZodString;
345
331
  text: z.ZodString;
346
- }, {
332
+ } & {
347
333
  type: z.ZodLiteral<"pdf">;
348
334
  url: z.ZodString;
349
- }>, "strip", z.ZodTypeAny, {
335
+ }, "strip", z.ZodTypeAny, {
350
336
  type: "pdf";
351
337
  url: string;
352
338
  label: string;
@@ -356,13 +342,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
356
342
  url: string;
357
343
  label: string;
358
344
  text: string;
359
- }>, z.ZodObject<z.objectUtil.extendShape<{
360
- type: z.ZodEnum<["pdf", "text", "link"]>;
345
+ }>, z.ZodObject<{
361
346
  label: z.ZodString;
362
347
  text: z.ZodString;
363
- }, {
348
+ } & {
364
349
  type: z.ZodLiteral<"text">;
365
- }>, "strip", z.ZodTypeAny, {
350
+ }, "strip", z.ZodTypeAny, {
366
351
  type: "text";
367
352
  label: string;
368
353
  text: string;
@@ -370,14 +355,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
370
355
  type: "text";
371
356
  label: string;
372
357
  text: string;
373
- }>, z.ZodObject<z.objectUtil.extendShape<{
374
- type: z.ZodEnum<["pdf", "text", "link"]>;
358
+ }>, z.ZodObject<{
375
359
  label: z.ZodString;
376
360
  text: z.ZodString;
377
- }, {
361
+ } & {
378
362
  type: z.ZodLiteral<"link">;
379
363
  url: z.ZodString;
380
- }>, "strip", z.ZodTypeAny, {
364
+ }, "strip", z.ZodTypeAny, {
381
365
  type: "link";
382
366
  url: string;
383
367
  label: string;
@@ -423,23 +407,20 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
423
407
  readOnly?: boolean | undefined;
424
408
  }>>;
425
409
  sortOrder: z.ZodOptional<z.ZodNumber>;
426
- }, {
410
+ } & {
427
411
  type: z.ZodLiteral<"task">;
428
412
  description: z.ZodOptional<z.ZodString>;
429
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
430
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
431
- title: z.ZodString;
432
- longFormTitle: z.ZodOptional<z.ZodString>;
413
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
433
414
  code: z.ZodString;
415
+ longFormTitle: z.ZodOptional<z.ZodString>;
434
416
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
436
- type: z.ZodEnum<["pdf", "text", "link"]>;
417
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
437
418
  label: z.ZodString;
438
419
  text: z.ZodString;
439
- }, {
420
+ } & {
440
421
  type: z.ZodLiteral<"pdf">;
441
422
  url: z.ZodString;
442
- }>, "strip", z.ZodTypeAny, {
423
+ }, "strip", z.ZodTypeAny, {
443
424
  type: "pdf";
444
425
  url: string;
445
426
  label: string;
@@ -449,13 +430,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
449
430
  url: string;
450
431
  label: string;
451
432
  text: string;
452
- }>, z.ZodObject<z.objectUtil.extendShape<{
453
- type: z.ZodEnum<["pdf", "text", "link"]>;
433
+ }>, z.ZodObject<{
454
434
  label: z.ZodString;
455
435
  text: z.ZodString;
456
- }, {
436
+ } & {
457
437
  type: z.ZodLiteral<"text">;
458
- }>, "strip", z.ZodTypeAny, {
438
+ }, "strip", z.ZodTypeAny, {
459
439
  type: "text";
460
440
  label: string;
461
441
  text: string;
@@ -463,14 +443,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
463
443
  type: "text";
464
444
  label: string;
465
445
  text: string;
466
- }>, z.ZodObject<z.objectUtil.extendShape<{
467
- type: z.ZodEnum<["pdf", "text", "link"]>;
446
+ }>, z.ZodObject<{
468
447
  label: z.ZodString;
469
448
  text: z.ZodString;
470
- }, {
449
+ } & {
471
450
  type: z.ZodLiteral<"link">;
472
451
  url: z.ZodString;
473
- }>, "strip", z.ZodTypeAny, {
452
+ }, "strip", z.ZodTypeAny, {
474
453
  type: "link";
475
454
  url: string;
476
455
  label: string;
@@ -481,44 +460,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
481
460
  label: string;
482
461
  text: string;
483
462
  }>]>, "many">>;
484
- data: z.ZodOptional<z.ZodObject<{
485
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
486
- 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">]>>;
487
- text: z.ZodOptional<z.ZodString>;
488
- maximumValue: z.ZodOptional<z.ZodNumber>;
489
- minimumValue: z.ZodOptional<z.ZodNumber>;
490
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
491
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
492
- step: z.ZodOptional<z.ZodNumber>;
493
- total: z.ZodOptional<z.ZodNumber>;
494
- readOnly: z.ZodOptional<z.ZodBoolean>;
495
- }, "strip", z.ZodTypeAny, {
496
- type?: "number" | "percentage" | undefined;
497
- total?: number | undefined;
498
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
499
- text?: string | undefined;
500
- maximumValue?: number | undefined;
501
- minimumValue?: number | undefined;
502
- exclusiveMaximum?: number | undefined;
503
- exclusiveMinimum?: number | undefined;
504
- step?: number | undefined;
505
- readOnly?: boolean | undefined;
506
- }, {
507
- type?: "number" | "percentage" | undefined;
508
- total?: number | undefined;
509
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
510
- text?: string | undefined;
511
- maximumValue?: number | undefined;
512
- minimumValue?: number | undefined;
513
- exclusiveMaximum?: number | undefined;
514
- exclusiveMinimum?: number | undefined;
515
- step?: number | undefined;
516
- readOnly?: boolean | undefined;
517
- }>>;
518
463
  sortOrder: z.ZodOptional<z.ZodNumber>;
519
- }, "title">, {
464
+ } & {
520
465
  type: z.ZodLiteral<"task-item">;
521
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
466
+ data: z.ZodOptional<z.ZodObject<{
522
467
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
523
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">]>>;
524
469
  text: z.ZodOptional<z.ZodString>;
@@ -529,9 +474,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
529
474
  step: z.ZodOptional<z.ZodNumber>;
530
475
  total: z.ZodOptional<z.ZodNumber>;
531
476
  readOnly: z.ZodOptional<z.ZodBoolean>;
532
- }, {
477
+ } & {
533
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">]>>;
534
- }>, "strip", z.ZodTypeAny, {
479
+ }, "strip", z.ZodTypeAny, {
535
480
  type?: "number" | "percentage" | undefined;
536
481
  total?: number | undefined;
537
482
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -556,11 +501,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
556
501
  readOnly?: boolean | undefined;
557
502
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
558
503
  }>>;
559
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
560
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
504
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
561
505
  label: z.ZodOptional<z.ZodString>;
562
506
  readOnly: z.ZodOptional<z.ZodBoolean>;
563
- }, {
507
+ } & {
564
508
  type: z.ZodLiteral<"select-single">;
565
509
  minimum: z.ZodOptional<z.ZodNumber>;
566
510
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -584,7 +528,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
584
528
  outro?: string | undefined;
585
529
  }>, "many">;
586
530
  defaultValue: z.ZodOptional<z.ZodString>;
587
- }>, "strip", z.ZodTypeAny, {
531
+ }, "strip", z.ZodTypeAny, {
588
532
  type: "select-single";
589
533
  options: {
590
534
  value: string | number | boolean | null;
@@ -612,11 +556,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
612
556
  maximum?: number | undefined;
613
557
  defaultValue?: string | undefined;
614
558
  readOnly?: boolean | undefined;
615
- }>, z.ZodObject<z.objectUtil.extendShape<{
616
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
559
+ }>, z.ZodObject<{
617
560
  label: z.ZodOptional<z.ZodString>;
618
561
  readOnly: z.ZodOptional<z.ZodBoolean>;
619
- }, {
562
+ } & {
620
563
  type: z.ZodLiteral<"select-multiple">;
621
564
  minimum: z.ZodOptional<z.ZodNumber>;
622
565
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -640,7 +583,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
640
583
  outro?: string | undefined;
641
584
  }>, "many">;
642
585
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
643
- }>, "strip", z.ZodTypeAny, {
586
+ }, "strip", z.ZodTypeAny, {
644
587
  type: "select-multiple";
645
588
  options: {
646
589
  value: string | number | boolean | null;
@@ -668,17 +611,16 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
668
611
  maximum?: number | undefined;
669
612
  defaultValue?: string[] | undefined;
670
613
  readOnly?: boolean | undefined;
671
- }>, z.ZodObject<z.objectUtil.extendShape<{
672
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
614
+ }>, z.ZodObject<{
673
615
  label: z.ZodOptional<z.ZodString>;
674
616
  readOnly: z.ZodOptional<z.ZodBoolean>;
675
- }, {
617
+ } & {
676
618
  type: z.ZodLiteral<"number">;
677
619
  minimum: z.ZodOptional<z.ZodNumber>;
678
620
  maximum: z.ZodOptional<z.ZodNumber>;
679
621
  step: z.ZodOptional<z.ZodNumber>;
680
622
  defaultValue: z.ZodOptional<z.ZodNumber>;
681
- }>, "strip", z.ZodTypeAny, {
623
+ }, "strip", z.ZodTypeAny, {
682
624
  type: "number";
683
625
  label?: string | undefined;
684
626
  minimum?: number | undefined;
@@ -694,11 +636,10 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
694
636
  defaultValue?: number | undefined;
695
637
  step?: number | undefined;
696
638
  readOnly?: boolean | undefined;
697
- }>, z.ZodObject<z.objectUtil.extendShape<{
698
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
639
+ }>, z.ZodObject<{
699
640
  label: z.ZodOptional<z.ZodString>;
700
641
  readOnly: z.ZodOptional<z.ZodBoolean>;
701
- }, {
642
+ } & {
702
643
  type: z.ZodLiteral<"boolean">;
703
644
  labels: z.ZodOptional<z.ZodObject<{
704
645
  true: z.ZodString;
@@ -711,7 +652,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
711
652
  true: string;
712
653
  }>>;
713
654
  defaultValue: z.ZodOptional<z.ZodBoolean>;
714
- }>, "strip", z.ZodTypeAny, {
655
+ }, "strip", z.ZodTypeAny, {
715
656
  type: "boolean";
716
657
  label?: string | undefined;
717
658
  labels?: {
@@ -742,7 +683,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
742
683
  hideCode?: boolean | undefined;
743
684
  excludeFromTargets?: boolean | undefined;
744
685
  }>>;
745
- }>, "strip", z.ZodTypeAny, {
686
+ }, "strip", z.ZodTypeAny, {
746
687
  code: string;
747
688
  type: "task-item";
748
689
  definition: {
@@ -922,7 +863,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
922
863
  }, {
923
864
  hideCode?: boolean | undefined;
924
865
  }>>;
925
- }>, "strip", z.ZodTypeAny, {
866
+ }, "strip", z.ZodTypeAny, {
926
867
  code: string;
927
868
  type: "task";
928
869
  title: string;
@@ -1183,7 +1124,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
1183
1124
  hideCode?: boolean | undefined;
1184
1125
  hideFromHierarchy?: boolean | undefined;
1185
1126
  }>>;
1186
- }>, "strip", z.ZodTypeAny, {
1127
+ }, "strip", z.ZodTypeAny, {
1187
1128
  code: string;
1188
1129
  type: "task-group";
1189
1130
  title: string;
@@ -1526,7 +1467,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
1526
1467
  hideCode?: boolean | undefined;
1527
1468
  hideFromHierarchy?: boolean | undefined;
1528
1469
  }>>;
1529
- }>, "strip", z.ZodTypeAny, {
1470
+ }, "strip", z.ZodTypeAny, {
1530
1471
  code: string;
1531
1472
  type: "criterion";
1532
1473
  title: string;
@@ -1947,7 +1888,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
1947
1888
  hideCode?: boolean | undefined;
1948
1889
  hideFromHierarchy?: boolean | undefined;
1949
1890
  }>>;
1950
- }>, "strip", z.ZodTypeAny, {
1891
+ }, "strip", z.ZodTypeAny, {
1951
1892
  code: string;
1952
1893
  type: "theme";
1953
1894
  title: string;
@@ -2460,14 +2401,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
2460
2401
  })[] | undefined;
2461
2402
  sortOrder?: number | undefined;
2462
2403
  }>, "many">;
2463
- certificationDefinitions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
2464
- type: z.ZodEnum<["number", "percentage"]>;
2404
+ certificationDefinitions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2465
2405
  code: z.ZodString;
2466
2406
  icon: z.ZodOptional<z.ZodString>;
2467
2407
  name: z.ZodString;
2468
2408
  description: z.ZodOptional<z.ZodString>;
2469
2409
  rulesText: z.ZodString;
2470
- }, {
2410
+ } & {
2471
2411
  type: z.ZodLiteral<"number">;
2472
2412
  rules: z.ZodObject<{
2473
2413
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -2485,7 +2425,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
2485
2425
  exclusiveMaximum?: number | undefined;
2486
2426
  exclusiveMinimum?: number | undefined;
2487
2427
  }>;
2488
- }>, "strip", z.ZodTypeAny, {
2428
+ }, "strip", z.ZodTypeAny, {
2489
2429
  code: string;
2490
2430
  name: string;
2491
2431
  type: "number";
@@ -2511,14 +2451,13 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
2511
2451
  };
2512
2452
  description?: string | undefined;
2513
2453
  icon?: string | undefined;
2514
- }>, z.ZodObject<z.objectUtil.extendShape<{
2515
- type: z.ZodEnum<["number", "percentage"]>;
2454
+ }>, z.ZodObject<{
2516
2455
  code: z.ZodString;
2517
2456
  icon: z.ZodOptional<z.ZodString>;
2518
2457
  name: z.ZodString;
2519
2458
  description: z.ZodOptional<z.ZodString>;
2520
2459
  rulesText: z.ZodString;
2521
- }, {
2460
+ } & {
2522
2461
  type: z.ZodLiteral<"percentage">;
2523
2462
  rules: z.ZodObject<{
2524
2463
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -2536,7 +2475,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
2536
2475
  exclusiveMaximum?: number | undefined;
2537
2476
  exclusiveMinimum?: number | undefined;
2538
2477
  }>;
2539
- }>, "strip", z.ZodTypeAny, {
2478
+ }, "strip", z.ZodTypeAny, {
2540
2479
  code: string;
2541
2480
  name: string;
2542
2481
  type: "percentage";
@@ -2563,7 +2502,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
2563
2502
  description?: string | undefined;
2564
2503
  icon?: string | undefined;
2565
2504
  }>]>, "many">>;
2566
- }>, "strip", z.ZodTypeAny, {
2505
+ }, "strip", z.ZodTypeAny, {
2567
2506
  version: string;
2568
2507
  themes: {
2569
2508
  code: string;
@@ -3140,20 +3079,18 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
3140
3079
  icon?: string | undefined;
3141
3080
  })[] | undefined;
3142
3081
  }>;
3143
- export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3144
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
3082
+ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3145
3083
  title: z.ZodString;
3146
3084
  longFormTitle: z.ZodOptional<z.ZodString>;
3147
3085
  code: z.ZodString;
3148
3086
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3149
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3150
- type: z.ZodEnum<["pdf", "text", "link"]>;
3087
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3151
3088
  label: z.ZodString;
3152
3089
  text: z.ZodString;
3153
- }, {
3090
+ } & {
3154
3091
  type: z.ZodLiteral<"pdf">;
3155
3092
  url: z.ZodString;
3156
- }>, "strip", z.ZodTypeAny, {
3093
+ }, "strip", z.ZodTypeAny, {
3157
3094
  type: "pdf";
3158
3095
  url: string;
3159
3096
  label: string;
@@ -3163,13 +3100,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3163
3100
  url: string;
3164
3101
  label: string;
3165
3102
  text: string;
3166
- }>, z.ZodObject<z.objectUtil.extendShape<{
3167
- type: z.ZodEnum<["pdf", "text", "link"]>;
3103
+ }>, z.ZodObject<{
3168
3104
  label: z.ZodString;
3169
3105
  text: z.ZodString;
3170
- }, {
3106
+ } & {
3171
3107
  type: z.ZodLiteral<"text">;
3172
- }>, "strip", z.ZodTypeAny, {
3108
+ }, "strip", z.ZodTypeAny, {
3173
3109
  type: "text";
3174
3110
  label: string;
3175
3111
  text: string;
@@ -3177,14 +3113,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3177
3113
  type: "text";
3178
3114
  label: string;
3179
3115
  text: string;
3180
- }>, z.ZodObject<z.objectUtil.extendShape<{
3181
- type: z.ZodEnum<["pdf", "text", "link"]>;
3116
+ }>, z.ZodObject<{
3182
3117
  label: z.ZodString;
3183
3118
  text: z.ZodString;
3184
- }, {
3119
+ } & {
3185
3120
  type: z.ZodLiteral<"link">;
3186
3121
  url: z.ZodString;
3187
- }>, "strip", z.ZodTypeAny, {
3122
+ }, "strip", z.ZodTypeAny, {
3188
3123
  type: "link";
3189
3124
  url: string;
3190
3125
  label: string;
@@ -3230,7 +3165,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3230
3165
  readOnly?: boolean | undefined;
3231
3166
  }>>;
3232
3167
  sortOrder: z.ZodOptional<z.ZodNumber>;
3233
- }, {
3168
+ } & {
3234
3169
  type: z.ZodLiteral<"theme">;
3235
3170
  style: z.ZodOptional<z.ZodObject<{
3236
3171
  primaryColor: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -3282,20 +3217,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3282
3217
  blue: number;
3283
3218
  };
3284
3219
  }>>;
3285
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3286
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
3220
+ items: z.ZodArray<z.ZodObject<{
3287
3221
  title: z.ZodString;
3288
3222
  longFormTitle: z.ZodOptional<z.ZodString>;
3289
3223
  code: z.ZodString;
3290
3224
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3291
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3292
- type: z.ZodEnum<["pdf", "text", "link"]>;
3225
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3293
3226
  label: z.ZodString;
3294
3227
  text: z.ZodString;
3295
- }, {
3228
+ } & {
3296
3229
  type: z.ZodLiteral<"pdf">;
3297
3230
  url: z.ZodString;
3298
- }>, "strip", z.ZodTypeAny, {
3231
+ }, "strip", z.ZodTypeAny, {
3299
3232
  type: "pdf";
3300
3233
  url: string;
3301
3234
  label: string;
@@ -3305,13 +3238,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3305
3238
  url: string;
3306
3239
  label: string;
3307
3240
  text: string;
3308
- }>, z.ZodObject<z.objectUtil.extendShape<{
3309
- type: z.ZodEnum<["pdf", "text", "link"]>;
3241
+ }>, z.ZodObject<{
3310
3242
  label: z.ZodString;
3311
3243
  text: z.ZodString;
3312
- }, {
3244
+ } & {
3313
3245
  type: z.ZodLiteral<"text">;
3314
- }>, "strip", z.ZodTypeAny, {
3246
+ }, "strip", z.ZodTypeAny, {
3315
3247
  type: "text";
3316
3248
  label: string;
3317
3249
  text: string;
@@ -3319,14 +3251,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3319
3251
  type: "text";
3320
3252
  label: string;
3321
3253
  text: string;
3322
- }>, z.ZodObject<z.objectUtil.extendShape<{
3323
- type: z.ZodEnum<["pdf", "text", "link"]>;
3254
+ }>, z.ZodObject<{
3324
3255
  label: z.ZodString;
3325
3256
  text: z.ZodString;
3326
- }, {
3257
+ } & {
3327
3258
  type: z.ZodLiteral<"link">;
3328
3259
  url: z.ZodString;
3329
- }>, "strip", z.ZodTypeAny, {
3260
+ }, "strip", z.ZodTypeAny, {
3330
3261
  type: "link";
3331
3262
  url: string;
3332
3263
  label: string;
@@ -3372,22 +3303,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3372
3303
  readOnly?: boolean | undefined;
3373
3304
  }>>;
3374
3305
  sortOrder: z.ZodOptional<z.ZodNumber>;
3375
- }, {
3306
+ } & {
3376
3307
  type: z.ZodLiteral<"criterion">;
3377
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
3378
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
3308
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
3379
3309
  title: z.ZodString;
3380
3310
  longFormTitle: z.ZodOptional<z.ZodString>;
3381
3311
  code: z.ZodString;
3382
3312
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3383
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3384
- type: z.ZodEnum<["pdf", "text", "link"]>;
3313
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3385
3314
  label: z.ZodString;
3386
3315
  text: z.ZodString;
3387
- }, {
3316
+ } & {
3388
3317
  type: z.ZodLiteral<"pdf">;
3389
3318
  url: z.ZodString;
3390
- }>, "strip", z.ZodTypeAny, {
3319
+ }, "strip", z.ZodTypeAny, {
3391
3320
  type: "pdf";
3392
3321
  url: string;
3393
3322
  label: string;
@@ -3397,13 +3326,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3397
3326
  url: string;
3398
3327
  label: string;
3399
3328
  text: string;
3400
- }>, z.ZodObject<z.objectUtil.extendShape<{
3401
- type: z.ZodEnum<["pdf", "text", "link"]>;
3329
+ }>, z.ZodObject<{
3402
3330
  label: z.ZodString;
3403
3331
  text: z.ZodString;
3404
- }, {
3332
+ } & {
3405
3333
  type: z.ZodLiteral<"text">;
3406
- }>, "strip", z.ZodTypeAny, {
3334
+ }, "strip", z.ZodTypeAny, {
3407
3335
  type: "text";
3408
3336
  label: string;
3409
3337
  text: string;
@@ -3411,14 +3339,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3411
3339
  type: "text";
3412
3340
  label: string;
3413
3341
  text: string;
3414
- }>, z.ZodObject<z.objectUtil.extendShape<{
3415
- type: z.ZodEnum<["pdf", "text", "link"]>;
3342
+ }>, z.ZodObject<{
3416
3343
  label: z.ZodString;
3417
3344
  text: z.ZodString;
3418
- }, {
3345
+ } & {
3419
3346
  type: z.ZodLiteral<"link">;
3420
3347
  url: z.ZodString;
3421
- }>, "strip", z.ZodTypeAny, {
3348
+ }, "strip", z.ZodTypeAny, {
3422
3349
  type: "link";
3423
3350
  url: string;
3424
3351
  label: string;
@@ -3464,24 +3391,22 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3464
3391
  readOnly?: boolean | undefined;
3465
3392
  }>>;
3466
3393
  sortOrder: z.ZodOptional<z.ZodNumber>;
3467
- }, {
3394
+ } & {
3468
3395
  type: z.ZodLiteral<"task-group">;
3469
3396
  description: z.ZodOptional<z.ZodString>;
3470
3397
  category: z.ZodOptional<z.ZodString>;
3471
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
3472
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
3398
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
3473
3399
  title: z.ZodString;
3474
3400
  longFormTitle: z.ZodOptional<z.ZodString>;
3475
3401
  code: z.ZodString;
3476
3402
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3477
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3478
- type: z.ZodEnum<["pdf", "text", "link"]>;
3403
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3479
3404
  label: z.ZodString;
3480
3405
  text: z.ZodString;
3481
- }, {
3406
+ } & {
3482
3407
  type: z.ZodLiteral<"pdf">;
3483
3408
  url: z.ZodString;
3484
- }>, "strip", z.ZodTypeAny, {
3409
+ }, "strip", z.ZodTypeAny, {
3485
3410
  type: "pdf";
3486
3411
  url: string;
3487
3412
  label: string;
@@ -3491,13 +3416,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3491
3416
  url: string;
3492
3417
  label: string;
3493
3418
  text: string;
3494
- }>, z.ZodObject<z.objectUtil.extendShape<{
3495
- type: z.ZodEnum<["pdf", "text", "link"]>;
3419
+ }>, z.ZodObject<{
3496
3420
  label: z.ZodString;
3497
3421
  text: z.ZodString;
3498
- }, {
3422
+ } & {
3499
3423
  type: z.ZodLiteral<"text">;
3500
- }>, "strip", z.ZodTypeAny, {
3424
+ }, "strip", z.ZodTypeAny, {
3501
3425
  type: "text";
3502
3426
  label: string;
3503
3427
  text: string;
@@ -3505,14 +3429,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3505
3429
  type: "text";
3506
3430
  label: string;
3507
3431
  text: string;
3508
- }>, z.ZodObject<z.objectUtil.extendShape<{
3509
- type: z.ZodEnum<["pdf", "text", "link"]>;
3432
+ }>, z.ZodObject<{
3510
3433
  label: z.ZodString;
3511
3434
  text: z.ZodString;
3512
- }, {
3435
+ } & {
3513
3436
  type: z.ZodLiteral<"link">;
3514
3437
  url: z.ZodString;
3515
- }>, "strip", z.ZodTypeAny, {
3438
+ }, "strip", z.ZodTypeAny, {
3516
3439
  type: "link";
3517
3440
  url: string;
3518
3441
  label: string;
@@ -3558,23 +3481,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3558
3481
  readOnly?: boolean | undefined;
3559
3482
  }>>;
3560
3483
  sortOrder: z.ZodOptional<z.ZodNumber>;
3561
- }, {
3484
+ } & {
3562
3485
  type: z.ZodLiteral<"task">;
3563
3486
  description: z.ZodOptional<z.ZodString>;
3564
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
3565
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
3566
- title: z.ZodString;
3567
- longFormTitle: z.ZodOptional<z.ZodString>;
3487
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
3568
3488
  code: z.ZodString;
3489
+ longFormTitle: z.ZodOptional<z.ZodString>;
3569
3490
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3570
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3571
- type: z.ZodEnum<["pdf", "text", "link"]>;
3491
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3572
3492
  label: z.ZodString;
3573
3493
  text: z.ZodString;
3574
- }, {
3494
+ } & {
3575
3495
  type: z.ZodLiteral<"pdf">;
3576
3496
  url: z.ZodString;
3577
- }>, "strip", z.ZodTypeAny, {
3497
+ }, "strip", z.ZodTypeAny, {
3578
3498
  type: "pdf";
3579
3499
  url: string;
3580
3500
  label: string;
@@ -3584,13 +3504,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3584
3504
  url: string;
3585
3505
  label: string;
3586
3506
  text: string;
3587
- }>, z.ZodObject<z.objectUtil.extendShape<{
3588
- type: z.ZodEnum<["pdf", "text", "link"]>;
3507
+ }>, z.ZodObject<{
3589
3508
  label: z.ZodString;
3590
3509
  text: z.ZodString;
3591
- }, {
3510
+ } & {
3592
3511
  type: z.ZodLiteral<"text">;
3593
- }>, "strip", z.ZodTypeAny, {
3512
+ }, "strip", z.ZodTypeAny, {
3594
3513
  type: "text";
3595
3514
  label: string;
3596
3515
  text: string;
@@ -3598,14 +3517,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3598
3517
  type: "text";
3599
3518
  label: string;
3600
3519
  text: string;
3601
- }>, z.ZodObject<z.objectUtil.extendShape<{
3602
- type: z.ZodEnum<["pdf", "text", "link"]>;
3520
+ }>, z.ZodObject<{
3603
3521
  label: z.ZodString;
3604
3522
  text: z.ZodString;
3605
- }, {
3523
+ } & {
3606
3524
  type: z.ZodLiteral<"link">;
3607
3525
  url: z.ZodString;
3608
- }>, "strip", z.ZodTypeAny, {
3526
+ }, "strip", z.ZodTypeAny, {
3609
3527
  type: "link";
3610
3528
  url: string;
3611
3529
  label: string;
@@ -3616,44 +3534,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3616
3534
  label: string;
3617
3535
  text: string;
3618
3536
  }>]>, "many">>;
3619
- data: z.ZodOptional<z.ZodObject<{
3620
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
3621
- 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">]>>;
3622
- text: z.ZodOptional<z.ZodString>;
3623
- maximumValue: z.ZodOptional<z.ZodNumber>;
3624
- minimumValue: z.ZodOptional<z.ZodNumber>;
3625
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
3626
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
3627
- step: z.ZodOptional<z.ZodNumber>;
3628
- total: z.ZodOptional<z.ZodNumber>;
3629
- readOnly: z.ZodOptional<z.ZodBoolean>;
3630
- }, "strip", z.ZodTypeAny, {
3631
- type?: "number" | "percentage" | undefined;
3632
- total?: number | undefined;
3633
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
3634
- text?: string | undefined;
3635
- maximumValue?: number | undefined;
3636
- minimumValue?: number | undefined;
3637
- exclusiveMaximum?: number | undefined;
3638
- exclusiveMinimum?: number | undefined;
3639
- step?: number | undefined;
3640
- readOnly?: boolean | undefined;
3641
- }, {
3642
- type?: "number" | "percentage" | undefined;
3643
- total?: number | undefined;
3644
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
3645
- text?: string | undefined;
3646
- maximumValue?: number | undefined;
3647
- minimumValue?: number | undefined;
3648
- exclusiveMaximum?: number | undefined;
3649
- exclusiveMinimum?: number | undefined;
3650
- step?: number | undefined;
3651
- readOnly?: boolean | undefined;
3652
- }>>;
3653
3537
  sortOrder: z.ZodOptional<z.ZodNumber>;
3654
- }, "title">, {
3538
+ } & {
3655
3539
  type: z.ZodLiteral<"task-item">;
3656
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3540
+ data: z.ZodOptional<z.ZodObject<{
3657
3541
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
3658
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">]>>;
3659
3543
  text: z.ZodOptional<z.ZodString>;
@@ -3664,9 +3548,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3664
3548
  step: z.ZodOptional<z.ZodNumber>;
3665
3549
  total: z.ZodOptional<z.ZodNumber>;
3666
3550
  readOnly: z.ZodOptional<z.ZodBoolean>;
3667
- }, {
3551
+ } & {
3668
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">]>>;
3669
- }>, "strip", z.ZodTypeAny, {
3553
+ }, "strip", z.ZodTypeAny, {
3670
3554
  type?: "number" | "percentage" | undefined;
3671
3555
  total?: number | undefined;
3672
3556
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -3691,11 +3575,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3691
3575
  readOnly?: boolean | undefined;
3692
3576
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
3693
3577
  }>>;
3694
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3695
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
3578
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3696
3579
  label: z.ZodOptional<z.ZodString>;
3697
3580
  readOnly: z.ZodOptional<z.ZodBoolean>;
3698
- }, {
3581
+ } & {
3699
3582
  type: z.ZodLiteral<"select-single">;
3700
3583
  minimum: z.ZodOptional<z.ZodNumber>;
3701
3584
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -3719,7 +3602,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3719
3602
  outro?: string | undefined;
3720
3603
  }>, "many">;
3721
3604
  defaultValue: z.ZodOptional<z.ZodString>;
3722
- }>, "strip", z.ZodTypeAny, {
3605
+ }, "strip", z.ZodTypeAny, {
3723
3606
  type: "select-single";
3724
3607
  options: {
3725
3608
  value: string | number | boolean | null;
@@ -3747,11 +3630,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3747
3630
  maximum?: number | undefined;
3748
3631
  defaultValue?: string | undefined;
3749
3632
  readOnly?: boolean | undefined;
3750
- }>, z.ZodObject<z.objectUtil.extendShape<{
3751
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
3633
+ }>, z.ZodObject<{
3752
3634
  label: z.ZodOptional<z.ZodString>;
3753
3635
  readOnly: z.ZodOptional<z.ZodBoolean>;
3754
- }, {
3636
+ } & {
3755
3637
  type: z.ZodLiteral<"select-multiple">;
3756
3638
  minimum: z.ZodOptional<z.ZodNumber>;
3757
3639
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -3775,7 +3657,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3775
3657
  outro?: string | undefined;
3776
3658
  }>, "many">;
3777
3659
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3778
- }>, "strip", z.ZodTypeAny, {
3660
+ }, "strip", z.ZodTypeAny, {
3779
3661
  type: "select-multiple";
3780
3662
  options: {
3781
3663
  value: string | number | boolean | null;
@@ -3803,17 +3685,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3803
3685
  maximum?: number | undefined;
3804
3686
  defaultValue?: string[] | undefined;
3805
3687
  readOnly?: boolean | undefined;
3806
- }>, z.ZodObject<z.objectUtil.extendShape<{
3807
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
3688
+ }>, z.ZodObject<{
3808
3689
  label: z.ZodOptional<z.ZodString>;
3809
3690
  readOnly: z.ZodOptional<z.ZodBoolean>;
3810
- }, {
3691
+ } & {
3811
3692
  type: z.ZodLiteral<"number">;
3812
3693
  minimum: z.ZodOptional<z.ZodNumber>;
3813
3694
  maximum: z.ZodOptional<z.ZodNumber>;
3814
3695
  step: z.ZodOptional<z.ZodNumber>;
3815
3696
  defaultValue: z.ZodOptional<z.ZodNumber>;
3816
- }>, "strip", z.ZodTypeAny, {
3697
+ }, "strip", z.ZodTypeAny, {
3817
3698
  type: "number";
3818
3699
  label?: string | undefined;
3819
3700
  minimum?: number | undefined;
@@ -3829,11 +3710,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3829
3710
  defaultValue?: number | undefined;
3830
3711
  step?: number | undefined;
3831
3712
  readOnly?: boolean | undefined;
3832
- }>, z.ZodObject<z.objectUtil.extendShape<{
3833
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
3713
+ }>, z.ZodObject<{
3834
3714
  label: z.ZodOptional<z.ZodString>;
3835
3715
  readOnly: z.ZodOptional<z.ZodBoolean>;
3836
- }, {
3716
+ } & {
3837
3717
  type: z.ZodLiteral<"boolean">;
3838
3718
  labels: z.ZodOptional<z.ZodObject<{
3839
3719
  true: z.ZodString;
@@ -3846,7 +3726,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3846
3726
  true: string;
3847
3727
  }>>;
3848
3728
  defaultValue: z.ZodOptional<z.ZodBoolean>;
3849
- }>, "strip", z.ZodTypeAny, {
3729
+ }, "strip", z.ZodTypeAny, {
3850
3730
  type: "boolean";
3851
3731
  label?: string | undefined;
3852
3732
  labels?: {
@@ -3877,7 +3757,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
3877
3757
  hideCode?: boolean | undefined;
3878
3758
  excludeFromTargets?: boolean | undefined;
3879
3759
  }>>;
3880
- }>, "strip", z.ZodTypeAny, {
3760
+ }, "strip", z.ZodTypeAny, {
3881
3761
  code: string;
3882
3762
  type: "task-item";
3883
3763
  definition: {
@@ -4057,7 +3937,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4057
3937
  }, {
4058
3938
  hideCode?: boolean | undefined;
4059
3939
  }>>;
4060
- }>, "strip", z.ZodTypeAny, {
3940
+ }, "strip", z.ZodTypeAny, {
4061
3941
  code: string;
4062
3942
  type: "task";
4063
3943
  title: string;
@@ -4318,7 +4198,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4318
4198
  hideCode?: boolean | undefined;
4319
4199
  hideFromHierarchy?: boolean | undefined;
4320
4200
  }>>;
4321
- }>, "strip", z.ZodTypeAny, {
4201
+ }, "strip", z.ZodTypeAny, {
4322
4202
  code: string;
4323
4203
  type: "task-group";
4324
4204
  title: string;
@@ -4661,7 +4541,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4661
4541
  hideCode?: boolean | undefined;
4662
4542
  hideFromHierarchy?: boolean | undefined;
4663
4543
  }>>;
4664
- }>, "strip", z.ZodTypeAny, {
4544
+ }, "strip", z.ZodTypeAny, {
4665
4545
  code: string;
4666
4546
  type: "criterion";
4667
4547
  title: string;
@@ -5082,7 +4962,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5082
4962
  hideCode?: boolean | undefined;
5083
4963
  hideFromHierarchy?: boolean | undefined;
5084
4964
  }>>;
5085
- }>, "strip", z.ZodTypeAny, {
4965
+ }, "strip", z.ZodTypeAny, {
5086
4966
  code: string;
5087
4967
  type: "theme";
5088
4968
  title: string;
@@ -5594,20 +5474,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5594
5474
  text: string;
5595
5475
  })[] | undefined;
5596
5476
  sortOrder?: number | undefined;
5597
- }>, z.ZodObject<z.objectUtil.extendShape<{
5598
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
5477
+ }>, z.ZodObject<{
5599
5478
  title: z.ZodString;
5600
5479
  longFormTitle: z.ZodOptional<z.ZodString>;
5601
5480
  code: z.ZodString;
5602
5481
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5603
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5604
- type: z.ZodEnum<["pdf", "text", "link"]>;
5482
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5605
5483
  label: z.ZodString;
5606
5484
  text: z.ZodString;
5607
- }, {
5485
+ } & {
5608
5486
  type: z.ZodLiteral<"pdf">;
5609
5487
  url: z.ZodString;
5610
- }>, "strip", z.ZodTypeAny, {
5488
+ }, "strip", z.ZodTypeAny, {
5611
5489
  type: "pdf";
5612
5490
  url: string;
5613
5491
  label: string;
@@ -5617,13 +5495,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5617
5495
  url: string;
5618
5496
  label: string;
5619
5497
  text: string;
5620
- }>, z.ZodObject<z.objectUtil.extendShape<{
5621
- type: z.ZodEnum<["pdf", "text", "link"]>;
5498
+ }>, z.ZodObject<{
5622
5499
  label: z.ZodString;
5623
5500
  text: z.ZodString;
5624
- }, {
5501
+ } & {
5625
5502
  type: z.ZodLiteral<"text">;
5626
- }>, "strip", z.ZodTypeAny, {
5503
+ }, "strip", z.ZodTypeAny, {
5627
5504
  type: "text";
5628
5505
  label: string;
5629
5506
  text: string;
@@ -5631,14 +5508,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5631
5508
  type: "text";
5632
5509
  label: string;
5633
5510
  text: string;
5634
- }>, z.ZodObject<z.objectUtil.extendShape<{
5635
- type: z.ZodEnum<["pdf", "text", "link"]>;
5511
+ }>, z.ZodObject<{
5636
5512
  label: z.ZodString;
5637
5513
  text: z.ZodString;
5638
- }, {
5514
+ } & {
5639
5515
  type: z.ZodLiteral<"link">;
5640
5516
  url: z.ZodString;
5641
- }>, "strip", z.ZodTypeAny, {
5517
+ }, "strip", z.ZodTypeAny, {
5642
5518
  type: "link";
5643
5519
  url: string;
5644
5520
  label: string;
@@ -5684,22 +5560,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5684
5560
  readOnly?: boolean | undefined;
5685
5561
  }>>;
5686
5562
  sortOrder: z.ZodOptional<z.ZodNumber>;
5687
- }, {
5563
+ } & {
5688
5564
  type: z.ZodLiteral<"criterion">;
5689
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
5690
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
5565
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
5691
5566
  title: z.ZodString;
5692
5567
  longFormTitle: z.ZodOptional<z.ZodString>;
5693
5568
  code: z.ZodString;
5694
5569
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5695
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5696
- type: z.ZodEnum<["pdf", "text", "link"]>;
5570
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5697
5571
  label: z.ZodString;
5698
5572
  text: z.ZodString;
5699
- }, {
5573
+ } & {
5700
5574
  type: z.ZodLiteral<"pdf">;
5701
5575
  url: z.ZodString;
5702
- }>, "strip", z.ZodTypeAny, {
5576
+ }, "strip", z.ZodTypeAny, {
5703
5577
  type: "pdf";
5704
5578
  url: string;
5705
5579
  label: string;
@@ -5709,13 +5583,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5709
5583
  url: string;
5710
5584
  label: string;
5711
5585
  text: string;
5712
- }>, z.ZodObject<z.objectUtil.extendShape<{
5713
- type: z.ZodEnum<["pdf", "text", "link"]>;
5586
+ }>, z.ZodObject<{
5714
5587
  label: z.ZodString;
5715
5588
  text: z.ZodString;
5716
- }, {
5589
+ } & {
5717
5590
  type: z.ZodLiteral<"text">;
5718
- }>, "strip", z.ZodTypeAny, {
5591
+ }, "strip", z.ZodTypeAny, {
5719
5592
  type: "text";
5720
5593
  label: string;
5721
5594
  text: string;
@@ -5723,14 +5596,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5723
5596
  type: "text";
5724
5597
  label: string;
5725
5598
  text: string;
5726
- }>, z.ZodObject<z.objectUtil.extendShape<{
5727
- type: z.ZodEnum<["pdf", "text", "link"]>;
5599
+ }>, z.ZodObject<{
5728
5600
  label: z.ZodString;
5729
5601
  text: z.ZodString;
5730
- }, {
5602
+ } & {
5731
5603
  type: z.ZodLiteral<"link">;
5732
5604
  url: z.ZodString;
5733
- }>, "strip", z.ZodTypeAny, {
5605
+ }, "strip", z.ZodTypeAny, {
5734
5606
  type: "link";
5735
5607
  url: string;
5736
5608
  label: string;
@@ -5776,24 +5648,22 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5776
5648
  readOnly?: boolean | undefined;
5777
5649
  }>>;
5778
5650
  sortOrder: z.ZodOptional<z.ZodNumber>;
5779
- }, {
5651
+ } & {
5780
5652
  type: z.ZodLiteral<"task-group">;
5781
5653
  description: z.ZodOptional<z.ZodString>;
5782
5654
  category: z.ZodOptional<z.ZodString>;
5783
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
5784
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
5655
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
5785
5656
  title: z.ZodString;
5786
5657
  longFormTitle: z.ZodOptional<z.ZodString>;
5787
5658
  code: z.ZodString;
5788
5659
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5789
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5790
- type: z.ZodEnum<["pdf", "text", "link"]>;
5660
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5791
5661
  label: z.ZodString;
5792
5662
  text: z.ZodString;
5793
- }, {
5663
+ } & {
5794
5664
  type: z.ZodLiteral<"pdf">;
5795
5665
  url: z.ZodString;
5796
- }>, "strip", z.ZodTypeAny, {
5666
+ }, "strip", z.ZodTypeAny, {
5797
5667
  type: "pdf";
5798
5668
  url: string;
5799
5669
  label: string;
@@ -5803,13 +5673,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5803
5673
  url: string;
5804
5674
  label: string;
5805
5675
  text: string;
5806
- }>, z.ZodObject<z.objectUtil.extendShape<{
5807
- type: z.ZodEnum<["pdf", "text", "link"]>;
5676
+ }>, z.ZodObject<{
5808
5677
  label: z.ZodString;
5809
5678
  text: z.ZodString;
5810
- }, {
5679
+ } & {
5811
5680
  type: z.ZodLiteral<"text">;
5812
- }>, "strip", z.ZodTypeAny, {
5681
+ }, "strip", z.ZodTypeAny, {
5813
5682
  type: "text";
5814
5683
  label: string;
5815
5684
  text: string;
@@ -5817,14 +5686,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5817
5686
  type: "text";
5818
5687
  label: string;
5819
5688
  text: string;
5820
- }>, z.ZodObject<z.objectUtil.extendShape<{
5821
- type: z.ZodEnum<["pdf", "text", "link"]>;
5689
+ }>, z.ZodObject<{
5822
5690
  label: z.ZodString;
5823
5691
  text: z.ZodString;
5824
- }, {
5692
+ } & {
5825
5693
  type: z.ZodLiteral<"link">;
5826
5694
  url: z.ZodString;
5827
- }>, "strip", z.ZodTypeAny, {
5695
+ }, "strip", z.ZodTypeAny, {
5828
5696
  type: "link";
5829
5697
  url: string;
5830
5698
  label: string;
@@ -5870,23 +5738,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5870
5738
  readOnly?: boolean | undefined;
5871
5739
  }>>;
5872
5740
  sortOrder: z.ZodOptional<z.ZodNumber>;
5873
- }, {
5741
+ } & {
5874
5742
  type: z.ZodLiteral<"task">;
5875
5743
  description: z.ZodOptional<z.ZodString>;
5876
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
5877
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
5878
- title: z.ZodString;
5879
- longFormTitle: z.ZodOptional<z.ZodString>;
5744
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
5880
5745
  code: z.ZodString;
5746
+ longFormTitle: z.ZodOptional<z.ZodString>;
5881
5747
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5882
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5883
- type: z.ZodEnum<["pdf", "text", "link"]>;
5748
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5884
5749
  label: z.ZodString;
5885
5750
  text: z.ZodString;
5886
- }, {
5751
+ } & {
5887
5752
  type: z.ZodLiteral<"pdf">;
5888
5753
  url: z.ZodString;
5889
- }>, "strip", z.ZodTypeAny, {
5754
+ }, "strip", z.ZodTypeAny, {
5890
5755
  type: "pdf";
5891
5756
  url: string;
5892
5757
  label: string;
@@ -5896,13 +5761,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5896
5761
  url: string;
5897
5762
  label: string;
5898
5763
  text: string;
5899
- }>, z.ZodObject<z.objectUtil.extendShape<{
5900
- type: z.ZodEnum<["pdf", "text", "link"]>;
5764
+ }>, z.ZodObject<{
5901
5765
  label: z.ZodString;
5902
5766
  text: z.ZodString;
5903
- }, {
5767
+ } & {
5904
5768
  type: z.ZodLiteral<"text">;
5905
- }>, "strip", z.ZodTypeAny, {
5769
+ }, "strip", z.ZodTypeAny, {
5906
5770
  type: "text";
5907
5771
  label: string;
5908
5772
  text: string;
@@ -5910,14 +5774,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5910
5774
  type: "text";
5911
5775
  label: string;
5912
5776
  text: string;
5913
- }>, z.ZodObject<z.objectUtil.extendShape<{
5914
- type: z.ZodEnum<["pdf", "text", "link"]>;
5777
+ }>, z.ZodObject<{
5915
5778
  label: z.ZodString;
5916
5779
  text: z.ZodString;
5917
- }, {
5780
+ } & {
5918
5781
  type: z.ZodLiteral<"link">;
5919
5782
  url: z.ZodString;
5920
- }>, "strip", z.ZodTypeAny, {
5783
+ }, "strip", z.ZodTypeAny, {
5921
5784
  type: "link";
5922
5785
  url: string;
5923
5786
  label: string;
@@ -5928,44 +5791,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5928
5791
  label: string;
5929
5792
  text: string;
5930
5793
  }>]>, "many">>;
5931
- data: z.ZodOptional<z.ZodObject<{
5932
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
5933
- 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">]>>;
5934
- text: z.ZodOptional<z.ZodString>;
5935
- maximumValue: z.ZodOptional<z.ZodNumber>;
5936
- minimumValue: z.ZodOptional<z.ZodNumber>;
5937
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
5938
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
5939
- step: z.ZodOptional<z.ZodNumber>;
5940
- total: z.ZodOptional<z.ZodNumber>;
5941
- readOnly: z.ZodOptional<z.ZodBoolean>;
5942
- }, "strip", z.ZodTypeAny, {
5943
- type?: "number" | "percentage" | undefined;
5944
- total?: number | undefined;
5945
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
5946
- text?: string | undefined;
5947
- maximumValue?: number | undefined;
5948
- minimumValue?: number | undefined;
5949
- exclusiveMaximum?: number | undefined;
5950
- exclusiveMinimum?: number | undefined;
5951
- step?: number | undefined;
5952
- readOnly?: boolean | undefined;
5953
- }, {
5954
- type?: "number" | "percentage" | undefined;
5955
- total?: number | undefined;
5956
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
5957
- text?: string | undefined;
5958
- maximumValue?: number | undefined;
5959
- minimumValue?: number | undefined;
5960
- exclusiveMaximum?: number | undefined;
5961
- exclusiveMinimum?: number | undefined;
5962
- step?: number | undefined;
5963
- readOnly?: boolean | undefined;
5964
- }>>;
5965
5794
  sortOrder: z.ZodOptional<z.ZodNumber>;
5966
- }, "title">, {
5795
+ } & {
5967
5796
  type: z.ZodLiteral<"task-item">;
5968
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
5797
+ data: z.ZodOptional<z.ZodObject<{
5969
5798
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
5970
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">]>>;
5971
5800
  text: z.ZodOptional<z.ZodString>;
@@ -5976,9 +5805,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5976
5805
  step: z.ZodOptional<z.ZodNumber>;
5977
5806
  total: z.ZodOptional<z.ZodNumber>;
5978
5807
  readOnly: z.ZodOptional<z.ZodBoolean>;
5979
- }, {
5808
+ } & {
5980
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">]>>;
5981
- }>, "strip", z.ZodTypeAny, {
5810
+ }, "strip", z.ZodTypeAny, {
5982
5811
  type?: "number" | "percentage" | undefined;
5983
5812
  total?: number | undefined;
5984
5813
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -6003,11 +5832,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6003
5832
  readOnly?: boolean | undefined;
6004
5833
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
6005
5834
  }>>;
6006
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
6007
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
5835
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6008
5836
  label: z.ZodOptional<z.ZodString>;
6009
5837
  readOnly: z.ZodOptional<z.ZodBoolean>;
6010
- }, {
5838
+ } & {
6011
5839
  type: z.ZodLiteral<"select-single">;
6012
5840
  minimum: z.ZodOptional<z.ZodNumber>;
6013
5841
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -6031,7 +5859,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6031
5859
  outro?: string | undefined;
6032
5860
  }>, "many">;
6033
5861
  defaultValue: z.ZodOptional<z.ZodString>;
6034
- }>, "strip", z.ZodTypeAny, {
5862
+ }, "strip", z.ZodTypeAny, {
6035
5863
  type: "select-single";
6036
5864
  options: {
6037
5865
  value: string | number | boolean | null;
@@ -6059,11 +5887,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6059
5887
  maximum?: number | undefined;
6060
5888
  defaultValue?: string | undefined;
6061
5889
  readOnly?: boolean | undefined;
6062
- }>, z.ZodObject<z.objectUtil.extendShape<{
6063
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
5890
+ }>, z.ZodObject<{
6064
5891
  label: z.ZodOptional<z.ZodString>;
6065
5892
  readOnly: z.ZodOptional<z.ZodBoolean>;
6066
- }, {
5893
+ } & {
6067
5894
  type: z.ZodLiteral<"select-multiple">;
6068
5895
  minimum: z.ZodOptional<z.ZodNumber>;
6069
5896
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -6087,7 +5914,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6087
5914
  outro?: string | undefined;
6088
5915
  }>, "many">;
6089
5916
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6090
- }>, "strip", z.ZodTypeAny, {
5917
+ }, "strip", z.ZodTypeAny, {
6091
5918
  type: "select-multiple";
6092
5919
  options: {
6093
5920
  value: string | number | boolean | null;
@@ -6115,17 +5942,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6115
5942
  maximum?: number | undefined;
6116
5943
  defaultValue?: string[] | undefined;
6117
5944
  readOnly?: boolean | undefined;
6118
- }>, z.ZodObject<z.objectUtil.extendShape<{
6119
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
5945
+ }>, z.ZodObject<{
6120
5946
  label: z.ZodOptional<z.ZodString>;
6121
5947
  readOnly: z.ZodOptional<z.ZodBoolean>;
6122
- }, {
5948
+ } & {
6123
5949
  type: z.ZodLiteral<"number">;
6124
5950
  minimum: z.ZodOptional<z.ZodNumber>;
6125
5951
  maximum: z.ZodOptional<z.ZodNumber>;
6126
5952
  step: z.ZodOptional<z.ZodNumber>;
6127
5953
  defaultValue: z.ZodOptional<z.ZodNumber>;
6128
- }>, "strip", z.ZodTypeAny, {
5954
+ }, "strip", z.ZodTypeAny, {
6129
5955
  type: "number";
6130
5956
  label?: string | undefined;
6131
5957
  minimum?: number | undefined;
@@ -6141,11 +5967,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6141
5967
  defaultValue?: number | undefined;
6142
5968
  step?: number | undefined;
6143
5969
  readOnly?: boolean | undefined;
6144
- }>, z.ZodObject<z.objectUtil.extendShape<{
6145
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
5970
+ }>, z.ZodObject<{
6146
5971
  label: z.ZodOptional<z.ZodString>;
6147
5972
  readOnly: z.ZodOptional<z.ZodBoolean>;
6148
- }, {
5973
+ } & {
6149
5974
  type: z.ZodLiteral<"boolean">;
6150
5975
  labels: z.ZodOptional<z.ZodObject<{
6151
5976
  true: z.ZodString;
@@ -6158,7 +5983,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6158
5983
  true: string;
6159
5984
  }>>;
6160
5985
  defaultValue: z.ZodOptional<z.ZodBoolean>;
6161
- }>, "strip", z.ZodTypeAny, {
5986
+ }, "strip", z.ZodTypeAny, {
6162
5987
  type: "boolean";
6163
5988
  label?: string | undefined;
6164
5989
  labels?: {
@@ -6189,7 +6014,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6189
6014
  hideCode?: boolean | undefined;
6190
6015
  excludeFromTargets?: boolean | undefined;
6191
6016
  }>>;
6192
- }>, "strip", z.ZodTypeAny, {
6017
+ }, "strip", z.ZodTypeAny, {
6193
6018
  code: string;
6194
6019
  type: "task-item";
6195
6020
  definition: {
@@ -6369,7 +6194,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6369
6194
  }, {
6370
6195
  hideCode?: boolean | undefined;
6371
6196
  }>>;
6372
- }>, "strip", z.ZodTypeAny, {
6197
+ }, "strip", z.ZodTypeAny, {
6373
6198
  code: string;
6374
6199
  type: "task";
6375
6200
  title: string;
@@ -6630,7 +6455,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6630
6455
  hideCode?: boolean | undefined;
6631
6456
  hideFromHierarchy?: boolean | undefined;
6632
6457
  }>>;
6633
- }>, "strip", z.ZodTypeAny, {
6458
+ }, "strip", z.ZodTypeAny, {
6634
6459
  code: string;
6635
6460
  type: "task-group";
6636
6461
  title: string;
@@ -6973,7 +6798,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6973
6798
  hideCode?: boolean | undefined;
6974
6799
  hideFromHierarchy?: boolean | undefined;
6975
6800
  }>>;
6976
- }>, "strip", z.ZodTypeAny, {
6801
+ }, "strip", z.ZodTypeAny, {
6977
6802
  code: string;
6978
6803
  type: "criterion";
6979
6804
  title: string;
@@ -7383,20 +7208,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7383
7208
  text: string;
7384
7209
  })[] | undefined;
7385
7210
  sortOrder?: number | undefined;
7386
- }>, z.ZodObject<z.objectUtil.extendShape<{
7387
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
7211
+ }>, z.ZodObject<{
7388
7212
  title: z.ZodString;
7389
7213
  longFormTitle: z.ZodOptional<z.ZodString>;
7390
7214
  code: z.ZodString;
7391
7215
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7392
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7393
- type: z.ZodEnum<["pdf", "text", "link"]>;
7216
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7394
7217
  label: z.ZodString;
7395
7218
  text: z.ZodString;
7396
- }, {
7219
+ } & {
7397
7220
  type: z.ZodLiteral<"pdf">;
7398
7221
  url: z.ZodString;
7399
- }>, "strip", z.ZodTypeAny, {
7222
+ }, "strip", z.ZodTypeAny, {
7400
7223
  type: "pdf";
7401
7224
  url: string;
7402
7225
  label: string;
@@ -7406,13 +7229,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7406
7229
  url: string;
7407
7230
  label: string;
7408
7231
  text: string;
7409
- }>, z.ZodObject<z.objectUtil.extendShape<{
7410
- type: z.ZodEnum<["pdf", "text", "link"]>;
7232
+ }>, z.ZodObject<{
7411
7233
  label: z.ZodString;
7412
7234
  text: z.ZodString;
7413
- }, {
7235
+ } & {
7414
7236
  type: z.ZodLiteral<"text">;
7415
- }>, "strip", z.ZodTypeAny, {
7237
+ }, "strip", z.ZodTypeAny, {
7416
7238
  type: "text";
7417
7239
  label: string;
7418
7240
  text: string;
@@ -7420,14 +7242,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7420
7242
  type: "text";
7421
7243
  label: string;
7422
7244
  text: string;
7423
- }>, z.ZodObject<z.objectUtil.extendShape<{
7424
- type: z.ZodEnum<["pdf", "text", "link"]>;
7245
+ }>, z.ZodObject<{
7425
7246
  label: z.ZodString;
7426
7247
  text: z.ZodString;
7427
- }, {
7248
+ } & {
7428
7249
  type: z.ZodLiteral<"link">;
7429
7250
  url: z.ZodString;
7430
- }>, "strip", z.ZodTypeAny, {
7251
+ }, "strip", z.ZodTypeAny, {
7431
7252
  type: "link";
7432
7253
  url: string;
7433
7254
  label: string;
@@ -7473,24 +7294,22 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7473
7294
  readOnly?: boolean | undefined;
7474
7295
  }>>;
7475
7296
  sortOrder: z.ZodOptional<z.ZodNumber>;
7476
- }, {
7297
+ } & {
7477
7298
  type: z.ZodLiteral<"task-group">;
7478
7299
  description: z.ZodOptional<z.ZodString>;
7479
7300
  category: z.ZodOptional<z.ZodString>;
7480
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
7481
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
7301
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
7482
7302
  title: z.ZodString;
7483
7303
  longFormTitle: z.ZodOptional<z.ZodString>;
7484
7304
  code: z.ZodString;
7485
7305
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7486
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7487
- type: z.ZodEnum<["pdf", "text", "link"]>;
7306
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7488
7307
  label: z.ZodString;
7489
7308
  text: z.ZodString;
7490
- }, {
7309
+ } & {
7491
7310
  type: z.ZodLiteral<"pdf">;
7492
7311
  url: z.ZodString;
7493
- }>, "strip", z.ZodTypeAny, {
7312
+ }, "strip", z.ZodTypeAny, {
7494
7313
  type: "pdf";
7495
7314
  url: string;
7496
7315
  label: string;
@@ -7500,13 +7319,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7500
7319
  url: string;
7501
7320
  label: string;
7502
7321
  text: string;
7503
- }>, z.ZodObject<z.objectUtil.extendShape<{
7504
- type: z.ZodEnum<["pdf", "text", "link"]>;
7322
+ }>, z.ZodObject<{
7505
7323
  label: z.ZodString;
7506
7324
  text: z.ZodString;
7507
- }, {
7325
+ } & {
7508
7326
  type: z.ZodLiteral<"text">;
7509
- }>, "strip", z.ZodTypeAny, {
7327
+ }, "strip", z.ZodTypeAny, {
7510
7328
  type: "text";
7511
7329
  label: string;
7512
7330
  text: string;
@@ -7514,14 +7332,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7514
7332
  type: "text";
7515
7333
  label: string;
7516
7334
  text: string;
7517
- }>, z.ZodObject<z.objectUtil.extendShape<{
7518
- type: z.ZodEnum<["pdf", "text", "link"]>;
7335
+ }>, z.ZodObject<{
7519
7336
  label: z.ZodString;
7520
7337
  text: z.ZodString;
7521
- }, {
7338
+ } & {
7522
7339
  type: z.ZodLiteral<"link">;
7523
7340
  url: z.ZodString;
7524
- }>, "strip", z.ZodTypeAny, {
7341
+ }, "strip", z.ZodTypeAny, {
7525
7342
  type: "link";
7526
7343
  url: string;
7527
7344
  label: string;
@@ -7567,23 +7384,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7567
7384
  readOnly?: boolean | undefined;
7568
7385
  }>>;
7569
7386
  sortOrder: z.ZodOptional<z.ZodNumber>;
7570
- }, {
7387
+ } & {
7571
7388
  type: z.ZodLiteral<"task">;
7572
7389
  description: z.ZodOptional<z.ZodString>;
7573
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
7574
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
7575
- title: z.ZodString;
7576
- longFormTitle: z.ZodOptional<z.ZodString>;
7390
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
7577
7391
  code: z.ZodString;
7392
+ longFormTitle: z.ZodOptional<z.ZodString>;
7578
7393
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7579
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7580
- type: z.ZodEnum<["pdf", "text", "link"]>;
7394
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7581
7395
  label: z.ZodString;
7582
7396
  text: z.ZodString;
7583
- }, {
7397
+ } & {
7584
7398
  type: z.ZodLiteral<"pdf">;
7585
7399
  url: z.ZodString;
7586
- }>, "strip", z.ZodTypeAny, {
7400
+ }, "strip", z.ZodTypeAny, {
7587
7401
  type: "pdf";
7588
7402
  url: string;
7589
7403
  label: string;
@@ -7593,13 +7407,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7593
7407
  url: string;
7594
7408
  label: string;
7595
7409
  text: string;
7596
- }>, z.ZodObject<z.objectUtil.extendShape<{
7597
- type: z.ZodEnum<["pdf", "text", "link"]>;
7410
+ }>, z.ZodObject<{
7598
7411
  label: z.ZodString;
7599
7412
  text: z.ZodString;
7600
- }, {
7413
+ } & {
7601
7414
  type: z.ZodLiteral<"text">;
7602
- }>, "strip", z.ZodTypeAny, {
7415
+ }, "strip", z.ZodTypeAny, {
7603
7416
  type: "text";
7604
7417
  label: string;
7605
7418
  text: string;
@@ -7607,14 +7420,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7607
7420
  type: "text";
7608
7421
  label: string;
7609
7422
  text: string;
7610
- }>, z.ZodObject<z.objectUtil.extendShape<{
7611
- type: z.ZodEnum<["pdf", "text", "link"]>;
7423
+ }>, z.ZodObject<{
7612
7424
  label: z.ZodString;
7613
7425
  text: z.ZodString;
7614
- }, {
7426
+ } & {
7615
7427
  type: z.ZodLiteral<"link">;
7616
7428
  url: z.ZodString;
7617
- }>, "strip", z.ZodTypeAny, {
7429
+ }, "strip", z.ZodTypeAny, {
7618
7430
  type: "link";
7619
7431
  url: string;
7620
7432
  label: string;
@@ -7625,44 +7437,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7625
7437
  label: string;
7626
7438
  text: string;
7627
7439
  }>]>, "many">>;
7628
- data: z.ZodOptional<z.ZodObject<{
7629
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
7630
- 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">]>>;
7631
- text: z.ZodOptional<z.ZodString>;
7632
- maximumValue: z.ZodOptional<z.ZodNumber>;
7633
- minimumValue: z.ZodOptional<z.ZodNumber>;
7634
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
7635
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
7636
- step: z.ZodOptional<z.ZodNumber>;
7637
- total: z.ZodOptional<z.ZodNumber>;
7638
- readOnly: z.ZodOptional<z.ZodBoolean>;
7639
- }, "strip", z.ZodTypeAny, {
7640
- type?: "number" | "percentage" | undefined;
7641
- total?: number | undefined;
7642
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
7643
- text?: string | undefined;
7644
- maximumValue?: number | undefined;
7645
- minimumValue?: number | undefined;
7646
- exclusiveMaximum?: number | undefined;
7647
- exclusiveMinimum?: number | undefined;
7648
- step?: number | undefined;
7649
- readOnly?: boolean | undefined;
7650
- }, {
7651
- type?: "number" | "percentage" | undefined;
7652
- total?: number | undefined;
7653
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
7654
- text?: string | undefined;
7655
- maximumValue?: number | undefined;
7656
- minimumValue?: number | undefined;
7657
- exclusiveMaximum?: number | undefined;
7658
- exclusiveMinimum?: number | undefined;
7659
- step?: number | undefined;
7660
- readOnly?: boolean | undefined;
7661
- }>>;
7662
7440
  sortOrder: z.ZodOptional<z.ZodNumber>;
7663
- }, "title">, {
7441
+ } & {
7664
7442
  type: z.ZodLiteral<"task-item">;
7665
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
7443
+ data: z.ZodOptional<z.ZodObject<{
7666
7444
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
7667
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">]>>;
7668
7446
  text: z.ZodOptional<z.ZodString>;
@@ -7673,9 +7451,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7673
7451
  step: z.ZodOptional<z.ZodNumber>;
7674
7452
  total: z.ZodOptional<z.ZodNumber>;
7675
7453
  readOnly: z.ZodOptional<z.ZodBoolean>;
7676
- }, {
7454
+ } & {
7677
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">]>>;
7678
- }>, "strip", z.ZodTypeAny, {
7456
+ }, "strip", z.ZodTypeAny, {
7679
7457
  type?: "number" | "percentage" | undefined;
7680
7458
  total?: number | undefined;
7681
7459
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -7700,11 +7478,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7700
7478
  readOnly?: boolean | undefined;
7701
7479
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
7702
7480
  }>>;
7703
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7704
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
7481
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7705
7482
  label: z.ZodOptional<z.ZodString>;
7706
7483
  readOnly: z.ZodOptional<z.ZodBoolean>;
7707
- }, {
7484
+ } & {
7708
7485
  type: z.ZodLiteral<"select-single">;
7709
7486
  minimum: z.ZodOptional<z.ZodNumber>;
7710
7487
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -7728,7 +7505,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7728
7505
  outro?: string | undefined;
7729
7506
  }>, "many">;
7730
7507
  defaultValue: z.ZodOptional<z.ZodString>;
7731
- }>, "strip", z.ZodTypeAny, {
7508
+ }, "strip", z.ZodTypeAny, {
7732
7509
  type: "select-single";
7733
7510
  options: {
7734
7511
  value: string | number | boolean | null;
@@ -7756,11 +7533,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7756
7533
  maximum?: number | undefined;
7757
7534
  defaultValue?: string | undefined;
7758
7535
  readOnly?: boolean | undefined;
7759
- }>, z.ZodObject<z.objectUtil.extendShape<{
7760
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
7536
+ }>, z.ZodObject<{
7761
7537
  label: z.ZodOptional<z.ZodString>;
7762
7538
  readOnly: z.ZodOptional<z.ZodBoolean>;
7763
- }, {
7539
+ } & {
7764
7540
  type: z.ZodLiteral<"select-multiple">;
7765
7541
  minimum: z.ZodOptional<z.ZodNumber>;
7766
7542
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -7784,7 +7560,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7784
7560
  outro?: string | undefined;
7785
7561
  }>, "many">;
7786
7562
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7787
- }>, "strip", z.ZodTypeAny, {
7563
+ }, "strip", z.ZodTypeAny, {
7788
7564
  type: "select-multiple";
7789
7565
  options: {
7790
7566
  value: string | number | boolean | null;
@@ -7812,17 +7588,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7812
7588
  maximum?: number | undefined;
7813
7589
  defaultValue?: string[] | undefined;
7814
7590
  readOnly?: boolean | undefined;
7815
- }>, z.ZodObject<z.objectUtil.extendShape<{
7816
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
7591
+ }>, z.ZodObject<{
7817
7592
  label: z.ZodOptional<z.ZodString>;
7818
7593
  readOnly: z.ZodOptional<z.ZodBoolean>;
7819
- }, {
7594
+ } & {
7820
7595
  type: z.ZodLiteral<"number">;
7821
7596
  minimum: z.ZodOptional<z.ZodNumber>;
7822
7597
  maximum: z.ZodOptional<z.ZodNumber>;
7823
7598
  step: z.ZodOptional<z.ZodNumber>;
7824
7599
  defaultValue: z.ZodOptional<z.ZodNumber>;
7825
- }>, "strip", z.ZodTypeAny, {
7600
+ }, "strip", z.ZodTypeAny, {
7826
7601
  type: "number";
7827
7602
  label?: string | undefined;
7828
7603
  minimum?: number | undefined;
@@ -7838,11 +7613,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7838
7613
  defaultValue?: number | undefined;
7839
7614
  step?: number | undefined;
7840
7615
  readOnly?: boolean | undefined;
7841
- }>, z.ZodObject<z.objectUtil.extendShape<{
7842
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
7616
+ }>, z.ZodObject<{
7843
7617
  label: z.ZodOptional<z.ZodString>;
7844
7618
  readOnly: z.ZodOptional<z.ZodBoolean>;
7845
- }, {
7619
+ } & {
7846
7620
  type: z.ZodLiteral<"boolean">;
7847
7621
  labels: z.ZodOptional<z.ZodObject<{
7848
7622
  true: z.ZodString;
@@ -7855,7 +7629,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7855
7629
  true: string;
7856
7630
  }>>;
7857
7631
  defaultValue: z.ZodOptional<z.ZodBoolean>;
7858
- }>, "strip", z.ZodTypeAny, {
7632
+ }, "strip", z.ZodTypeAny, {
7859
7633
  type: "boolean";
7860
7634
  label?: string | undefined;
7861
7635
  labels?: {
@@ -7886,7 +7660,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7886
7660
  hideCode?: boolean | undefined;
7887
7661
  excludeFromTargets?: boolean | undefined;
7888
7662
  }>>;
7889
- }>, "strip", z.ZodTypeAny, {
7663
+ }, "strip", z.ZodTypeAny, {
7890
7664
  code: string;
7891
7665
  type: "task-item";
7892
7666
  definition: {
@@ -8066,7 +7840,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8066
7840
  }, {
8067
7841
  hideCode?: boolean | undefined;
8068
7842
  }>>;
8069
- }>, "strip", z.ZodTypeAny, {
7843
+ }, "strip", z.ZodTypeAny, {
8070
7844
  code: string;
8071
7845
  type: "task";
8072
7846
  title: string;
@@ -8327,7 +8101,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8327
8101
  hideCode?: boolean | undefined;
8328
8102
  hideFromHierarchy?: boolean | undefined;
8329
8103
  }>>;
8330
- }>, "strip", z.ZodTypeAny, {
8104
+ }, "strip", z.ZodTypeAny, {
8331
8105
  code: string;
8332
8106
  type: "task-group";
8333
8107
  title: string;
@@ -8659,20 +8433,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8659
8433
  })[] | undefined;
8660
8434
  sortOrder?: number | undefined;
8661
8435
  category?: string | undefined;
8662
- }>, z.ZodObject<z.objectUtil.extendShape<{
8663
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
8436
+ }>, z.ZodObject<{
8664
8437
  title: z.ZodString;
8665
8438
  longFormTitle: z.ZodOptional<z.ZodString>;
8666
8439
  code: z.ZodString;
8667
8440
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8668
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8669
- type: z.ZodEnum<["pdf", "text", "link"]>;
8441
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8670
8442
  label: z.ZodString;
8671
8443
  text: z.ZodString;
8672
- }, {
8444
+ } & {
8673
8445
  type: z.ZodLiteral<"pdf">;
8674
8446
  url: z.ZodString;
8675
- }>, "strip", z.ZodTypeAny, {
8447
+ }, "strip", z.ZodTypeAny, {
8676
8448
  type: "pdf";
8677
8449
  url: string;
8678
8450
  label: string;
@@ -8682,13 +8454,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8682
8454
  url: string;
8683
8455
  label: string;
8684
8456
  text: string;
8685
- }>, z.ZodObject<z.objectUtil.extendShape<{
8686
- type: z.ZodEnum<["pdf", "text", "link"]>;
8457
+ }>, z.ZodObject<{
8687
8458
  label: z.ZodString;
8688
8459
  text: z.ZodString;
8689
- }, {
8460
+ } & {
8690
8461
  type: z.ZodLiteral<"text">;
8691
- }>, "strip", z.ZodTypeAny, {
8462
+ }, "strip", z.ZodTypeAny, {
8692
8463
  type: "text";
8693
8464
  label: string;
8694
8465
  text: string;
@@ -8696,14 +8467,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8696
8467
  type: "text";
8697
8468
  label: string;
8698
8469
  text: string;
8699
- }>, z.ZodObject<z.objectUtil.extendShape<{
8700
- type: z.ZodEnum<["pdf", "text", "link"]>;
8470
+ }>, z.ZodObject<{
8701
8471
  label: z.ZodString;
8702
8472
  text: z.ZodString;
8703
- }, {
8473
+ } & {
8704
8474
  type: z.ZodLiteral<"link">;
8705
8475
  url: z.ZodString;
8706
- }>, "strip", z.ZodTypeAny, {
8476
+ }, "strip", z.ZodTypeAny, {
8707
8477
  type: "link";
8708
8478
  url: string;
8709
8479
  label: string;
@@ -8749,23 +8519,20 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8749
8519
  readOnly?: boolean | undefined;
8750
8520
  }>>;
8751
8521
  sortOrder: z.ZodOptional<z.ZodNumber>;
8752
- }, {
8522
+ } & {
8753
8523
  type: z.ZodLiteral<"task">;
8754
8524
  description: z.ZodOptional<z.ZodString>;
8755
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<Omit<{
8756
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
8757
- title: z.ZodString;
8758
- longFormTitle: z.ZodOptional<z.ZodString>;
8525
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<{
8759
8526
  code: z.ZodString;
8527
+ longFormTitle: z.ZodOptional<z.ZodString>;
8760
8528
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8761
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8762
- type: z.ZodEnum<["pdf", "text", "link"]>;
8529
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8763
8530
  label: z.ZodString;
8764
8531
  text: z.ZodString;
8765
- }, {
8532
+ } & {
8766
8533
  type: z.ZodLiteral<"pdf">;
8767
8534
  url: z.ZodString;
8768
- }>, "strip", z.ZodTypeAny, {
8535
+ }, "strip", z.ZodTypeAny, {
8769
8536
  type: "pdf";
8770
8537
  url: string;
8771
8538
  label: string;
@@ -8775,13 +8542,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8775
8542
  url: string;
8776
8543
  label: string;
8777
8544
  text: string;
8778
- }>, z.ZodObject<z.objectUtil.extendShape<{
8779
- type: z.ZodEnum<["pdf", "text", "link"]>;
8545
+ }>, z.ZodObject<{
8780
8546
  label: z.ZodString;
8781
8547
  text: z.ZodString;
8782
- }, {
8548
+ } & {
8783
8549
  type: z.ZodLiteral<"text">;
8784
- }>, "strip", z.ZodTypeAny, {
8550
+ }, "strip", z.ZodTypeAny, {
8785
8551
  type: "text";
8786
8552
  label: string;
8787
8553
  text: string;
@@ -8789,14 +8555,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8789
8555
  type: "text";
8790
8556
  label: string;
8791
8557
  text: string;
8792
- }>, z.ZodObject<z.objectUtil.extendShape<{
8793
- type: z.ZodEnum<["pdf", "text", "link"]>;
8558
+ }>, z.ZodObject<{
8794
8559
  label: z.ZodString;
8795
8560
  text: z.ZodString;
8796
- }, {
8561
+ } & {
8797
8562
  type: z.ZodLiteral<"link">;
8798
8563
  url: z.ZodString;
8799
- }>, "strip", z.ZodTypeAny, {
8564
+ }, "strip", z.ZodTypeAny, {
8800
8565
  type: "link";
8801
8566
  url: string;
8802
8567
  label: string;
@@ -8807,44 +8572,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8807
8572
  label: string;
8808
8573
  text: string;
8809
8574
  }>]>, "many">>;
8810
- data: z.ZodOptional<z.ZodObject<{
8811
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
8812
- 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">]>>;
8813
- text: z.ZodOptional<z.ZodString>;
8814
- maximumValue: z.ZodOptional<z.ZodNumber>;
8815
- minimumValue: z.ZodOptional<z.ZodNumber>;
8816
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
8817
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
8818
- step: z.ZodOptional<z.ZodNumber>;
8819
- total: z.ZodOptional<z.ZodNumber>;
8820
- readOnly: z.ZodOptional<z.ZodBoolean>;
8821
- }, "strip", z.ZodTypeAny, {
8822
- type?: "number" | "percentage" | undefined;
8823
- total?: number | undefined;
8824
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
8825
- text?: string | undefined;
8826
- maximumValue?: number | undefined;
8827
- minimumValue?: number | undefined;
8828
- exclusiveMaximum?: number | undefined;
8829
- exclusiveMinimum?: number | undefined;
8830
- step?: number | undefined;
8831
- readOnly?: boolean | undefined;
8832
- }, {
8833
- type?: "number" | "percentage" | undefined;
8834
- total?: number | undefined;
8835
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
8836
- text?: string | undefined;
8837
- maximumValue?: number | undefined;
8838
- minimumValue?: number | undefined;
8839
- exclusiveMaximum?: number | undefined;
8840
- exclusiveMinimum?: number | undefined;
8841
- step?: number | undefined;
8842
- readOnly?: boolean | undefined;
8843
- }>>;
8844
8575
  sortOrder: z.ZodOptional<z.ZodNumber>;
8845
- }, "title">, {
8576
+ } & {
8846
8577
  type: z.ZodLiteral<"task-item">;
8847
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
8578
+ data: z.ZodOptional<z.ZodObject<{
8848
8579
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
8849
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">]>>;
8850
8581
  text: z.ZodOptional<z.ZodString>;
@@ -8855,9 +8586,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8855
8586
  step: z.ZodOptional<z.ZodNumber>;
8856
8587
  total: z.ZodOptional<z.ZodNumber>;
8857
8588
  readOnly: z.ZodOptional<z.ZodBoolean>;
8858
- }, {
8589
+ } & {
8859
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">]>>;
8860
- }>, "strip", z.ZodTypeAny, {
8591
+ }, "strip", z.ZodTypeAny, {
8861
8592
  type?: "number" | "percentage" | undefined;
8862
8593
  total?: number | undefined;
8863
8594
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -8882,11 +8613,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8882
8613
  readOnly?: boolean | undefined;
8883
8614
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
8884
8615
  }>>;
8885
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8886
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
8616
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8887
8617
  label: z.ZodOptional<z.ZodString>;
8888
8618
  readOnly: z.ZodOptional<z.ZodBoolean>;
8889
- }, {
8619
+ } & {
8890
8620
  type: z.ZodLiteral<"select-single">;
8891
8621
  minimum: z.ZodOptional<z.ZodNumber>;
8892
8622
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -8910,7 +8640,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8910
8640
  outro?: string | undefined;
8911
8641
  }>, "many">;
8912
8642
  defaultValue: z.ZodOptional<z.ZodString>;
8913
- }>, "strip", z.ZodTypeAny, {
8643
+ }, "strip", z.ZodTypeAny, {
8914
8644
  type: "select-single";
8915
8645
  options: {
8916
8646
  value: string | number | boolean | null;
@@ -8938,11 +8668,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8938
8668
  maximum?: number | undefined;
8939
8669
  defaultValue?: string | undefined;
8940
8670
  readOnly?: boolean | undefined;
8941
- }>, z.ZodObject<z.objectUtil.extendShape<{
8942
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
8671
+ }>, z.ZodObject<{
8943
8672
  label: z.ZodOptional<z.ZodString>;
8944
8673
  readOnly: z.ZodOptional<z.ZodBoolean>;
8945
- }, {
8674
+ } & {
8946
8675
  type: z.ZodLiteral<"select-multiple">;
8947
8676
  minimum: z.ZodOptional<z.ZodNumber>;
8948
8677
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -8966,7 +8695,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8966
8695
  outro?: string | undefined;
8967
8696
  }>, "many">;
8968
8697
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8969
- }>, "strip", z.ZodTypeAny, {
8698
+ }, "strip", z.ZodTypeAny, {
8970
8699
  type: "select-multiple";
8971
8700
  options: {
8972
8701
  value: string | number | boolean | null;
@@ -8994,17 +8723,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8994
8723
  maximum?: number | undefined;
8995
8724
  defaultValue?: string[] | undefined;
8996
8725
  readOnly?: boolean | undefined;
8997
- }>, z.ZodObject<z.objectUtil.extendShape<{
8998
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
8726
+ }>, z.ZodObject<{
8999
8727
  label: z.ZodOptional<z.ZodString>;
9000
8728
  readOnly: z.ZodOptional<z.ZodBoolean>;
9001
- }, {
8729
+ } & {
9002
8730
  type: z.ZodLiteral<"number">;
9003
8731
  minimum: z.ZodOptional<z.ZodNumber>;
9004
8732
  maximum: z.ZodOptional<z.ZodNumber>;
9005
8733
  step: z.ZodOptional<z.ZodNumber>;
9006
8734
  defaultValue: z.ZodOptional<z.ZodNumber>;
9007
- }>, "strip", z.ZodTypeAny, {
8735
+ }, "strip", z.ZodTypeAny, {
9008
8736
  type: "number";
9009
8737
  label?: string | undefined;
9010
8738
  minimum?: number | undefined;
@@ -9020,11 +8748,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9020
8748
  defaultValue?: number | undefined;
9021
8749
  step?: number | undefined;
9022
8750
  readOnly?: boolean | undefined;
9023
- }>, z.ZodObject<z.objectUtil.extendShape<{
9024
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
8751
+ }>, z.ZodObject<{
9025
8752
  label: z.ZodOptional<z.ZodString>;
9026
8753
  readOnly: z.ZodOptional<z.ZodBoolean>;
9027
- }, {
8754
+ } & {
9028
8755
  type: z.ZodLiteral<"boolean">;
9029
8756
  labels: z.ZodOptional<z.ZodObject<{
9030
8757
  true: z.ZodString;
@@ -9037,7 +8764,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9037
8764
  true: string;
9038
8765
  }>>;
9039
8766
  defaultValue: z.ZodOptional<z.ZodBoolean>;
9040
- }>, "strip", z.ZodTypeAny, {
8767
+ }, "strip", z.ZodTypeAny, {
9041
8768
  type: "boolean";
9042
8769
  label?: string | undefined;
9043
8770
  labels?: {
@@ -9068,7 +8795,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9068
8795
  hideCode?: boolean | undefined;
9069
8796
  excludeFromTargets?: boolean | undefined;
9070
8797
  }>>;
9071
- }>, "strip", z.ZodTypeAny, {
8798
+ }, "strip", z.ZodTypeAny, {
9072
8799
  code: string;
9073
8800
  type: "task-item";
9074
8801
  definition: {
@@ -9248,7 +8975,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9248
8975
  }, {
9249
8976
  hideCode?: boolean | undefined;
9250
8977
  }>>;
9251
- }>, "strip", z.ZodTypeAny, {
8978
+ }, "strip", z.ZodTypeAny, {
9252
8979
  code: string;
9253
8980
  type: "task";
9254
8981
  title: string;
@@ -9498,20 +9225,17 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9498
9225
  text: string;
9499
9226
  })[] | undefined;
9500
9227
  sortOrder?: number | undefined;
9501
- }>, z.ZodObject<z.objectUtil.extendShape<Omit<{
9502
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
9503
- title: z.ZodString;
9504
- longFormTitle: z.ZodOptional<z.ZodString>;
9228
+ }>, z.ZodObject<{
9505
9229
  code: z.ZodString;
9230
+ longFormTitle: z.ZodOptional<z.ZodString>;
9506
9231
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9507
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
9508
- type: z.ZodEnum<["pdf", "text", "link"]>;
9232
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9509
9233
  label: z.ZodString;
9510
9234
  text: z.ZodString;
9511
- }, {
9235
+ } & {
9512
9236
  type: z.ZodLiteral<"pdf">;
9513
9237
  url: z.ZodString;
9514
- }>, "strip", z.ZodTypeAny, {
9238
+ }, "strip", z.ZodTypeAny, {
9515
9239
  type: "pdf";
9516
9240
  url: string;
9517
9241
  label: string;
@@ -9521,13 +9245,12 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9521
9245
  url: string;
9522
9246
  label: string;
9523
9247
  text: string;
9524
- }>, z.ZodObject<z.objectUtil.extendShape<{
9525
- type: z.ZodEnum<["pdf", "text", "link"]>;
9248
+ }>, z.ZodObject<{
9526
9249
  label: z.ZodString;
9527
9250
  text: z.ZodString;
9528
- }, {
9251
+ } & {
9529
9252
  type: z.ZodLiteral<"text">;
9530
- }>, "strip", z.ZodTypeAny, {
9253
+ }, "strip", z.ZodTypeAny, {
9531
9254
  type: "text";
9532
9255
  label: string;
9533
9256
  text: string;
@@ -9535,14 +9258,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9535
9258
  type: "text";
9536
9259
  label: string;
9537
9260
  text: string;
9538
- }>, z.ZodObject<z.objectUtil.extendShape<{
9539
- type: z.ZodEnum<["pdf", "text", "link"]>;
9261
+ }>, z.ZodObject<{
9540
9262
  label: z.ZodString;
9541
9263
  text: z.ZodString;
9542
- }, {
9264
+ } & {
9543
9265
  type: z.ZodLiteral<"link">;
9544
9266
  url: z.ZodString;
9545
- }>, "strip", z.ZodTypeAny, {
9267
+ }, "strip", z.ZodTypeAny, {
9546
9268
  type: "link";
9547
9269
  url: string;
9548
9270
  label: string;
@@ -9553,44 +9275,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9553
9275
  label: string;
9554
9276
  text: string;
9555
9277
  }>]>, "many">>;
9556
- data: z.ZodOptional<z.ZodObject<{
9557
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
9558
- 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">]>>;
9559
- text: z.ZodOptional<z.ZodString>;
9560
- maximumValue: z.ZodOptional<z.ZodNumber>;
9561
- minimumValue: z.ZodOptional<z.ZodNumber>;
9562
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
9563
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
9564
- step: z.ZodOptional<z.ZodNumber>;
9565
- total: z.ZodOptional<z.ZodNumber>;
9566
- readOnly: z.ZodOptional<z.ZodBoolean>;
9567
- }, "strip", z.ZodTypeAny, {
9568
- type?: "number" | "percentage" | undefined;
9569
- total?: number | undefined;
9570
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
9571
- text?: string | undefined;
9572
- maximumValue?: number | undefined;
9573
- minimumValue?: number | undefined;
9574
- exclusiveMaximum?: number | undefined;
9575
- exclusiveMinimum?: number | undefined;
9576
- step?: number | undefined;
9577
- readOnly?: boolean | undefined;
9578
- }, {
9579
- type?: "number" | "percentage" | undefined;
9580
- total?: number | undefined;
9581
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
9582
- text?: string | undefined;
9583
- maximumValue?: number | undefined;
9584
- minimumValue?: number | undefined;
9585
- exclusiveMaximum?: number | undefined;
9586
- exclusiveMinimum?: number | undefined;
9587
- step?: number | undefined;
9588
- readOnly?: boolean | undefined;
9589
- }>>;
9590
9278
  sortOrder: z.ZodOptional<z.ZodNumber>;
9591
- }, "title">, {
9279
+ } & {
9592
9280
  type: z.ZodLiteral<"task-item">;
9593
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
9281
+ data: z.ZodOptional<z.ZodObject<{
9594
9282
  type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
9595
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">]>>;
9596
9284
  text: z.ZodOptional<z.ZodString>;
@@ -9601,9 +9289,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9601
9289
  step: z.ZodOptional<z.ZodNumber>;
9602
9290
  total: z.ZodOptional<z.ZodNumber>;
9603
9291
  readOnly: z.ZodOptional<z.ZodBoolean>;
9604
- }, {
9292
+ } & {
9605
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">]>>;
9606
- }>, "strip", z.ZodTypeAny, {
9294
+ }, "strip", z.ZodTypeAny, {
9607
9295
  type?: "number" | "percentage" | undefined;
9608
9296
  total?: number | undefined;
9609
9297
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -9628,11 +9316,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9628
9316
  readOnly?: boolean | undefined;
9629
9317
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
9630
9318
  }>>;
9631
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
9632
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
9319
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9633
9320
  label: z.ZodOptional<z.ZodString>;
9634
9321
  readOnly: z.ZodOptional<z.ZodBoolean>;
9635
- }, {
9322
+ } & {
9636
9323
  type: z.ZodLiteral<"select-single">;
9637
9324
  minimum: z.ZodOptional<z.ZodNumber>;
9638
9325
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -9656,7 +9343,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9656
9343
  outro?: string | undefined;
9657
9344
  }>, "many">;
9658
9345
  defaultValue: z.ZodOptional<z.ZodString>;
9659
- }>, "strip", z.ZodTypeAny, {
9346
+ }, "strip", z.ZodTypeAny, {
9660
9347
  type: "select-single";
9661
9348
  options: {
9662
9349
  value: string | number | boolean | null;
@@ -9684,11 +9371,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9684
9371
  maximum?: number | undefined;
9685
9372
  defaultValue?: string | undefined;
9686
9373
  readOnly?: boolean | undefined;
9687
- }>, z.ZodObject<z.objectUtil.extendShape<{
9688
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
9374
+ }>, z.ZodObject<{
9689
9375
  label: z.ZodOptional<z.ZodString>;
9690
9376
  readOnly: z.ZodOptional<z.ZodBoolean>;
9691
- }, {
9377
+ } & {
9692
9378
  type: z.ZodLiteral<"select-multiple">;
9693
9379
  minimum: z.ZodOptional<z.ZodNumber>;
9694
9380
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -9712,7 +9398,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9712
9398
  outro?: string | undefined;
9713
9399
  }>, "many">;
9714
9400
  defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9715
- }>, "strip", z.ZodTypeAny, {
9401
+ }, "strip", z.ZodTypeAny, {
9716
9402
  type: "select-multiple";
9717
9403
  options: {
9718
9404
  value: string | number | boolean | null;
@@ -9740,17 +9426,16 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9740
9426
  maximum?: number | undefined;
9741
9427
  defaultValue?: string[] | undefined;
9742
9428
  readOnly?: boolean | undefined;
9743
- }>, z.ZodObject<z.objectUtil.extendShape<{
9744
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
9429
+ }>, z.ZodObject<{
9745
9430
  label: z.ZodOptional<z.ZodString>;
9746
9431
  readOnly: z.ZodOptional<z.ZodBoolean>;
9747
- }, {
9432
+ } & {
9748
9433
  type: z.ZodLiteral<"number">;
9749
9434
  minimum: z.ZodOptional<z.ZodNumber>;
9750
9435
  maximum: z.ZodOptional<z.ZodNumber>;
9751
9436
  step: z.ZodOptional<z.ZodNumber>;
9752
9437
  defaultValue: z.ZodOptional<z.ZodNumber>;
9753
- }>, "strip", z.ZodTypeAny, {
9438
+ }, "strip", z.ZodTypeAny, {
9754
9439
  type: "number";
9755
9440
  label?: string | undefined;
9756
9441
  minimum?: number | undefined;
@@ -9766,11 +9451,10 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9766
9451
  defaultValue?: number | undefined;
9767
9452
  step?: number | undefined;
9768
9453
  readOnly?: boolean | undefined;
9769
- }>, z.ZodObject<z.objectUtil.extendShape<{
9770
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
9454
+ }>, z.ZodObject<{
9771
9455
  label: z.ZodOptional<z.ZodString>;
9772
9456
  readOnly: z.ZodOptional<z.ZodBoolean>;
9773
- }, {
9457
+ } & {
9774
9458
  type: z.ZodLiteral<"boolean">;
9775
9459
  labels: z.ZodOptional<z.ZodObject<{
9776
9460
  true: z.ZodString;
@@ -9783,7 +9467,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9783
9467
  true: string;
9784
9468
  }>>;
9785
9469
  defaultValue: z.ZodOptional<z.ZodBoolean>;
9786
- }>, "strip", z.ZodTypeAny, {
9470
+ }, "strip", z.ZodTypeAny, {
9787
9471
  type: "boolean";
9788
9472
  label?: string | undefined;
9789
9473
  labels?: {
@@ -9814,7 +9498,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9814
9498
  hideCode?: boolean | undefined;
9815
9499
  excludeFromTargets?: boolean | undefined;
9816
9500
  }>>;
9817
- }>, "strip", z.ZodTypeAny, {
9501
+ }, "strip", z.ZodTypeAny, {
9818
9502
  code: string;
9819
9503
  type: "task-item";
9820
9504
  definition: {