@openframe-org/criteria-set-protocol 2.0.4 → 2.0.6-beta.1

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.
Files changed (35) hide show
  1. package/dist/v1/schemas/certification.d.ts +80 -80
  2. package/dist/v1/schemas/certification.js +7 -6
  3. package/dist/v1/schemas/common.d.ts +59 -90
  4. package/dist/v1/schemas/common.js +15 -14
  5. package/dist/v1/schemas/criteria-tree.d.ts +2017 -2866
  6. package/dist/v1/schemas/criteria-tree.js +2 -1
  7. package/dist/v1/schemas/criterion.d.ts +373 -520
  8. package/dist/v1/schemas/criterion.js +4 -3
  9. package/dist/v1/schemas/data-map.d.ts +2 -2
  10. package/dist/v1/schemas/data-map.js +2 -1
  11. package/dist/v1/schemas/index.d.ts +1 -0
  12. package/dist/v1/schemas/index.js +1 -0
  13. package/dist/v1/schemas/metadata.d.ts +18 -21
  14. package/dist/v1/schemas/metadata.js +7 -6
  15. package/dist/v1/schemas/request/matrix-body-schema.d.ts +7 -7
  16. package/dist/v1/schemas/request/matrix-body-schema.js +5 -4
  17. package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +7 -7
  18. package/dist/v1/schemas/request/matrix-request-body-schema.js +5 -4
  19. package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +6 -6
  20. package/dist/v1/schemas/request/tree-and-data-body-schema.js +4 -3
  21. package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +6 -6
  22. package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +4 -3
  23. package/dist/v1/schemas/response.d.ts +14 -17
  24. package/dist/v1/schemas/task-group.d.ts +266 -379
  25. package/dist/v1/schemas/task-group.js +5 -4
  26. package/dist/v1/schemas/task-item.d.ts +172 -218
  27. package/dist/v1/schemas/task-item.js +14 -13
  28. package/dist/v1/schemas/task.d.ts +172 -251
  29. package/dist/v1/schemas/task.js +4 -3
  30. package/dist/v1/schemas/theme.d.ts +499 -706
  31. package/dist/v1/schemas/theme.js +4 -3
  32. package/dist/v1/schemas/utils.d.ts +6 -0
  33. package/dist/v1/schemas/utils.js +14 -0
  34. package/dist/v1/utils.d.ts +293 -293
  35. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { z } from "zod";
