@openframe-org/criteria-set-protocol 2.0.6-beta.2 → 2.0.6
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.
- package/dist/v1/schemas/certification.d.ts +80 -80
- package/dist/v1/schemas/certification.js +7 -6
- package/dist/v1/schemas/common.d.ts +144 -75
- package/dist/v1/schemas/common.js +15 -14
- package/dist/v1/schemas/criteria-tree.d.ts +4265 -2446
- package/dist/v1/schemas/criteria-tree.js +2 -1
- package/dist/v1/schemas/criterion.d.ts +786 -445
- package/dist/v1/schemas/criterion.js +4 -3
- package/dist/v1/schemas/data-map.d.ts +2 -2
- package/dist/v1/schemas/data-map.js +2 -1
- package/dist/v1/schemas/index.d.ts +1 -0
- package/dist/v1/schemas/index.js +1 -0
- package/dist/v1/schemas/metadata.d.ts +28 -19
- package/dist/v1/schemas/metadata.js +7 -6
- package/dist/v1/schemas/request/matrix-body-schema.d.ts +7 -7
- package/dist/v1/schemas/request/matrix-body-schema.js +5 -4
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +7 -7
- package/dist/v1/schemas/request/matrix-request-body-schema.js +5 -4
- package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +6 -6
- package/dist/v1/schemas/request/tree-and-data-body-schema.js +4 -3
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +6 -6
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +4 -3
- package/dist/v1/schemas/response.d.ts +24 -15
- package/dist/v1/schemas/task-group.d.ts +584 -321
- package/dist/v1/schemas/task-group.js +5 -4
- package/dist/v1/schemas/task-item.d.ts +303 -193
- package/dist/v1/schemas/task-item.js +14 -13
- package/dist/v1/schemas/task.d.ts +395 -210
- package/dist/v1/schemas/task.js +4 -3
- package/dist/v1/schemas/theme.d.ts +1036 -603
- package/dist/v1/schemas/theme.js +4 -3
- package/dist/v1/schemas/utils.d.ts +1 -1
- package/dist/v1/schemas/utils.js +4 -6
- 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.
|
|
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.
|
|
7
|
-
outro: z.ZodOptional<z.
|
|
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.
|
|
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.
|
|
30
|
-
outro: z.ZodOptional<z.
|
|
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.
|
|
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.
|
|
72
|
-
outro: z.ZodOptional<z.
|
|
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.
|
|
111
|
-
maximum: z.ZodOptional<z.
|
|
112
|
-
step: z.ZodOptional<z.
|
|
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,9 +117,9 @@ 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"]>;
|
|
@@ -153,10 +153,10 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
153
153
|
}, {
|
|
154
154
|
type: z.ZodLiteral<"select-single">;
|
|
155
155
|
options: z.ZodArray<z.ZodObject<{
|
|
156
|
-
id: z.ZodOptional<z.
|
|
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>>>;
|
|
157
157
|
text: z.ZodString;
|
|
158
|
-
intro: z.ZodOptional<z.
|
|
159
|
-
outro: z.ZodOptional<z.
|
|
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>>>;
|
|
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;
|
|
@@ -167,9 +167,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
167
167
|
}, {
|
|
168
168
|
value: string | number | boolean | null;
|
|
169
169
|
text: string;
|
|
170
|
-
id?: string | undefined;
|
|
171
|
-
intro?: string | undefined;
|
|
172
|
-
outro?: string | undefined;
|
|
170
|
+
id?: string | null | undefined;
|
|
171
|
+
intro?: string | null | undefined;
|
|
172
|
+
outro?: string | null | undefined;
|
|
173
173
|
}>, "many">;
|
|
174
174
|
}>, "strip", z.ZodTypeAny, {
|
|
175
175
|
type: "select-single";
|
|
@@ -185,19 +185,19 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
185
185
|
options: {
|
|
186
186
|
value: string | number | boolean | null;
|
|
187
187
|
text: string;
|
|
188
|
-
id?: string | undefined;
|
|
189
|
-
intro?: string | undefined;
|
|
190
|
-
outro?: string | undefined;
|
|
188
|
+
id?: string | null | undefined;
|
|
189
|
+
intro?: string | null | undefined;
|
|
190
|
+
outro?: string | null | undefined;
|
|
191
191
|
}[];
|
|
192
192
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
193
193
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
194
194
|
}, {
|
|
195
195
|
type: z.ZodLiteral<"select-multiple">;
|
|
196
196
|
options: z.ZodArray<z.ZodObject<{
|
|
197
|
-
id: z.ZodOptional<z.
|
|
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>>>;
|
|
198
198
|
text: z.ZodString;
|
|
199
|
-
intro: z.ZodOptional<z.
|
|
200
|
-
outro: z.ZodOptional<z.
|
|
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>>>;
|
|
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;
|
|
@@ -208,9 +208,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
208
208
|
}, {
|
|
209
209
|
value: string | number | boolean | null;
|
|
210
210
|
text: string;
|
|
211
|
-
id?: string | undefined;
|
|
212
|
-
intro?: string | undefined;
|
|
213
|
-
outro?: string | undefined;
|
|
211
|
+
id?: string | null | undefined;
|
|
212
|
+
intro?: string | null | undefined;
|
|
213
|
+
outro?: string | null | undefined;
|
|
214
214
|
}>, "many">;
|
|
215
215
|
}>, "strip", z.ZodTypeAny, {
|
|
216
216
|
type: "select-multiple";
|
|
@@ -226,17 +226,17 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
226
226
|
options: {
|
|
227
227
|
value: string | number | boolean | null;
|
|
228
228
|
text: string;
|
|
229
|
-
id?: string | undefined;
|
|
230
|
-
intro?: string | undefined;
|
|
231
|
-
outro?: string | undefined;
|
|
229
|
+
id?: string | null | undefined;
|
|
230
|
+
intro?: string | null | undefined;
|
|
231
|
+
outro?: string | null | undefined;
|
|
232
232
|
}[];
|
|
233
233
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
234
234
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
235
235
|
}, {
|
|
236
236
|
type: z.ZodLiteral<"number">;
|
|
237
|
-
minimum: z.ZodOptional<z.
|
|
238
|
-
maximum: z.ZodOptional<z.
|
|
239
|
-
step: z.ZodOptional<z.
|
|
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>>>;
|
|
240
240
|
}>, "strip", z.ZodTypeAny, {
|
|
241
241
|
type: "number";
|
|
242
242
|
minimum?: number | undefined;
|
|
@@ -244,9 +244,9 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
244
244
|
step?: number | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
type: "number";
|
|
247
|
-
minimum?: number | undefined;
|
|
248
|
-
maximum?: number | undefined;
|
|
249
|
-
step?: number | undefined;
|
|
247
|
+
minimum?: number | null | undefined;
|
|
248
|
+
maximum?: number | null | undefined;
|
|
249
|
+
step?: number | null | undefined;
|
|
250
250
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
251
251
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
252
252
|
}, {
|
|
@@ -275,18 +275,18 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
275
275
|
} | undefined;
|
|
276
276
|
}>]>;
|
|
277
277
|
export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
278
|
-
type: z.ZodOptional<z.
|
|
279
|
-
value: z.
|
|
280
|
-
text: z.ZodOptional<z.
|
|
281
|
-
maximumValue: z.ZodOptional<z.
|
|
282
|
-
minimumValue: z.ZodOptional<z.
|
|
283
|
-
exclusiveMaximum: z.ZodOptional<z.
|
|
284
|
-
exclusiveMinimum: z.ZodOptional<z.
|
|
285
|
-
step: z.ZodOptional<z.
|
|
286
|
-
total: z.ZodOptional<z.
|
|
287
|
-
readOnly: z.ZodOptional<z.
|
|
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>>>;
|
|
288
288
|
}, {
|
|
289
|
-
valueReference: z.
|
|
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>>>;
|
|
290
290
|
}>, "strip", z.ZodTypeAny, {
|
|
291
291
|
type?: "number" | "percentage" | undefined;
|
|
292
292
|
total?: number | undefined;
|
|
@@ -300,91 +300,116 @@ export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
300
300
|
readOnly?: boolean | undefined;
|
|
301
301
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
302
302
|
}, {
|
|
303
|
-
type?: "number" | "percentage" | undefined;
|
|
304
|
-
total?: number | undefined;
|
|
303
|
+
type?: "number" | "percentage" | null | undefined;
|
|
304
|
+
total?: number | null | undefined;
|
|
305
305
|
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;
|
|
306
|
+
text?: string | null | undefined;
|
|
307
|
+
maximumValue?: number | null | undefined;
|
|
308
|
+
minimumValue?: number | null | undefined;
|
|
309
|
+
exclusiveMaximum?: number | null | undefined;
|
|
310
|
+
exclusiveMinimum?: number | null | undefined;
|
|
311
|
+
step?: number | null | undefined;
|
|
312
|
+
readOnly?: boolean | null | undefined;
|
|
313
313
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
314
314
|
}>;
|
|
315
315
|
export declare const taskItemOptionsSchema: z.ZodObject<{
|
|
316
|
-
hideCode: z.ZodOptional<z.
|
|
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>>>;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
318
|
hideCode?: boolean | undefined;
|
|
319
319
|
}, {
|
|
320
|
-
hideCode?: boolean | undefined;
|
|
320
|
+
hideCode?: boolean | null | undefined;
|
|
321
321
|
}>;
|
|
322
322
|
export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
323
323
|
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
324
324
|
title: z.ZodString;
|
|
325
325
|
code: z.ZodString;
|
|
326
|
-
tags: z.ZodOptional<z.
|
|
327
|
-
documentation: z.
|
|
328
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
329
|
-
label: z.ZodString;
|
|
330
|
-
text: z.ZodString;
|
|
331
|
-
}, {
|
|
332
|
-
type: z.ZodLiteral<"pdf">;
|
|
333
|
-
url: z.ZodString;
|
|
334
|
-
}>, "strip", z.ZodTypeAny, {
|
|
326
|
+
tags: z.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<({
|
|
335
328
|
type: "pdf";
|
|
336
329
|
url: string;
|
|
337
330
|
label: string;
|
|
338
331
|
text: string;
|
|
339
|
-
}
|
|
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, ({
|
|
340
342
|
type: "pdf";
|
|
341
343
|
url: string;
|
|
342
344
|
label: string;
|
|
343
345
|
text: string;
|
|
344
|
-
}
|
|
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, {
|
|
346
|
+
} | {
|
|
351
347
|
type: "text";
|
|
352
348
|
label: string;
|
|
353
349
|
text: string;
|
|
354
|
-
}
|
|
350
|
+
} | {
|
|
351
|
+
type: "link";
|
|
352
|
+
url: string;
|
|
353
|
+
label: string;
|
|
354
|
+
text: string;
|
|
355
|
+
})[]>>>, ({
|
|
356
|
+
type: "pdf";
|
|
357
|
+
url: string;
|
|
358
|
+
label: string;
|
|
359
|
+
text: string;
|
|
360
|
+
} | {
|
|
355
361
|
type: "text";
|
|
356
362
|
label: string;
|
|
357
363
|
text: string;
|
|
358
|
-
}
|
|
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, {
|
|
364
|
+
} | {
|
|
366
365
|
type: "link";
|
|
367
366
|
url: string;
|
|
368
367
|
label: string;
|
|
369
368
|
text: string;
|
|
370
|
-
}, {
|
|
369
|
+
})[] | undefined, ({
|
|
370
|
+
type: "pdf";
|
|
371
|
+
url: string;
|
|
372
|
+
label: string;
|
|
373
|
+
text: string;
|
|
374
|
+
} | {
|
|
375
|
+
type: "text";
|
|
376
|
+
label: string;
|
|
377
|
+
text: string;
|
|
378
|
+
} | {
|
|
371
379
|
type: "link";
|
|
372
380
|
url: string;
|
|
373
381
|
label: string;
|
|
374
382
|
text: string;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
text:
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
383
|
+
})[] | null | undefined>, z.ZodOptional<z.ZodType<({
|
|
384
|
+
type: "pdf";
|
|
385
|
+
url: string;
|
|
386
|
+
label: string;
|
|
387
|
+
text: string;
|
|
388
|
+
} | {
|
|
389
|
+
type: "text";
|
|
390
|
+
label: string;
|
|
391
|
+
text: string;
|
|
392
|
+
} | {
|
|
393
|
+
type: "link";
|
|
394
|
+
url: string;
|
|
395
|
+
label: string;
|
|
396
|
+
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
|
+
} | {
|
|
407
|
+
type: "link";
|
|
408
|
+
url: string;
|
|
409
|
+
label: string;
|
|
410
|
+
text: string;
|
|
411
|
+
})[]>>>;
|
|
412
|
+
data: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
388
413
|
type?: "number" | "percentage" | undefined;
|
|
389
414
|
total?: number | undefined;
|
|
390
415
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -395,7 +420,18 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
395
420
|
exclusiveMinimum?: number | undefined;
|
|
396
421
|
step?: number | undefined;
|
|
397
422
|
readOnly?: boolean | undefined;
|
|
398
|
-
}, {
|
|
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
|
+
}>>>, {
|
|
399
435
|
type?: "number" | "percentage" | undefined;
|
|
400
436
|
total?: number | undefined;
|
|
401
437
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -406,24 +442,44 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
406
442
|
exclusiveMinimum?: number | undefined;
|
|
407
443
|
step?: number | undefined;
|
|
408
444
|
readOnly?: boolean | undefined;
|
|
409
|
-
}
|
|
410
|
-
|
|
445
|
+
} | undefined, {
|
|
446
|
+
type?: "number" | "percentage" | null | undefined;
|
|
447
|
+
total?: number | null | undefined;
|
|
448
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
449
|
+
text?: string | null | undefined;
|
|
450
|
+
maximumValue?: number | null | undefined;
|
|
451
|
+
minimumValue?: number | null | undefined;
|
|
452
|
+
exclusiveMaximum?: number | null | undefined;
|
|
453
|
+
exclusiveMinimum?: number | null | undefined;
|
|
454
|
+
step?: number | null | undefined;
|
|
455
|
+
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, {
|
|
468
|
+
type?: "number" | "percentage" | null | undefined;
|
|
469
|
+
total?: number | null | undefined;
|
|
470
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
471
|
+
text?: string | null | undefined;
|
|
472
|
+
maximumValue?: number | null | undefined;
|
|
473
|
+
minimumValue?: number | null | undefined;
|
|
474
|
+
exclusiveMaximum?: number | null | undefined;
|
|
475
|
+
exclusiveMinimum?: number | null | undefined;
|
|
476
|
+
step?: number | null | undefined;
|
|
477
|
+
readOnly?: boolean | null | undefined;
|
|
478
|
+
}>>>;
|
|
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>>>;
|
|
411
480
|
}, {
|
|
412
481
|
type: z.ZodLiteral<"task-item">;
|
|
413
|
-
data: z.
|
|
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, {
|
|
482
|
+
data: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
427
483
|
type?: "number" | "percentage" | undefined;
|
|
428
484
|
total?: number | undefined;
|
|
429
485
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -435,7 +491,19 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
435
491
|
step?: number | undefined;
|
|
436
492
|
readOnly?: boolean | undefined;
|
|
437
493
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
438
|
-
}, {
|
|
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
|
+
}>>>, {
|
|
439
507
|
type?: "number" | "percentage" | undefined;
|
|
440
508
|
total?: number | undefined;
|
|
441
509
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -447,16 +515,52 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
447
515
|
step?: number | undefined;
|
|
448
516
|
readOnly?: boolean | undefined;
|
|
449
517
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
450
|
-
}
|
|
518
|
+
} | undefined, {
|
|
519
|
+
type?: "number" | "percentage" | null | undefined;
|
|
520
|
+
total?: number | null | undefined;
|
|
521
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
522
|
+
text?: string | null | undefined;
|
|
523
|
+
maximumValue?: number | null | undefined;
|
|
524
|
+
minimumValue?: number | null | undefined;
|
|
525
|
+
exclusiveMaximum?: number | null | undefined;
|
|
526
|
+
exclusiveMinimum?: number | null | undefined;
|
|
527
|
+
step?: number | null | undefined;
|
|
528
|
+
readOnly?: boolean | null | undefined;
|
|
529
|
+
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, {
|
|
543
|
+
type?: "number" | "percentage" | null | undefined;
|
|
544
|
+
total?: number | null | undefined;
|
|
545
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
546
|
+
text?: string | null | undefined;
|
|
547
|
+
maximumValue?: number | null | undefined;
|
|
548
|
+
minimumValue?: number | null | undefined;
|
|
549
|
+
exclusiveMaximum?: number | null | undefined;
|
|
550
|
+
exclusiveMinimum?: number | null | undefined;
|
|
551
|
+
step?: number | null | undefined;
|
|
552
|
+
readOnly?: boolean | null | undefined;
|
|
553
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
554
|
+
}>>>;
|
|
451
555
|
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
452
556
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
453
557
|
}, {
|
|
454
558
|
type: z.ZodLiteral<"select-single">;
|
|
455
559
|
options: z.ZodArray<z.ZodObject<{
|
|
456
|
-
id: z.ZodOptional<z.
|
|
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>>>;
|
|
457
561
|
text: z.ZodString;
|
|
458
|
-
intro: z.ZodOptional<z.
|
|
459
|
-
outro: z.ZodOptional<z.
|
|
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>>>;
|
|
460
564
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
461
565
|
}, "strip", z.ZodTypeAny, {
|
|
462
566
|
value: string | number | boolean | null;
|
|
@@ -467,9 +571,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
467
571
|
}, {
|
|
468
572
|
value: string | number | boolean | null;
|
|
469
573
|
text: string;
|
|
470
|
-
id?: string | undefined;
|
|
471
|
-
intro?: string | undefined;
|
|
472
|
-
outro?: string | undefined;
|
|
574
|
+
id?: string | null | undefined;
|
|
575
|
+
intro?: string | null | undefined;
|
|
576
|
+
outro?: string | null | undefined;
|
|
473
577
|
}>, "many">;
|
|
474
578
|
}>, "strip", z.ZodTypeAny, {
|
|
475
579
|
type: "select-single";
|
|
@@ -485,19 +589,19 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
485
589
|
options: {
|
|
486
590
|
value: string | number | boolean | null;
|
|
487
591
|
text: string;
|
|
488
|
-
id?: string | undefined;
|
|
489
|
-
intro?: string | undefined;
|
|
490
|
-
outro?: string | undefined;
|
|
592
|
+
id?: string | null | undefined;
|
|
593
|
+
intro?: string | null | undefined;
|
|
594
|
+
outro?: string | null | undefined;
|
|
491
595
|
}[];
|
|
492
596
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
493
597
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
494
598
|
}, {
|
|
495
599
|
type: z.ZodLiteral<"select-multiple">;
|
|
496
600
|
options: z.ZodArray<z.ZodObject<{
|
|
497
|
-
id: z.ZodOptional<z.
|
|
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>>>;
|
|
498
602
|
text: z.ZodString;
|
|
499
|
-
intro: z.ZodOptional<z.
|
|
500
|
-
outro: z.ZodOptional<z.
|
|
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>>>;
|
|
501
605
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
502
606
|
}, "strip", z.ZodTypeAny, {
|
|
503
607
|
value: string | number | boolean | null;
|
|
@@ -508,9 +612,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
508
612
|
}, {
|
|
509
613
|
value: string | number | boolean | null;
|
|
510
614
|
text: string;
|
|
511
|
-
id?: string | undefined;
|
|
512
|
-
intro?: string | undefined;
|
|
513
|
-
outro?: string | undefined;
|
|
615
|
+
id?: string | null | undefined;
|
|
616
|
+
intro?: string | null | undefined;
|
|
617
|
+
outro?: string | null | undefined;
|
|
514
618
|
}>, "many">;
|
|
515
619
|
}>, "strip", z.ZodTypeAny, {
|
|
516
620
|
type: "select-multiple";
|
|
@@ -526,17 +630,17 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
526
630
|
options: {
|
|
527
631
|
value: string | number | boolean | null;
|
|
528
632
|
text: string;
|
|
529
|
-
id?: string | undefined;
|
|
530
|
-
intro?: string | undefined;
|
|
531
|
-
outro?: string | undefined;
|
|
633
|
+
id?: string | null | undefined;
|
|
634
|
+
intro?: string | null | undefined;
|
|
635
|
+
outro?: string | null | undefined;
|
|
532
636
|
}[];
|
|
533
637
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
534
638
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
535
639
|
}, {
|
|
536
640
|
type: z.ZodLiteral<"number">;
|
|
537
|
-
minimum: z.ZodOptional<z.
|
|
538
|
-
maximum: z.ZodOptional<z.
|
|
539
|
-
step: z.ZodOptional<z.
|
|
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>>>;
|
|
540
644
|
}>, "strip", z.ZodTypeAny, {
|
|
541
645
|
type: "number";
|
|
542
646
|
minimum?: number | undefined;
|
|
@@ -544,9 +648,9 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
544
648
|
step?: number | undefined;
|
|
545
649
|
}, {
|
|
546
650
|
type: "number";
|
|
547
|
-
minimum?: number | undefined;
|
|
548
|
-
maximum?: number | undefined;
|
|
549
|
-
step?: number | undefined;
|
|
651
|
+
minimum?: number | null | undefined;
|
|
652
|
+
maximum?: number | null | undefined;
|
|
653
|
+
step?: number | null | undefined;
|
|
550
654
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
551
655
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
552
656
|
}, {
|
|
@@ -574,16 +678,22 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
574
678
|
true: string;
|
|
575
679
|
} | undefined;
|
|
576
680
|
}>]>;
|
|
577
|
-
description: z.ZodOptional<z.
|
|
578
|
-
providedData: z.
|
|
579
|
-
valueReference: z.
|
|
580
|
-
options: z.ZodOptional<z.
|
|
581
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
583
685
|
hideCode?: boolean | undefined;
|
|
584
|
-
}, {
|
|
686
|
+
}, z.ZodTypeDef, {
|
|
687
|
+
hideCode?: boolean | null | undefined;
|
|
688
|
+
}>>>, {
|
|
585
689
|
hideCode?: boolean | undefined;
|
|
586
|
-
}
|
|
690
|
+
} | undefined, {
|
|
691
|
+
hideCode?: boolean | null | undefined;
|
|
692
|
+
} | null | undefined>, z.ZodOptional<z.ZodType<{
|
|
693
|
+
hideCode?: boolean | undefined;
|
|
694
|
+
}, z.ZodTypeDef, {
|
|
695
|
+
hideCode?: boolean | null | undefined;
|
|
696
|
+
}>>>;
|
|
587
697
|
}>, "title">, "strip", z.ZodTypeAny, {
|
|
588
698
|
type: "task-item";
|
|
589
699
|
code: string;
|
|
@@ -661,24 +771,24 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
661
771
|
options: {
|
|
662
772
|
value: string | number | boolean | null;
|
|
663
773
|
text: string;
|
|
664
|
-
id?: string | undefined;
|
|
665
|
-
intro?: string | undefined;
|
|
666
|
-
outro?: string | undefined;
|
|
774
|
+
id?: string | null | undefined;
|
|
775
|
+
intro?: string | null | undefined;
|
|
776
|
+
outro?: string | null | undefined;
|
|
667
777
|
}[];
|
|
668
778
|
} | {
|
|
669
779
|
type: "select-multiple";
|
|
670
780
|
options: {
|
|
671
781
|
value: string | number | boolean | null;
|
|
672
782
|
text: string;
|
|
673
|
-
id?: string | undefined;
|
|
674
|
-
intro?: string | undefined;
|
|
675
|
-
outro?: string | undefined;
|
|
783
|
+
id?: string | null | undefined;
|
|
784
|
+
intro?: string | null | undefined;
|
|
785
|
+
outro?: string | null | undefined;
|
|
676
786
|
}[];
|
|
677
787
|
} | {
|
|
678
788
|
type: "number";
|
|
679
|
-
minimum?: number | undefined;
|
|
680
|
-
maximum?: number | undefined;
|
|
681
|
-
step?: number | undefined;
|
|
789
|
+
minimum?: number | null | undefined;
|
|
790
|
+
maximum?: number | null | undefined;
|
|
791
|
+
step?: number | null | undefined;
|
|
682
792
|
} | {
|
|
683
793
|
type: "boolean";
|
|
684
794
|
labels?: {
|
|
@@ -687,23 +797,23 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
687
797
|
} | undefined;
|
|
688
798
|
};
|
|
689
799
|
data?: {
|
|
690
|
-
type?: "number" | "percentage" | undefined;
|
|
691
|
-
total?: number | undefined;
|
|
800
|
+
type?: "number" | "percentage" | null | undefined;
|
|
801
|
+
total?: number | null | undefined;
|
|
692
802
|
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;
|
|
803
|
+
text?: string | null | undefined;
|
|
804
|
+
maximumValue?: number | null | undefined;
|
|
805
|
+
minimumValue?: number | null | undefined;
|
|
806
|
+
exclusiveMaximum?: number | null | undefined;
|
|
807
|
+
exclusiveMinimum?: number | null | undefined;
|
|
808
|
+
step?: number | null | undefined;
|
|
809
|
+
readOnly?: boolean | null | undefined;
|
|
700
810
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
701
|
-
} | undefined;
|
|
811
|
+
} | null | undefined;
|
|
702
812
|
options?: {
|
|
703
|
-
hideCode?: boolean | undefined;
|
|
704
|
-
} | undefined;
|
|
705
|
-
description?: string | undefined;
|
|
706
|
-
tags?: string[] | undefined;
|
|
813
|
+
hideCode?: boolean | null | undefined;
|
|
814
|
+
} | null | undefined;
|
|
815
|
+
description?: string | null | undefined;
|
|
816
|
+
tags?: string[] | null | undefined;
|
|
707
817
|
documentation?: ({
|
|
708
818
|
type: "pdf";
|
|
709
819
|
url: string;
|
|
@@ -718,8 +828,8 @@ export declare const taskItemSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
718
828
|
url: string;
|
|
719
829
|
label: string;
|
|
720
830
|
text: string;
|
|
721
|
-
})[] | undefined;
|
|
722
|
-
sortOrder?: number | undefined;
|
|
831
|
+
})[] | null | undefined;
|
|
832
|
+
sortOrder?: number | null | undefined;
|
|
723
833
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
724
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
834
|
+
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null | undefined;
|
|
725
835
|
}>;
|