@openframe-org/criteria-set-protocol 2.0.6 → 2.0.7-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 +6 -7
  3. package/dist/v1/schemas/common.d.ts +71 -140
  4. package/dist/v1/schemas/common.js +14 -15
  5. package/dist/v1/schemas/criteria-tree.d.ts +2466 -4285
  6. package/dist/v1/schemas/criteria-tree.js +1 -2
  7. package/dist/v1/schemas/criterion.d.ts +454 -795
  8. package/dist/v1/schemas/criterion.js +3 -4
  9. package/dist/v1/schemas/data-map.d.ts +2 -2
  10. package/dist/v1/schemas/data-map.js +1 -2
  11. package/dist/v1/schemas/index.d.ts +0 -1
  12. package/dist/v1/schemas/index.js +0 -1
  13. package/dist/v1/schemas/metadata.d.ts +18 -27
  14. package/dist/v1/schemas/metadata.js +6 -7
  15. package/dist/v1/schemas/request/matrix-body-schema.d.ts +9 -9
  16. package/dist/v1/schemas/request/matrix-body-schema.js +5 -6
  17. package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +9 -9
  18. package/dist/v1/schemas/request/matrix-request-body-schema.js +5 -6
  19. package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +8 -8
  20. package/dist/v1/schemas/request/tree-and-data-body-schema.js +4 -5
  21. package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +8 -8
  22. package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +4 -5
  23. package/dist/v1/schemas/response.d.ts +14 -23
  24. package/dist/v1/schemas/task-group.d.ts +324 -587
  25. package/dist/v1/schemas/task-group.js +4 -5
  26. package/dist/v1/schemas/task-item.d.ts +204 -314
  27. package/dist/v1/schemas/task-item.js +14 -15
  28. package/dist/v1/schemas/task.d.ts +213 -398
  29. package/dist/v1/schemas/task.js +3 -4
  30. package/dist/v1/schemas/theme.d.ts +602 -1035
  31. package/dist/v1/schemas/theme.js +3 -4
  32. package/dist/v1/schemas/utils.d.ts +1 -1
  33. package/dist/v1/schemas/utils.js +6 -4
  34. package/dist/v1/utils.d.ts +298 -298
  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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
4
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  text: z.ZodString;
6
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
7
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
6
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  text: z.ZodString;
29
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
30
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
29
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
69
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  text: z.ZodString;
71
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
72
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
71
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
111
- maximum: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
112
- step: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
110
+ minimum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
111
+ maximum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
112
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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 | null | undefined;
@@ -125,7 +125,7 @@ export declare const booleanTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
125
125
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
126
126
  }, {
127
127
  type: z.ZodLiteral<"boolean">;
128
- labels: z.ZodOptional<z.ZodObject<{
128
+ labels: z.ZodOptional<z.ZodNullable<z.ZodObject<{
129
129
  true: z.ZodString;
130
130
  false: z.ZodString;
131
131
  }, "strip", z.ZodTypeAny, {
@@ -134,36 +134,36 @@ export declare const booleanTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
134
134
  }, {
135
135
  false: string;
136
136
  true: string;
137
- }>>;
137
+ }>>>;
138
138
  }>, "strip", z.ZodTypeAny, {
139
139
  type: "boolean";
140
140
  labels?: {
141
141
  false: string;
142
142
  true: string;
143
- } | undefined;
143
+ } | null | undefined;
144
144
  }, {
145
145
  type: "boolean";
146
146
  labels?: {
147
147
  false: string;
148
148
  true: string;
149
- } | undefined;
149
+ } | null | undefined;
150
150
  }>;
151
151
  export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