2
2
  export declare const criterionOptionsSchema: z.ZodObject<{
3
- hideCode: z.ZodOptional<z.ZodBoolean>;
4
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
3
+ hideCode: z.ZodType<boolean | null | undefined, z.ZodTypeDef, boolean | undefined>;
4
+ hideFromHierarchy: z.ZodType<boolean | null | undefined, z.ZodTypeDef, boolean | undefined>;
5
5
  }, "strip", z.ZodTypeAny, {
6
- hideCode?: boolean | undefined;
7
- hideFromHierarchy?: boolean | undefined;
6
+ hideCode?: boolean | null | undefined;
7
+ hideFromHierarchy?: boolean | null | undefined;
8
8
  }, {
9
9
  hideCode?: boolean | undefined;
10
10
  hideFromHierarchy?: boolean | undefined;
@@ -13,79 +13,48 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
13
13
  type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
14
14
  title: z.ZodString;
15
15
  code: z.ZodString;
16
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
18
- type: z.ZodEnum<["pdf", "text", "link"]>;
19
- label: z.ZodString;
20
- text: z.ZodString;
21
- }, {
22
- type: z.ZodLiteral<"pdf">;
23
- url: z.ZodString;
24
- }>, "strip", z.ZodTypeAny, {
25
- type: "pdf";
26
- url: string;
27
- label: string;
28
- text: string;
29
- }, {
16
+ tags: z.ZodType<string[] | null | undefined, z.ZodTypeDef, string[] | undefined>;
17
+ documentation: z.ZodType<({
30
18
  type: "pdf";
31
19
  url: string;
32
20
  label: string;
33
21
  text: string;
34
- }>, z.ZodObject<z.objectUtil.extendShape<{
35
- type: z.ZodEnum<["pdf", "text", "link"]>;
36
- label: z.ZodString;
37
- text: z.ZodString;
38
- }, {
39
- type: z.ZodLiteral<"text">;
40
- }>, "strip", z.ZodTypeAny, {
22
+ } | {
41
23
  type: "text";
42
24
  label: string;
43
25
  text: string;
44
- }, {
45
- type: "text";
26
+ } | {
27
+ type: "link";
28
+ url: string;
46
29
  label: string;
47
30
  text: string;
48
- }>, z.ZodObject<z.objectUtil.extendShape<{
49
- type: z.ZodEnum<["pdf", "text", "link"]>;
50
- label: z.ZodString;
51
- text: z.ZodString;
52
- }, {
53
- type: z.ZodLiteral<"link">;
54
- url: z.ZodString;
55
- }>, "strip", z.ZodTypeAny, {
56
- type: "link";
31
+ })[] | null | undefined, z.ZodTypeDef, ({
32
+ type: "pdf";
57
33
  url: string;
58
34
  label: string;
59
35
  text: string;
60
- }, {
36
+ } | {
37
+ type: "text";
38
+ label: string;
39
+ text: string;
40
+ } | {
61
41
  type: "link";
62
42
  url: string;
63
43
  label: string;
64
44
  text: string;
65
- }>]>, "many">>;
66
- data: z.ZodOptional<z.ZodObject<{
67
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
68
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
69
- text: z.ZodOptional<z.ZodString>;
70
- maximumValue: z.ZodOptional<z.ZodNumber>;
71
- minimumValue: z.ZodOptional<z.ZodNumber>;
72
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
73
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
74
- step: z.ZodOptional<z.ZodNumber>;
75
- total: z.ZodOptional<z.ZodNumber>;
76
- readOnly: z.ZodOptional<z.ZodBoolean>;
77
- }, "strip", z.ZodTypeAny, {
78
- type?: "number" | "percentage" | undefined;
79
- total?: number | undefined;
45
+ })[] | undefined>;
46
+ data: z.ZodType<{
47
+ type?: "number" | "percentage" | null | undefined;
48
+ total?: number | null | undefined;
80
49
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
81
- text?: string | undefined;
82
- maximumValue?: number | undefined;
83
- minimumValue?: number | undefined;
84
- exclusiveMaximum?: number | undefined;
85
- exclusiveMinimum?: number | undefined;
86
- step?: number | undefined;
87
- readOnly?: boolean | undefined;
88
- }, {
50
+ text?: string | null | undefined;
51
+ maximumValue?: number | null | undefined;
52
+ minimumValue?: number | null | undefined;
53
+ exclusiveMaximum?: number | null | undefined;
54
+ exclusiveMinimum?: number | null | undefined;
55
+ step?: number | null | undefined;
56
+ readOnly?: boolean | null | undefined;
57
+ } | null | undefined, z.ZodTypeDef, {
89
58
  type?: "number" | "percentage" | undefined;
90
59
  total?: number | undefined;
91
60
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -96,87 +65,56 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
96
65
  exclusiveMinimum?: number | undefined;
97
66
  step?: number | undefined;
98
67
  readOnly?: boolean | undefined;
99
- }>>;
100
- sortOrder: z.ZodOptional<z.ZodNumber>;
68
+ } | undefined>;
69
+ sortOrder: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
101
70
  }, {
102
71
  type: z.ZodLiteral<"criterion">;
103
72
  items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
104
73
  type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
105
74
  title: z.ZodString;
106
75
  code: z.ZodString;
107
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
108
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
109
- type: z.ZodEnum<["pdf", "text", "link"]>;
110
- label: z.ZodString;
111
- text: z.ZodString;
112
- }, {
113
- type: z.ZodLiteral<"pdf">;
114
- url: z.ZodString;
115
- }>, "strip", z.ZodTypeAny, {
116
- type: "pdf";
117
- url: string;
118
- label: string;
119
- text: string;
120
- }, {
76
+ tags: z.ZodType<string[] | null | undefined, z.ZodTypeDef, string[] | undefined>;
77
+ documentation: z.ZodType<({
121
78
  type: "pdf";
122
79
  url: string;
123
80
  label: string;
124
81
  text: string;
125
- }>, z.ZodObject<z.objectUtil.extendShape<{
126
- type: z.ZodEnum<["pdf", "text", "link"]>;
127
- label: z.ZodString;
128
- text: z.ZodString;
129
- }, {
130
- type: z.ZodLiteral<"text">;
131
- }>, "strip", z.ZodTypeAny, {
82
+ } | {
132
83
  type: "text";
133
84
  label: string;
134
85
  text: string;
135
- }, {
136
- type: "text";
86
+ } | {
87
+ type: "link";
88
+ url: string;
137
89
  label: string;
138
90
  text: string;
139
- }>, z.ZodObject<z.objectUtil.extendShape<{
140
- type: z.ZodEnum<["pdf", "text", "link"]>;
141
- label: z.ZodString;
142
- text: z.ZodString;
143
- }, {
144
- type: z.ZodLiteral<"link">;
145
- url: z.ZodString;
146
- }>, "strip", z.ZodTypeAny, {
147
- type: "link";
91
+ })[] | null | undefined, z.ZodTypeDef, ({
92
+ type: "pdf";
148
93
  url: string;
149
94
  label: string;
150
95
  text: string;
151
- }, {
96
+ } | {
97
+ type: "text";
98
+ label: string;
99
+ text: string;
100
+ } | {
152
101
  type: "link";
153
102
  url: string;
154
103
  label: string;
155
104
  text: string;
156
- }>]>, "many">>;
157
- data: z.ZodOptional<z.ZodObject<{
158
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
159
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
160
- text: z.ZodOptional<z.ZodString>;
161
- maximumValue: z.ZodOptional<z.ZodNumber>;
162
- minimumValue: z.ZodOptional<z.ZodNumber>;
163
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
164
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
165
- step: z.ZodOptional<z.ZodNumber>;
166
- total: z.ZodOptional<z.ZodNumber>;
167
- readOnly: z.ZodOptional<z.ZodBoolean>;
168
- }, "strip", z.ZodTypeAny, {
169
- type?: "number" | "percentage" | undefined;
170
- total?: number | undefined;
105
+ })[] | undefined>;
106
+ data: z.ZodType<{
107
+ type?: "number" | "percentage" | null | undefined;
108
+ total?: number | null | undefined;
171
109
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
172
- text?: string | undefined;
173
- maximumValue?: number | undefined;
174
- minimumValue?: number | undefined;
175
- exclusiveMaximum?: number | undefined;
176
- exclusiveMinimum?: number | undefined;
177
- step?: number | undefined;
178
- readOnly?: boolean | undefined;
179
- }, {
110
+ text?: string | null | undefined;
111
+ maximumValue?: number | null | undefined;
112
+ minimumValue?: number | null | undefined;
113
+ exclusiveMaximum?: number | null | undefined;
114
+ exclusiveMinimum?: number | null | undefined;
115
+ step?: number | null | undefined;
116
+ readOnly?: boolean | null | undefined;
117
+ } | null | undefined, z.ZodTypeDef, {
180
118
  type?: "number" | "percentage" | undefined;
181
119
  total?: number | undefined;
182
120
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -187,88 +125,57 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
187
125
  exclusiveMinimum?: number | undefined;
188
126
  step?: number | undefined;
189
127
  readOnly?: boolean | undefined;
190
- }>>;
191
- sortOrder: z.ZodOptional<z.ZodNumber>;
128
+ } | undefined>;
129
+ sortOrder: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
192
130
  }, {
193
131
  type: z.ZodLiteral<"task-group">;
194
- category: z.ZodOptional<z.ZodString>;
132
+ category: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
195
133
  items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
196
134
  type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
197
135
  title: z.ZodString;
198
136
  code: z.ZodString;
199
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
200
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
201
- type: z.ZodEnum<["pdf", "text", "link"]>;
202
- label: z.ZodString;
203
- text: z.ZodString;
204
- }, {
205
- type: z.ZodLiteral<"pdf">;
206
- url: z.ZodString;
207
- }>, "strip", z.ZodTypeAny, {
208
- type: "pdf";
209
- url: string;
210
- label: string;
211
- text: string;
212
- }, {
137
+ tags: z.ZodType<string[] | null | undefined, z.ZodTypeDef, string[] | undefined>;
138
+ documentation: z.ZodType<({
213
139
  type: "pdf";
214
140
  url: string;
215
141
  label: string;
216
142
  text: string;
217
- }>, z.ZodObject<z.objectUtil.extendShape<{
218
- type: z.ZodEnum<["pdf", "text", "link"]>;
219
- label: z.ZodString;
220
- text: z.ZodString;
221
- }, {
222
- type: z.ZodLiteral<"text">;
223
- }>, "strip", z.ZodTypeAny, {
143
+ } | {
224
144
  type: "text";
225
145
  label: string;
226
146
  text: string;
227
- }, {
228
- type: "text";
147
+ } | {
148
+ type: "link";
149
+ url: string;
229
150
  label: string;
230
151
  text: string;
231
- }>, z.ZodObject<z.objectUtil.extendShape<{
232
- type: z.ZodEnum<["pdf", "text", "link"]>;
233
- label: z.ZodString;
234
- text: z.ZodString;
235
- }, {
236
- type: z.ZodLiteral<"link">;
237
- url: z.ZodString;
238
- }>, "strip", z.ZodTypeAny, {
239
- type: "link";
152
+ })[] | null | undefined, z.ZodTypeDef, ({
153
+ type: "pdf";
240
154
  url: string;
241
155
  label: string;
242
156
  text: string;
243
- }, {
157
+ } | {
158
+ type: "text";
159
+ label: string;
160
+ text: string;
161
+ } | {
244
162
  type: "link";
245
163
  url: string;
246
164
  label: string;
247
165
  text: string;
248
- }>]>, "many">>;
249
- data: z.ZodOptional<z.ZodObject<{
250
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
251
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
252
- text: z.ZodOptional<z.ZodString>;
253
- maximumValue: z.ZodOptional<z.ZodNumber>;
254
- minimumValue: z.ZodOptional<z.ZodNumber>;
255
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
256
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
257
- step: z.ZodOptional<z.ZodNumber>;
258
- total: z.ZodOptional<z.ZodNumber>;
259
- readOnly: z.ZodOptional<z.ZodBoolean>;
260
- }, "strip", z.ZodTypeAny, {
261
- type?: "number" | "percentage" | undefined;
262
- total?: number | undefined;
166
+ })[] | undefined>;
167
+ data: z.ZodType<{
168
+ type?: "number" | "percentage" | null | undefined;
169
+ total?: number | null | undefined;
263
170
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
264
- text?: string | undefined;
265
- maximumValue?: number | undefined;
266
- minimumValue?: number | undefined;
267
- exclusiveMaximum?: number | undefined;
268
- exclusiveMinimum?: number | undefined;
269
- step?: number | undefined;
270
- readOnly?: boolean | undefined;
271
- }, {
171
+ text?: string | null | undefined;
172
+ maximumValue?: number | null | undefined;
173
+ minimumValue?: number | null | undefined;
174
+ exclusiveMaximum?: number | null | undefined;
175
+ exclusiveMinimum?: number | null | undefined;
176
+ step?: number | null | undefined;
177
+ readOnly?: boolean | null | undefined;
178
+ } | null | undefined, z.ZodTypeDef, {
272
179
  type?: "number" | "percentage" | undefined;
273
180
  total?: number | undefined;
274
181
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -279,88 +186,57 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
279
186
  exclusiveMinimum?: number | undefined;
280
187
  step?: number | undefined;
281
188
  readOnly?: boolean | undefined;
282
- }>>;
283
- sortOrder: z.ZodOptional<z.ZodNumber>;
189
+ } | undefined>;
190
+ sortOrder: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
284
191
  }, {
285
192
  type: z.ZodLiteral<"task">;
286
- description: z.ZodOptional<z.ZodString>;
193
+ description: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
287
194
  items: z.ZodArray<z.ZodLazy<z.ZodObject<Omit<z.objectUtil.extendShape<{
288
195
  type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
289
196
  title: z.ZodString;
290
197
  code: z.ZodString;
291
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
292
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
293
- type: z.ZodEnum<["pdf", "text", "link"]>;
294
- label: z.ZodString;
295
- text: z.ZodString;
296
- }, {
297
- type: z.ZodLiteral<"pdf">;
298
- url: z.ZodString;
299
- }>, "strip", z.ZodTypeAny, {
300
- type: "pdf";
301
- url: string;
302
- label: string;
303
- text: string;
304
- }, {
198
+ tags: z.ZodType<string[] | null | undefined, z.ZodTypeDef, string[] | undefined>;
199
+ documentation: z.ZodType<({
305
200
  type: "pdf";
306
201
  url: string;
307
202
  label: string;
308
203
  text: string;
309
- }>, z.ZodObject<z.objectUtil.extendShape<{
310
- type: z.ZodEnum<["pdf", "text", "link"]>;
311
- label: z.ZodString;
312
- text: z.ZodString;
313
- }, {
314
- type: z.ZodLiteral<"text">;
315
- }>, "strip", z.ZodTypeAny, {
204
+ } | {
316
205
  type: "text";
317
206
  label: string;
318
207
  text: string;
319
- }, {
320
- type: "text";
208
+ } | {
209
+ type: "link";
210
+ url: string;
321
211
  label: string;
322
212
  text: string;
323
- }>, z.ZodObject<z.objectUtil.extendShape<{
324
- type: z.ZodEnum<["pdf", "text", "link"]>;
325
- label: z.ZodString;
326
- text: z.ZodString;
327
- }, {
328
- type: z.ZodLiteral<"link">;
329
- url: z.ZodString;
330
- }>, "strip", z.ZodTypeAny, {
331
- type: "link";
213
+ })[] | null | undefined, z.ZodTypeDef, ({
214
+ type: "pdf";
332
215
  url: string;
333
216
  label: string;
334
217
  text: string;
335
- }, {
218
+ } | {
219
+ type: "text";
220
+ label: string;
221
+ text: string;
222
+ } | {
336
223
  type: "link";
337
224
  url: string;
338
225
  label: string;
339
226
  text: string;
340
- }>]>, "many">>;
341
- data: z.ZodOptional<z.ZodObject<{
342
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
343
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
344
- text: z.ZodOptional<z.ZodString>;
345
- maximumValue: z.ZodOptional<z.ZodNumber>;
346
- minimumValue: z.ZodOptional<z.ZodNumber>;
347
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
348
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
349
- step: z.ZodOptional<z.ZodNumber>;
350
- total: z.ZodOptional<z.ZodNumber>;
351
- readOnly: z.ZodOptional<z.ZodBoolean>;
352
- }, "strip", z.ZodTypeAny, {
353
- type?: "number" | "percentage" | undefined;
354
- total?: number | undefined;
227
+ })[] | undefined>;
228
+ data: z.ZodType<{
229
+ type?: "number" | "percentage" | null | undefined;
230
+ total?: number | null | undefined;
355
231
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
356
- text?: string | undefined;
357
- maximumValue?: number | undefined;
358
- minimumValue?: number | undefined;
359
- exclusiveMaximum?: number | undefined;
360
- exclusiveMinimum?: number | undefined;
361
- step?: number | undefined;
362
- readOnly?: boolean | undefined;
363
- }, {
232
+ text?: string | null | undefined;
233
+ maximumValue?: number | null | undefined;
234
+ minimumValue?: number | null | undefined;
235
+ exclusiveMaximum?: number | null | undefined;
236
+ exclusiveMinimum?: number | null | undefined;
237
+ step?: number | null | undefined;
238
+ readOnly?: boolean | null | undefined;
239
+ } | null | undefined, z.ZodTypeDef, {
364
240
  type?: "number" | "percentage" | undefined;
365
241
  total?: number | undefined;
366
242
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -371,36 +247,23 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
371
247
  exclusiveMinimum?: number | undefined;
372
248
  step?: number | undefined;
373
249
  readOnly?: boolean | undefined;
374
- }>>;
375
- sortOrder: z.ZodOptional<z.ZodNumber>;
250
+ } | undefined>;
251
+ sortOrder: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
376
252
  }, {
377
253
  type: z.ZodLiteral<"task-item">;
378
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
379
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
380
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
381
- text: z.ZodOptional<z.ZodString>;
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
- step: z.ZodOptional<z.ZodNumber>;
387
- total: z.ZodOptional<z.ZodNumber>;
388
- readOnly: z.ZodOptional<z.ZodBoolean>;
389
- }, {
390
- 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">]>>;
391
- }>, "strip", z.ZodTypeAny, {
392
- type?: "number" | "percentage" | undefined;
393
- total?: number | undefined;
254
+ data: z.ZodType<{
255
+ type?: "number" | "percentage" | null | undefined;
256
+ total?: number | null | undefined;
394
257
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
395
- text?: string | undefined;
396
- maximumValue?: number | undefined;
397
- minimumValue?: number | undefined;
398
- exclusiveMaximum?: number | undefined;
399
- exclusiveMinimum?: number | undefined;
400
- step?: number | undefined;
401
- readOnly?: boolean | undefined;
258
+ text?: string | null | undefined;
259
+ maximumValue?: number | null | undefined;
260
+ minimumValue?: number | null | undefined;
261
+ exclusiveMaximum?: number | null | undefined;
262
+ exclusiveMinimum?: number | null | undefined;
263
+ step?: number | null | undefined;
264
+ readOnly?: boolean | null | undefined;
402
265
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
403
- }, {
266
+ } | null | undefined, z.ZodTypeDef, {
404
267
  type?: "number" | "percentage" | undefined;
405
268
  total?: number | undefined;
406
269
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -412,23 +275,23 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
412
275
  step?: number | undefined;
413
276
  readOnly?: boolean | undefined;
414
277
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
415
- }>>;
278
+ } | undefined>;
416
279
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
417
280
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
418
281
  }, {
419
282
  type: z.ZodLiteral<"select-single">;
420
283
  options: z.ZodArray<z.ZodObject<{
421
- id: z.ZodOptional<z.ZodString>;
284
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
422
285
  text: z.ZodString;
423
- intro: z.ZodOptional<z.ZodString>;
424
- outro: z.ZodOptional<z.ZodString>;
286
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
287
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
425
288
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
426
289
  }, "strip", z.ZodTypeAny, {
427
290
  value: string | number | boolean | null;
428
291
  text: string;
429
- id?: string | undefined;
430
- intro?: string | undefined;
431
- outro?: string | undefined;
292
+ id?: string | null | undefined;
293
+ intro?: string | null | undefined;
294
+ outro?: string | null | undefined;
432
295
  }, {
433
296
  value: string | number | boolean | null;
434
297
  text: string;
@@ -441,9 +304,9 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
441
304
  options: {
442
305
  value: string | number | boolean | null;
443
306
  text: string;
444
- id?: string | undefined;
445
- intro?: string | undefined;
446
- outro?: string | undefined;
307
+ id?: string | null | undefined;
308
+ intro?: string | null | undefined;
309
+ outro?: string | null | undefined;
447
310
  }[];
448
311
  }, {
449
312
  type: "select-single";
@@ -459,17 +322,17 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
459
322
  }, {
460
323
  type: z.ZodLiteral<"select-multiple">;
461
324
  options: z.ZodArray<z.ZodObject<{
462
- id: z.ZodOptional<z.ZodString>;
325
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
463
326
  text: z.ZodString;
464
- intro: z.ZodOptional<z.ZodString>;
465
- outro: z.ZodOptional<z.ZodString>;
327
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
328
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
466
329
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
467
330
  }, "strip", z.ZodTypeAny, {
468
331
  value: string | number | boolean | null;
469
332
  text: string;
470
- id?: string | undefined;
471
- intro?: string | undefined;
472
- outro?: string | undefined;
333
+ id?: string | null | undefined;
334
+ intro?: string | null | undefined;
335
+ outro?: string | null | undefined;
473
336
  }, {
474
337
  value: string | number | boolean | null;
475
338
  text: string;
@@ -482,9 +345,9 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
482
345
  options: {
483
346
  value: string | number | boolean | null;
484
347
  text: string;
485
- id?: string | undefined;
486
- intro?: string | undefined;
487
- outro?: string | undefined;
348
+ id?: string | null | undefined;
349
+ intro?: string | null | undefined;
350
+ outro?: string | null | undefined;
488
351
  }[];
489
352
  }, {
490
353
  type: "select-multiple";
@@ -499,14 +362,14 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
499
362
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
500
363
  }, {
501
364
  type: z.ZodLiteral<"number">;
502
- minimum: z.ZodOptional<z.ZodNumber>;
503
- maximum: z.ZodOptional<z.ZodNumber>;
504
- step: z.ZodOptional<z.ZodNumber>;
365
+ minimum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
366
+ maximum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
367
+ step: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
505
368
  }>, "strip", z.ZodTypeAny, {
506
369
  type: "number";
507
- minimum?: number | undefined;
508
- maximum?: number | undefined;
509
- step?: number | undefined;
370
+ minimum?: number | null | undefined;
371
+ maximum?: number | null | undefined;
372
+ step?: number | null | undefined;
510
373
  }, {
511
374
  type: "number";
512
375
  minimum?: number | undefined;
@@ -539,16 +402,14 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
539
402
  true: string;
540
403
  } | undefined;
541
404
  }>]>;
