@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,112 +1,49 @@
1
1
  import { z } from "zod";
2
2
  export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
3
3
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4
- }, "strip", z.ZodTypeAny, {
5
- hideCodeInReport: boolean;
6
- }, {
7
- hideCodeInReport?: boolean | undefined;
8
- }>, z.ZodUnion<[z.ZodObject<{
4
+ }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
9
5
  hideFromBreadcrumbs: z.ZodLiteral<true>;
10
6
  breadcrumbTextFormat: z.ZodOptional<z.ZodNever>;
11
- }, "strip", z.ZodTypeAny, {
12
- hideFromBreadcrumbs: true;
13
- breadcrumbTextFormat?: undefined;
14
- }, {
15
- hideFromBreadcrumbs: true;
16
- breadcrumbTextFormat?: undefined;
17
- }>, z.ZodObject<{
7
+ }, z.core.$strip>, z.ZodObject<{
18
8
  hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodLiteral<false>>>;
19
9
  breadcrumbTextFormat: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- hideFromBreadcrumbs: false;
22
- breadcrumbTextFormat: string;
23
- }, {
24
- breadcrumbTextFormat: string;
25
- hideFromBreadcrumbs?: false | undefined;
26
- }>]>>, z.ZodUnion<[z.ZodObject<{
10
+ }, z.core.$strip>]>>, z.ZodUnion<[z.ZodObject<{
27
11
  hideFromDocumentTree: z.ZodLiteral<true>;
28
12
  documentTreeFolderTextFormat: z.ZodOptional<z.ZodNever>;
29
- }, "strip", z.ZodTypeAny, {
30
- hideFromDocumentTree: true;
31
- documentTreeFolderTextFormat?: undefined;
32
- }, {
33
- hideFromDocumentTree: true;
34
- documentTreeFolderTextFormat?: undefined;
35
- }>, z.ZodObject<{
13
+ }, z.core.$strip>, z.ZodObject<{
36
14
  hideFromDocumentTree: z.ZodOptional<z.ZodLiteral<false>>;
37
15
  documentTreeFolderTextFormat: z.ZodString;
38
- }, "strip", z.ZodTypeAny, {
39
- documentTreeFolderTextFormat: string;
40
- hideFromDocumentTree?: false | undefined;
41
- }, {
42
- documentTreeFolderTextFormat: string;
43
- hideFromDocumentTree?: false | undefined;
44
- }>]>>, z.ZodObject<{
16
+ }, z.core.$strip>]>>, z.ZodObject<{
45
17
  criteriaTreeElementTextFormat: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- criteriaTreeElementTextFormat: string;
48
- }, {
49
- criteriaTreeElementTextFormat: string;
50
- }>>, z.ZodObject<{
18
+ }, z.core.$strip>>, z.ZodObject<{
51
19
  reportTitleTextFormat: z.ZodOptional<z.ZodString>;
52
- }, "strip", z.ZodTypeAny, {
53
- reportTitleTextFormat?: string | undefined;
54
- }, {
55
- reportTitleTextFormat?: string | undefined;
56
- }>>;
20
+ }, z.core.$strip>>;
57
21
  export declare const criterionSchema: z.ZodObject<{
58
22
  title: z.ZodString;
59
23
  longFormTitle: z.ZodString;
60
24
  code: z.ZodString;
61
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
25
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
63
27
  label: z.ZodString;
64
28
  text: z.ZodString;
65
- } & {
66
29
  type: z.ZodLiteral<"pdf">;
67
30
  url: z.ZodString;
68
- }, "strip", z.ZodTypeAny, {
69
- type: "pdf";
70
- url: string;
71
- label: string;
72
- text: string;
73
- }, {
74
- type: "pdf";
75
- url: string;
76
- label: string;
77
- text: string;
78
- }>, z.ZodObject<{
31
+ }, z.core.$strip>, z.ZodObject<{
79
32
  label: z.ZodString;
80
33
  text: z.ZodString;
81
- } & {
82
34
  type: z.ZodLiteral<"text">;
83
- }, "strip", z.ZodTypeAny, {
84
- type: "text";
85
- label: string;
86
- text: string;
87
- }, {
88
- type: "text";
89
- label: string;
90
- text: string;
91
- }>, z.ZodObject<{
35
+ }, z.core.$strip>, z.ZodObject<{
92
36
  label: z.ZodString;
93
37
  text: z.ZodString;
94
- } & {
95
38
  type: z.ZodLiteral<"link">;
96
39
  url: z.ZodString;
97
- }, "strip", z.ZodTypeAny, {
98
- type: "link";
99
- url: string;
100
- label: string;
101
- text: string;
102
- }, {
103
- type: "link";
104
- url: string;
105
- label: string;
106
- text: string;
107
- }>]>, "many">>;
40
+ }, z.core.$strip>], "type">>>;
108
41
  data: z.ZodOptional<z.ZodObject<{
109
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
42
+ type: z.ZodOptional<z.ZodEnum<{
43
+ number: "number";
44
+ boolean: "boolean";
45
+ percentage: "percentage";
46
+ }>>;
110
47
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
111
48
  text: z.ZodOptional<z.ZodString>;
112
49
  total: z.ZodOptional<z.ZodNumber>;
@@ -115,103 +52,35 @@ export declare const criterionSchema: z.ZodObject<{
115
52
  exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
116
53
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
117
54
  weight: z.ZodOptional<z.ZodNumber>;
118
- }, "strip", z.ZodAny, z.objectOutputType<{
119
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
120
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
121
- text: z.ZodOptional<z.ZodString>;
122
- total: z.ZodOptional<z.ZodNumber>;
123
- maximumValue: z.ZodOptional<z.ZodNumber>;
124
- minimumValue: z.ZodOptional<z.ZodNumber>;
125
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
126
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
127
- weight: z.ZodOptional<z.ZodNumber>;
128
- }, z.ZodAny, "strip">, z.objectInputType<{
129
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
130
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
131
- text: z.ZodOptional<z.ZodString>;
132
- total: z.ZodOptional<z.ZodNumber>;
133
- maximumValue: z.ZodOptional<z.ZodNumber>;
134
- minimumValue: z.ZodOptional<z.ZodNumber>;
135
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
136
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
137
- weight: z.ZodOptional<z.ZodNumber>;
138
- }, z.ZodAny, "strip">>>;
55
+ }, z.core.$catchall<z.ZodAny>>>;
139
56
  sortOrder: z.ZodOptional<z.ZodNumber>;
140
- } & {
141
57
  type: z.ZodLiteral<"criterion">;
142
58
  items: z.ZodArray<z.ZodLazy<z.ZodObject<{
143
59
  title: z.ZodString;
144
60
  longFormTitle: z.ZodString;
145
61
  code: z.ZodString;
146
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
62
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
148
64
  label: z.ZodString;
149
65
  text: z.ZodString;
150
- } & {
151
66
  type: z.ZodLiteral<"pdf">;
152
67
  url: z.ZodString;
153
- }, "strip", z.ZodTypeAny, {
154
- type: "pdf";
155
- url: string;
156
- label: string;
157
- text: string;
158
- }, {
159
- type: "pdf";
160
- url: string;
161
- label: string;
162
- text: string;
163
- }>, z.ZodObject<{
68
+ }, z.core.$strip>, z.ZodObject<{
164
69
  label: z.ZodString;
165
70
  text: z.ZodString;
166
- } & {
167
71
  type: z.ZodLiteral<"text">;
168
- }, "strip", z.ZodTypeAny, {
169
- type: "text";
170
- label: string;
171
- text: string;
172
- }, {
173
- type: "text";
174
- label: string;
175
- text: string;
176
- }>, z.ZodObject<{
72
+ }, z.core.$strip>, z.ZodObject<{
177
73
  label: z.ZodString;
178
74
  text: z.ZodString;
179
- } & {
180
75
  type: z.ZodLiteral<"link">;
181
76
  url: z.ZodString;
182
- }, "strip", z.ZodTypeAny, {
183
- type: "link";
184
- url: string;
185
- label: string;
186
- text: string;
187
- }, {
188
- type: "link";
189
- url: string;
190
- label: string;
191
- text: string;
192
- }>]>, "many">>;
77
+ }, z.core.$strip>], "type">>>;
193
78
  data: z.ZodOptional<z.ZodObject<{
194
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
195
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
196
- text: z.ZodOptional<z.ZodString>;
197
- total: z.ZodOptional<z.ZodNumber>;
198
- maximumValue: z.ZodOptional<z.ZodNumber>;
199
- minimumValue: z.ZodOptional<z.ZodNumber>;
200
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
201
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
202
- weight: z.ZodOptional<z.ZodNumber>;
203
- }, "strip", z.ZodAny, z.objectOutputType<{
204
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
205
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
206
- text: z.ZodOptional<z.ZodString>;
207
- total: z.ZodOptional<z.ZodNumber>;
208
- maximumValue: z.ZodOptional<z.ZodNumber>;
209
- minimumValue: z.ZodOptional<z.ZodNumber>;
210
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
211
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
212
- weight: z.ZodOptional<z.ZodNumber>;
213
- }, z.ZodAny, "strip">, z.objectInputType<{
214
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
79
+ type: z.ZodOptional<z.ZodEnum<{
80
+ number: "number";
81
+ boolean: "boolean";
82
+ percentage: "percentage";
83
+ }>>;
215
84
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
216
85
  text: z.ZodOptional<z.ZodString>;
217
86
  total: z.ZodOptional<z.ZodNumber>;
@@ -220,9 +89,8 @@ export declare const criterionSchema: z.ZodObject<{
220
89
  exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
221
90
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
222
91
  weight: z.ZodOptional<z.ZodNumber>;
223
- }, z.ZodAny, "strip">>>;
92
+ }, z.core.$catchall<z.ZodAny>>>;
224
93
  sortOrder: z.ZodOptional<z.ZodNumber>;