152
152
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
153
153
  }, {
154
154
  type: z.ZodLiteral<"select-single">;
155
155
  options: z.ZodArray<z.ZodObject<{
156
- id: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
156
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
157
  text: z.ZodString;
158
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
159
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
158
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
197
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
198
  text: z.ZodString;
199
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
200
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
199
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
238
- maximum: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
239
- step: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
237
+ minimum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
238
+ maximum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
239
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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 | null | undefined;
@@ -251,7 +251,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
251
251
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
252
252
  }, {
253
253
  type: z.ZodLiteral<"boolean">;
254
- labels: z.ZodOptional<z.ZodObject<{
254
+ labels: z.ZodOptional<z.ZodNullable<z.ZodObject<{
255
255
  true: z.ZodString;
256
256
  false: z.ZodString;
257
257
  }, "strip", z.ZodTypeAny, {
@@ -260,44 +260,44 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
260
260
  }, {
261
261
  false: string;
262
262
  true: string;
263
- }>>;
263
+ }>>>;
264
264
  }>, "strip", z.ZodTypeAny, {
265
265
  type: "boolean";
266
266
  labels?: {
267
267
  false: string;
268
268
  true: string;
269
- } | undefined;
269
+ } | null | undefined;
270
270
  }, {
271
271
  type: "boolean";
272
272
  labels?: {
273
273
  false: string;
274
274
  true: string;
275
- } | undefined;
275
+ } | null | undefined;
276
276
  }>]>;
277
277
  export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
278
- type: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<"number" | "percentage", z.ZodTypeDef, "number" | "percentage">>>, "number" | "percentage" | undefined, "number" | "percentage" | null | undefined>, z.ZodOptional<z.ZodType<"number" | "percentage", z.ZodTypeDef, "number" | "percentage">>>;
279
- value: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null>>>, string | number | boolean | (string | number | boolean | null)[] | undefined, string | number | boolean | (string | number | boolean | null)[] | null | undefined>, z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null>>>;
280
- text: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
281
- maximumValue: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
282
- minimumValue: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
283
- exclusiveMaximum: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
284
- exclusiveMinimum: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
285
- step: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
286
- total: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
287
- readOnly: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<boolean, z.ZodTypeDef, boolean>>>, boolean | undefined, boolean | null | undefined>, z.ZodOptional<z.ZodType<boolean, z.ZodTypeDef, boolean>>>;
278
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percentage", "number"]>>>;
279
+ value: z.ZodOptional<z.ZodNullable<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.ZodNullable<z.ZodString>>;
281
+ maximumValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
282
+ minimumValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
283
+ exclusiveMaximum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
284
+ exclusiveMinimum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
285
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
286
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
287
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
288
288
  }, {
289
- valueReference: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null>>>, string | number | boolean | (string | number | boolean | null)[] | undefined, string | number | boolean | (string | number | boolean | null)[] | null | undefined>, z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null>>>;
289
+ valueReference: z.ZodOptional<z.ZodNullable<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">]>>>;
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" | null | 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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<boolean, z.ZodTypeDef, boolean>>>, boolean | undefined, boolean | null | undefined>, z.ZodOptional<z.ZodType<boolean, z.ZodTypeDef, boolean>>>;
316
+ hideCode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
317
317
  }, "strip", z.ZodTypeAny, {
318
- hideCode?: boolean | undefined;
318
+ hideCode?: boolean | null | undefined;
319
319
  }, {
320
320
  hideCode?: boolean | null | undefined;
321
321
  }>;
