@openframe-org/criteria-set-protocol 2.0.7 → 2.0.8

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 (34) 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 +144 -75
  4. package/dist/v1/schemas/common.js +15 -14
  5. package/dist/v1/schemas/criteria-tree.d.ts +4397 -2524
  6. package/dist/v1/schemas/criteria-tree.js +2 -1
  7. package/dist/v1/schemas/criterion.d.ts +810 -460
  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 +14 -0
  13. package/dist/v1/schemas/metadata.d.ts +28 -19
  14. package/dist/v1/schemas/metadata.js +7 -6
  15. package/dist/v1/schemas/request/matrix-body-schema.d.ts +23 -8
  16. package/dist/v1/schemas/request/matrix-body-schema.js +7 -7
  17. package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +23 -8
  18. package/dist/v1/schemas/request/matrix-request-body-schema.js +7 -7
  19. package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +19 -7
  20. package/dist/v1/schemas/request/tree-and-data-body-schema.js +6 -6
  21. package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +19 -7
  22. package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +6 -6
  23. package/dist/v1/schemas/response.d.ts +24 -15
  24. package/dist/v1/schemas/task-group.d.ts +606 -334
  25. package/dist/v1/schemas/task-group.js +5 -4
  26. package/dist/v1/schemas/task-item.d.ts +355 -218
  27. package/dist/v1/schemas/task-item.js +18 -18
  28. package/dist/v1/schemas/task.d.ts +416 -222
  29. package/dist/v1/schemas/task.js +4 -3
  30. package/dist/v1/schemas/theme.d.ts +1057 -615
  31. package/dist/v1/schemas/theme.js +4 -3
  32. package/dist/v1/schemas/utils.d.ts +2 -3
  33. package/dist/v1/schemas/utils.js +5 -8
  34. package/package.json +1 -1
@@ -1,10 +1,10 @@
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.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>>>;
5
5
  text: z.ZodString;
6
- intro: z.ZodOptional<z.ZodString>;
7
- outro: z.ZodOptional<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>>>;
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;
@@ -15,19 +15,19 @@ export declare const pointOptionSchema: z.ZodObject<{
15
15
  }, {
16
16
  value: string | number | boolean | null;
17
17
  text: string;
18
- id?: string | undefined;
19
- intro?: string | undefined;
20
- outro?: string | undefined;
18
+ id?: string | null | undefined;
19
+ intro?: string | null | undefined;
20
+ outro?: string | null | undefined;
21
21
  }>;
22
22
  export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
23
23
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
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.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>>>;
28
28
  text: z.ZodString;
29
- intro: z.ZodOptional<z.ZodString>;
30
- outro: z.ZodOptional<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>>>;
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;
@@ -38,9 +38,9 @@ export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShap
38
38
  }, {
39
39
  value: string | number | boolean | null;
40
40
  text: string;
41
- id?: string | undefined;
42
- intro?: string | undefined;
43
- outro?: string | undefined;
41
+ id?: string | null | undefined;
42
+ intro?: string | null | undefined;
43
+ outro?: string | null | undefined;
44
44
  }>, "many">;
45
45
  }>, "strip", z.ZodTypeAny, {
46
46
  type: "select-single";
@@ -56,9 +56,9 @@ export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShap
56
56
  options: {
57
57
  value: string | number | boolean | null;
58
58
  text: string;
59
- id?: string | undefined;
60
- intro?: string | undefined;
61
- outro?: string | undefined;
59
+ id?: string | null | undefined;
60
+ intro?: string | null | undefined;
61
+ outro?: string | null | undefined;
62
62
  }[];
63
63
  }>;
64
64
  export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -66,10 +66,10 @@ 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.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>>>;
70
70
  text: z.ZodString;
71
- intro: z.ZodOptional<z.ZodString>;
72
- outro: z.ZodOptional<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>>>;
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;
@@ -80,9 +80,9 @@ export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendSh
80
80
  }, {
81
81
  value: string | number | boolean | null;
82
82
  text: string;
83
- id?: string | undefined;
84
- intro?: string | undefined;
85
- outro?: string | undefined;
83
+ id?: string | null | undefined;
84
+ intro?: string | null | undefined;
85
+ outro?: string | null | undefined;
86
86
  }>, "many">;