542
- description: z.ZodOptional<z.ZodString>;
543
- providedData: z.ZodOptional<z.ZodRecord<z.ZodString, 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">]>>>;
544
- 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">]>>;
545
- options: z.ZodOptional<z.ZodObject<{
546
- hideCode: z.ZodOptional<z.ZodBoolean>;
547
- }, "strip", z.ZodTypeAny, {
548
- hideCode?: boolean | undefined;
549
- }, {
405
+ description: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
406
+ providedData: z.ZodType<Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined, z.ZodTypeDef, Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined>;
407
+ valueReference: z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null | undefined, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null | undefined>;
408
+ options: z.ZodType<{
409
+ hideCode?: boolean | null | undefined;
410
+ } | null | undefined, z.ZodTypeDef, {
550
411
  hideCode?: boolean | undefined;
551
- }>>;
412
+ } | undefined>;
552
413
  }>, "title">, "strip", z.ZodTypeAny, {
553
414
  type: "task-item";
554
415
  code: string;
@@ -557,24 +418,24 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
557
418
  options: {
558
419
  value: string | number | boolean | null;
559
420
  text: string;
560
- id?: string | undefined;
561
- intro?: string | undefined;
562
- outro?: string | undefined;
421
+ id?: string | null | undefined;
422
+ intro?: string | null | undefined;
423
+ outro?: string | null | undefined;
563
424
  }[];
564
425
  } | {
565
426
  type: "select-multiple";
566
427
  options: {
567
428
  value: string | number | boolean | null;
568
429
  text: string;
569
- id?: string | undefined;
570
- intro?: string | undefined;
571
- outro?: string | undefined;
430
+ id?: string | null | undefined;
431
+ intro?: string | null | undefined;
432
+ outro?: string | null | undefined;
572
433
  }[];
573
434
  } | {
574
435
  type: "number";
575
- minimum?: number | undefined;
576
- maximum?: number | undefined;
577
- step?: number | undefined;
436
+ minimum?: number | null | undefined;
437
+ maximum?: number | null | undefined;
438
+ step?: number | null | undefined;
578
439
  } | {
579
440
  type: "boolean";
580
441
  labels?: {
@@ -583,23 +444,23 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
583
444
  } | undefined;
584
445
  };