@@ -323,126 +323,68 @@ 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.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string[], z.ZodTypeDef, string[]>>>, string[] | undefined, string[] | null | undefined>, z.ZodOptional<z.ZodType<string[], z.ZodTypeDef, string[]>>>;
327
- documentation: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<({
328
- type: "pdf";
329
- url: string;
330
- label: string;
331
- text: string;
332
- } | {
333
- type: "text";
334
- label: string;
335
- text: string;
336
- } | {
337
- type: "link";
338
- url: string;
339
- label: string;
340
- text: string;
341
- })[], z.ZodTypeDef, ({
342
- type: "pdf";
343
- url: string;
344
- label: string;
345
- text: string;
346
- } | {
347
- type: "text";
348
- label: string;
349
- text: string;
350
- } | {
351
- type: "link";
352
- url: string;
353
- label: string;
354
- text: string;
355
- })[]>>>, ({
326
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
327
+ documentation: z.ZodOptional<z.ZodNullable<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, {
356
335
  type: "pdf";
357
336
  url: string;
358
337
  label: string;
359
338
  text: string;
360
- } | {
361
- type: "text";
362
- label: string;
363
- text: string;
364
- } | {
365
- type: "link";
366
- url: string;
367
- label: string;
368
- text: string;
369
- })[] | undefined, ({
339
+ }, {
370
340
  type: "pdf";
371
341
  url: string;
372
342
  label: string;
373
343
  text: string;
374
- } | {
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, {
375
351
  type: "text";
376
352
  label: string;
377
353
  text: string;
378
- } | {
379
- type: "link";
380
- url: string;
381
- label: string;
382
- text: string;
383
- })[] | null | undefined>, z.ZodOptional<z.ZodType<({
384
- type: "pdf";
385
- url: string;
386
- label: string;
387
- text: string;
388
- } | {
354
+ }, {
389
355
  type: "text";
390
356
  label: string;
391
357
  text: string;
392
- } | {
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, {
393
366
  type: "link";
394
367
  url: string;
395
368
  label: string;
396
369
  text: string;
397
- })[], z.ZodTypeDef, ({
398
- type: "pdf";
399
- url: string;
400
- label: string;
401
- text: string;
402
- } | {
403
- type: "text";
404
- label: string;
405
- text: string;
406
- } | {
370
+ }, {
407
371
  type: "link";
408
372
  url: string;
409
373
  label: string;
410
374
  text: string;
411
- })[]>>>;
412
- data: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
413
- type?: "number" | "percentage" | undefined;
414
- total?: number | undefined;
415
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
416
- text?: string | undefined;
417
- maximumValue?: number | undefined;
418
- minimumValue?: number | undefined;
419
- exclusiveMaximum?: number | undefined;
420
- exclusiveMinimum?: number | undefined;
421
- step?: number | undefined;
422
- readOnly?: boolean | undefined;
423
- }, z.ZodTypeDef, {
424
- type?: "number" | "percentage" | null | undefined;
425
- total?: number | null | undefined;
426
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
427
- text?: string | null | undefined;
428
- maximumValue?: number | null | undefined;
429
- minimumValue?: number | null | undefined;
430
- exclusiveMaximum?: number | null | undefined;
431
- exclusiveMinimum?: number | null | undefined;
432
- step?: number | null | undefined;
433
- readOnly?: boolean | null | undefined;
434
- }>>>, {
435
- type?: "number" | "percentage" | undefined;
436
- total?: number | undefined;
437
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
438
- text?: string | undefined;
439
- maximumValue?: number | undefined;
440
- minimumValue?: number | undefined;
441
- exclusiveMaximum?: number | undefined;
442
- exclusiveMinimum?: number | undefined;
443
- step?: number | undefined;
444
- readOnly?: boolean | undefined;
445
- } | undefined, {
375
+ }>]>, "many">>>;
376
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
377
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percentage", "number"]>>>;
378
+ value: z.ZodOptional<z.ZodNullable<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.ZodNullable<z.ZodString>>;
380
+ maximumValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
381
+ minimumValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
382
+ exclusiveMaximum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
383
+ exclusiveMinimum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
384
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
385
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
386
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
387
+ }, "strip", z.ZodTypeAny, {
446
388
  type?: "number" | "percentage" | null | undefined;
447
389
  total?: number | null | undefined;
448
390
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -453,18 +395,7 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
453
395
  exclusiveMinimum?: number | null | undefined;
454
396
  step?: number | null | undefined;
455
397
  readOnly?: boolean | null | undefined;
456
- } | null | undefined>, z.ZodOptional<z.ZodType<{
457
- type?: "number" | "percentage" | undefined;
458
- total?: number | undefined;
459
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
460
- text?: string | undefined;
461
- maximumValue?: number | undefined;
462
- minimumValue?: number | undefined;
463
- exclusiveMaximum?: number | undefined;
464
- exclusiveMinimum?: number | undefined;
465
- step?: number | undefined;
466
- readOnly?: boolean | undefined;
467
- }, z.ZodTypeDef, {
398
+ }, {
468
399
  type?: "number" | "percentage" | null | undefined;
469
400
  total?: number | null | undefined;
470
401
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -476,46 +407,23 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
476
407
  step?: number | null | undefined;
477
408
  readOnly?: boolean | null | undefined;
478
409
  }>>>;