87
87
  }>, "strip", z.ZodTypeAny, {
88
88
  type: "select-multiple";
@@ -98,18 +98,18 @@ export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendSh
98
98
  options: {
99
99
  value: string | number | boolean | null;
100
100
  text: string;
101
- id?: string | undefined;
102
- intro?: string | undefined;
103
- outro?: string | undefined;
101
+ id?: string | null | undefined;
102
+ intro?: string | null | undefined;
103
+ outro?: string | null | undefined;
104
104
  }[];
105
105
  }>;
106
106
  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.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>>>;
113
113
  }>, "strip", z.ZodTypeAny, {
114
114
  type: "number";
115
115
  minimum?: number | undefined;
@@ -117,24 +117,33 @@ export declare const numberTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
117
117
  step?: number | undefined;
118
118
  }, {
119
119
  type: "number";
120
- minimum?: number | undefined;
121
- maximum?: number | undefined;
122
- step?: number | undefined;
120
+ minimum?: number | null | undefined;
121
+ maximum?: number | null | undefined;
122
+ step?: number | null | undefined;
123
123
  }>;
124
124
  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<{
129
- true: z.ZodString;
130
- false: z.ZodString;
131
- }, "strip", z.ZodTypeAny, {
128
+ labels: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
132
129
  false: string;
133
130
  true: string;
134
- }, {
131
+ }, z.ZodTypeDef, {
132
+ false: string;
133
+ true: string;
134
+ }>>>, {
135
135
  false: string;
136
136
  true: string;
137
- }>>;
137
+ } | undefined, {
138
+ false: string;
139
+ true: string;
140
+ } | null | undefined>, z.ZodOptional<z.ZodType<{
141
+ false: string;
142
+ true: string;
143
+ }, z.ZodTypeDef, {
144
+ false: string;
145
+ true: string;
146
+ }>>>;
138
147
  }>, "strip", z.ZodTypeAny, {
139
148
  type: "boolean";
140
149
  labels?: {
@@ -146,17 +155,17 @@ export declare const booleanTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
146
155
  labels?: {
147
156
  false: string;
148
157
  true: string;
149
- } | undefined;
158
+ } | null | undefined;
150
159
  }>;
151
160
  export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