585
446
  data?: {
586
- type?: "number" | "percentage" | undefined;
587
- total?: number | undefined;
447
+ type?: "number" | "percentage" | null | undefined;
448
+ total?: number | null | undefined;
588
449
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
589
- text?: string | undefined;
590
- maximumValue?: number | undefined;
591
- minimumValue?: number | undefined;
592
- exclusiveMaximum?: number | undefined;
593
- exclusiveMinimum?: number | undefined;
594
- step?: number | undefined;
595
- readOnly?: boolean | undefined;
450
+ text?: string | null | undefined;
451
+ maximumValue?: number | null | undefined;
452
+ minimumValue?: number | null | undefined;
453
+ exclusiveMaximum?: number | null | undefined;
454
+ exclusiveMinimum?: number | null | undefined;
455
+ step?: number | null | undefined;
456
+ readOnly?: boolean | null | undefined;
596
457
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
597
- } | undefined;
458
+ } | null | undefined;
598
459
  options?: {
599
- hideCode?: boolean | undefined;
600
- } | undefined;
601
- description?: string | undefined;
602
- tags?: string[] | undefined;
460
+ hideCode?: boolean | null | undefined;
461
+ } | null | undefined;
462
+ description?: string | null | undefined;
463
+ tags?: string[] | null | undefined;
603
464
  documentation?: ({
604
465
  type: "pdf";
605
466
  url: string;
@@ -614,10 +475,10 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
614
475
  url: string;
615
476
  label: string;
616
477
  text: string;
617
- })[] | undefined;
618
- sortOrder?: number | undefined;
478
+ })[] | null | undefined;
479
+ sortOrder?: number | null | undefined;
619
480
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
620
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
481
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
621
482
  }, {
622
483
  type: "task-item";
623
484
  code: string;
@@ -688,13 +549,11 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
688
549
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
689
550
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
690
551
  }>>, "many">;
