@openframe-org/criteria-set-protocol 2.4.2 → 2.5.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,80 +3,37 @@ export declare const taskOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.Zo
3
3
  breadcrumbTextFormat: z.ZodString;
4
4
  documentTreeFolderTextFormat: z.ZodString;
5
5
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- }, "strip", z.ZodTypeAny, {
7
- breadcrumbTextFormat: string;
8
- documentTreeFolderTextFormat: string;
9
- showCodeAsIndicatorTaskViewTitle: boolean;
10
- }, {
11
- breadcrumbTextFormat: string;
12
- documentTreeFolderTextFormat: string;
13
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
14
- }>, z.ZodObject<{
6
+ }, z.core.$strip>, z.ZodObject<{
15
7
  criteriaTreeElementTextFormat: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- criteriaTreeElementTextFormat: string;
18
- }, {
19
- criteriaTreeElementTextFormat: string;
20
- }>>, z.ZodObject<{
8
+ }, z.core.$strip>>, z.ZodObject<{
21
9
  reportTitleTextFormat: z.ZodOptional<z.ZodString>;
22
- }, "strip", z.ZodTypeAny, {
23
- reportTitleTextFormat?: string | undefined;
24
- }, {
25
- reportTitleTextFormat?: string | undefined;
26
- }>>;
10
+ }, z.core.$strip>>;
27
11
  export declare const taskSchema: z.ZodObject<{
28
12
  title: z.ZodString;
29
13
  longFormTitle: z.ZodString;
30
14
  code: z.ZodString;
31
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
33
17
  label: z.ZodString;
34
18
  text: z.ZodString;
35
- } & {
36
19
  type: z.ZodLiteral<"pdf">;
37
20
  url: z.ZodString;
38
- }, "strip", z.ZodTypeAny, {
39
- type: "pdf";
40
- url: string;
41
- label: string;
42
- text: string;
43
- }, {
44
- type: "pdf";
45
- url: string;
46
- label: string;
47
- text: string;
48
- }>, z.ZodObject<{
21
+ }, z.core.$strip>, z.ZodObject<{
49
22
  label: z.ZodString;
50
23
  text: z.ZodString;
51
- } & {
52
24
  type: z.ZodLiteral<"text">;
53
- }, "strip", z.ZodTypeAny, {
54
- type: "text";
55
- label: string;
56
- text: string;
57
- }, {
58
- type: "text";
59
- label: string;
60
- text: string;
61
- }>, z.ZodObject<{
25
+ }, z.core.$strip>, z.ZodObject<{
62
26
  label: z.ZodString;
63
27
  text: z.ZodString;
64
- } & {
65
28
  type: z.ZodLiteral<"link">;
66
29
  url: z.ZodString;
67
- }, "strip", z.ZodTypeAny, {
68
- type: "link";
69
- url: string;
70
- label: string;
71
- text: string;
72
- }, {
73
- type: "link";
74
- url: string;
75
- label: string;
76
- text: string;
77
- }>]>, "many">>;
30
+ }, z.core.$strip>], "type">>>;
78
31
  data: z.ZodOptional<z.ZodObject<{
79
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
32
+ type: z.ZodOptional<z.ZodEnum<{
33
+ number: "number";
34
+ boolean: "boolean";
35
+ percentage: "percentage";
36
+ }>>;
80
37
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
81
38
  text: z.ZodOptional<z.ZodString>;
82
39
  total: z.ZodOptional<z.ZodNumber>;
@@ -85,105 +42,36 @@ export declare const taskSchema: z.ZodObject<{
85
42
  exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
86
43
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
87
44
  weight: z.ZodOptional<z.ZodNumber>;
88
- }, "strip", z.ZodAny, z.objectOutputType<{
89
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
90
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
91
- text: z.ZodOptional<z.ZodString>;
92
- total: z.ZodOptional<z.ZodNumber>;
93
- maximumValue: z.ZodOptional<z.ZodNumber>;
94
- minimumValue: z.ZodOptional<z.ZodNumber>;
95
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
96
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
97
- weight: z.ZodOptional<z.ZodNumber>;
98
- }, z.ZodAny, "strip">, z.objectInputType<{
99
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
100
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
101
- text: z.ZodOptional<z.ZodString>;
102
- total: z.ZodOptional<z.ZodNumber>;
103
- maximumValue: z.ZodOptional<z.ZodNumber>;
104
- minimumValue: z.ZodOptional<z.ZodNumber>;
105
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
106
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
107
- weight: z.ZodOptional<z.ZodNumber>;
108
- }, z.ZodAny, "strip">>>;
45
+ }, z.core.$catchall<z.ZodAny>>>;
109
46
  sortOrder: z.ZodOptional<z.ZodNumber>;
