@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,17 +1,17 @@
1
1
  import { z } from "zod";
2
2
  export declare const taskItemValueMapSchema: 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">]>>;
3
3
  export declare const pointOptionSchema: z.ZodObject<{
4
- id: z.ZodOptional<z.ZodString>;
4
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
5
5
  text: z.ZodString;
6
- intro: z.ZodOptional<z.ZodString>;
7
- outro: z.ZodOptional<z.ZodString>;
6
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
7
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
8
8
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  value: string | number | boolean | null;
11
11
  text: string;
12
- id?: string | undefined;
13
- intro?: string | undefined;
14
- outro?: string | undefined;
12
+ id?: string | null | undefined;
13
+ intro?: string | null | undefined;
14
+ outro?: string | null | undefined;
15
15
  }, {
16
16
  value: string | number | boolean | null;
17
17
  text: string;
@@ -24,17 +24,17 @@ export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShap
24
24
  }, {
25
25
  type: z.ZodLiteral<"select-single">;
26
26
  options: z.ZodArray<z.ZodObject<{
27
- id: z.ZodOptional<z.ZodString>;
27
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
28
28
  text: z.ZodString;
29
- intro: z.ZodOptional<z.ZodString>;
30
- outro: z.ZodOptional<z.ZodString>;
29
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
30
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
31
31
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  value: string | number | boolean | null;
34
34
  text: string;
35
- id?: string | undefined;
36
- intro?: string | undefined;
37
- outro?: string | undefined;
35
+ id?: string | null | undefined;
36
+ intro?: string | null | undefined;
37
+ outro?: string | null | undefined;
38
38
  }, {
39
39
  value: string | number | boolean | null;
40
40
  text: string;
@@ -47,9 +47,9 @@ export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShap
47
47
  options: {
48
48
  value: string | number | boolean | null;
49
49
  text: string;
50
- id?: string | undefined;
51
- intro?: string | undefined;
52
- outro?: string | undefined;
50
+ id?: string | null | undefined;
51
+ intro?: string | null | undefined;
52
+ outro?: string | null | undefined;
53
53
  }[];
54
54
  }, {
55
55
  type: "select-single";
@@ -66,17 +66,17 @@ export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendSh
66
66
  }, {
67
67
  type: z.ZodLiteral<"select-multiple">;
68
68
  options: z.ZodArray<z.ZodObject<{
69
- id: z.ZodOptional<z.ZodString>;
69
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
70
70
  text: z.ZodString;
71
- intro: z.ZodOptional<z.ZodString>;
72
- outro: z.ZodOptional<z.ZodString>;
71
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
72
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
73
73
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  value: string | number | boolean | null;
76
76
  text: string;
77
- id?: string | undefined;
78
- intro?: string | undefined;
79
- outro?: string | undefined;
77
+ id?: string | null | undefined;
78
+ intro?: string | null | undefined;
79
+ outro?: string | null | undefined;
80
80
  }, {
81
81
  value: string | number | boolean | null;
82
82
  text: string;
@@ -89,9 +89,9 @@ export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendSh
89
89
  options: {
90
90
  value: string | number | boolean | null;
91
91
  text: string;
92
- id?: string | undefined;
93
- intro?: string | undefined;
94
- outro?: string | undefined;
92
+ id?: string | null | undefined;
93
+ intro?: string | null | undefined;
94
+ outro?: string | null | undefined;
95
95
  }[];
96
96
  }, {
97
97
  type: "select-multiple";
@@ -107,14 +107,14 @@ export declare const numberTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
107
107
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
108
108
  }, {
109
109
  type: z.ZodLiteral<"number">;
110
- minimum: z.ZodOptional<z.ZodNumber>;
111
- maximum: z.ZodOptional<z.ZodNumber>;
112
- step: z.ZodOptional<z.ZodNumber>;
110
+ minimum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
111
+ maximum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
112
+ step: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
113
113
  }>, "strip", z.ZodTypeAny, {
114
114
  type: "number";
115
- minimum?: number | undefined;
116
- maximum?: number | undefined;
117
- step?: number | undefined;
115
+ minimum?: number | null | undefined;
116
+ maximum?: number | null | undefined;
117
+ step?: number | null | undefined;
118
118
  }, {
119
119
  type: "number";
120
120
  minimum?: number | undefined;
@@ -153,17 +153,17 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
153
153
  }, {
154
154
  type: z.ZodLiteral<"select-single">;
155
155
  options: z.ZodArray<z.ZodObject<{
156
- id: z.ZodOptional<z.ZodString>;
156
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
157
157
  text: z.ZodString;
158
- intro: z.ZodOptional<z.ZodString>;
159
- outro: z.ZodOptional<z.ZodString>;
158
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
159
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
160
160
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
161
161
  }, "strip", z.ZodTypeAny, {
162
162
  value: string | number | boolean | null;
163
163
  text: string;
164
- id?: string | undefined;
165
- intro?: string | undefined;
166
- outro?: string | undefined;
164
+ id?: string | null | undefined;
165
+ intro?: string | null | undefined;
166
+ outro?: string | null | undefined;
167
167
  }, {
168
168
  value: string | number | boolean | null;
169
169
  text: string;
@@ -176,9 +176,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
176
176
  options: {
177
177
  value: string | number | boolean | null;
178
178
  text: string;
179
- id?: string | undefined;
180
- intro?: string | undefined;
181
- outro?: string | undefined;
179
+ id?: string | null | undefined;
180
+ intro?: string | null | undefined;
181
+ outro?: string | null | undefined;
182
182
  }[];
183
183
  }, {
184
184
  type: "select-single";
@@ -194,17 +194,17 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
194
194
  }, {
195
195
  type: z.ZodLiteral<"select-multiple">;
196
196
  options: z.ZodArray<z.ZodObject<{
197
- id: z.ZodOptional<z.ZodString>;
197
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
198
198
  text: z.ZodString;
199
- intro: z.ZodOptional<z.ZodString>;
200
- outro: z.ZodOptional<z.ZodString>;
199
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
200
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
201
201
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
202
202
  }, "strip", z.ZodTypeAny, {
203
203
  value: string | number | boolean | null;
204
204
  text: string;
205
- id?: string | undefined;
206
- intro?: string | undefined;
207
- outro?: string | undefined;
205
+ id?: string | null | undefined;
206
+ intro?: string | null | undefined;
207
+ outro?: string | null | undefined;
208
208
  }, {
209
209
  value: string | number | boolean | null;
210
210
  text: string;
@@ -217,9 +217,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
217
217
  options: {
218
218
  value: string | number | boolean | null;
219
219
  text: string;
220
- id?: string | undefined;
221
- intro?: string | undefined;
222
- outro?: string | undefined;
220
+ id?: string | null | undefined;
221
+ intro?: string | null | undefined;
222
+ outro?: string | null | undefined;
223
223
  }[];
224
224
  }, {
225
225
  type: "select-multiple";
@@ -234,14 +234,14 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
234
234
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
235
235
  }, {
236
236
  type: z.ZodLiteral<"number">;
237
- minimum: z.ZodOptional<z.ZodNumber>;
238
- maximum: z.ZodOptional<z.ZodNumber>;
239
- step: z.ZodOptional<z.ZodNumber>;
237
+ minimum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
238
+ maximum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
239
+ step: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
240
240
  }>, "strip", z.ZodTypeAny, {
241
241
  type: "number";
242
- minimum?: number | undefined;
243
- maximum?: number | undefined;
244
- step?: number | undefined;
242
+ minimum?: number | null | undefined;
243
+ maximum?: number | null | undefined;
244
+ step?: number | null | undefined;
245
245
  }, {
246
246
  type: "number";
247
247
  minimum?: number | undefined;
@@ -275,29 +275,29 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
275
275
  } | undefined;
276
276
  }>]>;
277
277
  export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
278
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
279
- 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">]>>;
280
- text: z.ZodOptional<z.ZodString>;
281
- maximumValue: z.ZodOptional<z.ZodNumber>;
282
- minimumValue: z.ZodOptional<z.ZodNumber>;
283
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
284
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
285
- step: z.ZodOptional<z.ZodNumber>;
286
- total: z.ZodOptional<z.ZodNumber>;
287
- readOnly: z.ZodOptional<z.ZodBoolean>;
278
+ type: z.ZodType<"number" | "percentage" | null | undefined, z.ZodTypeDef, "number" | "percentage" | undefined>;
279
+ value: z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null | undefined, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null | undefined>;
280
+ text: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
281
+ maximumValue: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
282
+ minimumValue: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
283
+ exclusiveMaximum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
284
+ exclusiveMinimum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
285
+ step: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
286
+ total: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
287
+ readOnly: z.ZodType<boolean | null | undefined, z.ZodTypeDef, boolean | undefined>;
288
288
  }, {
289
- 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">]>>;
289
+ valueReference: z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null | undefined, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null | undefined>;
290
290
  }>, "strip", z.ZodTypeAny, {
291
- type?: "number" | "percentage" | undefined;
292
- total?: number | undefined;
291
+ type?: "number" | "percentage" | null | undefined;
292
+ total?: number | null | undefined;
293
293
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
294
- text?: string | undefined;
295
- maximumValue?: number | undefined;
296
- minimumValue?: number | undefined;
297
- exclusiveMaximum?: number | undefined;
298
- exclusiveMinimum?: number | undefined;
299
- step?: number | undefined;
300
- readOnly?: boolean | undefined;
294
+ text?: string | null | undefined;
295
+ maximumValue?: number | null | undefined;
296
+ minimumValue?: number | null | undefined;
297
+ exclusiveMaximum?: number | null | undefined;
298
+ exclusiveMinimum?: number | null | undefined;
299
+ step?: number | null | undefined;
300
+ readOnly?: boolean | null | undefined;
301
301
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
302
302
  }, {
303
303
  type?: "number" | "percentage" | undefined;
@@ -313,9 +313,9 @@ export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
313
313
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
314
314
  }>;
315
315
  export declare const taskItemOptionsSchema: z.ZodObject<{
316
- hideCode: z.ZodOptional<z.ZodBoolean>;
316
+ hideCode: z.ZodType<boolean | null | undefined, z.ZodTypeDef, boolean | undefined>;
317
317
  }, "strip", z.ZodTypeAny, {
318
- hideCode?: boolean | undefined;
318
+ hideCode?: boolean | null | undefined;
319
319
  }, {
320
320
  hideCode?: boolean | undefined;
321
321
  }>;
@@ -323,79 +323,48 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
323
323
  type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
324
324
  title: z.ZodString;
325
325
  code: z.ZodString;
326
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
327
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
328
- type: z.ZodEnum<["pdf", "text", "link"]>;
329
- label: z.ZodString;
330
- text: z.ZodString;
331
- }, {
332
- type: z.ZodLiteral<"pdf">;
333
- url: z.ZodString;
334
- }>, "strip", z.ZodTypeAny, {
326
+ tags: z.ZodType<string[] | null | undefined, z.ZodTypeDef, string[] | undefined>;
327
+ documentation: z.ZodType<({
335
328
  type: "pdf";
336
329
  url: string;
337
330
  label: string;
338
331
  text: string;
339
- }, {
340
- type: "pdf";
341
- url: string;
342
- label: string;
343
- text: string;
344
- }>, z.ZodObject<z.objectUtil.extendShape<{
345
- type: z.ZodEnum<["pdf", "text", "link"]>;
346
- label: z.ZodString;
347
- text: z.ZodString;
348
- }, {
349
- type: z.ZodLiteral<"text">;
350
- }>, "strip", z.ZodTypeAny, {
332
+ } | {
351
333
  type: "text";
352
334
  label: string;
353
335
  text: string;
354
- }, {
355
- type: "text";
336
+ } | {
337
+ type: "link";
338
+ url: string;
356
339
  label: string;
357
340
  text: string;
358
- }>, z.ZodObject<z.objectUtil.extendShape<{
359
- type: z.ZodEnum<["pdf", "text", "link"]>;
360
- label: z.ZodString;
361
- text: z.ZodString;
362
- }, {
363
- type: z.ZodLiteral<"link">;
364
- url: z.ZodString;
365
- }>, "strip", z.ZodTypeAny, {
366
- type: "link";
341
+ })[] | null | undefined, z.ZodTypeDef, ({
342
+ type: "pdf";
367
343
  url: string;
368
344
  label: string;
369
345
  text: string;
370
- }, {
346
+ } | {
347
+ type: "text";
348
+ label: string;
349
+ text: string;
350
+ } | {
371
351
  type: "link";
372
352
  url: string;
373
353
  label: string;
374
354
  text: string;
375
- }>]>, "many">>;
376
- data: z.ZodOptional<z.ZodObject<{
377
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
378
- 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">]>>;
379
- text: z.ZodOptional<z.ZodString>;
380
- maximumValue: z.ZodOptional<z.ZodNumber>;
381
- minimumValue: z.ZodOptional<z.ZodNumber>;
382
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
383
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
384
- step: z.ZodOptional<z.ZodNumber>;
385
- total: z.ZodOptional<z.ZodNumber>;
386
- readOnly: z.ZodOptional<z.ZodBoolean>;
387
- }, "strip", z.ZodTypeAny, {
388
- type?: "number" | "percentage" | undefined;
389
- total?: number | undefined;
355
+ })[] | undefined>;
356
+ data: z.ZodType<{
357
+ type?: "number" | "percentage" | null | undefined;
358
+ total?: number | null | undefined;
390
359
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
391
- text?: string | undefined;
392
- maximumValue?: number | undefined;
393
- minimumValue?: number | undefined;
394
- exclusiveMaximum?: number | undefined;
395
- exclusiveMinimum?: number | undefined;
396
- step?: number | undefined;
397
- readOnly?: boolean | undefined;
398
- }, {
360
+ text?: string | null | undefined;
361
+ maximumValue?: number | null | undefined;
362
+ minimumValue?: number | null | undefined;
363
+ exclusiveMaximum?: number | null | undefined;
364
+ exclusiveMinimum?: number | null | undefined;
365
+ step?: number | null | undefined;
366
+ readOnly?: boolean | null | undefined;
367
+ } | null | undefined, z.ZodTypeDef, {
399
368
  type?: "number" | "percentage" | undefined;
400
369
  total?: number | undefined;
401
370
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -406,36 +375,23 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
406
375
  exclusiveMinimum?: number | undefined;
407
376
  step?: number | undefined;
408
377
  readOnly?: boolean | undefined;
409
- }>>;
410
- sortOrder: z.ZodOptional<z.ZodNumber>;
378
+ } | undefined>;
379
+ sortOrder: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
411
380
  }, {
412
381
  type: z.ZodLiteral<"task-item">;
413
- data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
414
- type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
415
- 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">]>>;
416
- text: z.ZodOptional<z.ZodString>;
417
- maximumValue: z.ZodOptional<z.ZodNumber>;
418
- minimumValue: z.ZodOptional<z.ZodNumber>;
419
- exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
420
- exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
421
- step: z.ZodOptional<z.ZodNumber>;
422
- total: z.ZodOptional<z.ZodNumber>;
423
- readOnly: z.ZodOptional<z.ZodBoolean>;
424
- }, {
425
- 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">]>>;
426
- }>, "strip", z.ZodTypeAny, {
427
- type?: "number" | "percentage" | undefined;
428
- total?: number | undefined;
382
+ data: z.ZodType<{
383
+ type?: "number" | "percentage" | null | undefined;
384
+ total?: number | null | undefined;
429
385
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
430
- text?: string | undefined;
431
- maximumValue?: number | undefined;
432
- minimumValue?: number | undefined;
433
- exclusiveMaximum?: number | undefined;
434
- exclusiveMinimum?: number | undefined;
435
- step?: number | undefined;
436
- readOnly?: boolean | undefined;
386
+ text?: string | null | undefined;
387
+ maximumValue?: number | null | undefined;
388
+ minimumValue?: number | null | undefined;
389
+ exclusiveMaximum?: number | null | undefined;
390
+ exclusiveMinimum?: number | null | undefined;
391
+ step?: number | null | undefined;
392
+ readOnly?: boolean | null | undefined;
437
393
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
438
- }, {
394
+ } | null | undefined, z.ZodTypeDef, {
439
395
  type?: "number" | "percentage" | undefined;
440
396
  total?: number | undefined;
441
397
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -447,23 +403,23 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
447
403
  step?: number | undefined;
448
404
  readOnly?: boolean | undefined;
449
405
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
450
- }>>;
406
+ } | undefined>;
451
407
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
452
408
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
453
409
  }, {
454
410
  type: z.ZodLiteral<"select-single">;
455
411
  options: z.ZodArray<z.ZodObject<{
456
- id: z.ZodOptional<z.ZodString>;
412
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
457
413
  text: z.ZodString;
458
- intro: z.ZodOptional<z.ZodString>;
459
- outro: z.ZodOptional<z.ZodString>;
414
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
415
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
460
416
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
461
417
  }, "strip", z.ZodTypeAny, {
462
418
  value: string | number | boolean | null;
463
419
  text: string;
464
- id?: string | undefined;
465
- intro?: string | undefined;
466
- outro?: string | undefined;
420
+ id?: string | null | undefined;
421
+ intro?: string | null | undefined;
422
+ outro?: string | null | undefined;
467
423
  }, {
468
424
  value: string | number | boolean | null;
469
425
  text: string;
@@ -476,9 +432,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
476
432
  options: {
477
433
  value: string | number | boolean | null;
478
434
  text: string;
479
- id?: string | undefined;
480
- intro?: string | undefined;
481
- outro?: string | undefined;
435
+ id?: string | null | undefined;
436
+ intro?: string | null | undefined;
437
+ outro?: string | null | undefined;
482
438
  }[];
483
439
  }, {
484
440
  type: "select-single";
@@ -494,17 +450,17 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
494
450
  }, {
495
451
  type: z.ZodLiteral<"select-multiple">;
496
452
  options: z.ZodArray<z.ZodObject<{
497
- id: z.ZodOptional<z.ZodString>;
453
+ id: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
498
454
  text: z.ZodString;
499
- intro: z.ZodOptional<z.ZodString>;
500
- outro: z.ZodOptional<z.ZodString>;
455
+ intro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
456
+ outro: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
501
457
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
502
458
  }, "strip", z.ZodTypeAny, {
503
459
  value: string | number | boolean | null;
504
460
  text: string;
505
- id?: string | undefined;
506
- intro?: string | undefined;
507
- outro?: string | undefined;
461
+ id?: string | null | undefined;
462
+ intro?: string | null | undefined;
463
+ outro?: string | null | undefined;
508
464
  }, {
509
465
  value: string | number | boolean | null;
510
466
  text: string;
@@ -517,9 +473,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
517
473
  options: {
518
474
  value: string | number | boolean | null;
519
475
  text: string;
520
- id?: string | undefined;
521
- intro?: string | undefined;
522
- outro?: string | undefined;
476
+ id?: string | null | undefined;
477
+ intro?: string | null | undefined;
478
+ outro?: string | null | undefined;
523
479
  }[];
524
480
  }, {
525
481
  type: "select-multiple";
@@ -534,14 +490,14 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
534
490
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
535
491
  }, {
536
492
  type: z.ZodLiteral<"number">;
537
- minimum: z.ZodOptional<z.ZodNumber>;
538
- maximum: z.ZodOptional<z.ZodNumber>;
539
- step: z.ZodOptional<z.ZodNumber>;
493
+ minimum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
494
+ maximum: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
495
+ step: z.ZodType<number | null | undefined, z.ZodTypeDef, number | undefined>;
540
496
  }>, "strip", z.ZodTypeAny, {
541
497
  type: "number";
542
- minimum?: number | undefined;
543
- maximum?: number | undefined;
544
- step?: number | undefined;
498
+ minimum?: number | null | undefined;
499
+ maximum?: number | null | undefined;
500
+ step?: number | null | undefined;
545
501
  }, {
546
502
  type: "number";
547
503
  minimum?: number | undefined;
@@ -574,16 +530,14 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
574
530
  true: string;
575
531
  } | undefined;
576
532
  }>]>;