691
- options: z.ZodOptional<z.ZodObject<{
692
- hideCode: z.ZodOptional<z.ZodBoolean>;
693
- }, "strip", z.ZodTypeAny, {
552
+ options: z.ZodType<{
553
+ hideCode?: boolean | null | undefined;
554
+ } | null | undefined, z.ZodTypeDef, {
694
555
  hideCode?: boolean | undefined;
695
- }, {
696
- hideCode?: boolean | undefined;
697
- }>>;
556
+ } | undefined>;
698
557
  }>, "strip", z.ZodTypeAny, {
699
558
  type: "task";
700
559
  code: string;
@@ -707,24 +566,24 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
707
566
  options: {
708
567
  value: string | number | boolean | null;
709
568
  text: string;
710
- id?: string | undefined;
711
- intro?: string | undefined;
712
- outro?: string | undefined;
569
+ id?: string | null | undefined;
570
+ intro?: string | null | undefined;
571
+ outro?: string | null | undefined;
713
572
  }[];
714
573
  } | {
715
574
  type: "select-multiple";
716
575
  options: {
717
576
  value: string | number | boolean | null;
718
577
  text: string;
719
- id?: string | undefined;
720
- intro?: string | undefined;
721
- outro?: string | undefined;
578
+ id?: string | null | undefined;
579
+ intro?: string | null | undefined;
580
+ outro?: string | null | undefined;
722
581
  }[];
723
582
  } | {
724
583
  type: "number";
725
- minimum?: number | undefined;
726
- maximum?: number | undefined;
727
- step?: number | undefined;
584
+ minimum?: number | null | undefined;
585
+ maximum?: number | null | undefined;
586
+ step?: number | null | undefined;
728
587
  } | {
729
588
  type: "boolean";
730
589
  labels?: {
@@ -733,23 +592,23 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
733
592
  } | undefined;
734
593
  };
735
594
  data?: {
736
- type?: "number" | "percentage" | undefined;
737
- total?: number | undefined;
595
+ type?: "number" | "percentage" | null | undefined;
596
+ total?: number | null | undefined;
738
597
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
739
- text?: string | undefined;
740
- maximumValue?: number | undefined;
741
- minimumValue?: number | undefined;
742
- exclusiveMaximum?: number | undefined;
743
- exclusiveMinimum?: number | undefined;
744
- step?: number | undefined;
745
- readOnly?: boolean | undefined;
598
+ text?: string | null | undefined;
599
+ maximumValue?: number | null | undefined;
600
+ minimumValue?: number | null | undefined;
601
+ exclusiveMaximum?: number | null | undefined;
602
+ exclusiveMinimum?: number | null | undefined;
603
+ step?: number | null | undefined;
604
+ readOnly?: boolean | null | undefined;
746
605
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
747
- } | undefined;
606
+ } | null | undefined;
748
607
  options?: {
749
- hideCode?: boolean | undefined;
750
- } | undefined;
751
- description?: string | undefined;
752
- tags?: string[] | undefined;
608
+ hideCode?: boolean | null | undefined;
609
+ } | null | undefined;
610
+ description?: string | null | undefined;
611
+ tags?: string[] | null | undefined;
753
612
  documentation?: ({
754
613
  type: "pdf";
755
614
  url: string;
@@ -764,28 +623,28 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
764
623
  url: string;
765
624
  label: string;
766
625
  text: string;
767
- })[] | undefined;
768
- sortOrder?: number | undefined;
626
+ })[] | null | undefined;
627
+ sortOrder?: number | null | undefined;
769
628
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
770
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
629
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
771
630
  }[];