110
- } & {
111
47
  type: z.ZodLiteral<"task">;
112
48
  description: z.ZodOptional<z.ZodString>;
113
49
  items: z.ZodArray<z.ZodLazy<z.ZodObject<{
114
50
  code: z.ZodString;
115
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
116
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
51
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
117
53
  label: z.ZodString;
118
54
  text: z.ZodString;
119
- } & {
120
55
  type: z.ZodLiteral<"pdf">;
121
56
  url: z.ZodString;
122
- }, "strip", z.ZodTypeAny, {
123
- type: "pdf";
124
- url: string;
125
- label: string;
126
- text: string;
127
- }, {
128
- type: "pdf";
129
- url: string;
130
- label: string;
131
- text: string;
132
- }>, z.ZodObject<{
57
+ }, z.core.$strip>, z.ZodObject<{
133
58
  label: z.ZodString;
134
59
  text: z.ZodString;
135
- } & {
136
60
  type: z.ZodLiteral<"text">;
137
- }, "strip", z.ZodTypeAny, {
138
- type: "text";
139
- label: string;
140
- text: string;
141
- }, {
142
- type: "text";
143
- label: string;
144
- text: string;
145
- }>, z.ZodObject<{
61
+ }, z.core.$strip>, z.ZodObject<{
146
62
  label: z.ZodString;
147
63
  text: z.ZodString;
148
- } & {
149
64
  type: z.ZodLiteral<"link">;
150
65
  url: z.ZodString;
151
- }, "strip", z.ZodTypeAny, {
152
- type: "link";
153
- url: string;
154
- label: string;
155
- text: string;
156
- }, {
157
- type: "link";
158
- url: string;
159
- label: string;
160
- text: string;
161
- }>]>, "many">>;
66
+ }, z.core.$strip>], "type">>>;
162
67
  sortOrder: z.ZodOptional<z.ZodNumber>;
163
- } & {
164
68
  type: z.ZodLiteral<"task-item">;
165
69
  data: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
166
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
167
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
168
- text: z.ZodOptional<z.ZodString>;
169
- total: z.ZodOptional<z.ZodNumber>;
170
- maximumValue: z.ZodOptional<z.ZodNumber>;
171
- minimumValue: z.ZodOptional<z.ZodNumber>;
172
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
173
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
174
- weight: z.ZodOptional<z.ZodNumber>;
175
- }, "strip", z.ZodAny, z.objectOutputType<{
176
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
177
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
178
- text: z.ZodOptional<z.ZodString>;
179
- total: z.ZodOptional<z.ZodNumber>;
180
- maximumValue: z.ZodOptional<z.ZodNumber>;
181
- minimumValue: z.ZodOptional<z.ZodNumber>;
182
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
183
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
184
- weight: z.ZodOptional<z.ZodNumber>;
185
- }, z.ZodAny, "strip">, z.objectInputType<{
186
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
70
+ type: z.ZodOptional<z.ZodEnum<{
71
+ number: "number";
72
+ boolean: "boolean";
73
+ percentage: "percentage";
74
+ }>>;
187
75
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
188
76
  text: z.ZodOptional<z.ZodString>;
189
77
  total: z.ZodOptional<z.ZodNumber>;
@@ -192,20 +80,13 @@ export declare const taskSchema: z.ZodObject<{
192
80
  exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
193
81
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
194
82
  weight: z.ZodOptional<z.ZodNumber>;
195
- }, z.ZodAny, "strip">>, z.ZodObject<{
83
+ }, z.core.$catchall<z.ZodAny>>, z.ZodObject<{
196
84
  readOnly: z.ZodOptional<z.ZodBoolean>;
197
- 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">]>>;
198
- }, "strip", z.ZodTypeAny, {
199
- readOnly?: boolean | undefined;
200
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
201
- }, {
202
- readOnly?: boolean | undefined;
203
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
204
- }>>>;
205
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85
+ valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>>;
86
+ }, z.core.$strip>>>;
87
+ definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
206
88
  label: z.ZodOptional<z.ZodString>;