479
- sortOrder: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
410
+ sortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
480
411
  }, {
481
412
  type: z.ZodLiteral<"task-item">;
482
- data: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
483
- type?: "number" | "percentage" | undefined;
484
- total?: number | undefined;
485
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
486
- text?: string | undefined;
487
- maximumValue?: number | undefined;
488
- minimumValue?: number | undefined;
489
- exclusiveMaximum?: number | undefined;
490
- exclusiveMinimum?: number | undefined;
491
- step?: number | undefined;
492
- readOnly?: boolean | undefined;
493
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
494
- }, z.ZodTypeDef, {
495
- type?: "number" | "percentage" | null | undefined;
496
- total?: number | null | undefined;
497
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
498
- text?: string | null | undefined;
499
- maximumValue?: number | null | undefined;
500
- minimumValue?: number | null | undefined;
501
- exclusiveMaximum?: number | null | undefined;
502
- exclusiveMinimum?: number | null | undefined;
503
- step?: number | null | undefined;
504
- readOnly?: boolean | null | undefined;
505
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
506
- }>>>, {
507
- type?: "number" | "percentage" | undefined;
508
- total?: number | undefined;
509
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
510
- text?: string | undefined;
511
- maximumValue?: number | undefined;
512
- minimumValue?: number | undefined;
513
- exclusiveMaximum?: number | undefined;
514
- exclusiveMinimum?: number | undefined;
515
- step?: number | undefined;
516
- readOnly?: boolean | undefined;
517
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
518
- } | undefined, {
413
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
414
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percentage", "number"]>>>;
415
+ value: z.ZodOptional<z.ZodNullable<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.ZodNullable<z.ZodString>>;
417
+ maximumValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
418
+ minimumValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
419
+ exclusiveMaximum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
420
+ exclusiveMinimum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
421
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
422
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
423
+ readOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
424
+ }, {
425
+ valueReference: z.ZodOptional<z.ZodNullable<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, {
519
427
  type?: "number" | "percentage" | null | undefined;
520
428
  total?: number | null | undefined;
521
429
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -527,19 +435,7 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
527
435
  step?: number | null | undefined;
528
436
  readOnly?: boolean | null | undefined;
529
437
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
530
- } | null | undefined>, z.ZodOptional<z.ZodType<{
531
- type?: "number" | "percentage" | undefined;
532
- total?: number | undefined;
533
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
534
- text?: string | undefined;
535
- maximumValue?: number | undefined;
536
- minimumValue?: number | undefined;
537
- exclusiveMaximum?: number | undefined;
538
- exclusiveMinimum?: number | undefined;
539
- step?: number | undefined;
540
- readOnly?: boolean | undefined;
541
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
542
- }, z.ZodTypeDef, {
438
+ }, {
543
439
  type?: "number" | "percentage" | null | undefined;
544
440
  total?: number | null | undefined;
545
441
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -557,17 +453,17 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
557
453
  }, {
558
454
  type: z.ZodLiteral<"select-single">;
559
455
  options: z.ZodArray<z.ZodObject<{
560
- id: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
456
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
457
  text: z.ZodString;
562
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
563
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
458
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
459
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
564
460
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
565
461
  }, "strip", z.ZodTypeAny, {
566
462
  value: string | number | boolean | null;
567
463
  text: string;
568
- id?: string | undefined;
569
- intro?: string | undefined;
570
- outro?: string | undefined;
464
+ id?: string | null | undefined;
465
+ intro?: string | null | undefined;
466
+ outro?: string | null | undefined;
571
467
  }, {
572
468
  value: string | number | boolean | null;
573
469
  text: string;
@@ -580,9 +476,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
580
476
  options: {
581
477
  value: string | number | boolean | null;
582
478
  text: string;
583
- id?: string | undefined;
584
- intro?: string | undefined;
585
- outro?: string | undefined;
479
+ id?: string | null | undefined;
480
+ intro?: string | null | undefined;
481
+ outro?: string | null | undefined;
586
482
  }[];
587
483
  }, {
588
484
  type: "select-single";
@@ -598,17 +494,17 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
598
494
  }, {
599
495
  type: z.ZodLiteral<"select-multiple">;
600
496
  options: z.ZodArray<z.ZodObject<{
601
- id: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
497
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
602
498
  text: z.ZodString;
603
- intro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
604
- outro: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
499
+ intro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
+ outro: z.ZodOptional<z.ZodNullable<z.ZodString>>;
605
501
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
606
502
  }, "strip", z.ZodTypeAny, {
607
503
  value: string | number | boolean | null;
608
504
  text: string;
609
- id?: string | undefined;
610
- intro?: string | undefined;
611
- outro?: string | undefined;
505
+ id?: string | null | undefined;
506
+ intro?: string | null | undefined;
507
+ outro?: string | null | undefined;
612
508
  }, {
613
509
  value: string | number | boolean | null;
614
510
  text: string;
@@ -621,9 +517,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
621
517
  options: {
622
518
  value: string | number | boolean | null;
623
519
  text: string;
624
- id?: string | undefined;
625
- intro?: string | undefined;
626
- outro?: string | undefined;
520
+ id?: string | null | undefined;
521
+ intro?: string | null | undefined;
522
+ outro?: string | null | undefined;
627
523
  }[];
628
524
  }, {
629
525
  type: "select-multiple";
@@ -638,14 +534,14 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
638
534
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
639
535
  }, {
640
536
  type: z.ZodLiteral<"number">;
641
- minimum: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
642
- maximum: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
643
- step: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<number, z.ZodTypeDef, number>>>, number | undefined, number | null | undefined>, z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>>;
537
+ minimum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
538
+ maximum: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
539
+ step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
644
540
  }>, "strip", z.ZodTypeAny, {
645
541
  type: "number";
646
- minimum?: number | undefined;
647
- maximum?: number | undefined;
648
- step?: number | undefined;
542
+ minimum?: number | null | undefined;
543
+ maximum?: number | null | undefined;
544
+ step?: number | null | undefined;
649
545
  }, {
650
546
  type: "number";
651
547
  minimum?: number | null | undefined;
@@ -655,7 +551,7 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
655
551
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
656
552
  }, {
657
553
  type: z.ZodLiteral<"boolean">;
658
- labels: z.ZodOptional<z.ZodObject<{
554
+ labels: z.ZodOptional<z.ZodNullable<z.ZodObject<{
659
555
  true: z.ZodString;
660
556
  false: z.ZodString;
661
557
  }, "strip", z.ZodTypeAny, {
@@ -664,34 +560,28 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
664
560
  }, {
665
561
  false: string;
666
562
  true: string;
667
- }>>;
563
+ }>>>;
668
564
  }>, "strip", z.ZodTypeAny, {
669
565
  type: "boolean";
670
566
  labels?: {
671
567
  false: string;
672
568
  true: string;
673
- } | undefined;
569
+ } | null | undefined;
674
570
  }, {
675
571
  type: "boolean";
676
572
  labels?: {
677
573
  false: string;
678
574
  true: string;
679
- } | undefined;
575
+ } | null | undefined;
680
576
  }>]>;