772
631
  data?: {
773
- type?: "number" | "percentage" | undefined;
774
- total?: number | undefined;
632
+ type?: "number" | "percentage" | null | undefined;
633
+ total?: number | null | undefined;
775
634
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
776
- text?: string | undefined;
777
- maximumValue?: number | undefined;
778
- minimumValue?: number | undefined;
779
- exclusiveMaximum?: number | undefined;
780
- exclusiveMinimum?: number | undefined;
781
- step?: number | undefined;
782
- readOnly?: boolean | undefined;
783
- } | undefined;
635
+ text?: string | null | undefined;
636
+ maximumValue?: number | null | undefined;
637
+ minimumValue?: number | null | undefined;
638
+ exclusiveMaximum?: number | null | undefined;
639
+ exclusiveMinimum?: number | null | undefined;
640
+ step?: number | null | undefined;
641
+ readOnly?: boolean | null | undefined;
642
+ } | null | undefined;
784
643
  options?: {
785
- hideCode?: boolean | undefined;
786
- } | undefined;
787
- description?: string | undefined;
788
- tags?: string[] | undefined;
644
+ hideCode?: boolean | null | undefined;
645
+ } | null | undefined;
646
+ description?: string | null | undefined;
647
+ tags?: string[] | null | undefined;
789
648
  documentation?: ({
790
649
  type: "pdf";
791
650
  url: string;
@@ -800,8 +659,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
800
659
  url: string;
801
660
  label: string;
802
661
  text: string;
803
- })[] | undefined;
804
- sortOrder?: number | undefined;
662
+ })[] | null | undefined;
663
+ sortOrder?: number | null | undefined;
805
664
  }, {
806
665
  type: "task";
807
666
  code: string;
@@ -910,16 +769,13 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
910
769
  })[] | undefined;
911
770
  sortOrder?: number | undefined;
912
771
  }>>, "many">;
913
- options: z.ZodOptional<z.ZodObject<{
914
- hideCode: z.ZodOptional<z.ZodBoolean>;
915
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
916
- }, "strip", z.ZodTypeAny, {
917
- hideCode?: boolean | undefined;
918
- hideFromHierarchy?: boolean | undefined;
919
- }, {
772
+ options: z.ZodType<{
773
+ hideCode?: boolean | null | undefined;
774
+ hideFromHierarchy?: boolean | null | undefined;
775
+ } | null | undefined, z.ZodTypeDef, {
920
776
  hideCode?: boolean | undefined;
921
777
  hideFromHierarchy?: boolean | undefined;
922
- }>>;
778
+ } | undefined>;
923
779
  }>, "strip", z.ZodTypeAny, {
924
780
  type: "task-group";
925
781
  code: string;
@@ -936,24 +792,24 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
936
792
  options: {
937
793
  value: string | number | boolean | null;
938
794
  text: string;
939
- id?: string | undefined;
940
- intro?: string | undefined;
941
- outro?: string | undefined;
795
+ id?: string | null | undefined;
796
+ intro?: string | null | undefined;
797
+ outro?: string | null | undefined;
942
798
  }[];
943
799
  } | {
944
800
  type: "select-multiple";
945
801
  options: {
946
802
  value: string | number | boolean | null;
947
803
  text: string;
948
- id?: string | undefined;
949
- intro?: string | undefined;
950
- outro?: string | undefined;
804
+ id?: string | null | undefined;
805
+ intro?: string | null | undefined;
806
+ outro?: string | null | undefined;
951
807
  }[];
952
808
  } | {
953
809
  type: "number";
954
- minimum?: number | undefined;
955
- maximum?: number | undefined;
956
- step?: number | undefined;
810
+ minimum?: number | null | undefined;
811
+ maximum?: number | null | undefined;
812
+ step?: number | null | undefined;
957
813
  } | {
958
814
  type: "boolean";
959
815
  labels?: {
@@ -962,23 +818,23 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
962
818
  } | undefined;
963
819
  };
964
820
  data?: {
965
- type?: "number" | "percentage" | undefined;
966
- total?: number | undefined;
821
+ type?: "number" | "percentage" | null | undefined;
822
+ total?: number | null | undefined;
967
823
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
968
- text?: string | undefined;
969
- maximumValue?: number | undefined;
970
- minimumValue?: number | undefined;
971
- exclusiveMaximum?: number | undefined;
972
- exclusiveMinimum?: number | undefined;
973
- step?: number | undefined;
974
- readOnly?: boolean | undefined;
824
+ text?: string | null | undefined;
825
+ maximumValue?: number | null | undefined;
826
+ minimumValue?: number | null | undefined;
827
+ exclusiveMaximum?: number | null | undefined;
828
+ exclusiveMinimum?: number | null | undefined;
829
+ step?: number | null | undefined;
830
+ readOnly?: boolean | null | undefined;
975
831
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
976
- } | undefined;
832
+ } | null | undefined;
977
833
  options?: {
978
- hideCode?: boolean | undefined;
979
- } | undefined;
980
- description?: string | undefined;
981
- tags?: string[] | undefined;
834
+ hideCode?: boolean | null | undefined;
835
+ } | null | undefined;
836
+ description?: string | null | undefined;
837
+ tags?: string[] | null | undefined;
982
838
  documentation?: ({
983
839
  type: "pdf";
984
840
  url: string;
@@ -993,28 +849,28 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
993
849
  url: string;
994
850
  label: string;
995
851
  text: string;
996
- })[] | undefined;
997
- sortOrder?: number | undefined;
852
+ })[] | null | undefined;
853
+ sortOrder?: number | null | undefined;
998
854
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
999
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
855
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
1000
856
  }[];