207
89
  readOnly: z.ZodOptional<z.ZodBoolean>;
208
- } & {
209
90
  type: z.ZodLiteral<"select-single">;
210
91
  minimum: z.ZodOptional<z.ZodNumber>;
211
92
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -214,53 +95,12 @@ export declare const taskSchema: z.ZodObject<{
214
95
  text: z.ZodString;
215
96
  intro: z.ZodOptional<z.ZodString>;
216
97
  outro: z.ZodOptional<z.ZodString>;
217
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
218
- }, "strip", z.ZodTypeAny, {
219
- value: string | number | boolean | null;
220
- text: string;
221
- id?: string | undefined;
222
- intro?: string | undefined;
223
- outro?: string | undefined;
224
- }, {
225
- value: string | number | boolean | null;
226
- text: string;
227
- id?: string | undefined;
228
- intro?: string | undefined;
229
- outro?: string | undefined;
230
- }>, "many">;
98
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
99
+ }, z.core.$strip>>;
231
100
  defaultValue: z.ZodOptional<z.ZodString>;
232
- }, "strip", z.ZodTypeAny, {
233
- type: "select-single";
234
- options: {
235
- value: string | number | boolean | null;
236
- text: string;
237
- id?: string | undefined;
238
- intro?: string | undefined;
239
- outro?: string | undefined;
240
- }[];
241
- label?: string | undefined;
242
- minimum?: number | undefined;
243
- maximum?: number | undefined;
244
- defaultValue?: string | undefined;
245
- readOnly?: boolean | undefined;
246
- }, {
247
- type: "select-single";
248
- options: {
249
- value: string | number | boolean | null;
250
- text: string;
251
- id?: string | undefined;
252
- intro?: string | undefined;
253
- outro?: string | undefined;
254
- }[];
255
- label?: string | undefined;
256
- minimum?: number | undefined;
257
- maximum?: number | undefined;
258
- defaultValue?: string | undefined;
259
- readOnly?: boolean | undefined;
260
- }>, z.ZodObject<{
101
+ }, z.core.$strip>, z.ZodObject<{
261
102
  label: z.ZodOptional<z.ZodString>;
262
103
  readOnly: z.ZodOptional<z.ZodBoolean>;
263
- } & {
264
104
  type: z.ZodLiteral<"select-multiple">;
265
105
  minimum: z.ZodOptional<z.ZodNumber>;
266
106
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -269,573 +109,39 @@ export declare const taskSchema: z.ZodObject<{
269
109
  text: z.ZodString;
270
110
  intro: z.ZodOptional<z.ZodString>;
271
111
  outro: z.ZodOptional<z.ZodString>;
272
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
273
- }, "strip", z.ZodTypeAny, {
274
- value: string | number | boolean | null;
275
- text: string;
276
- id?: string | undefined;
277
- intro?: string | undefined;
278
- outro?: string | undefined;
279
- }, {
280
- value: string | number | boolean | null;
281
- text: string;
282
- id?: string | undefined;
283
- intro?: string | undefined;
284
- outro?: string | undefined;
285
- }>, "many">;
286
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
287
- }, "strip", z.ZodTypeAny, {
288
- type: "select-multiple";
289
- options: {
290
- value: string | number | boolean | null;
291
- text: string;
292
- id?: string | undefined;
293
- intro?: string | undefined;
294
- outro?: string | undefined;
295
- }[];
296
- label?: string | undefined;
297
- minimum?: number | undefined;
298
- maximum?: number | undefined;
299
- defaultValue?: string[] | undefined;
300
- readOnly?: boolean | undefined;
301
- }, {
302
- type: "select-multiple";
303
- options: {
304
- value: string | number | boolean | null;
305
- text: string;
306
- id?: string | undefined;
307
- intro?: string | undefined;
308
- outro?: string | undefined;
309
- }[];
310
- label?: string | undefined;
311
- minimum?: number | undefined;
312
- maximum?: number | undefined;
313
- defaultValue?: string[] | undefined;
314
- readOnly?: boolean | undefined;
315
- }>, z.ZodObject<{
112
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
113
+ }, z.core.$strip>>;
114
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
+ }, z.core.$strip>, z.ZodObject<{
316
116
  label: z.ZodOptional<z.ZodString>;
317
117
  readOnly: z.ZodOptional<z.ZodBoolean>;
318
- } & {
319
118
  type: z.ZodOptional<z.ZodLiteral<"number">>;
320
119
  minimum: z.ZodOptional<z.ZodNumber>;
321
120
  maximum: z.ZodOptional<z.ZodNumber>;
322
121
  step: z.ZodOptional<z.ZodNumber>;
323
122
  defaultValue: z.ZodOptional<z.ZodNumber>;
324
- }, "strip", z.ZodTypeAny, {
325
- type?: "number" | undefined;
326
- label?: string | undefined;
327
- minimum?: number | undefined;
328
- maximum?: number | undefined;
329
- defaultValue?: number | undefined;
330
- readOnly?: boolean | undefined;
331
- step?: number | undefined;
332
- }, {
333
- type?: "number" | undefined;
334
- label?: string | undefined;
335
- minimum?: number | undefined;
336
- maximum?: number | undefined;
337
- defaultValue?: number | undefined;
338
- readOnly?: boolean | undefined;
339
- step?: number | undefined;
340
- }>, z.ZodObject<{
123
+ }, z.core.$strip>, z.ZodObject<{
341
124
  label: z.ZodOptional<z.ZodString>;
342
125
  readOnly: z.ZodOptional<z.ZodBoolean>;
343
- } & {
344
126
  type: z.ZodLiteral<"boolean">;
345
127
  labels: z.ZodOptional<z.ZodObject<{
346
128
  true: z.ZodString;
347
129
  false: z.ZodString;
348
- }, "strip", z.ZodTypeAny, {
349
- false: string;
350
- true: string;
351
- }, {
352
- false: string;
353
- true: string;
354
- }>>;
130
+ }, z.core.$strip>>;
355
131
  defaultValue: z.ZodOptional<z.ZodBoolean>;