225
- } & {
226
94
  type: z.ZodLiteral<"task-group">;
227
95
  description: z.ZodOptional<z.ZodString>;
228
96
  category: z.ZodOptional<z.ZodString>;
@@ -230,65 +98,28 @@ export declare const criterionSchema: z.ZodObject<{
230
98
  title: z.ZodString;
231
99
  longFormTitle: z.ZodString;
232
100
  code: z.ZodString;
233
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
234
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
235
103
  label: z.ZodString;
236
104
  text: z.ZodString;
237
- } & {
238
105
  type: z.ZodLiteral<"pdf">;
239
106
  url: z.ZodString;
240
- }, "strip", z.ZodTypeAny, {
241
- type: "pdf";
242
- url: string;
243
- label: string;
244
- text: string;
245
- }, {
246
- type: "pdf";
247
- url: string;
248
- label: string;
249
- text: string;
250
- }>, z.ZodObject<{
107
+ }, z.core.$strip>, z.ZodObject<{
251
108
  label: z.ZodString;
252
109
  text: z.ZodString;
253
- } & {
254
110
  type: z.ZodLiteral<"text">;
255
- }, "strip", z.ZodTypeAny, {
256
- type: "text";
257
- label: string;
258
- text: string;
259
- }, {
260
- type: "text";
261
- label: string;
262
- text: string;
263
- }>, z.ZodObject<{
111
+ }, z.core.$strip>, z.ZodObject<{
264
112
  label: z.ZodString;
265
113
  text: z.ZodString;
266
- } & {
267
114
  type: z.ZodLiteral<"link">;
268
115
  url: z.ZodString;
269
- }, "strip", z.ZodTypeAny, {
270
- type: "link";
271
- url: string;
272
- label: string;
273
- text: string;
274
- }, {
275
- type: "link";
276
- url: string;
277
- label: string;
278
- text: string;
279
- }>]>, "many">>;
116
+ }, z.core.$strip>], "type">>>;
280
117
  data: z.ZodOptional<z.ZodObject<{
281
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
282
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
283
- text: z.ZodOptional<z.ZodString>;
284
- total: z.ZodOptional<z.ZodNumber>;
285
- maximumValue: z.ZodOptional<z.ZodNumber>;
286
- minimumValue: z.ZodOptional<z.ZodNumber>;
287
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
288
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
289
- weight: z.ZodOptional<z.ZodNumber>;
290
- }, "strip", z.ZodAny, z.objectOutputType<{
291
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
118
+ type: z.ZodOptional<z.ZodEnum<{
119
+ number: "number";
120
+ boolean: "boolean";
121
+ percentage: "percentage";
122
+ }>>;
292
123
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
293
124
  text: z.ZodOptional<z.ZodString>;
294
125
  total: z.ZodOptional<z.ZodNumber>;
@@ -297,95 +128,36 @@ export declare const criterionSchema: z.ZodObject<{
297
128
  exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
298
129
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
299
130
  weight: z.ZodOptional<z.ZodNumber>;
300
- }, z.ZodAny, "strip">, z.objectInputType<{
301
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
302
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
303
- text: z.ZodOptional<z.ZodString>;
304
- total: z.ZodOptional<z.ZodNumber>;
305
- maximumValue: z.ZodOptional<z.ZodNumber>;
306
- minimumValue: z.ZodOptional<z.ZodNumber>;
307
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
308
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
309
- weight: z.ZodOptional<z.ZodNumber>;
310
- }, z.ZodAny, "strip">>>;
131
+ }, z.core.$catchall<z.ZodAny>>>;
311
132
  sortOrder: z.ZodOptional<z.ZodNumber>;
312
- } & {
313
133
  type: z.ZodLiteral<"task">;
314
134
  description: z.ZodOptional<z.ZodString>;
315
135
  items: z.ZodArray<z.ZodLazy<z.ZodObject<{
316
136
  code: z.ZodString;
317
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
318
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
137
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
319
139
  label: z.ZodString;
320
140
  text: z.ZodString;
321
- } & {
322
141
  type: z.ZodLiteral<"pdf">;
323
142
  url: z.ZodString;
324
- }, "strip", z.ZodTypeAny, {
325
- type: "pdf";
326
- url: string;
327
- label: string;
328
- text: string;
329
- }, {
330
- type: "pdf";
331
- url: string;
332
- label: string;
333
- text: string;
334
- }>, z.ZodObject<{
143
+ }, z.core.$strip>, z.ZodObject<{
335
144
  label: z.ZodString;
336
145
  text: z.ZodString;
337
- } & {
338
146
  type: z.ZodLiteral<"text">;
339
- }, "strip", z.ZodTypeAny, {
340
- type: "text";
341
- label: string;
342
- text: string;
343
- }, {
344
- type: "text";
345
- label: string;
346
- text: string;
347
- }>, z.ZodObject<{
147
+ }, z.core.$strip>, z.ZodObject<{
348
148
  label: z.ZodString;
349
149
  text: z.ZodString;
350
- } & {
351
150
  type: z.ZodLiteral<"link">;
352
151
  url: z.ZodString;
353
- }, "strip", z.ZodTypeAny, {
354
- type: "link";
355
- url: string;
356
- label: string;
357
- text: string;
358
- }, {
359
- type: "link";
360
- url: string;
361
- label: string;
362
- text: string;
363
- }>]>, "many">>;
152
+ }, z.core.$strip>], "type">>>;
364
153
  sortOrder: z.ZodOptional<z.ZodNumber>;
365
- } & {
366
154
  type: z.ZodLiteral<"task-item">;
367
155
  data: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
368
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
369
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
370
- text: z.ZodOptional<z.ZodString>;
371
- total: z.ZodOptional<z.ZodNumber>;
372
- maximumValue: z.ZodOptional<z.ZodNumber>;
373
- minimumValue: z.ZodOptional<z.ZodNumber>;
374
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
375
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
376
- weight: z.ZodOptional<z.ZodNumber>;
377
- }, "strip", z.ZodAny, z.objectOutputType<{
378
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
379
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
380
- text: z.ZodOptional<z.ZodString>;
381
- total: z.ZodOptional<z.ZodNumber>;
382
- maximumValue: z.ZodOptional<z.ZodNumber>;
383
- minimumValue: z.ZodOptional<z.ZodNumber>;
384
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
385
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
386
- weight: z.ZodOptional<z.ZodNumber>;
387
- }, z.ZodAny, "strip">, z.objectInputType<{
388
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
156
+ type: z.ZodOptional<z.ZodEnum<{
157
+ number: "number";
158
+ boolean: "boolean";
159
+ percentage: "percentage";
160
+ }>>;
389
161
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
390
162
  text: z.ZodOptional<z.ZodString>;
391
163
  total: z.ZodOptional<z.ZodNumber>;
@@ -394,20 +166,13 @@ export declare const criterionSchema: z.ZodObject<{
394
166
  exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
395
167
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
396
168
  weight: z.ZodOptional<z.ZodNumber>;
397
- }, z.ZodAny, "strip">>, z.ZodObject<{
169
+ }, z.core.$catchall<z.ZodAny>>, z.ZodObject<{
398
170
  readOnly: z.ZodOptional<z.ZodBoolean>;
399
- 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">]>>;
400
- }, "strip", z.ZodTypeAny, {
401
- readOnly?: boolean | undefined;
402
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
403
- }, {
404
- readOnly?: boolean | undefined;
405
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
406
- }>>>;
407
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
171
+ 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]>>]>>;
172
+ }, z.core.$strip>>>;
173
+ definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
408
174
  label: z.ZodOptional<z.ZodString>;