152
161
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
153
162
  }, {
154
163
  type: z.ZodLiteral<"select-single">;
155
164
  options: z.ZodArray<z.ZodObject<{
156
- id: z.ZodOptional<z.ZodString>;
165
+ 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>>>;
157
166
  text: z.ZodString;
158
- intro: z.ZodOptional<z.ZodString>;
159
- outro: z.ZodOptional<z.ZodString>;
167
+ 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>>>;
168
+ 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>>>;
160
169
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
161
170
  }, "strip", z.ZodTypeAny, {
162
171
  value: string | number | boolean | null;
@@ -167,9 +176,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
167
176
  }, {
168
177
  value: string | number | boolean | null;
169
178
  text: string;
170
- id?: string | undefined;
171
- intro?: string | undefined;
172
- outro?: string | undefined;
179
+ id?: string | null | undefined;
180
+ intro?: string | null | undefined;
181
+ outro?: string | null | undefined;
173
182
  }>, "many">;
174
183
  }>, "strip", z.ZodTypeAny, {
175
184
  type: "select-single";
@@ -185,19 +194,19 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
185
194
  options: {
186
195
  value: string | number | boolean | null;
187
196
  text: string;
188
- id?: string | undefined;
189
- intro?: string | undefined;
190
- outro?: string | undefined;
197
+ id?: string | null | undefined;
198
+ intro?: string | null | undefined;
199
+ outro?: string | null | undefined;
191
200
  }[];
192
201
  }>, z.ZodObject<z.objectUtil.extendShape<{
193
202
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
194
203
  }, {
195
204
  type: z.ZodLiteral<"select-multiple">;
196
205
  options: z.ZodArray<z.ZodObject<{
197
- id: z.ZodOptional<z.ZodString>;
206
+ 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>>>;
198
207
  text: z.ZodString;
199
- intro: z.ZodOptional<z.ZodString>;
200
- outro: z.ZodOptional<z.ZodString>;
208
+ 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>>>;
209
+ 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>>>;
201
210
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
202
211
  }, "strip", z.ZodTypeAny, {
203
212
  value: string | number | boolean | null;
@@ -208,9 +217,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
208
217
  }, {
209
218
  value: string | number | boolean | null;
210
219
  text: string;
211
- id?: string | undefined;
212
- intro?: string | undefined;
213
- outro?: string | undefined;
220
+ id?: string | null | undefined;
221
+ intro?: string | null | undefined;
222
+ outro?: string | null | undefined;
214
223
  }>, "many">;
215
224
  }>, "strip", z.ZodTypeAny, {
216
225
  type: "select-multiple";
@@ -226,17 +235,17 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
226
235
  options: {
227
236
  value: string | number | boolean | null;
228
237
  text: string;
229
- id?: string | undefined;
230
- intro?: string | undefined;
231
- outro?: string | undefined;
238
+ id?: string | null | undefined;
239
+ intro?: string | null | undefined;
240
+ outro?: string | null | undefined;
232
241
  }[];
233
242
  }>, z.ZodObject<z.objectUtil.extendShape<{
234
243
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
235
244
  }, {
236
245
  type: z.ZodLiteral<"number">;
237
- minimum: z.ZodOptional<z.ZodNumber>;
238
- maximum: z.ZodOptional<z.ZodNumber>;
239
- step: z.ZodOptional<z.ZodNumber>;
246
+ 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>>>;
247
+ 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>>>;
248
+ 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>>>;
240
249
  }>, "strip", z.ZodTypeAny, {
241
250
  type: "number";
242
251
  minimum?: number | undefined;
@@ -244,23 +253,32 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
244
253
  step?: number | undefined;
245
254
  }, {
246
255
  type: "number";
247
- minimum?: number | undefined;
248
- maximum?: number | undefined;
249
- step?: number | undefined;
256
+ minimum?: number | null | undefined;
257
+ maximum?: number | null | undefined;
258
+ step?: number | null | undefined;
250
259
  }>, z.ZodObject<z.objectUtil.extendShape<{
251
260
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
252
261
  }, {
253
262
  type: z.ZodLiteral<"boolean">;
254
- labels: z.ZodOptional<z.ZodObject<{
255
- true: z.ZodString;
256
- false: z.ZodString;
257
- }, "strip", z.ZodTypeAny, {
263
+ labels: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
258
264
  false: string;
259
265
  true: string;
260
- }, {
266
+ }, z.ZodTypeDef, {
267
+ false: string;
268
+ true: string;
269
+ }>>>, {
270
+ false: string;
271
+ true: string;
272
+ } | undefined, {
261
273
  false: string;
262
274
  true: string;
263
- }>>;
275
+ } | null | undefined>, z.ZodOptional<z.ZodType<{
276
+ false: string;
277
+ true: string;
278
+ }, z.ZodTypeDef, {
279
+ false: string;
280
+ true: string;
281
+ }>>>;
264
282
  }>, "strip", z.ZodTypeAny, {
265
283
  type: "boolean";
266
284
  labels?: {
@@ -272,21 +290,21 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
272
290
  labels?: {
273
291
  false: string;
274
292
  true: string;
275
- } | undefined;
293
+ } | null | undefined;
276
294
  }>]>;
277
295
  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>;
296
+ 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">>>;
297
+ 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>>>;
298
+ 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>>>;
299
+ 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>>>;
300
+ 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>>>;
301
+ 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>>>;
302
+ 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>>>;
303
+ 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>>>;
304
+ 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>>>;
305
+ 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>>>;
288
306
  }, {
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">]>>;
307
+ 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>>>;
290
308
  }>, "strip", z.ZodTypeAny, {
291
309
  type?: "number" | "percentage" | undefined;
292
310
  total?: number | undefined;
@@ -300,91 +318,116 @@ export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
300
318
  readOnly?: boolean | undefined;
301
319
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
302
320
  }, {
303
- type?: "number" | "percentage" | undefined;
304
- total?: number | undefined;
321
+ type?: "number" | "percentage" | null | undefined;
322
+ total?: number | null | undefined;
305
323
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
306
- text?: string | undefined;
307
- maximumValue?: number | undefined;
308
- minimumValue?: number | undefined;
309
- exclusiveMaximum?: number | undefined;
310
- exclusiveMinimum?: number | undefined;
311
- step?: number | undefined;
312
- readOnly?: boolean | undefined;
324
+ text?: string | null | undefined;
325
+ maximumValue?: number | null | undefined;
326
+ minimumValue?: number | null | undefined;
327
+ exclusiveMaximum?: number | null | undefined;
328
+ exclusiveMinimum?: number | null | undefined;
329
+ step?: number | null | undefined;
330
+ readOnly?: boolean | null | undefined;
313
331
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
314
332
  }>;