356
- }, "strip", z.ZodTypeAny, {
357
- type: "boolean";
358
- label?: string | undefined;
359
- labels?: {
360
- false: string;
361
- true: string;
362
- } | undefined;
363
- defaultValue?: boolean | undefined;
364
- readOnly?: boolean | undefined;
365
- }, {
366
- type: "boolean";
367
- label?: string | undefined;
368
- labels?: {
369
- false: string;
370
- true: string;
371
- } | undefined;
372
- defaultValue?: boolean | undefined;
373
- readOnly?: boolean | undefined;
374
- }>]>;
132
+ }, z.core.$strip>], "type">;
375
133
  description: z.ZodOptional<z.ZodString>;
376
134
  options: z.ZodObject<{
377
135
  excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
378
- }, "strip", z.ZodTypeAny, {
379
- excludeFromTargets?: boolean | undefined;
380
- }, {
381
- excludeFromTargets?: boolean | undefined;
382
- }>;
383
- }, "strip", z.ZodTypeAny, {
384
- code: string;
385
- type: "task-item";
386
- options: {
387
- excludeFromTargets?: boolean | undefined;
388
- };
389
- definition: {
390
- type: "select-single";
391
- options: {
392
- value: string | number | boolean | null;
393
- text: string;
394
- id?: string | undefined;
395
- intro?: string | undefined;
396
- outro?: string | undefined;
397
- }[];
398
- label?: string | undefined;
399
- minimum?: number | undefined;
400
- maximum?: number | undefined;
401
- defaultValue?: string | undefined;
402
- readOnly?: boolean | undefined;
403
- } | {
404
- type: "select-multiple";
405
- options: {
406
- value: string | number | boolean | null;
407
- text: string;
408
- id?: string | undefined;
409
- intro?: string | undefined;
410
- outro?: string | undefined;
411
- }[];
412
- label?: string | undefined;
413
- minimum?: number | undefined;
414
- maximum?: number | undefined;
415
- defaultValue?: string[] | undefined;
416
- readOnly?: boolean | undefined;
417
- } | {
418
- type?: "number" | undefined;
419
- label?: string | undefined;
420
- minimum?: number | undefined;
421
- maximum?: number | undefined;
422
- defaultValue?: number | undefined;
423
- readOnly?: boolean | undefined;
424
- step?: number | undefined;
425
- } | {
426
- type: "boolean";
427
- label?: string | undefined;
428
- labels?: {
429
- false: string;
430
- true: string;
431
- } | undefined;
432
- defaultValue?: boolean | undefined;
433
- readOnly?: boolean | undefined;
434
- };
435
- data?: ({
436
- type?: "number" | "boolean" | "percentage" | undefined;
437
- total?: number | undefined;
438
- value?: number | boolean | undefined;
439
- text?: string | undefined;
440
- maximumValue?: number | undefined;
441
- minimumValue?: number | undefined;
442
- exclusiveMaximum?: number | undefined;
443
- exclusiveMinimum?: number | undefined;
444
- weight?: number | undefined;
445
- } & {
446
- [k: string]: any;
447
- } & {
448
- readOnly?: boolean | undefined;
449
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
450
- }) | undefined;
451
- description?: string | undefined;
452
- tags?: string[] | undefined;
453
- documentation?: ({
454
- type: "pdf";
455
- url: string;
456
- label: string;
457
- text: string;
458
- } | {
459
- type: "text";
460
- label: string;
461
- text: string;
462
- } | {
463
- type: "link";
464
- url: string;
465
- label: string;
466
- text: string;
467
- })[] | undefined;
468
- sortOrder?: number | undefined;
469
- }, {
470
- code: string;
471
- type: "task-item";
472
- options: {
473
- excludeFromTargets?: boolean | undefined;
474
- };
475
- definition: {
476
- type: "select-single";
477
- options: {
478
- value: string | number | boolean | null;
479
- text: string;
480
- id?: string | undefined;
481
- intro?: string | undefined;
482
- outro?: string | undefined;
483
- }[];
484
- label?: string | undefined;
485
- minimum?: number | undefined;
486
- maximum?: number | undefined;
487
- defaultValue?: string | undefined;
488
- readOnly?: boolean | undefined;
489
- } | {
490
- type: "select-multiple";
491
- options: {
492
- value: string | number | boolean | null;
493
- text: string;
494
- id?: string | undefined;
495
- intro?: string | undefined;
496
- outro?: string | undefined;
497
- }[];
498
- label?: string | undefined;
499
- minimum?: number | undefined;
500
- maximum?: number | undefined;
501
- defaultValue?: string[] | undefined;
502
- readOnly?: boolean | undefined;
503
- } | {
504
- type?: "number" | undefined;
505
- label?: string | undefined;
506
- minimum?: number | undefined;
507
- maximum?: number | undefined;
508
- defaultValue?: number | undefined;
509
- readOnly?: boolean | undefined;
510
- step?: number | undefined;
511
- } | {
512
- type: "boolean";
513
- label?: string | undefined;
514
- labels?: {
515
- false: string;
516
- true: string;
517
- } | undefined;
518
- defaultValue?: boolean | undefined;
519
- readOnly?: boolean | undefined;
520
- };
521
- data?: ({
522
- type?: "number" | "boolean" | "percentage" | undefined;
523
- total?: number | undefined;
524
- value?: number | boolean | undefined;
525
- text?: string | undefined;
526
- maximumValue?: number | undefined;
527
- minimumValue?: number | undefined;
528
- exclusiveMaximum?: number | undefined;
529
- exclusiveMinimum?: number | undefined;
530
- weight?: number | undefined;
531
- } & {
532
- [k: string]: any;
533
- } & {
534
- readOnly?: boolean | undefined;
535
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
536
- }) | undefined;
537
- description?: string | undefined;
538
- tags?: string[] | undefined;
539
- documentation?: ({
540
- type: "pdf";
541
- url: string;
542
- label: string;
543
- text: string;
544
- } | {
545
- type: "text";
546
- label: string;
547
- text: string;
548
- } | {
549
- type: "link";
550
- url: string;
551
- label: string;
552
- text: string;
553
- })[] | undefined;
554
- sortOrder?: number | undefined;
555
- }>>, "many">;
136
+ }, z.core.$strip>;
137
+ }, z.core.$strip>>>;
556
138
  options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