409
175
  readOnly: z.ZodOptional<z.ZodBoolean>;
410
- } & {
411
176
  type: z.ZodLiteral<"select-single">;
412
177
  minimum: z.ZodOptional<z.ZodNumber>;
413
178
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -416,53 +181,12 @@ export declare const criterionSchema: z.ZodObject<{
416
181
  text: z.ZodString;
417
182
  intro: z.ZodOptional<z.ZodString>;
418
183
  outro: z.ZodOptional<z.ZodString>;
419
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
420
- }, "strip", z.ZodTypeAny, {
421
- value: string | number | boolean | null;
422
- text: string;
423
- id?: string | undefined;
424
- intro?: string | undefined;
425
- outro?: string | undefined;
426
- }, {
427
- value: string | number | boolean | null;
428
- text: string;
429
- id?: string | undefined;
430
- intro?: string | undefined;
431
- outro?: string | undefined;
432
- }>, "many">;
184
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
185
+ }, z.core.$strip>>;
433
186
  defaultValue: z.ZodOptional<z.ZodString>;
434
- }, "strip", z.ZodTypeAny, {
435
- type: "select-single";
436
- options: {
437
- value: string | number | boolean | null;
438
- text: string;
439
- id?: string | undefined;
440
- intro?: string | undefined;
441
- outro?: string | undefined;
442
- }[];
443
- label?: string | undefined;
444
- minimum?: number | undefined;
445
- maximum?: number | undefined;
446
- defaultValue?: string | undefined;
447
- readOnly?: boolean | undefined;
448
- }, {
449
- type: "select-single";
450
- options: {
451
- value: string | number | boolean | null;
452
- text: string;
453
- id?: string | undefined;
454
- intro?: string | undefined;
455
- outro?: string | undefined;
456
- }[];
457
- label?: string | undefined;
458
- minimum?: number | undefined;
459
- maximum?: number | undefined;
460
- defaultValue?: string | undefined;
461
- readOnly?: boolean | undefined;
462
- }>, z.ZodObject<{
187
+ }, z.core.$strip>, z.ZodObject<{
463
188
  label: z.ZodOptional<z.ZodString>;
464
189
  readOnly: z.ZodOptional<z.ZodBoolean>;
465
- } & {
466
190
  type: z.ZodLiteral<"select-multiple">;
467
191
  minimum: z.ZodOptional<z.ZodNumber>;
468
192
  maximum: z.ZodOptional<z.ZodNumber>;
@@ -471,1400 +195,60 @@ export declare const criterionSchema: z.ZodObject<{
471
195
  text: z.ZodString;
472
196
  intro: z.ZodOptional<z.ZodString>;
473
197
  outro: z.ZodOptional<z.ZodString>;
474
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
475
- }, "strip", z.ZodTypeAny, {
476
- value: string | number | boolean | null;
477
- text: string;
478
- id?: string | undefined;
479
- intro?: string | undefined;
480
- outro?: string | undefined;
481
- }, {
482
- value: string | number | boolean | null;
483
- text: string;
484
- id?: string | undefined;
485
- intro?: string | undefined;
486
- outro?: string | undefined;
487
- }>, "many">;
488
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
489
- }, "strip", z.ZodTypeAny, {
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: "select-multiple";
505
- options: {
506
- value: string | number | boolean | null;
507
- text: string;
508
- id?: string | undefined;
509
- intro?: string | undefined;
510
- outro?: string | undefined;
511
- }[];
512
- label?: string | undefined;
513
- minimum?: number | undefined;
514
- maximum?: number | undefined;
515
- defaultValue?: string[] | undefined;
516
- readOnly?: boolean | undefined;
517
- }>, z.ZodObject<{
198
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
199
+ }, z.core.$strip>>;
200
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
201
+ }, z.core.$strip>, z.ZodObject<{
518
202
  label: z.ZodOptional<z.ZodString>;
519
203
  readOnly: z.ZodOptional<z.ZodBoolean>;
520
- } & {
521
204
  type: z.ZodOptional<z.ZodLiteral<"number">>;
522
205
  minimum: z.ZodOptional<z.ZodNumber>;
523
206
  maximum: z.ZodOptional<z.ZodNumber>;
524
207
  step: z.ZodOptional<z.ZodNumber>;
525
208
  defaultValue: z.ZodOptional<z.ZodNumber>;
526
- }, "strip", z.ZodTypeAny, {
527
- type?: "number" | undefined;
528
- label?: string | undefined;
529
- minimum?: number | undefined;
530
- maximum?: number | undefined;
531
- defaultValue?: number | undefined;
532
- readOnly?: boolean | undefined;
533
- step?: number | undefined;
534
- }, {
535
- type?: "number" | undefined;
536
- label?: string | undefined;
537
- minimum?: number | undefined;
538
- maximum?: number | undefined;
539
- defaultValue?: number | undefined;
540
- readOnly?: boolean | undefined;
541
- step?: number | undefined;
542
- }>, z.ZodObject<{
209
+ }, z.core.$strip>, z.ZodObject<{
543
210
  label: z.ZodOptional<z.ZodString>;
544
211
  readOnly: z.ZodOptional<z.ZodBoolean>;
545
- } & {
546
212
  type: z.ZodLiteral<"boolean">;
547
213
  labels: z.ZodOptional<z.ZodObject<{
548
214
  true: z.ZodString;
549
215
  false: z.ZodString;
550
- }, "strip", z.ZodTypeAny, {
551
- false: string;
552
- true: string;
553
- }, {
554
- false: string;
555
- true: string;
556
- }>>;
216
+ }, z.core.$strip>>;
557
217
  defaultValue: z.ZodOptional<z.ZodBoolean>;
558
- }, "strip", z.ZodTypeAny, {
559
- type: "boolean";
560
- label?: string | undefined;
561
- labels?: {
562
- false: string;
563
- true: string;
564
- } | undefined;
565
- defaultValue?: boolean | undefined;
566
- readOnly?: boolean | undefined;
567
- }, {
568
- type: "boolean";
569
- label?: string | undefined;
570
- labels?: {
571
- false: string;
572
- true: string;
573
- } | undefined;
574
- defaultValue?: boolean | undefined;
575
- readOnly?: boolean | undefined;
576
- }>]>;
218
+ }, z.core.$strip>], "type">;
577
219
  description: z.ZodOptional<z.ZodString>;