681
- description: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>, z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>>;
682
- providedData: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string | number | boolean | (string | number | boolean | null)[] | null>, z.ZodTypeDef, Record<string, string | number | boolean | (string | number | boolean | null)[] | null>>>>, Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined, Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined>, z.ZodOptional<z.ZodType<Record<string, string | number | boolean | (string | number | boolean | null)[] | null>, z.ZodTypeDef, Record<string, string | number | boolean | (string | number | boolean | null)[] | null>>>>;
683
- valueReference: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null>>>, string | number | boolean | (string | number | boolean | null)[] | undefined, string | number | boolean | (string | number | boolean | null)[] | null | undefined>, z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | null)[] | null, z.ZodTypeDef, string | number | boolean | (string | number | boolean | null)[] | null>>>;
684
- options: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
685
- hideCode?: boolean | undefined;
686
- }, z.ZodTypeDef, {
687
- hideCode?: boolean | null | undefined;
688
- }>>>, {
689
- hideCode?: boolean | undefined;
690
- } | undefined, {
577
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ providedData: z.ZodOptional<z.ZodNullable<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.ZodNullable<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.ZodNullable<z.ZodObject<{
581
+ hideCode: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
582
+ }, "strip", z.ZodTypeAny, {
691
583
  hideCode?: boolean | null | undefined;
692
- } | null | undefined>, z.ZodOptional<z.ZodType<{
693
- hideCode?: boolean | undefined;
694
- }, z.ZodTypeDef, {
584
+ }, {
695
585
  hideCode?: boolean | null | undefined;
696
586
  }>>>;
697
587
  }>, "title">, "strip", z.ZodTypeAny, {
@@ -702,49 +592,49 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
702
592
  options: {
703
593
  value: string | number | boolean | null;
704
594
  text: string;
705
- id?: string | undefined;
706
- intro?: string | undefined;
707
- outro?: string | undefined;
595
+ id?: string | null | undefined;
596
+ intro?: string | null | undefined;
597
+ outro?: string | null | undefined;
708
598
  }[];
709
599
  } | {
710
600
  type: "select-multiple";
711
601
  options: {
712
602
  value: string | number | boolean | null;
713
603
  text: string;
714
- id?: string | undefined;
715
- intro?: string | undefined;
716
- outro?: string | undefined;
604
+ id?: string | null | undefined;
605
+ intro?: string | null | undefined;
606
+ outro?: string | null | undefined;
717
607
  }[];
718
608
  } | {
719
609
  type: "number";
720
- minimum?: number | undefined;
721
- maximum?: number | undefined;
722
- step?: number | undefined;
610
+ minimum?: number | null | undefined;
611
+ maximum?: number | null | undefined;
612
+ step?: number | null | undefined;
723
613
  } | {
724
614
  type: "boolean";
725
615
  labels?: {
726
616
  false: string;
727
617
  true: string;
728
- } | undefined;
618
+ } | null | undefined;
729
619
  };