557
139
  breadcrumbTextFormat: z.ZodString;
558
140
  documentTreeFolderTextFormat: z.ZodString;
559
141
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
560
- }, "strip", z.ZodTypeAny, {
561
- breadcrumbTextFormat: string;
562
- documentTreeFolderTextFormat: string;
563
- showCodeAsIndicatorTaskViewTitle: boolean;
564
- }, {
565
- breadcrumbTextFormat: string;
566
- documentTreeFolderTextFormat: string;
567
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
568
- }>, z.ZodObject<{
142
+ }, z.core.$strip>, z.ZodObject<{
569
143
  criteriaTreeElementTextFormat: z.ZodString;
570
- }, "strip", z.ZodTypeAny, {
571
- criteriaTreeElementTextFormat: string;
572
- }, {
573
- criteriaTreeElementTextFormat: string;
574
- }>>, z.ZodObject<{
144
+ }, z.core.$strip>>, z.ZodObject<{
575
145
  reportTitleTextFormat: z.ZodOptional<z.ZodString>;
576
- }, "strip", z.ZodTypeAny, {
577
- reportTitleTextFormat?: string | undefined;
578
- }, {
579
- reportTitleTextFormat?: string | undefined;
580
- }>>;
581
- }, "strip", z.ZodTypeAny, {
582
- code: string;
583
- type: "task";
584
- title: string;
585
- options: {
586
- breadcrumbTextFormat: string;
587
- documentTreeFolderTextFormat: string;
588
- showCodeAsIndicatorTaskViewTitle: boolean;
589
- } & {
590
- criteriaTreeElementTextFormat: string;
591
- } & {
592
- reportTitleTextFormat?: string | undefined;
593
- };
594
- items: {
595
- code: string;
596
- type: "task-item";
597
- options: {
598
- excludeFromTargets?: boolean | undefined;
599
- };
600
- definition: {
601
- type: "select-single";
602
- options: {
603
- value: string | number | boolean | null;
604
- text: string;
605
- id?: string | undefined;
606
- intro?: string | undefined;
607
- outro?: string | undefined;
608
- }[];
609
- label?: string | undefined;
610
- minimum?: number | undefined;
611
- maximum?: number | undefined;
612
- defaultValue?: string | undefined;
613
- readOnly?: boolean | undefined;
614
- } | {
615
- type: "select-multiple";
616
- options: {
617
- value: string | number | boolean | null;
618
- text: string;
619
- id?: string | undefined;
620
- intro?: string | undefined;
621
- outro?: string | undefined;
622
- }[];
623
- label?: string | undefined;
624
- minimum?: number | undefined;
625
- maximum?: number | undefined;
626
- defaultValue?: string[] | undefined;
627
- readOnly?: boolean | undefined;
628
- } | {
629
- type?: "number" | undefined;
630
- label?: string | undefined;
631
- minimum?: number | undefined;
632
- maximum?: number | undefined;
633
- defaultValue?: number | undefined;
634
- readOnly?: boolean | undefined;
635
- step?: number | undefined;
636
- } | {
637
- type: "boolean";
638
- label?: string | undefined;
639
- labels?: {
640
- false: string;
641
- true: string;
642
- } | undefined;
643
- defaultValue?: boolean | undefined;
644
- readOnly?: boolean | undefined;
645
- };
646
- data?: ({
647
- type?: "number" | "boolean" | "percentage" | undefined;
648
- total?: number | undefined;
649
- value?: number | boolean | undefined;
650
- text?: string | undefined;
651
- maximumValue?: number | undefined;
652
- minimumValue?: number | undefined;
653
- exclusiveMaximum?: number | undefined;
654
- exclusiveMinimum?: number | undefined;
655
- weight?: number | undefined;
656
- } & {
657
- [k: string]: any;
658
- } & {
659
- readOnly?: boolean | undefined;
660
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
661
- }) | undefined;
662
- description?: string | undefined;
663
- tags?: string[] | undefined;
664
- documentation?: ({
665
- type: "pdf";
666
- url: string;
667
- label: string;
668
- text: string;
669
- } | {
670
- type: "text";
671
- label: string;
672
- text: string;
673
- } | {
674
- type: "link";
675
- url: string;
676
- label: string;
677
- text: string;
678
- })[] | undefined;
679
- sortOrder?: number | undefined;
680
- }[];
681
- longFormTitle: string;
682
- data?: z.objectOutputType<{
683
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
684
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
685
- text: z.ZodOptional<z.ZodString>;
686
- total: z.ZodOptional<z.ZodNumber>;
687
- maximumValue: z.ZodOptional<z.ZodNumber>;
688
- minimumValue: z.ZodOptional<z.ZodNumber>;
689
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
690
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
691
- weight: z.ZodOptional<z.ZodNumber>;
692
- }, z.ZodAny, "strip"> | undefined;
693
- description?: string | undefined;
694
- tags?: string[] | undefined;
695
- documentation?: ({
696
- type: "pdf";
697
- url: string;
698
- label: string;
699
- text: string;
700
- } | {
701
- type: "text";
702
- label: string;
703
- text: string;
704
- } | {
705
- type: "link";
706
- url: string;
707
- label: string;
708
- text: string;
709
- })[] | undefined;
710
- sortOrder?: number | undefined;
711
- }, {
712
- code: string;
713
- type: "task";
714
- title: string;
715
- options: {
716
- breadcrumbTextFormat: string;
717
- documentTreeFolderTextFormat: string;
718
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
719
- } & {
720
- criteriaTreeElementTextFormat: string;
721
- } & {
722
- reportTitleTextFormat?: string | undefined;
723
- };
724
- items: {
725
- code: string;
726
- type: "task-item";
727
- options: {
728
- excludeFromTargets?: boolean | undefined;
729
- };
730
- definition: {
731
- type: "select-single";
732
- options: {
733
- value: string | number | boolean | null;
734
- text: string;
735
- id?: string | undefined;
736
- intro?: string | undefined;
737
- outro?: string | undefined;
738
- }[];
739
- label?: string | undefined;
740
- minimum?: number | undefined;
741
- maximum?: number | undefined;
742
- defaultValue?: string | undefined;
743
- readOnly?: boolean | undefined;
744
- } | {
745
- type: "select-multiple";
746
- options: {
747
- value: string | number | boolean | null;
748
- text: string;
749
- id?: string | undefined;
750
- intro?: string | undefined;
751
- outro?: string | undefined;
752
- }[];
753
- label?: string | undefined;
754
- minimum?: number | undefined;
755
- maximum?: number | undefined;
756
- defaultValue?: string[] | undefined;
757
- readOnly?: boolean | undefined;
758
- } | {
759
- type?: "number" | undefined;
760
- label?: string | undefined;
761
- minimum?: number | undefined;
762
- maximum?: number | undefined;
763
- defaultValue?: number | undefined;
764
- readOnly?: boolean | undefined;
765
- step?: number | undefined;
766
- } | {
767
- type: "boolean";
768
- label?: string | undefined;
769
- labels?: {
770
- false: string;
771
- true: string;
772
- } | undefined;
773
- defaultValue?: boolean | undefined;
774
- readOnly?: boolean | undefined;
775
- };
776
- data?: ({
777
- type?: "number" | "boolean" | "percentage" | undefined;
778
- total?: number | undefined;
779
- value?: number | boolean | undefined;
780
- text?: string | undefined;
781
- maximumValue?: number | undefined;
782
- minimumValue?: number | undefined;
783
- exclusiveMaximum?: number | undefined;
784
- exclusiveMinimum?: number | undefined;
785
- weight?: number | undefined;
786
- } & {
787
- [k: string]: any;
788
- } & {
789
- readOnly?: boolean | undefined;
790
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
791
- }) | undefined;
792
- description?: string | undefined;
793
- tags?: string[] | undefined;
794
- documentation?: ({
795
- type: "pdf";
796
- url: string;
797
- label: string;
798
- text: string;
799
- } | {
800
- type: "text";
801
- label: string;
802
- text: string;
803
- } | {
804
- type: "link";
805
- url: string;
806
- label: string;
807
- text: string;
808
- })[] | undefined;
809
- sortOrder?: number | undefined;
810
- }[];
811
- longFormTitle: string;
812
- data?: z.objectInputType<{
813
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
814
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
815
- text: z.ZodOptional<z.ZodString>;
816
- total: z.ZodOptional<z.ZodNumber>;
817
- maximumValue: z.ZodOptional<z.ZodNumber>;
818
- minimumValue: z.ZodOptional<z.ZodNumber>;
819
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
820
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
821
- weight: z.ZodOptional<z.ZodNumber>;
822
- }, z.ZodAny, "strip"> | undefined;
823
- description?: string | undefined;
824
- tags?: string[] | undefined;
825
- documentation?: ({
826
- type: "pdf";
827
- url: string;
828
- label: string;
829
- text: string;
830
- } | {
831
- type: "text";
832
- label: string;
833
- text: string;
834
- } | {
835
- type: "link";
836
- url: string;
837
- label: string;
838
- text: string;
839
- })[] | undefined;
840
- sortOrder?: number | undefined;
841
- }>;
146
+ }, z.core.$strip>>;
147
+ }, z.core.$strip>;