578
220
  options: z.ZodObject<{
579
221
  excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
580
- }, "strip", z.ZodTypeAny, {
581
- excludeFromTargets?: boolean | undefined;
582
- }, {
583
- excludeFromTargets?: boolean | undefined;
584
- }>;
585
- }, "strip", z.ZodTypeAny, {
586
- code: string;
587
- type: "task-item";
588
- options: {
589
- excludeFromTargets?: boolean | undefined;
590
- };
591
- definition: {
592
- type: "select-single";
593
- options: {
594
- value: string | number | boolean | null;
595
- text: string;
596
- id?: string | undefined;
597
- intro?: string | undefined;
598
- outro?: string | undefined;
599
- }[];
600
- label?: string | undefined;
601
- minimum?: number | undefined;
602
- maximum?: number | undefined;
603
- defaultValue?: string | undefined;
604
- readOnly?: boolean | undefined;
605
- } | {
606
- type: "select-multiple";
607
- options: {
608
- value: string | number | boolean | null;
609
- text: string;
610
- id?: string | undefined;
611
- intro?: string | undefined;
612
- outro?: string | undefined;
613
- }[];
614
- label?: string | undefined;
615
- minimum?: number | undefined;
616
- maximum?: number | undefined;
617
- defaultValue?: string[] | undefined;
618
- readOnly?: boolean | undefined;
619
- } | {
620
- type?: "number" | undefined;
621
- label?: string | undefined;
622
- minimum?: number | undefined;
623
- maximum?: number | undefined;
624
- defaultValue?: number | undefined;
625
- readOnly?: boolean | undefined;
626
- step?: number | undefined;
627
- } | {
628
- type: "boolean";
629
- label?: string | undefined;
630
- labels?: {
631
- false: string;
632
- true: string;
633
- } | undefined;
634
- defaultValue?: boolean | undefined;
635
- readOnly?: boolean | undefined;
636
- };
637
- data?: ({
638
- type?: "number" | "boolean" | "percentage" | undefined;
639
- total?: number | undefined;
640
- value?: number | boolean | undefined;
641
- text?: string | undefined;
642
- maximumValue?: number | undefined;
643
- minimumValue?: number | undefined;
644
- exclusiveMaximum?: number | undefined;
645
- exclusiveMinimum?: number | undefined;
646
- weight?: number | undefined;
647
- } & {
648
- [k: string]: any;
649
- } & {
650
- readOnly?: boolean | undefined;
651
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
652
- }) | undefined;
653
- description?: string | undefined;
654
- tags?: string[] | undefined;
655
- documentation?: ({
656
- type: "pdf";
657
- url: string;
658
- label: string;
659
- text: string;
660
- } | {
661
- type: "text";
662
- label: string;
663
- text: string;
664
- } | {
665
- type: "link";
666
- url: string;
667
- label: string;
668
- text: string;
669
- })[] | undefined;
670
- sortOrder?: number | undefined;
671
- }, {
672
- code: string;
673
- type: "task-item";
674
- options: {
675
- excludeFromTargets?: boolean | undefined;
676
- };
677
- definition: {
678
- type: "select-single";
679
- options: {
680
- value: string | number | boolean | null;
681
- text: string;
682
- id?: string | undefined;
683
- intro?: string | undefined;
684
- outro?: string | undefined;
685
- }[];
686
- label?: string | undefined;
687
- minimum?: number | undefined;
688
- maximum?: number | undefined;
689
- defaultValue?: string | undefined;
690
- readOnly?: boolean | undefined;
691
- } | {
692
- type: "select-multiple";
693
- options: {
694
- value: string | number | boolean | null;
695
- text: string;
696
- id?: string | undefined;
697
- intro?: string | undefined;
698
- outro?: string | undefined;
699
- }[];
700
- label?: string | undefined;
701
- minimum?: number | undefined;
702
- maximum?: number | undefined;
703
- defaultValue?: string[] | undefined;
704
- readOnly?: boolean | undefined;
705
- } | {
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: "boolean";
715
- label?: string | undefined;
716
- labels?: {
717
- false: string;
718
- true: string;
719
- } | undefined;
720
- defaultValue?: boolean | undefined;
721
- readOnly?: boolean | undefined;
722
- };
723
- data?: ({
724
- type?: "number" | "boolean" | "percentage" | undefined;
725
- total?: number | undefined;
726
- value?: number | boolean | undefined;
727
- text?: string | undefined;
728
- maximumValue?: number | undefined;
729
- minimumValue?: number | undefined;
730
- exclusiveMaximum?: number | undefined;
731
- exclusiveMinimum?: number | undefined;
732
- weight?: number | undefined;
733
- } & {
734
- [k: string]: any;
735
- } & {
736
- readOnly?: boolean | undefined;
737
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
738
- }) | undefined;
739
- description?: string | undefined;
740
- tags?: string[] | undefined;
741
- documentation?: ({
742
- type: "pdf";
743
- url: string;
744
- label: string;
745
- text: string;
746
- } | {
747
- type: "text";
748
- label: string;
749
- text: string;
750
- } | {
751
- type: "link";
752
- url: string;
753
- label: string;
754
- text: string;
755
- })[] | undefined;
756
- sortOrder?: number | undefined;
757
- }>>, "many">;
222
+ }, z.core.$strip>;
223
+ }, z.core.$strip>>>;
758
224
  options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
759
225
  breadcrumbTextFormat: z.ZodString;
760
226
  documentTreeFolderTextFormat: z.ZodString;