730
620
  data?: {
731
- type?: "number" | "percentage" | undefined;
732
- total?: number | undefined;
621
+ type?: "number" | "percentage" | null | undefined;
622
+ total?: number | null | undefined;
733
623
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
734
- text?: string | undefined;
735
- maximumValue?: number | undefined;
736
- minimumValue?: number | undefined;
737
- exclusiveMaximum?: number | undefined;
738
- exclusiveMinimum?: number | undefined;
739
- step?: number | undefined;
740
- readOnly?: boolean | undefined;
624
+ text?: string | null | undefined;
625
+ maximumValue?: number | null | undefined;
626
+ minimumValue?: number | null | undefined;
627
+ exclusiveMaximum?: number | null | undefined;
628
+ exclusiveMinimum?: number | null | undefined;
629
+ step?: number | null | undefined;
630
+ readOnly?: boolean | null | undefined;
741
631
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
742
- } | undefined;
632
+ } | null | undefined;
743
633
  options?: {
744
- hideCode?: boolean | undefined;
745
- } | undefined;
746
- description?: string | undefined;
747
- tags?: string[] | undefined;
634
+ hideCode?: boolean | null | undefined;
635
+ } | null | undefined;
636
+ description?: string | null | undefined;
637
+ tags?: string[] | null | undefined;
748
638
  documentation?: ({
749
639
  type: "pdf";
750
640
  url: string;
@@ -759,10 +649,10 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
759
649
  url: string;
760
650
  label: string;
761
651
  text: string;
762
- })[] | undefined;
763
- sortOrder?: number | undefined;
652
+ })[] | null | undefined;
653
+ sortOrder?: number | null | undefined;
764
654
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
765
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
655
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
766
656
  }, {
767
657
  type: "task-item";
768
658
  code: string;
@@ -794,7 +684,7 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
794
684
  labels?: {
795
685
  false: string;
796
686
  true: string;
797
- } | undefined;
687
+ } | null | undefined;
798
688
  };
799
689
  data?: {
800
690
  type?: "number" | "percentage" | null | undefined;