315
333
  export declare const taskItemOptionsSchema: z.ZodObject<{
316
- hideCode: z.ZodOptional<z.ZodBoolean>;
334
+ 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>>>;
317
335
  }, "strip", z.ZodTypeAny, {
318
336
  hideCode?: boolean | undefined;
319
337
  }, {
320
- hideCode?: boolean | undefined;
338
+ hideCode?: boolean | null | undefined;
321
339
  }>;
322
- export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
340
+ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
323
341
  type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
324
342
  title: z.ZodString;
325
343
  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, {
344
+ 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[]>>>;
345
+ documentation: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<({
335
346
  type: "pdf";
336
347
  url: string;
337
348
  label: string;
338
349
  text: string;
339
- }, {
350
+ } | {
351
+ type: "text";
352
+ label: string;
353
+ text: string;
354
+ } | {
355
+ type: "link";
356
+ url: string;
357
+ label: string;
358
+ text: string;
359
+ })[], z.ZodTypeDef, ({
340
360
  type: "pdf";
341
361
  url: string;
342
362
  label: string;
343
363
  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, {
364
+ } | {
351
365
  type: "text";
352
366
  label: string;
353
367
  text: string;
354
- }, {
368
+ } | {
369
+ type: "link";
370
+ url: string;
371
+ label: string;
372
+ text: string;
373
+ })[]>>>, ({
374
+ type: "pdf";
375
+ url: string;
376
+ label: string;
377
+ text: string;
378
+ } | {
355
379
  type: "text";
356
380
  label: string;
357
381
  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, {
382
+ } | {
366
383
  type: "link";
367
384
  url: string;
368
385
  label: string;
369
386
  text: string;
370
- }, {
387
+ })[] | undefined, ({
388
+ type: "pdf";
389
+ url: string;
390
+ label: string;
391
+ text: string;
392
+ } | {
393
+ type: "text";
394
+ label: string;
395
+ text: string;
396
+ } | {
371
397
  type: "link";
372
398
  url: string;
373
399
  label: string;
374
400
  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, {
401
+ })[] | null | undefined>, z.ZodOptional<z.ZodType<({
402
+ type: "pdf";
403
+ url: string;
404
+ label: string;
405
+ text: string;
406
+ } | {
407
+ type: "text";
408
+ label: string;
409
+ text: string;
410
+ } | {
411
+ type: "link";
412
+ url: string;
413
+ label: string;
414
+ text: string;
415
+ })[], z.ZodTypeDef, ({
416
+ type: "pdf";
417
+ url: string;
418
+ label: string;
419
+ text: string;
420
+ } | {
421
+ type: "text";
422
+ label: string;
423
+ text: string;
424
+ } | {
425
+ type: "link";
426
+ url: string;
427
+ label: string;
428
+ text: string;
429
+ })[]>>>;
430
+ data: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
388
431
  type?: "number" | "percentage" | undefined;
389
432
  total?: number | undefined;
390
433
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -395,7 +438,18 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
395
438
  exclusiveMinimum?: number | undefined;
396
439
  step?: number | undefined;
397
440
  readOnly?: boolean | undefined;
398
- }, {
441
+ }, z.ZodTypeDef, {
442
+ type?: "number" | "percentage" | null | undefined;
443
+ total?: number | null | undefined;
444
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
445
+ text?: string | null | undefined;
446
+ maximumValue?: number | null | undefined;
447
+ minimumValue?: number | null | undefined;
448
+ exclusiveMaximum?: number | null | undefined;
449
+ exclusiveMinimum?: number | null | undefined;
450
+ step?: number | null | undefined;
451
+ readOnly?: boolean | null | undefined;
452
+ }>>>, {
399
453
  type?: "number" | "percentage" | undefined;
400
454
  total?: number | undefined;
401
455
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -406,24 +460,44 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
406
460
  exclusiveMinimum?: number | undefined;
407
461
  step?: number | undefined;
408
462
  readOnly?: boolean | undefined;
409
- }>>;
410
- sortOrder: z.ZodOptional<z.ZodNumber>;
411
- }, {
463
+ } | undefined, {
464
+ type?: "number" | "percentage" | null | undefined;
465
+ total?: number | null | undefined;
466
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
467
+ text?: string | null | undefined;
468
+ maximumValue?: number | null | undefined;
469
+ minimumValue?: number | null | undefined;
470
+ exclusiveMaximum?: number | null | undefined;
471
+ exclusiveMinimum?: number | null | undefined;
472
+ step?: number | null | undefined;
473
+ readOnly?: boolean | null | undefined;
474
+ } | null | undefined>, z.ZodOptional<z.ZodType<{
475
+ type?: "number" | "percentage" | undefined;
476
+ total?: number | undefined;
477
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
478
+ text?: string | undefined;
479
+ maximumValue?: number | undefined;
480
+ minimumValue?: number | undefined;
481
+ exclusiveMaximum?: number | undefined;
482
+ exclusiveMinimum?: number | undefined;
483
+ step?: number | undefined;
484
+ readOnly?: boolean | undefined;
485
+ }, z.ZodTypeDef, {
486
+ type?: "number" | "percentage" | null | undefined;
487
+ total?: number | null | undefined;
488
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
489
+ text?: string | null | undefined;
490
+ maximumValue?: number | null | undefined;
491
+ minimumValue?: number | null | undefined;
492
+ exclusiveMaximum?: number | null | undefined;
493
+ exclusiveMinimum?: number | null | undefined;
494
+ step?: number | null | undefined;
495
+ readOnly?: boolean | null | undefined;
496
+ }>>>;
497
+ 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>>>;
498
+ }, "title">, {
412
499
  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, {
500
+ data: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
427
501
  type?: "number" | "percentage" | undefined;
428
502
  total?: number | undefined;
429
503
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -435,7 +509,43 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
435
509
  step?: number | undefined;
436
510
  readOnly?: boolean | undefined;
437
511
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
438
- }, {
512
+ }, z.ZodTypeDef, {
513
+ type?: "number" | "percentage" | null | undefined;
514
+ total?: number | null | undefined;
515
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
516
+ text?: string | null | undefined;
517
+ maximumValue?: number | null | undefined;
518
+ minimumValue?: number | null | undefined;
519
+ exclusiveMaximum?: number | null | undefined;
520
+ exclusiveMinimum?: number | null | undefined;
521
+ step?: number | null | undefined;
522
+ readOnly?: boolean | null | undefined;
523
+ valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
524
+ }>>>, {
525
+ type?: "number" | "percentage" | undefined;
526
+ total?: number | undefined;
527
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
528
+ text?: string | undefined;
529
+ maximumValue?: number | undefined;
530
+ minimumValue?: number | undefined;
531
+ exclusiveMaximum?: number | undefined;
532
+ exclusiveMinimum?: number | undefined;
533
+ step?: number | undefined;
534
+ readOnly?: boolean | undefined;
535
+ valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
536
+ } | undefined, {
537
+ type?: "number" | "percentage" | null | undefined;
538
+ total?: number | null | undefined;
539
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
540
+ text?: string | null | undefined;
541
+ maximumValue?: number | null | undefined;
542
+ minimumValue?: number | null | undefined;
543
+ exclusiveMaximum?: number | null | undefined;
544
+ exclusiveMinimum?: number | null | undefined;
545
+ step?: number | null | undefined;
546
+ readOnly?: boolean | null | undefined;
547
+ valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
548
+ } | null | undefined>, z.ZodOptional<z.ZodType<{
439
549
  type?: "number" | "percentage" | undefined;
440
550
  total?: number | undefined;
441
551
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
@@ -447,16 +557,28 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
447
557
  step?: number | undefined;
448
558
  readOnly?: boolean | undefined;
449
559
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
450
- }>>;
560
+ }, z.ZodTypeDef, {
561
+ type?: "number" | "percentage" | null | undefined;
562
+ total?: number | null | undefined;
563
+ value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
564
+ text?: string | null | undefined;
565
+ maximumValue?: number | null | undefined;
566
+ minimumValue?: number | null | undefined;
567
+ exclusiveMaximum?: number | null | undefined;
568
+ exclusiveMinimum?: number | null | undefined;
569
+ step?: number | null | undefined;
570
+ readOnly?: boolean | null | undefined;
571
+ valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
572
+ }>>>;
451
573
  definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
452
574
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
453
575
  }, {
454
576
  type: z.ZodLiteral<"select-single">;
455
577
  options: z.ZodArray<z.ZodObject<{
456
- id: z.ZodOptional<z.ZodString>;
578
+ 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>>>;
457
579
  text: z.ZodString;
458
- intro: z.ZodOptional<z.ZodString>;
459
- outro: z.ZodOptional<z.ZodString>;
580
+ 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>>>;
581
+ 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>>>;
460
582
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
461
583
  }, "strip", z.ZodTypeAny, {
462
584
  value: string | number | boolean | null;
@@ -467,9 +589,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
467
589
  }, {
468
590
  value: string | number | boolean | null;
469
591
  text: string;
470
- id?: string | undefined;
471
- intro?: string | undefined;
472
- outro?: string | undefined;
592
+ id?: string | null | undefined;
593
+ intro?: string | null | undefined;
594
+ outro?: string | null | undefined;
473
595
  }>, "many">;
474
596
  }>, "strip", z.ZodTypeAny, {
475
597
  type: "select-single";
@@ -485,19 +607,19 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
485
607
  options: {
486
608
  value: string | number | boolean | null;
487
609
  text: string;
488
- id?: string | undefined;
489
- intro?: string | undefined;
490
- outro?: string | undefined;
610
+ id?: string | null | undefined;
611
+ intro?: string | null | undefined;
612
+ outro?: string | null | undefined;
491
613
  }[];
492
614
  }>, z.ZodObject<z.objectUtil.extendShape<{
493
615
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
494
616
  }, {
495
617
  type: z.ZodLiteral<"select-multiple">;
496
618
  options: z.ZodArray<z.ZodObject<{
497
- id: z.ZodOptional<z.ZodString>;
619
+ 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>>>;
498
620
  text: z.ZodString;
499
- intro: z.ZodOptional<z.ZodString>;
500
- outro: z.ZodOptional<z.ZodString>;
621
+ 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>>>;
622
+ 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>>>;
501
623
  value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
502
624
  }, "strip", z.ZodTypeAny, {
503
625
  value: string | number | boolean | null;
@@ -508,9 +630,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
508
630
  }, {
509
631
  value: string | number | boolean | null;
510
632
  text: string;
511
- id?: string | undefined;
512
- intro?: string | undefined;
513
- outro?: string | undefined;
633
+ id?: string | null | undefined;
634
+ intro?: string | null | undefined;
635
+ outro?: string | null | undefined;
514
636
  }>, "many">;
515
637
  }>, "strip", z.ZodTypeAny, {
516
638
  type: "select-multiple";
@@ -526,17 +648,17 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
526
648
  options: {
527
649
  value: string | number | boolean | null;
528
650
  text: string;
529
- id?: string | undefined;
530
- intro?: string | undefined;
531
- outro?: string | undefined;
651
+ id?: string | null | undefined;
652
+ intro?: string | null | undefined;
653
+ outro?: string | null | undefined;
532
654
  }[];
533
655
  }>, z.ZodObject<z.objectUtil.extendShape<{
534
656
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
535
657
  }, {
536
658
  type: z.ZodLiteral<"number">;
537
- minimum: z.ZodOptional<z.ZodNumber>;
538
- maximum: z.ZodOptional<z.ZodNumber>;
539
- step: z.ZodOptional<z.ZodNumber>;
659
+ 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>>>;
660
+ 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>>>;
661
+ 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>>>;
540
662
  }>, "strip", z.ZodTypeAny, {
541
663
  type: "number";
542
664
  minimum?: number | undefined;
@@ -544,23 +666,32 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
544
666
  step?: number | undefined;
545
667
  }, {
546
668
  type: "number";
547
- minimum?: number | undefined;
548
- maximum?: number | undefined;
549
- step?: number | undefined;
669
+ minimum?: number | null | undefined;
670
+ maximum?: number | null | undefined;
671
+ step?: number | null | undefined;
550
672
  }>, z.ZodObject<z.objectUtil.extendShape<{
551
673
  type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
552
674
  }, {
553
675
  type: z.ZodLiteral<"boolean">;
554
- labels: z.ZodOptional<z.ZodObject<{
555
- true: z.ZodString;
556
- false: z.ZodString;
557
- }, "strip", z.ZodTypeAny, {
676
+ labels: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
558
677
  false: string;
559
678
  true: string;
560
- }, {
679
+ }, z.ZodTypeDef, {
680
+ false: string;
681
+ true: string;
682
+ }>>>, {
683
+ false: string;
684
+ true: string;
685
+ } | undefined, {
686
+ false: string;
687
+ true: string;
688
+ } | null | undefined>, z.ZodOptional<z.ZodType<{
689
+ false: string;
690
+ true: string;
691
+ }, z.ZodTypeDef, {
561
692
  false: string;
562
693
  true: string;
563
- }>>;
694
+ }>>>;
564
695
  }>, "strip", z.ZodTypeAny, {
565
696
  type: "boolean";
566
697
  labels?: {
@@ -572,19 +703,25 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
572
703
  labels?: {
573
704
  false: string;
574
705
  true: string;
575
- } | undefined;
706
+ } | null | undefined;
576
707
  }>]>;
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, {
708
+ 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>>>;
709
+ 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>>>>;
710
+ 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>>>;
711
+ options: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
583
712
  hideCode?: boolean | undefined;
584
- }, {
713
+ }, z.ZodTypeDef, {
714
+ hideCode?: boolean | null | undefined;
715
+ }>>>, {
716
+ hideCode?: boolean | undefined;
717
+ } | undefined, {
718
+ hideCode?: boolean | null | undefined;
719
+ } | null | undefined>, z.ZodOptional<z.ZodType<{
585
720
  hideCode?: boolean | undefined;
586
- }>>;
587
- }>, "title">, "strip", z.ZodTypeAny, {
721
+ }, z.ZodTypeDef, {
722
+ hideCode?: boolean | null | undefined;
723
+ }>>>;
724
+ }>, "strip", z.ZodTypeAny, {
588
725
  type: "task-item";
589
726
  code: string;
590
727
  definition: {
@@ -661,49 +798,49 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
661
798
  options: {
662
799
  value: string | number | boolean | null;
663
800
  text: string;
664
- id?: string | undefined;
665
- intro?: string | undefined;
666
- outro?: string | undefined;
801
+ id?: string | null | undefined;
802
+ intro?: string | null | undefined;
803
+ outro?: string | null | undefined;
667
804
  }[];
668
805
  } | {
669
806
  type: "select-multiple";
670
807
  options: {
671
808
  value: string | number | boolean | null;
672
809
  text: string;
673
- id?: string | undefined;
674
- intro?: string | undefined;
675
- outro?: string | undefined;
810
+ id?: string | null | undefined;
811
+ intro?: string | null | undefined;
812
+ outro?: string | null | undefined;
676
813
  }[];
677
814
  } | {
678
815
  type: "number";
679
- minimum?: number | undefined;
680
- maximum?: number | undefined;
681
- step?: number | undefined;
816
+ minimum?: number | null | undefined;
817
+ maximum?: number | null | undefined;
818
+ step?: number | null | undefined;
682
819
  } | {
683
820
  type: "boolean";
684
821
  labels?: {
685
822
  false: string;
686
823
  true: string;
687
- } | undefined;
824
+ } | null | undefined;
688
825
  };