761
227
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
762
- }, "strip", z.ZodTypeAny, {
763
- breadcrumbTextFormat: string;
764
- documentTreeFolderTextFormat: string;
765
- showCodeAsIndicatorTaskViewTitle: boolean;
766
- }, {
767
- breadcrumbTextFormat: string;
768
- documentTreeFolderTextFormat: string;
769
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
770
- }>, z.ZodObject<{
228
+ }, z.core.$strip>, z.ZodObject<{
771
229
  criteriaTreeElementTextFormat: z.ZodString;
772
- }, "strip", z.ZodTypeAny, {
773
- criteriaTreeElementTextFormat: string;
774
- }, {
775
- criteriaTreeElementTextFormat: string;
776
- }>>, z.ZodObject<{
230
+ }, z.core.$strip>>, z.ZodObject<{
777
231
  reportTitleTextFormat: z.ZodOptional<z.ZodString>;
778
- }, "strip", z.ZodTypeAny, {
779
- reportTitleTextFormat?: string | undefined;
780
- }, {
781
- reportTitleTextFormat?: string | undefined;
782
- }>>;
783
- }, "strip", z.ZodTypeAny, {
784
- code: string;
785
- type: "task";
786
- title: string;
787
- options: {
788
- breadcrumbTextFormat: string;
789
- documentTreeFolderTextFormat: string;
790
- showCodeAsIndicatorTaskViewTitle: boolean;
791
- } & {
792
- criteriaTreeElementTextFormat: string;
793
- } & {
794
- reportTitleTextFormat?: string | undefined;
795
- };
796
- items: {
797
- code: string;
798
- type: "task-item";
799
- options: {
800
- excludeFromTargets?: boolean | undefined;
801
- };
802
- definition: {
803
- type: "select-single";
804
- options: {
805
- value: string | number | boolean | null;
806
- text: string;
807
- id?: string | undefined;
808
- intro?: string | undefined;
809
- outro?: string | undefined;
810
- }[];
811
- label?: string | undefined;
812
- minimum?: number | undefined;
813
- maximum?: number | undefined;
814
- defaultValue?: string | undefined;
815
- readOnly?: boolean | undefined;
816
- } | {
817
- type: "select-multiple";
818
- options: {
819
- value: string | number | boolean | null;
820
- text: string;
821
- id?: string | undefined;
822
- intro?: string | undefined;
823
- outro?: string | undefined;
824
- }[];
825
- label?: string | undefined;
826
- minimum?: number | undefined;
827
- maximum?: number | undefined;
828
- defaultValue?: string[] | undefined;
829
- readOnly?: boolean | undefined;
830
- } | {
831
- type?: "number" | undefined;
832
- label?: string | undefined;
833
- minimum?: number | undefined;
834
- maximum?: number | undefined;
835
- defaultValue?: number | undefined;
836
- readOnly?: boolean | undefined;
837
- step?: number | undefined;
838
- } | {
839
- type: "boolean";
840
- label?: string | undefined;
841
- labels?: {
842
- false: string;
843
- true: string;
844
- } | undefined;
845
- defaultValue?: boolean | undefined;
846
- readOnly?: boolean | undefined;
847
- };
848
- data?: ({
849
- type?: "number" | "boolean" | "percentage" | undefined;
850
- total?: number | undefined;
851
- value?: number | boolean | undefined;
852
- text?: string | undefined;
853
- maximumValue?: number | undefined;
854
- minimumValue?: number | undefined;
855
- exclusiveMaximum?: number | undefined;
856
- exclusiveMinimum?: number | undefined;
857
- weight?: number | undefined;
858
- } & {
859
- [k: string]: any;
860
- } & {
861
- readOnly?: boolean | undefined;
862
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
863
- }) | undefined;
864
- description?: string | undefined;
865
- tags?: string[] | undefined;
866
- documentation?: ({
867
- type: "pdf";
868
- url: string;
869
- label: string;
870
- text: string;
871
- } | {
872
- type: "text";
873
- label: string;
874
- text: string;
875
- } | {
876
- type: "link";
877
- url: string;
878
- label: string;
879
- text: string;
880
- })[] | undefined;
881
- sortOrder?: number | undefined;
882
- }[];
883
- longFormTitle: string;
884
- data?: z.objectOutputType<{
885
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
886
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
887
- text: z.ZodOptional<z.ZodString>;
888
- total: z.ZodOptional<z.ZodNumber>;
889
- maximumValue: z.ZodOptional<z.ZodNumber>;
890
- minimumValue: z.ZodOptional<z.ZodNumber>;
891
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
892
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
893
- weight: z.ZodOptional<z.ZodNumber>;
894
- }, z.ZodAny, "strip"> | undefined;
895
- description?: string | undefined;
896
- tags?: string[] | undefined;
897
- documentation?: ({
898
- type: "pdf";
899
- url: string;
900
- label: string;
901
- text: string;
902
- } | {
903
- type: "text";
904
- label: string;
905
- text: string;
906
- } | {
907
- type: "link";
908
- url: string;
909
- label: string;
910
- text: string;
911
- })[] | undefined;
912
- sortOrder?: number | undefined;
913
- }, {
914
- code: string;
915
- type: "task";
916
- title: string;
917
- options: {
918
- breadcrumbTextFormat: string;
919
- documentTreeFolderTextFormat: string;
920
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
921
- } & {
922
- criteriaTreeElementTextFormat: string;
923
- } & {
924
- reportTitleTextFormat?: string | undefined;
925
- };
926
- items: {
927
- code: string;
928
- type: "task-item";
929
- options: {
930
- excludeFromTargets?: boolean | undefined;
931
- };
932
- definition: {
933
- type: "select-single";
934
- options: {
935
- value: string | number | boolean | null;
936
- text: string;
937
- id?: string | undefined;
938
- intro?: string | undefined;
939
- outro?: string | undefined;
940
- }[];
941
- label?: string | undefined;
942
- minimum?: number | undefined;
943
- maximum?: number | undefined;
944
- defaultValue?: string | undefined;
945
- readOnly?: boolean | undefined;
946
- } | {
947
- type: "select-multiple";
948
- options: {
949
- value: string | number | boolean | null;
950
- text: string;
951
- id?: string | undefined;
952
- intro?: string | undefined;
953
- outro?: string | undefined;
954
- }[];
955
- label?: string | undefined;
956
- minimum?: number | undefined;
957
- maximum?: number | undefined;
958
- defaultValue?: string[] | undefined;
959
- readOnly?: boolean | undefined;
960
- } | {
961
- type?: "number" | undefined;
962
- label?: string | undefined;
963
- minimum?: number | undefined;
964
- maximum?: number | undefined;
965
- defaultValue?: number | undefined;
966
- readOnly?: boolean | undefined;
967
- step?: number | undefined;
968
- } | {
969
- type: "boolean";
970
- label?: string | undefined;
971
- labels?: {
972
- false: string;
973
- true: string;
974
- } | undefined;
975
- defaultValue?: boolean | undefined;
976
- readOnly?: boolean | undefined;
977
- };
978
- data?: ({
979
- type?: "number" | "boolean" | "percentage" | undefined;
980
- total?: number | undefined;
981
- value?: number | boolean | undefined;
982
- text?: string | undefined;
983
- maximumValue?: number | undefined;
984
- minimumValue?: number | undefined;
985
- exclusiveMaximum?: number | undefined;
986
- exclusiveMinimum?: number | undefined;
987
- weight?: number | undefined;
988
- } & {
989
- [k: string]: any;
990
- } & {
991
- readOnly?: boolean | undefined;
992
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
993
- }) | undefined;
994
- description?: string | undefined;
995
- tags?: string[] | undefined;
996
- documentation?: ({
997
- type: "pdf";
998
- url: string;
999
- label: string;
1000
- text: string;
1001
- } | {
1002
- type: "text";
1003
- label: string;
1004
- text: string;
1005
- } | {
1006
- type: "link";
1007
- url: string;
1008
- label: string;
1009
- text: string;
1010
- })[] | undefined;
1011
- sortOrder?: number | undefined;
1012
- }[];
1013
- longFormTitle: string;
1014
- data?: z.objectInputType<{
1015
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1016
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1017
- text: z.ZodOptional<z.ZodString>;
1018
- total: z.ZodOptional<z.ZodNumber>;
1019
- maximumValue: z.ZodOptional<z.ZodNumber>;
1020
- minimumValue: z.ZodOptional<z.ZodNumber>;
1021
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1022
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1023
- weight: z.ZodOptional<z.ZodNumber>;
1024
- }, z.ZodAny, "strip"> | undefined;
1025
- description?: string | undefined;
1026
- tags?: string[] | undefined;
1027
- documentation?: ({
1028
- type: "pdf";
1029
- url: string;
1030
- label: string;
1031
- text: string;
1032
- } | {
1033
- type: "text";
1034
- label: string;
1035
- text: string;
1036
- } | {
1037
- type: "link";
1038
- url: string;
1039
- label: string;
1040
- text: string;
1041
- })[] | undefined;
1042
- sortOrder?: number | undefined;
1043
- }>>, "many">;
1044
- }, "strip", z.ZodTypeAny, {
1045
- code: string;
1046
- type: "task-group";
1047
- title: string;
1048
- items: {
1049
- code: string;
1050
- type: "task";
1051
- title: string;
1052
- options: {
1053
- breadcrumbTextFormat: string;
1054
- documentTreeFolderTextFormat: string;
1055
- showCodeAsIndicatorTaskViewTitle: boolean;
1056
- } & {
1057
- criteriaTreeElementTextFormat: string;
1058
- } & {
1059
- reportTitleTextFormat?: string | undefined;
1060
- };
1061
- items: {
1062
- code: string;
1063
- type: "task-item";
1064
- options: {
1065
- excludeFromTargets?: boolean | undefined;
1066
- };
1067
- definition: {
1068
- type: "select-single";
1069
- options: {
1070
- value: string | number | boolean | null;
1071
- text: string;
1072
- id?: string | undefined;
1073
- intro?: string | undefined;
1074
- outro?: string | undefined;
1075
- }[];
1076
- label?: string | undefined;
1077
- minimum?: number | undefined;
1078
- maximum?: number | undefined;
1079
- defaultValue?: string | undefined;
1080
- readOnly?: boolean | undefined;
1081
- } | {
1082
- type: "select-multiple";
1083
- options: {
1084
- value: string | number | boolean | null;
1085
- text: string;
1086
- id?: string | undefined;
1087
- intro?: string | undefined;
1088
- outro?: string | undefined;
1089
- }[];
1090
- label?: string | undefined;
1091
- minimum?: number | undefined;
1092
- maximum?: number | undefined;
1093
- defaultValue?: string[] | undefined;
1094
- readOnly?: boolean | undefined;
1095
- } | {
1096
- type?: "number" | undefined;
1097
- label?: string | undefined;
1098
- minimum?: number | undefined;
1099
- maximum?: number | undefined;
1100
- defaultValue?: number | undefined;
1101
- readOnly?: boolean | undefined;
1102
- step?: number | undefined;
1103
- } | {
1104
- type: "boolean";
1105
- label?: string | undefined;
1106
- labels?: {
1107
- false: string;
1108
- true: string;
1109
- } | undefined;
1110
- defaultValue?: boolean | undefined;
1111
- readOnly?: boolean | undefined;
1112
- };
1113
- data?: ({
1114
- type?: "number" | "boolean" | "percentage" | undefined;
1115
- total?: number | undefined;
1116
- value?: number | boolean | undefined;
1117
- text?: string | undefined;
1118
- maximumValue?: number | undefined;
1119
- minimumValue?: number | undefined;
1120
- exclusiveMaximum?: number | undefined;
1121
- exclusiveMinimum?: number | undefined;
1122
- weight?: number | undefined;
1123
- } & {
1124
- [k: string]: any;
1125
- } & {
1126
- readOnly?: boolean | undefined;
1127
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1128
- }) | undefined;
1129
- description?: string | undefined;
1130
- tags?: string[] | undefined;
1131
- documentation?: ({
1132
- type: "pdf";
1133
- url: string;
1134
- label: string;
1135
- text: string;
1136
- } | {
1137
- type: "text";
1138
- label: string;
1139
- text: string;
1140
- } | {
1141
- type: "link";
1142
- url: string;
1143
- label: string;
1144
- text: string;
1145
- })[] | undefined;
1146
- sortOrder?: number | undefined;
1147
- }[];
1148
- longFormTitle: string;
1149
- data?: z.objectOutputType<{
1150
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1151
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1152
- text: z.ZodOptional<z.ZodString>;
1153
- total: z.ZodOptional<z.ZodNumber>;
1154
- maximumValue: z.ZodOptional<z.ZodNumber>;
1155
- minimumValue: z.ZodOptional<z.ZodNumber>;
1156
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1157
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1158
- weight: z.ZodOptional<z.ZodNumber>;
1159
- }, z.ZodAny, "strip"> | undefined;
1160
- description?: string | undefined;
1161
- tags?: string[] | undefined;
1162
- documentation?: ({
1163
- type: "pdf";
1164
- url: string;
1165
- label: string;
1166
- text: string;
1167
- } | {
1168
- type: "text";
1169
- label: string;
1170
- text: string;
1171
- } | {
1172
- type: "link";
1173
- url: string;
1174
- label: string;
1175
- text: string;
1176
- })[] | undefined;
1177
- sortOrder?: number | undefined;
1178
- }[];
1179
- longFormTitle: string;
1180
- data?: z.objectOutputType<{
1181
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1182
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1183
- text: z.ZodOptional<z.ZodString>;
1184
- total: z.ZodOptional<z.ZodNumber>;
1185
- maximumValue: z.ZodOptional<z.ZodNumber>;
1186
- minimumValue: z.ZodOptional<z.ZodNumber>;
1187
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1188
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1189
- weight: z.ZodOptional<z.ZodNumber>;
1190
- }, z.ZodAny, "strip"> | undefined;
1191
- description?: string | undefined;
1192
- tags?: string[] | undefined;
1193
- documentation?: ({
1194
- type: "pdf";
1195
- url: string;
1196
- label: string;
1197
- text: string;
1198
- } | {
1199
- type: "text";
1200
- label: string;
1201
- text: string;
1202
- } | {
1203
- type: "link";
1204
- url: string;
1205
- label: string;
1206
- text: string;
1207
- })[] | undefined;
1208
- sortOrder?: number | undefined;
1209
- category?: string | undefined;
1210
- }, {
1211
- code: string;
1212
- type: "task-group";
1213
- title: string;
1214
- items: {
1215
- code: string;
1216
- type: "task";
1217
- title: string;
1218
- options: {
1219
- breadcrumbTextFormat: string;
1220
- documentTreeFolderTextFormat: string;
1221
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1222
- } & {
1223
- criteriaTreeElementTextFormat: string;
1224
- } & {
1225
- reportTitleTextFormat?: string | undefined;
1226
- };
1227
- items: {
1228
- code: string;
1229
- type: "task-item";
1230
- options: {
1231
- excludeFromTargets?: boolean | undefined;
1232
- };
1233
- definition: {
1234
- type: "select-single";
1235
- options: {
1236
- value: string | number | boolean | null;
1237
- text: string;
1238
- id?: string | undefined;
1239
- intro?: string | undefined;
1240
- outro?: string | undefined;
1241
- }[];
1242
- label?: string | undefined;
1243
- minimum?: number | undefined;
1244
- maximum?: number | undefined;
1245
- defaultValue?: string | undefined;
1246
- readOnly?: boolean | undefined;
1247
- } | {
1248
- type: "select-multiple";
1249
- options: {
1250
- value: string | number | boolean | null;
1251
- text: string;
1252
- id?: string | undefined;
1253
- intro?: string | undefined;
1254
- outro?: string | undefined;
1255
- }[];
1256
- label?: string | undefined;
1257
- minimum?: number | undefined;
1258
- maximum?: number | undefined;
1259
- defaultValue?: string[] | undefined;
1260
- readOnly?: boolean | undefined;
1261
- } | {
1262
- type?: "number" | undefined;
1263
- label?: string | undefined;
1264
- minimum?: number | undefined;
1265
- maximum?: number | undefined;
1266
- defaultValue?: number | undefined;
1267
- readOnly?: boolean | undefined;
1268
- step?: number | undefined;
1269
- } | {
1270
- type: "boolean";
1271
- label?: string | undefined;
1272
- labels?: {
1273
- false: string;
1274
- true: string;
1275
- } | undefined;
1276
- defaultValue?: boolean | undefined;
1277
- readOnly?: boolean | undefined;
1278
- };
1279
- data?: ({
1280
- type?: "number" | "boolean" | "percentage" | undefined;
1281
- total?: number | undefined;
1282
- value?: number | boolean | undefined;
1283
- text?: string | undefined;
1284
- maximumValue?: number | undefined;
1285
- minimumValue?: number | undefined;
1286
- exclusiveMaximum?: number | undefined;
1287
- exclusiveMinimum?: number | undefined;
1288
- weight?: number | undefined;
1289
- } & {
1290
- [k: string]: any;
1291
- } & {
1292
- readOnly?: boolean | undefined;
1293
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1294
- }) | undefined;
1295
- description?: string | undefined;
1296
- tags?: string[] | undefined;
1297
- documentation?: ({
1298
- type: "pdf";
1299
- url: string;
1300
- label: string;
1301
- text: string;
1302
- } | {
1303
- type: "text";
1304
- label: string;
1305
- text: string;
1306
- } | {
1307
- type: "link";
1308
- url: string;
1309
- label: string;
1310
- text: string;
1311
- })[] | undefined;
1312
- sortOrder?: number | undefined;
1313
- }[];
1314
- longFormTitle: string;
1315
- data?: z.objectInputType<{
1316
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1317
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1318
- text: z.ZodOptional<z.ZodString>;
1319
- total: z.ZodOptional<z.ZodNumber>;
1320
- maximumValue: z.ZodOptional<z.ZodNumber>;
1321
- minimumValue: z.ZodOptional<z.ZodNumber>;
1322
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1323
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1324
- weight: z.ZodOptional<z.ZodNumber>;
1325
- }, z.ZodAny, "strip"> | undefined;
1326
- description?: string | undefined;
1327
- tags?: string[] | undefined;
1328
- documentation?: ({
1329
- type: "pdf";
1330
- url: string;
1331
- label: string;
1332
- text: string;
1333
- } | {
1334
- type: "text";
1335
- label: string;
1336
- text: string;
1337
- } | {
1338
- type: "link";
1339
- url: string;
1340
- label: string;
1341
- text: string;
1342
- })[] | undefined;
1343
- sortOrder?: number | undefined;
1344
- }[];
1345
- longFormTitle: string;
1346
- data?: z.objectInputType<{
1347
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1348
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1349
- text: z.ZodOptional<z.ZodString>;
1350
- total: z.ZodOptional<z.ZodNumber>;
1351
- maximumValue: z.ZodOptional<z.ZodNumber>;
1352
- minimumValue: z.ZodOptional<z.ZodNumber>;
1353
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1354
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1355
- weight: z.ZodOptional<z.ZodNumber>;
1356
- }, z.ZodAny, "strip"> | undefined;
1357
- description?: string | undefined;
1358
- tags?: string[] | undefined;
1359
- documentation?: ({
1360
- type: "pdf";
1361
- url: string;
1362
- label: string;
1363
- text: string;
1364
- } | {
1365
- type: "text";
1366
- label: string;
1367
- text: string;
1368
- } | {
1369
- type: "link";
1370
- url: string;
1371
- label: string;
1372
- text: string;
1373
- })[] | undefined;
1374
- sortOrder?: number | undefined;
1375
- category?: string | undefined;
1376
- }>>, "many">;
232
+ }, z.core.$strip>>;
233
+ }, z.core.$strip>>>;
234
+ }, z.core.$strip>>>;
1377
235
  options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1378