577
- description: z.ZodOptional<z.ZodString>;
578
- 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">]>>>;
579
- 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">]>>;
580
- options: z.ZodOptional<z.ZodObject<{
581
- hideCode: z.ZodOptional<z.ZodBoolean>;
582
- }, "strip", z.ZodTypeAny, {
583
- hideCode?: boolean | undefined;
584
- }, {
533
+ description: z.ZodType<string | null | undefined, z.ZodTypeDef, string | undefined>;
534
+ 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>;
535
+ valueReference: z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null | undefined, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null | undefined>;
536
+ options: z.ZodType<{
537
+ hideCode?: boolean | null | undefined;
538
+ } | null | undefined, z.ZodTypeDef, {
585
539
  hideCode?: boolean | undefined;
586
- }>>;
540
+ } | undefined>;
587
541
  }>, "title">, "strip", z.ZodTypeAny, {
588
542
  type: "task-item";
589
543
  code: string;
@@ -592,24 +546,24 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
592
546
  options: {
593
547
  value: string | number | boolean | null;
594
548
  text: string;
595
- id?: string | undefined;
596
- intro?: string | undefined;
597
- outro?: string | undefined;
549
+ id?: string | null | undefined;
550
+ intro?: string | null | undefined;
551
+ outro?: string | null | undefined;
598
552
  }[];
599
553
  } | {
600
554
  type: "select-multiple";
601
555
  options: {
602
556
  value: string | number | boolean | null;
603
557
  text: string;
604
- id?: string | undefined;
605
- intro?: string | undefined;
606
- outro?: string | undefined;
558
+ id?: string | null | undefined;
559
+ intro?: string | null | undefined;
560
+ outro?: string | null | undefined;
607
561
  }[];
608
562
  } | {
609
563
  type: "number";
610
- minimum?: number | undefined;
611
- maximum?: number | undefined;
612
- step?: number | undefined;
564
+ minimum?: number | null | undefined;
565
+ maximum?: number | null | undefined;
566
+ step?: number | null | undefined;
613
567
  } | {
614
568
  type: "boolean";
615
569
  labels?: {
@@ -618,23 +572,23 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
618
572
  } | undefined;
619
573
  };