689
826
  data?: {
690
- type?: "number" | "percentage" | undefined;
691
- total?: number | undefined;
827
+ type?: "number" | "percentage" | null | undefined;
828
+ total?: number | null | undefined;
692
829
  value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
693
- text?: string | undefined;
694
- maximumValue?: number | undefined;
695
- minimumValue?: number | undefined;
696
- exclusiveMaximum?: number | undefined;
697
- exclusiveMinimum?: number | undefined;
698
- step?: number | undefined;
699
- readOnly?: boolean | undefined;
830
+ text?: string | null | undefined;
831
+ maximumValue?: number | null | undefined;
832
+ minimumValue?: number | null | undefined;
833
+ exclusiveMaximum?: number | null | undefined;
834
+ exclusiveMinimum?: number | null | undefined;
835
+ step?: number | null | undefined;
836
+ readOnly?: boolean | null | undefined;
700
837
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
701
- } | undefined;
838
+ } | null | undefined;
702
839
  options?: {
703
- hideCode?: boolean | undefined;
704
- } | undefined;
705
- description?: string | undefined;
706
- tags?: string[] | undefined;
840
+ hideCode?: boolean | null | undefined;
841
+ } | null | undefined;
842
+ description?: string | null | undefined;
843
+ tags?: string[] | null | undefined;
707
844
  documentation?: ({
708
845
  type: "pdf";
709
846
  url: string;
@@ -718,8 +855,8 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
718
855
  url: string;
719
856
  label: string;
720
857
  text: string;
721
- })[] | undefined;
722
- sortOrder?: number | undefined;
858
+ })[] | null | undefined;
859
+ sortOrder?: number | null | undefined;
723
860
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
724
- providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
861
+ providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
725
862
  }>;