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