620
574
  data?: {
621
- type?: "number" | "percentage" | undefined;
622
- total?: number | undefined;
575
+ type?: "number" | "percentage" | null | undefined;
576
+ total?: number | null | undefined;
623
577
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
624
- text?: string | undefined;
625
- maximumValue?: number | undefined;
626
- minimumValue?: number | undefined;
627
- exclusiveMaximum?: number | undefined;
628
- exclusiveMinimum?: number | undefined;
629
- step?: number | undefined;
630
- readOnly?: boolean | undefined;
578
+ text?: string | null | undefined;
579
+ maximumValue?: number | null | undefined;
580
+ minimumValue?: number | null | undefined;
581
+ exclusiveMaximum?: number | null | undefined;
582
+ exclusiveMinimum?: number | null | undefined;
583
+ step?: number | null | undefined;
584
+ readOnly?: boolean | null | undefined;
631
585
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
632
- } | undefined;
586
+ } | null | undefined;
633
587
  options?: {
634
- hideCode?: boolean | undefined;
635
- } | undefined;
636
- description?: string | undefined;
637
- tags?: string[] | undefined;
588
+ hideCode?: boolean | null | undefined;
589
+ } | null | undefined;
590
+ description?: string | null | undefined;
591
+ tags?: string[] | null | undefined;
638
592
  documentation?: ({
639
593
  type: "pdf";
640
594
  url: string;
@@ -649,10 +603,10 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
649
603
  url: string;
650
604
  label: string;
651
605
  text: string;
652
- })[] | undefined;
653
- sortOrder?: number | undefined;
606
+ })[] | null | undefined;
607
+ sortOrder?: number | null | undefined;
654
608
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
655
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
609
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
656
610
  }, {
657
611
  type: "task-item";
658
612
  code: string;