1001
857
  data?: {
1002
- type?: "number" | "percentage" | undefined;
1003
- total?: number | undefined;
858
+ type?: "number" | "percentage" | null | undefined;
859
+ total?: number | null | undefined;
1004
860
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1005
- text?: string | undefined;
1006
- maximumValue?: number | undefined;
1007
- minimumValue?: number | undefined;
1008
- exclusiveMaximum?: number | undefined;
1009
- exclusiveMinimum?: number | undefined;
1010
- step?: number | undefined;
1011
- readOnly?: boolean | undefined;
1012
- } | undefined;
861
+ text?: string | null | undefined;
862
+ maximumValue?: number | null | undefined;
863
+ minimumValue?: number | null | undefined;
864
+ exclusiveMaximum?: number | null | undefined;
865
+ exclusiveMinimum?: number | null | undefined;
866
+ step?: number | null | undefined;
867
+ readOnly?: boolean | null | undefined;
868
+ } | null | undefined;
1013
869
  options?: {
1014
- hideCode?: boolean | undefined;
1015
- } | undefined;
1016
- description?: string | undefined;
1017
- tags?: string[] | undefined;
870
+ hideCode?: boolean | null | undefined;
871
+ } | null | undefined;
872
+ description?: string | null | undefined;
873
+ tags?: string[] | null | undefined;
1018
874
  documentation?: ({
1019
875
  type: "pdf";
1020
876
  url: string;
@@ -1029,26 +885,26 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1029
885
  url: string;
1030
886
  label: string;
1031
887
  text: string;
1032
- })[] | undefined;
1033
- sortOrder?: number | undefined;
888
+ })[] | null | undefined;
889
+ sortOrder?: number | null | undefined;
1034
890
  }[];
1035
891
  data?: {
1036
- type?: "number" | "percentage" | undefined;
1037
- total?: number | undefined;
892
+ type?: "number" | "percentage" | null | undefined;
893
+ total?: number | null | undefined;
1038
894
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1039
- text?: string | undefined;
1040
- maximumValue?: number | undefined;
1041
- minimumValue?: number | undefined;
1042
- exclusiveMaximum?: number | undefined;
1043
- exclusiveMinimum?: number | undefined;
1044
- step?: number | undefined;
1045
- readOnly?: boolean | undefined;
1046
- } | undefined;
895
+ text?: string | null | undefined;
896
+ maximumValue?: number | null | undefined;
897
+ minimumValue?: number | null | undefined;
898
+ exclusiveMaximum?: number | null | undefined;
899
+ exclusiveMinimum?: number | null | undefined;
900
+ step?: number | null | undefined;
901
+ readOnly?: boolean | null | undefined;
902
+ } | null | undefined;
1047
903
  options?: {
1048
- hideCode?: boolean | undefined;
1049
- hideFromHierarchy?: boolean | undefined;
1050
- } | undefined;
1051
- tags?: string[] | undefined;
904
+ hideCode?: boolean | null | undefined;
905
+ hideFromHierarchy?: boolean | null | undefined;
906
+ } | null | undefined;
907
+ tags?: string[] | null | undefined;
1052
908
  documentation?: ({
1053
909
  type: "pdf";
1054
910
  url: string;
@@ -1063,9 +919,9 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1063
919
  url: string;
1064
920
  label: string;
1065
921
  text: string;
1066
- })[] | undefined;
1067
- sortOrder?: number | undefined;
1068
- category?: string | undefined;
922
+ })[] | null | undefined;
923
+ sortOrder?: number | null | undefined;
924
+ category?: string | null | undefined;
1069
925
  }, {
1070
926
  type: "task-group";
1071
927
  code: string;
@@ -1213,16 +1069,13 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1213
1069
  sortOrder?: number | undefined;
1214
1070
  category?: string | undefined;
1215
1071
  }>>, "many">;
1216
- options: z.ZodOptional<z.ZodObject<{
1217
- hideCode: z.ZodOptional<z.ZodBoolean>;
1218
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
1219
- }, "strip", z.ZodTypeAny, {
1220
- hideCode?: boolean | undefined;
1221
- hideFromHierarchy?: boolean | undefined;
1222
- }, {
1072
+ options: z.ZodType<{
1073
+ hideCode?: boolean | null | undefined;
1074
+ hideFromHierarchy?: boolean | null | undefined;
1075
+ } | null | undefined, z.ZodTypeDef, {
1223
1076
  hideCode?: boolean | undefined;
1224
1077
  hideFromHierarchy?: boolean | undefined;
1225
- }>>;
1078
+ } | undefined>;
1226
1079
  }>, "strip", z.ZodTypeAny, {
1227
1080
  type: "criterion";
1228
1081
  code: string;
@@ -1243,24 +1096,24 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1243
1096
  options: {
1244
1097
  value: string | number | boolean | null;
1245
1098
  text: string;
1246
- id?: string | undefined;
1247
- intro?: string | undefined;
1248
- outro?: string | undefined;
1099
+ id?: string | null | undefined;
1100
+ intro?: string | null | undefined;
1101
+ outro?: string | null | undefined;
1249
1102
  }[];
1250
1103
  } | {
1251
1104
  type: "select-multiple";
1252
1105
  options: {
1253
1106
  value: string | number | boolean | null;
1254
1107
  text: string;
1255
- id?: string | undefined;
1256
- intro?: string | undefined;
1257
- outro?: string | undefined;
1108
+ id?: string | null | undefined;
1109
+ intro?: string | null | undefined;
1110
+ outro?: string | null | undefined;
1258
1111
  }[];
1259
1112
  } | {
1260
1113
  type: "number";
1261
- minimum?: number | undefined;
1262
- maximum?: number | undefined;
1263
- step?: number | undefined;
1114
+ minimum?: number | null | undefined;
1115
+ maximum?: number | null | undefined;
1116
+ step?: number | null | undefined;
1264
1117
  } | {
1265
1118
  type: "boolean";
1266
1119
  labels?: {
@@ -1269,23 +1122,23 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1269
1122
  } | undefined;
1270
1123
  };
1271
1124
  data?: {
1272
- type?: "number" | "percentage" | undefined;
1273
- total?: number | undefined;
1125
+ type?: "number" | "percentage" | null | undefined;
1126
+ total?: number | null | undefined;
1274
1127
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1275
- text?: string | undefined;
1276
- maximumValue?: number | undefined;
1277
- minimumValue?: number | undefined;
1278
- exclusiveMaximum?: number | undefined;
1279
- exclusiveMinimum?: number | undefined;
1280
- step?: number | undefined;
1281
- readOnly?: boolean | undefined;
1128
+ text?: string | null | undefined;
1129
+ maximumValue?: number | null | undefined;
1130
+ minimumValue?: number | null | undefined;
1131
+ exclusiveMaximum?: number | null | undefined;
1132
+ exclusiveMinimum?: number | null | undefined;
1133
+ step?: number | null | undefined;
1134
+ readOnly?: boolean | null | undefined;
1282
1135
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1283
- } | undefined;
1136
+ } | null | undefined;
1284
1137
  options?: {
1285
- hideCode?: boolean | undefined;
1286
- } | undefined;
1287
- description?: string | undefined;
1288
- tags?: string[] | undefined;
1138
+ hideCode?: boolean | null | undefined;
1139
+ } | null | undefined;
1140
+ description?: string | null | undefined;
1141
+ tags?: string[] | null | undefined;
1289
1142
  documentation?: ({
1290
1143
  type: "pdf";
1291
1144
  url: string;
@@ -1300,28 +1153,28 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1300
1153
  url: string;
1301
1154
  label: string;
1302
1155
  text: string;
1303
- })[] | undefined;
1304
- sortOrder?: number | undefined;
1156
+ })[] | null | undefined;
1157
+ sortOrder?: number | null | undefined;
1305
1158
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1306
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1159
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
1307
1160
  }[];