236
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1379
- }, "strip", z.ZodTypeAny, {
1380
- hideCodeInReport: boolean;
1381
- }, {
1382
- hideCodeInReport?: boolean | undefined;
1383
- }>, z.ZodUnion<[z.ZodObject<{
237
+ }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
1384
238
  hideFromBreadcrumbs: z.ZodLiteral<true>;
1385
239
  breadcrumbTextFormat: z.ZodOptional<z.ZodNever>;
1386
- }, "strip", z.ZodTypeAny, {
1387
- hideFromBreadcrumbs: true;
1388
- breadcrumbTextFormat?: undefined;
1389
- }, {
1390
- hideFromBreadcrumbs: true;
1391
- breadcrumbTextFormat?: undefined;
1392
- }>, z.ZodObject<{
240
+ }, z.core.$strip>, z.ZodObject<{
1393
241
  hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodLiteral<false>>>;
1394
242
  breadcrumbTextFormat: z.ZodString;
1395
- }, "strip", z.ZodTypeAny, {
1396
- hideFromBreadcrumbs: false;
1397
- breadcrumbTextFormat: string;
1398
- }, {
1399
- breadcrumbTextFormat: string;
1400
- hideFromBreadcrumbs?: false | undefined;
1401
- }>]>>, z.ZodUnion<[z.ZodObject<{
243
+ }, z.core.$strip>]>>, z.ZodUnion<[z.ZodObject<{
1402
244
  hideFromDocumentTree: z.ZodLiteral<true>;
1403
245
  documentTreeFolderTextFormat: z.ZodOptional<z.ZodNever>;
1404
- }, "strip", z.ZodTypeAny, {
1405
- hideFromDocumentTree: true;
1406
- documentTreeFolderTextFormat?: undefined;
1407
- }, {
1408
- hideFromDocumentTree: true;
1409
- documentTreeFolderTextFormat?: undefined;
1410
- }>, z.ZodObject<{
246
+ }, z.core.$strip>, z.ZodObject<{
1411
247
  hideFromDocumentTree: z.ZodOptional<z.ZodLiteral<false>>;
1412
248
  documentTreeFolderTextFormat: z.ZodString;
1413
- }, "strip", z.ZodTypeAny, {
1414
- documentTreeFolderTextFormat: string;
1415
- hideFromDocumentTree?: false | undefined;
1416
- }, {
1417
- documentTreeFolderTextFormat: string;
1418
- hideFromDocumentTree?: false | undefined;
1419
- }>]>>, z.ZodObject<{
249
+ }, z.core.$strip>]>>, z.ZodObject<{
1420
250
  criteriaTreeElementTextFormat: z.ZodString;
1421
- }, "strip", z.ZodTypeAny, {
1422
- criteriaTreeElementTextFormat: string;
1423
- }, {
1424
- criteriaTreeElementTextFormat: string;
1425
- }>>, z.ZodObject<{
251
+ }, z.core.$strip>>, z.ZodObject<{
1426
252
  reportTitleTextFormat: z.ZodOptional<z.ZodString>;
1427
- }, "strip", z.ZodTypeAny, {
1428
- reportTitleTextFormat?: string | undefined;
1429
- }, {
1430
- reportTitleTextFormat?: string | undefined;
1431
- }>>;
1432
- }, "strip", z.ZodTypeAny, {
1433
- code: string;
1434
- type: "criterion";
1435
- title: string;
1436
- options: ((({
1437
- hideCodeInReport: boolean;
1438
- } & ({
1439
- hideFromBreadcrumbs: true;
1440
- breadcrumbTextFormat?: undefined;
1441
- } | {
1442
- hideFromBreadcrumbs: false;
1443
- breadcrumbTextFormat: string;
1444
- })) & ({
1445
- hideFromDocumentTree: true;
1446
- documentTreeFolderTextFormat?: undefined;
1447
- } | {
1448
- documentTreeFolderTextFormat: string;
1449
- hideFromDocumentTree?: false | undefined;
1450
- })) & {
1451
- criteriaTreeElementTextFormat: string;
1452
- }) & {
1453
- reportTitleTextFormat?: string | undefined;
1454
- };
1455
- items: {
1456
- code: string;
1457
- type: "task-group";
1458
- title: string;
1459
- items: {
1460
- code: string;
1461
- type: "task";
1462
- title: string;
1463
- options: {
1464
- breadcrumbTextFormat: string;
1465
- documentTreeFolderTextFormat: string;
1466
- showCodeAsIndicatorTaskViewTitle: boolean;
1467
- } & {
1468
- criteriaTreeElementTextFormat: string;
1469
- } & {
1470
- reportTitleTextFormat?: string | undefined;
1471
- };
1472
- items: {
1473
- code: string;
1474
- type: "task-item";
1475
- options: {
1476
- excludeFromTargets?: boolean | undefined;
1477
- };
1478
- definition: {
1479
- type: "select-single";
1480
- options: {
1481
- value: string | number | boolean | null;
1482
- text: string;
1483
- id?: string | undefined;
1484
- intro?: string | undefined;
1485
- outro?: string | undefined;
1486
- }[];
1487
- label?: string | undefined;
1488
- minimum?: number | undefined;
1489
- maximum?: number | undefined;
1490
- defaultValue?: string | undefined;
1491
- readOnly?: boolean | undefined;
1492
- } | {
1493
- type: "select-multiple";
1494
- options: {
1495
- value: string | number | boolean | null;
1496
- text: string;
1497
- id?: string | undefined;
1498
- intro?: string | undefined;
1499
- outro?: string | undefined;
1500
- }[];
1501
- label?: string | undefined;
1502
- minimum?: number | undefined;
1503
- maximum?: number | undefined;
1504
- defaultValue?: string[] | undefined;
1505
- readOnly?: boolean | undefined;
1506
- } | {
1507
- type?: "number" | undefined;
1508
- label?: string | undefined;
1509
- minimum?: number | undefined;
1510
- maximum?: number | undefined;
1511
- defaultValue?: number | undefined;
1512
- readOnly?: boolean | undefined;
1513
- step?: number | undefined;
1514
- } | {
1515
- type: "boolean";
1516
- label?: string | undefined;
1517
- labels?: {
1518
- false: string;
1519
- true: string;
1520
- } | undefined;
1521
- defaultValue?: boolean | undefined;
1522
- readOnly?: boolean | undefined;
1523
- };
1524
- data?: ({
1525
- type?: "number" | "boolean" | "percentage" | undefined;
1526
- total?: number | undefined;
1527
- value?: number | boolean | undefined;
1528
- text?: string | undefined;
1529
- maximumValue?: number | undefined;
1530
- minimumValue?: number | undefined;
1531
- exclusiveMaximum?: number | undefined;
1532
- exclusiveMinimum?: number | undefined;
1533
- weight?: number | undefined;
1534
- } & {
1535
- [k: string]: any;
1536
- } & {
1537
- readOnly?: boolean | undefined;
1538
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1539
- }) | undefined;
1540
- description?: string | undefined;
1541
- tags?: string[] | undefined;
1542
- documentation?: ({
1543
- type: "pdf";
1544
- url: string;
1545
- label: string;
1546
- text: string;
1547
- } | {
1548
- type: "text";
1549
- label: string;
1550
- text: string;
1551
- } | {
1552
- type: "link";
1553
- url: string;
1554
- label: string;
1555
- text: string;
1556
- })[] | undefined;
1557
- sortOrder?: number | undefined;
1558
- }[];
1559
- longFormTitle: string;
1560
- data?: z.objectOutputType<{
1561
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1562
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1563
- text: z.ZodOptional<z.ZodString>;
1564
- total: z.ZodOptional<z.ZodNumber>;
1565
- maximumValue: z.ZodOptional<z.ZodNumber>;
1566
- minimumValue: z.ZodOptional<z.ZodNumber>;
1567
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1568
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1569
- weight: z.ZodOptional<z.ZodNumber>;
1570
- }, z.ZodAny, "strip"> | undefined;
1571
- description?: string | undefined;
1572
- tags?: string[] | undefined;
1573
- documentation?: ({
1574
- type: "pdf";
1575
- url: string;
1576
- label: string;
1577
- text: string;
1578
- } | {
1579
- type: "text";
1580
- label: string;
1581
- text: string;
1582
- } | {
1583
- type: "link";
1584
- url: string;
1585
- label: string;
1586
- text: string;
1587
- })[] | undefined;
1588
- sortOrder?: number | undefined;
1589
- }[];
1590
- longFormTitle: string;
1591
- data?: z.objectOutputType<{
1592
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1593
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1594
- text: z.ZodOptional<z.ZodString>;
1595
- total: z.ZodOptional<z.ZodNumber>;
1596
- maximumValue: z.ZodOptional<z.ZodNumber>;
1597
- minimumValue: z.ZodOptional<z.ZodNumber>;
1598
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1599
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1600
- weight: z.ZodOptional<z.ZodNumber>;
1601
- }, z.ZodAny, "strip"> | undefined;
1602
- description?: string | undefined;
1603
- tags?: string[] | undefined;
1604
- documentation?: ({
1605
- type: "pdf";
1606
- url: string;
1607
- label: string;
1608
- text: string;
1609
- } | {
1610
- type: "text";
1611
- label: string;
1612
- text: string;
1613
- } | {
1614
- type: "link";
1615
- url: string;
1616
- label: string;
1617
- text: string;
1618
- })[] | undefined;
1619
- sortOrder?: number | undefined;
1620
- category?: string | undefined;
1621
- }[];
1622
- longFormTitle: string;
1623
- data?: z.objectOutputType<{
1624
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1625
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1626
- text: z.ZodOptional<z.ZodString>;
1627
- total: z.ZodOptional<z.ZodNumber>;
1628
- maximumValue: z.ZodOptional<z.ZodNumber>;
1629
- minimumValue: z.ZodOptional<z.ZodNumber>;
1630
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1631
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1632
- weight: z.ZodOptional<z.ZodNumber>;
1633
- }, z.ZodAny, "strip"> | undefined;
1634
- tags?: string[] | undefined;
1635
- documentation?: ({
1636
- type: "pdf";
1637
- url: string;
1638
- label: string;
1639
- text: string;
1640
- } | {
1641
- type: "text";
1642
- label: string;
1643
- text: string;
1644
- } | {
1645
- type: "link";
1646
- url: string;
1647
- label: string;
1648
- text: string;
1649
- })[] | undefined;
1650
- sortOrder?: number | undefined;
1651
- }, {
1652
- code: string;
1653
- type: "criterion";
1654
- title: string;
1655
- options: ((({
1656
- hideCodeInReport?: boolean | undefined;
1657
- } & ({
1658
- hideFromBreadcrumbs: true;
1659
- breadcrumbTextFormat?: undefined;
1660
- } | {
1661
- breadcrumbTextFormat: string;
1662
- hideFromBreadcrumbs?: false | undefined;
1663
- })) & ({
1664
- hideFromDocumentTree: true;
1665
- documentTreeFolderTextFormat?: undefined;
1666
- } | {
1667
- documentTreeFolderTextFormat: string;
1668
- hideFromDocumentTree?: false | undefined;
1669
- })) & {
1670
- criteriaTreeElementTextFormat: string;
1671
- }) & {
1672
- reportTitleTextFormat?: string | undefined;
1673
- };
1674
- items: {
1675
- code: string;
1676
- type: "task-group";
1677
- title: string;
1678
- items: {
1679
- code: string;
1680
- type: "task";
1681
- title: string;
1682
- options: {
1683
- breadcrumbTextFormat: string;
1684
- documentTreeFolderTextFormat: string;
1685
- showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1686
- } & {
1687
- criteriaTreeElementTextFormat: string;
1688
- } & {
1689
- reportTitleTextFormat?: string | undefined;
1690
- };
1691
- items: {
1692
- code: string;
1693
- type: "task-item";
1694
- options: {
1695
- excludeFromTargets?: boolean | undefined;
1696
- };
1697
- definition: {
1698
- type: "select-single";
1699
- options: {
1700
- value: string | number | boolean | null;
1701
- text: string;
1702
- id?: string | undefined;
1703
- intro?: string | undefined;
1704
- outro?: string | undefined;
1705
- }[];
1706
- label?: string | undefined;
1707
- minimum?: number | undefined;
1708
- maximum?: number | undefined;
1709
- defaultValue?: string | undefined;
1710
- readOnly?: boolean | undefined;
1711
- } | {
1712
- type: "select-multiple";
1713
- options: {
1714
- value: string | number | boolean | null;
1715
- text: string;
1716
- id?: string | undefined;
1717
- intro?: string | undefined;
1718
- outro?: string | undefined;
1719
- }[];
1720
- label?: string | undefined;
1721
- minimum?: number | undefined;
1722
- maximum?: number | undefined;
1723
- defaultValue?: string[] | undefined;
1724
- readOnly?: boolean | undefined;
1725
- } | {
1726
- type?: "number" | undefined;
1727
- label?: string | undefined;
1728
- minimum?: number | undefined;
1729
- maximum?: number | undefined;
1730
- defaultValue?: number | undefined;
1731
- readOnly?: boolean | undefined;
1732
- step?: number | undefined;
1733
- } | {
1734
- type: "boolean";
1735
- label?: string | undefined;
1736
- labels?: {
1737
- false: string;
1738
- true: string;
1739
- } | undefined;
1740
- defaultValue?: boolean | undefined;
1741
- readOnly?: boolean | undefined;
1742
- };
1743
- data?: ({
1744
- type?: "number" | "boolean" | "percentage" | undefined;
1745
- total?: number | undefined;
1746
- value?: number | boolean | undefined;
1747
- text?: string | undefined;
1748
- maximumValue?: number | undefined;
1749
- minimumValue?: number | undefined;
1750
- exclusiveMaximum?: number | undefined;
1751
- exclusiveMinimum?: number | undefined;
1752
- weight?: number | undefined;
1753
- } & {
1754
- [k: string]: any;
1755
- } & {
1756
- readOnly?: boolean | undefined;
1757
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1758
- }) | undefined;
1759
- description?: string | undefined;
1760
- tags?: string[] | undefined;
1761
- documentation?: ({
1762
- type: "pdf";
1763
- url: string;
1764
- label: string;
1765
- text: string;
1766
- } | {
1767
- type: "text";
1768
- label: string;
1769
- text: string;
1770
- } | {
1771
- type: "link";
1772
- url: string;
1773
- label: string;
1774
- text: string;
1775
- })[] | undefined;
1776
- sortOrder?: number | undefined;
1777
- }[];
1778
- longFormTitle: string;
1779
- data?: z.objectInputType<{
1780
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1781
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1782
- text: z.ZodOptional<z.ZodString>;
1783
- total: z.ZodOptional<z.ZodNumber>;
1784
- maximumValue: z.ZodOptional<z.ZodNumber>;
1785
- minimumValue: z.ZodOptional<z.ZodNumber>;
1786
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1787
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1788
- weight: z.ZodOptional<z.ZodNumber>;
1789
- }, z.ZodAny, "strip"> | undefined;
1790
- description?: string | undefined;
1791
- tags?: string[] | undefined;
1792
- documentation?: ({
1793
- type: "pdf";
1794
- url: string;
1795
- label: string;
1796
- text: string;
1797
- } | {
1798
- type: "text";
1799
- label: string;
1800
- text: string;
1801
- } | {
1802
- type: "link";
1803
- url: string;
1804
- label: string;
1805
- text: string;
1806
- })[] | undefined;
1807
- sortOrder?: number | undefined;
1808
- }[];
1809
- longFormTitle: string;
1810
- data?: z.objectInputType<{
1811
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1812
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1813
- text: z.ZodOptional<z.ZodString>;
1814
- total: z.ZodOptional<z.ZodNumber>;
1815
- maximumValue: z.ZodOptional<z.ZodNumber>;
1816
- minimumValue: z.ZodOptional<z.ZodNumber>;
1817
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1818
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1819
- weight: z.ZodOptional<z.ZodNumber>;
1820
- }, z.ZodAny, "strip"> | undefined;
1821
- description?: string | undefined;
1822
- tags?: string[] | undefined;
1823
- documentation?: ({
1824
- type: "pdf";
1825
- url: string;
1826
- label: string;
1827
- text: string;
1828
- } | {
1829
- type: "text";
1830
- label: string;
1831
- text: string;
1832
- } | {
1833
- type: "link";
1834
- url: string;
1835
- label: string;
1836
- text: string;
1837
- })[] | undefined;
1838
- sortOrder?: number | undefined;
1839
- category?: string | undefined;
1840
- }[];
1841
- longFormTitle: string;
1842
- data?: z.objectInputType<{
1843
- type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
1844
- value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
1845
- text: z.ZodOptional<z.ZodString>;
1846
- total: z.ZodOptional<z.ZodNumber>;
1847
- maximumValue: z.ZodOptional<z.ZodNumber>;
1848
- minimumValue: z.ZodOptional<z.ZodNumber>;
1849
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
1850
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
1851
- weight: z.ZodOptional<z.ZodNumber>;
1852
- }, z.ZodAny, "strip"> | undefined;
1853
- tags?: string[] | undefined;
1854
- documentation?: ({
1855
- type: "pdf";
1856
- url: string;
1857
- label: string;
1858
- text: string;
1859
- } | {
1860
- type: "text";
1861
- label: string;
1862
- text: string;
1863
- } | {
1864
- type: "link";
1865
- url: string;
1866
- label: string;
1867
- text: string;
1868
- })[] | undefined;
1869
- sortOrder?: number | undefined;
1870
- }>;
253
+ }, z.core.$strip>>;
254
+ }, z.core.$strip>;