1308
1161
  data?: {
1309
- type?: "number" | "percentage" | undefined;
1310
- total?: number | undefined;
1162
+ type?: "number" | "percentage" | null | undefined;
1163
+ total?: number | null | undefined;
1311
1164
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1312
- text?: string | undefined;
1313
- maximumValue?: number | undefined;
1314
- minimumValue?: number | undefined;
1315
- exclusiveMaximum?: number | undefined;
1316
- exclusiveMinimum?: number | undefined;
1317
- step?: number | undefined;
1318
- readOnly?: boolean | undefined;
1319
- } | undefined;
1165
+ text?: string | null | undefined;
1166
+ maximumValue?: number | null | undefined;
1167
+ minimumValue?: number | null | undefined;
1168
+ exclusiveMaximum?: number | null | undefined;
1169
+ exclusiveMinimum?: number | null | undefined;
1170
+ step?: number | null | undefined;
1171
+ readOnly?: boolean | null | undefined;
1172
+ } | null | undefined;
1320
1173
  options?: {
1321
- hideCode?: boolean | undefined;
1322
- } | undefined;
1323
- description?: string | undefined;
1324
- tags?: string[] | undefined;
1174
+ hideCode?: boolean | null | undefined;
1175
+ } | null | undefined;
1176
+ description?: string | null | undefined;
1177
+ tags?: string[] | null | undefined;
1325
1178
  documentation?: ({
1326
1179
  type: "pdf";
1327
1180
  url: string;
@@ -1336,26 +1189,26 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1336
1189
  url: string;
1337
1190
  label: string;
1338
1191
  text: string;
1339
- })[] | undefined;
1340
- sortOrder?: number | undefined;
1192
+ })[] | null | undefined;
1193
+ sortOrder?: number | null | undefined;
1341
1194
  }[];
1342
1195
  data?: {
1343
- type?: "number" | "percentage" | undefined;
1344
- total?: number | undefined;
1196
+ type?: "number" | "percentage" | null | undefined;
1197
+ total?: number | null | undefined;
1345
1198
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1346
- text?: string | undefined;
1347
- maximumValue?: number | undefined;
1348
- minimumValue?: number | undefined;
1349
- exclusiveMaximum?: number | undefined;
1350
- exclusiveMinimum?: number | undefined;
1351
- step?: number | undefined;
1352
- readOnly?: boolean | undefined;
1353
- } | undefined;
1199
+ text?: string | null | undefined;
1200
+ maximumValue?: number | null | undefined;
1201
+ minimumValue?: number | null | undefined;
1202
+ exclusiveMaximum?: number | null | undefined;
1203
+ exclusiveMinimum?: number | null | undefined;
1204
+ step?: number | null | undefined;
1205
+ readOnly?: boolean | null | undefined;
1206
+ } | null | undefined;
1354
1207
  options?: {
1355
- hideCode?: boolean | undefined;
1356
- hideFromHierarchy?: boolean | undefined;
1357
- } | undefined;
1358
- tags?: string[] | undefined;
1208
+ hideCode?: boolean | null | undefined;
1209
+ hideFromHierarchy?: boolean | null | undefined;
1210
+ } | null | undefined;
1211
+ tags?: string[] | null | undefined;
1359
1212
  documentation?: ({
1360
1213
  type: "pdf";
1361
1214
  url: string;
@@ -1370,27 +1223,27 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1370
1223
  url: string;
1371
1224
  label: string;
1372
1225
  text: string;
1373
- })[] | undefined;
1374
- sortOrder?: number | undefined;
1375
- category?: string | undefined;
1226
+ })[] | null | undefined;
1227
+ sortOrder?: number | null | undefined;
1228
+ category?: string | null | undefined;
1376
1229
  }[];
1377
1230
  data?: {
1378
- type?: "number" | "percentage" | undefined;
1379
- total?: number | undefined;
1231
+ type?: "number" | "percentage" | null | undefined;
1232
+ total?: number | null | undefined;
1380
1233
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1381
- text?: string | undefined;
1382
- maximumValue?: number | undefined;
1383
- minimumValue?: number | undefined;
1384
- exclusiveMaximum?: number | undefined;
1385
- exclusiveMinimum?: number | undefined;
1386
- step?: number | undefined;
1387
- readOnly?: boolean | undefined;
1388
- } | undefined;
1234
+ text?: string | null | undefined;
1235
+ maximumValue?: number | null | undefined;
1236
+ minimumValue?: number | null | undefined;
1237
+ exclusiveMaximum?: number | null | undefined;
1238
+ exclusiveMinimum?: number | null | undefined;
1239
+ step?: number | null | undefined;
1240
+ readOnly?: boolean | null | undefined;
1241
+ } | null | undefined;
1389
1242
  options?: {
1390
- hideCode?: boolean | undefined;
1391
- hideFromHierarchy?: boolean | undefined;
1392
- } | undefined;
1393
- tags?: string[] | undefined;
1243
+ hideCode?: boolean | null | undefined;
1244
+ hideFromHierarchy?: boolean | null | undefined;
1245
+ } | null | undefined;
1246
+ tags?: string[] | null | undefined;
1394
1247
  documentation?: ({
1395
1248
  type: "pdf";
1396
1249
  url: string;
@@ -1405,8 +1258,8 @@ export declare const criterionSchema: z.ZodObject<z.objectUtil.extendShape<{
1405
1258
  url: string;
1406
1259
  label: string;
1407
1260
  text: string;
1408
- })[] | undefined;
1409
- sortOrder?: number | undefined;
1261
+ })[] | null | undefined;
1262
+ sortOrder?: number | null | undefined;
1410
1263
  }, {
1411
1264
  type: "criterion";
1412
1265
  code: string;