@openframe-org/criteria-set-protocol 2.0.0 → 2.0.2
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/README.md +34 -27
- package/dist/index.d.ts +1 -1
- package/dist/v1/errors/DataValidationError.d.ts +1 -1
- package/dist/v1/errors/DataValidationError.js +1 -1
- package/dist/v1/errors/ParameterValidationError.d.ts +1 -1
- package/dist/v1/errors/ParameterValidationError.js +1 -1
- package/dist/v1/errors/ValidationError.d.ts +1 -1
- package/dist/v1/errors/ValidationError.js +1 -1
- package/dist/v1/errors/index.d.ts +4 -4
- package/dist/v1/errors/types.d.ts +1 -1
- package/dist/v1/index.d.ts +5 -5
- package/dist/v1/schemas/certification.d.ts +1 -1
- package/dist/v1/schemas/certification.js +19 -13
- package/dist/v1/schemas/common.d.ts +13 -11
- package/dist/v1/schemas/common.js +27 -11
- package/dist/v1/schemas/criteria-tree.d.ts +377 -365
- package/dist/v1/schemas/criteria-tree.js +13 -5
- package/dist/v1/schemas/criterion.d.ts +70 -68
- package/dist/v1/schemas/criterion.js +4 -4
- package/dist/v1/schemas/data-map.d.ts +1 -1
- package/dist/v1/schemas/data-map.js +1 -1
- package/dist/v1/schemas/documentation.d.ts +1 -1
- package/dist/v1/schemas/documentation.js +9 -5
- package/dist/v1/schemas/index.d.ts +13 -13
- package/dist/v1/schemas/metadata.d.ts +1 -1
- package/dist/v1/schemas/metadata.js +6 -6
- package/dist/v1/schemas/quality.d.ts +469 -141
- package/dist/v1/schemas/quality.js +7 -7
- package/dist/v1/schemas/request/criteria-set-id-param-schema.d.ts +1 -1
- package/dist/v1/schemas/request/criteria-set-id-param-schema.js +3 -2
- package/dist/v1/schemas/request/index.d.ts +4 -4
- package/dist/v1/schemas/request/matrix-body-schema.d.ts +1 -1
- package/dist/v1/schemas/request/matrix-body-schema.js +5 -3
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +1 -1
- package/dist/v1/schemas/request/matrix-request-body-schema.js +8 -6
- package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +1 -1
- package/dist/v1/schemas/request/tree-and-data-body-schema.js +5 -3
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +1 -1
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +7 -5
- package/dist/v1/schemas/request/version-param-schema.d.ts +1 -1
- package/dist/v1/schemas/request/version-param-schema.js +3 -2
- package/dist/v1/schemas/response.d.ts +2 -2
- package/dist/v1/schemas/response.js +1 -1
- package/dist/v1/schemas/task-group.d.ts +49 -47
- package/dist/v1/schemas/task-group.js +5 -5
- package/dist/v1/schemas/task-item.d.ts +25 -24
- package/dist/v1/schemas/task-item.js +30 -36
- package/dist/v1/schemas/task.d.ts +32 -30
- package/dist/v1/schemas/task.js +4 -4
- package/dist/v1/schemas/theme.d.ts +95 -93
- package/dist/v1/schemas/theme.js +4 -4
- package/dist/v1/services/i-criteria-set.service.d.ts +1 -1
- package/dist/v1/services/index.d.ts +2 -2
- package/dist/v1/services/manager.service.js +4 -1
- package/dist/v1/types/criteria.d.ts +2 -2
- package/dist/v1/types/express.d.ts +3 -3
- package/dist/v1/types/index.d.ts +2 -2
- package/dist/v1/utils.d.ts +38 -38
- package/dist/v1/utils.js +6 -6
- package/package.json +11 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare const colorSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3
3
|
red: z.ZodNumber;
|
|
4
4
|
green: z.ZodNumber;
|
|
@@ -67,12 +67,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
67
67
|
title: z.ZodString;
|
|
68
68
|
code: z.ZodString;
|
|
69
69
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
70
|
-
documentation: z.ZodOptional<z.ZodArray<z.
|
|
71
|
-
type: z.
|
|
70
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
71
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
72
72
|
label: z.ZodString;
|
|
73
|
-
url: z.ZodString;
|
|
74
73
|
text: z.ZodString;
|
|
75
|
-
},
|
|
74
|
+
}, {
|
|
75
|
+
type: z.ZodLiteral<"pdf">;
|
|
76
|
+
url: z.ZodString;
|
|
77
|
+
}>, "strip", z.ZodTypeAny, {
|
|
76
78
|
type: "pdf";
|
|
77
79
|
url: string;
|
|
78
80
|
label: string;
|
|
@@ -82,11 +84,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
82
84
|
url: string;
|
|
83
85
|
label: string;
|
|
84
86
|
text: string;
|
|
85
|
-
}>, z.ZodObject<{
|
|
86
|
-
type: z.
|
|
87
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
88
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
87
89
|
label: z.ZodString;
|
|
88
90
|
text: z.ZodString;
|
|
89
|
-
},
|
|
91
|
+
}, {
|
|
92
|
+
type: z.ZodLiteral<"text">;
|
|
93
|
+
}>, "strip", z.ZodTypeAny, {
|
|
90
94
|
type: "text";
|
|
91
95
|
label: string;
|
|
92
96
|
text: string;
|
|
@@ -94,12 +98,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
94
98
|
type: "text";
|
|
95
99
|
label: string;
|
|
96
100
|
text: string;
|
|
97
|
-
}>, z.ZodObject<{
|
|
98
|
-
type: z.
|
|
101
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
102
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
99
103
|
label: z.ZodString;
|
|
100
|
-
url: z.ZodString;
|
|
101
104
|
text: z.ZodString;
|
|
102
|
-
},
|
|
105
|
+
}, {
|
|
106
|
+
type: z.ZodLiteral<"link">;
|
|
107
|
+
url: z.ZodString;
|
|
108
|
+
}>, "strip", z.ZodTypeAny, {
|
|
103
109
|
type: "link";
|
|
104
110
|
url: string;
|
|
105
111
|
label: string;
|
|
@@ -162,17 +168,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
162
168
|
blue: number;
|
|
163
169
|
};
|
|
164
170
|
}>>;
|
|
165
|
-
items: z.ZodArray<z.ZodObject<{
|
|
166
|
-
type: z.
|
|
171
|
+
items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
172
|
+
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
167
173
|
title: z.ZodString;
|
|
168
174
|
code: z.ZodString;
|
|
169
175
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
170
|
-
documentation: z.ZodOptional<z.ZodArray<z.
|
|
171
|
-
type: z.
|
|
176
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
177
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
172
178
|
label: z.ZodString;
|
|
173
|
-
url: z.ZodString;
|
|
174
179
|
text: z.ZodString;
|
|
175
|
-
},
|
|
180
|
+
}, {
|
|
181
|
+
type: z.ZodLiteral<"pdf">;
|
|
182
|
+
url: z.ZodString;
|
|
183
|
+
}>, "strip", z.ZodTypeAny, {
|
|
176
184
|
type: "pdf";
|
|
177
185
|
url: string;
|
|
178
186
|
label: string;
|
|
@@ -182,11 +190,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
182
190
|
url: string;
|
|
183
191
|
label: string;
|
|
184
192
|
text: string;
|
|
185
|
-
}>, z.ZodObject<{
|
|
186
|
-
type: z.
|
|
193
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
194
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
187
195
|
label: z.ZodString;
|
|
188
196
|
text: z.ZodString;
|
|
189
|
-
},
|
|
197
|
+
}, {
|
|
198
|
+
type: z.ZodLiteral<"text">;
|
|
199
|
+
}>, "strip", z.ZodTypeAny, {
|
|
190
200
|
type: "text";
|
|
191
201
|
label: string;
|
|
192
202
|
text: string;
|
|
@@ -194,12 +204,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
194
204
|
type: "text";
|
|
195
205
|
label: string;
|
|
196
206
|
text: string;
|
|
197
|
-
}>, z.ZodObject<{
|
|
198
|
-
type: z.
|
|
207
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
208
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
199
209
|
label: z.ZodString;
|
|
200
|
-
url: z.ZodString;
|
|
201
210
|
text: z.ZodString;
|
|
202
|
-
},
|
|
211
|
+
}, {
|
|
212
|
+
type: z.ZodLiteral<"link">;
|
|
213
|
+
url: z.ZodString;
|
|
214
|
+
}>, "strip", z.ZodTypeAny, {
|
|
203
215
|
type: "link";
|
|
204
216
|
url: string;
|
|
205
217
|
label: string;
|
|
@@ -210,19 +222,32 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
210
222
|
label: string;
|
|
211
223
|
text: string;
|
|
212
224
|
}>]>, "many">>;
|
|
213
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny
|
|
225
|
+
data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
226
|
+
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">]>>;
|
|
227
|
+
text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
230
|
+
text?: string | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
233
|
+
text?: string | undefined;
|
|
234
|
+
}>>>;
|
|
214
235
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
215
|
-
|
|
216
|
-
|
|
236
|
+
}, {
|
|
237
|
+
type: z.ZodLiteral<"criterion">;
|
|
238
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
|
239
|
+
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
217
240
|
title: z.ZodString;
|
|
218
241
|
code: z.ZodString;
|
|
219
242
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
220
|
-
documentation: z.ZodOptional<z.ZodArray<z.
|
|
221
|
-
type: z.
|
|
243
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
244
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
222
245
|
label: z.ZodString;
|
|
223
|
-
url: z.ZodString;
|
|
224
246
|
text: z.ZodString;
|
|
225
|
-
},
|
|
247
|
+
}, {
|
|
248
|
+
type: z.ZodLiteral<"pdf">;
|
|
249
|
+
url: z.ZodString;
|
|
250
|
+
}>, "strip", z.ZodTypeAny, {
|
|
226
251
|
type: "pdf";
|
|
227
252
|
url: string;
|
|
228
253
|
label: string;
|
|
@@ -232,11 +257,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
232
257
|
url: string;
|
|
233
258
|
label: string;
|
|
234
259
|
text: string;
|
|
235
|
-
}>, z.ZodObject<{
|
|
236
|
-
type: z.
|
|
260
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
261
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
237
262
|
label: z.ZodString;
|
|
238
263
|
text: z.ZodString;
|
|
239
|
-
},
|
|
264
|
+
}, {
|
|
265
|
+
type: z.ZodLiteral<"text">;
|
|
266
|
+
}>, "strip", z.ZodTypeAny, {
|
|
240
267
|
type: "text";
|
|
241
268
|
label: string;
|
|
242
269
|
text: string;
|
|
@@ -244,12 +271,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
244
271
|
type: "text";
|
|
245
272
|
label: string;
|
|
246
273
|
text: string;
|
|
247
|
-
}>, z.ZodObject<{
|
|
248
|
-
type: z.
|
|
274
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
275
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
249
276
|
label: z.ZodString;
|
|
250
|
-
url: z.ZodString;
|
|
251
277
|
text: z.ZodString;
|
|
252
|
-
},
|
|
278
|
+
}, {
|
|
279
|
+
type: z.ZodLiteral<"link">;
|
|
280
|
+
url: z.ZodString;
|
|
281
|
+
}>, "strip", z.ZodTypeAny, {
|
|
253
282
|
type: "link";
|
|
254
283
|
url: string;
|
|
255
284
|
label: string;
|
|
@@ -260,20 +289,33 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
260
289
|
label: string;
|
|
261
290
|
text: string;
|
|
262
291
|
}>]>, "many">>;
|
|
263
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny
|
|
292
|
+
data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
293
|
+
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">]>>;
|
|
294
|
+
text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
297
|
+
text?: string | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
300
|
+
text?: string | undefined;
|
|
301
|
+
}>>>;
|
|
264
302
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
}, {
|
|
304
|
+
type: z.ZodLiteral<"task-group">;
|
|
265
305
|
category: z.ZodOptional<z.ZodString>;
|
|
266
|
-
items: z.ZodArray<z.ZodObject<{
|
|
267
|
-
type: z.
|
|
306
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
|
307
|
+
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
268
308
|
title: z.ZodString;
|
|
269
309
|
code: z.ZodString;
|
|
270
310
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
271
|
-
documentation: z.ZodOptional<z.ZodArray<z.
|
|
272
|
-
type: z.
|
|
311
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
312
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
273
313
|
label: z.ZodString;
|
|
274
|
-
url: z.ZodString;
|
|
275
314
|
text: z.ZodString;
|
|
276
|
-
},
|
|
315
|
+
}, {
|
|
316
|
+
type: z.ZodLiteral<"pdf">;
|
|
317
|
+
url: z.ZodString;
|
|
318
|
+
}>, "strip", z.ZodTypeAny, {
|
|
277
319
|
type: "pdf";
|
|
278
320
|
url: string;
|
|
279
321
|
label: string;
|
|
@@ -283,11 +325,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
283
325
|
url: string;
|
|
284
326
|
label: string;
|
|
285
327
|
text: string;
|
|
286
|
-
}>, z.ZodObject<{
|
|
287
|
-
type: z.
|
|
328
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
329
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
288
330
|
label: z.ZodString;
|
|
289
331
|
text: z.ZodString;
|
|
290
|
-
},
|
|
332
|
+
}, {
|
|
333
|
+
type: z.ZodLiteral<"text">;
|
|
334
|
+
}>, "strip", z.ZodTypeAny, {
|
|
291
335
|
type: "text";
|
|
292
336
|
label: string;
|
|
293
337
|
text: string;
|
|
@@ -295,12 +339,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
295
339
|
type: "text";
|
|
296
340
|
label: string;
|
|
297
341
|
text: string;
|
|
298
|
-
}>, z.ZodObject<{
|
|
299
|
-
type: z.
|
|
342
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
343
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
300
344
|
label: z.ZodString;
|
|
301
|
-
url: z.ZodString;
|
|
302
345
|
text: z.ZodString;
|
|
303
|
-
},
|
|
346
|
+
}, {
|
|
347
|
+
type: z.ZodLiteral<"link">;
|
|
348
|
+
url: z.ZodString;
|
|
349
|
+
}>, "strip", z.ZodTypeAny, {
|
|
304
350
|
type: "link";
|
|
305
351
|
url: string;
|
|
306
352
|
label: string;
|
|
@@ -311,19 +357,33 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
311
357
|
label: string;
|
|
312
358
|
text: string;
|
|
313
359
|
}>]>, "many">>;
|
|
314
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny
|
|
360
|
+
data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
361
|
+
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">]>>;
|
|
362
|
+
text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
365
|
+
text?: string | undefined;
|
|
366
|
+
}, {
|
|
367
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
368
|
+
text?: string | undefined;
|
|
369
|
+
}>>>;
|
|
315
370
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
}, {
|
|
372
|
+
type: z.ZodLiteral<"task">;
|
|
316
373
|
description: z.ZodOptional<z.ZodString>;
|
|
317
|
-
items: z.ZodArray<z.ZodObject<{
|
|
318
|
-
type: z.
|
|
374
|
+
items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
|
375
|
+
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
376
|
+
title: z.ZodString;
|
|
319
377
|
code: z.ZodString;
|
|
320
378
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
321
|
-
documentation: z.ZodOptional<z.ZodArray<z.
|
|
322
|
-
type: z.
|
|
379
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
380
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
323
381
|
label: z.ZodString;
|
|
324
|
-
url: z.ZodString;
|
|
325
382
|
text: z.ZodString;
|
|
326
|
-
},
|
|
383
|
+
}, {
|
|
384
|
+
type: z.ZodLiteral<"pdf">;
|
|
385
|
+
url: z.ZodString;
|
|
386
|
+
}>, "strip", z.ZodTypeAny, {
|
|
327
387
|
type: "pdf";
|
|
328
388
|
url: string;
|
|
329
389
|
label: string;
|
|
@@ -333,11 +393,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
333
393
|
url: string;
|
|
334
394
|
label: string;
|
|
335
395
|
text: string;
|
|
336
|
-
}>, z.ZodObject<{
|
|
337
|
-
type: z.
|
|
396
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
397
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
338
398
|
label: z.ZodString;
|
|
339
399
|
text: z.ZodString;
|
|
340
|
-
},
|
|
400
|
+
}, {
|
|
401
|
+
type: z.ZodLiteral<"text">;
|
|
402
|
+
}>, "strip", z.ZodTypeAny, {
|
|
341
403
|
type: "text";
|
|
342
404
|
label: string;
|
|
343
405
|
text: string;
|
|
@@ -345,12 +407,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
345
407
|
type: "text";
|
|
346
408
|
label: string;
|
|
347
409
|
text: string;
|
|
348
|
-
}>, z.ZodObject<{
|
|
349
|
-
type: z.
|
|
410
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
411
|
+
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
350
412
|
label: z.ZodString;
|
|
351
|
-
url: z.ZodString;
|
|
352
413
|
text: z.ZodString;
|
|
353
|
-
},
|
|
414
|
+
}, {
|
|
415
|
+
type: z.ZodLiteral<"link">;
|
|
416
|
+
url: z.ZodString;
|
|
417
|
+
}>, "strip", z.ZodTypeAny, {
|
|
354
418
|
type: "link";
|
|
355
419
|
url: string;
|
|
356
420
|
label: string;
|
|
@@ -361,9 +425,35 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
361
425
|
label: string;
|
|
362
426
|
text: string;
|
|
363
427
|
}>]>, "many">>;
|
|
364
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny
|
|
428
|
+
data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
429
|
+
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">]>>;
|
|
430
|
+
text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
433
|
+
text?: string | undefined;
|
|
434
|
+
}, {
|
|
435
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
436
|
+
text?: string | undefined;
|
|
437
|
+
}>>>;
|
|
365
438
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
366
|
-
|
|
439
|
+
}, {
|
|
440
|
+
type: z.ZodLiteral<"task-item">;
|
|
441
|
+
data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
442
|
+
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">]>>;
|
|
443
|
+
text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
444
|
+
valueReference: z.ZodOptional<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">]>>>;
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
447
|
+
text?: string | undefined;
|
|
448
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
449
|
+
}, {
|
|
450
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
451
|
+
text?: string | undefined;
|
|
452
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
453
|
+
}>>>;
|
|
454
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
455
|
+
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
456
|
+
}, {
|
|
367
457
|
type: z.ZodLiteral<"select-single">;
|
|
368
458
|
options: z.ZodArray<z.ZodObject<{
|
|
369
459
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -384,7 +474,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
384
474
|
intro?: string | undefined;
|
|
385
475
|
outro?: string | undefined;
|
|
386
476
|
}>, "many">;
|
|
387
|
-
}
|
|
477
|
+
}>, "strip", z.ZodTypeAny, {
|
|
388
478
|
type: "select-single";
|
|
389
479
|
options: {
|
|
390
480
|
value: string | number | boolean | null;
|
|
@@ -402,7 +492,9 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
402
492
|
intro?: string | undefined;
|
|
403
493
|
outro?: string | undefined;
|
|
404
494
|
}[];
|
|
405
|
-
}>, z.ZodObject<{
|
|
495
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
496
|
+
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
497
|
+
}, {
|
|
406
498
|
type: z.ZodLiteral<"select-multiple">;
|
|
407
499
|
options: z.ZodArray<z.ZodObject<{
|
|
408
500
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -423,7 +515,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
423
515
|
intro?: string | undefined;
|
|
424
516
|
outro?: string | undefined;
|
|
425
517
|
}>, "many">;
|
|
426
|
-
}
|
|
518
|
+
}>, "strip", z.ZodTypeAny, {
|
|
427
519
|
type: "select-multiple";
|
|
428
520
|
options: {
|
|
429
521
|
value: string | number | boolean | null;
|
|
@@ -441,12 +533,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
441
533
|
intro?: string | undefined;
|
|
442
534
|
outro?: string | undefined;
|
|
443
535
|
}[];
|
|
444
|
-
}>, z.ZodObject<{
|
|
536
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
537
|
+
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
538
|
+
}, {
|
|
445
539
|
type: z.ZodLiteral<"number">;
|
|
446
540
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
447
541
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
448
542
|
step: z.ZodOptional<z.ZodNumber>;
|
|
449
|
-
}
|
|
543
|
+
}>, "strip", z.ZodTypeAny, {
|
|
450
544
|
type: "number";
|
|
451
545
|
minimum?: number | undefined;
|
|
452
546
|
maximum?: number | undefined;
|
|
@@ -456,36 +550,46 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
456
550
|
minimum?: number | undefined;
|
|
457
551
|
maximum?: number | undefined;
|
|
458
552
|
step?: number | undefined;
|
|
459
|
-
}>, z.ZodObject<{
|
|
553
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
554
|
+
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
555
|
+
}, {
|
|
460
556
|
type: z.ZodLiteral<"boolean">;
|
|
461
557
|
labels: z.ZodOptional<z.ZodObject<{
|
|
462
|
-
true: z.
|
|
463
|
-
false: z.
|
|
558
|
+
true: z.ZodString;
|
|
559
|
+
false: z.ZodString;
|
|
464
560
|
}, "strip", z.ZodTypeAny, {
|
|
465
|
-
false
|
|
466
|
-
true
|
|
561
|
+
false: string;
|
|
562
|
+
true: string;
|
|
467
563
|
}, {
|
|
468
|
-
false
|
|
469
|
-
true
|
|
564
|
+
false: string;
|
|
565
|
+
true: string;
|
|
470
566
|
}>>;
|
|
471
|
-
}
|
|
567
|
+
}>, "strip", z.ZodTypeAny, {
|
|
472
568
|
type: "boolean";
|
|
473
569
|
labels?: {
|
|
474
|
-
false
|
|
475
|
-
true
|
|
570
|
+
false: string;
|
|
571
|
+
true: string;
|
|
476
572
|
} | undefined;
|
|
477
573
|
}, {
|
|
478
574
|
type: "boolean";
|
|
479
575
|
labels?: {
|
|
480
|
-
false
|
|
481
|
-
true
|
|
576
|
+
false: string;
|
|
577
|
+
true: string;
|
|
482
578
|
} | undefined;
|
|
483
579
|
}>]>;
|
|
484
580
|
description: z.ZodOptional<z.ZodString>;
|
|
485
581
|
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">]>>>;
|
|
486
|
-
|
|
582
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
hideCode?: boolean | undefined;
|
|
586
|
+
}, {
|
|
587
|
+
hideCode?: boolean | undefined;
|
|
588
|
+
}>>;
|
|
589
|
+
}>, "strip", z.ZodTypeAny, {
|
|
487
590
|
type: "task-item";
|
|
488
591
|
code: string;
|
|
592
|
+
title: string;
|
|
489
593
|
definition: {
|
|
490
594
|
type: "select-single";
|
|
491
595
|
options: {
|
|
@@ -512,11 +616,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
512
616
|
} | {
|
|
513
617
|
type: "boolean";
|
|
514
618
|
labels?: {
|
|
515
|
-
false
|
|
516
|
-
true
|
|
619
|
+
false: string;
|
|
620
|
+
true: string;
|
|
517
621
|
} | undefined;
|
|
518
622
|
};
|
|
519
|
-
data?: Record<string, any>
|
|
623
|
+
data?: (Record<string, any> & {
|
|
624
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
625
|
+
text?: string | undefined;
|
|
626
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
627
|
+
}) | undefined;
|
|
628
|
+
options?: {
|
|
629
|
+
hideCode?: boolean | undefined;
|
|
630
|
+
} | undefined;
|
|
520
631
|
description?: string | undefined;
|
|
521
632
|
tags?: string[] | undefined;
|
|
522
633
|
documentation?: ({
|
|
@@ -539,6 +650,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
539
650
|
}, {
|
|
540
651
|
type: "task-item";
|
|
541
652
|
code: string;
|
|
653
|
+
title: string;
|
|
542
654
|
definition: {
|
|
543
655
|
type: "select-single";
|
|
544
656
|
options: {
|
|
@@ -565,11 +677,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
565
677
|
} | {
|
|
566
678
|
type: "boolean";
|
|
567
679
|
labels?: {
|
|
568
|
-
false
|
|
569
|
-
true
|
|
680
|
+
false: string;
|
|
681
|
+
true: string;
|
|
570
682
|
} | undefined;
|
|
571
683
|
};
|
|
572
|
-
data?: Record<string, any>
|
|
684
|
+
data?: (Record<string, any> & {
|
|
685
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
686
|
+
text?: string | undefined;
|
|
687
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
688
|
+
}) | undefined;
|
|
689
|
+
options?: {
|
|
690
|
+
hideCode?: boolean | undefined;
|
|
691
|
+
} | undefined;
|
|
573
692
|
description?: string | undefined;
|
|
574
693
|
tags?: string[] | undefined;
|
|
575
694
|
documentation?: ({
|
|
@@ -589,14 +708,22 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
589
708
|
})[] | undefined;
|
|
590
709
|
sortOrder?: number | undefined;
|
|
591
710
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
592
|
-
}
|
|
593
|
-
|
|
711
|
+
}>>, "many">;
|
|
712
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
713
|
+
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
hideCode?: boolean | undefined;
|
|
716
|
+
}, {
|
|
717
|
+
hideCode?: boolean | undefined;
|
|
718
|
+
}>>;
|
|
719
|
+
}>, "strip", z.ZodTypeAny, {
|
|
594
720
|
type: "task";
|
|
595
721
|
code: string;
|
|
596
722
|
title: string;
|
|
597
723
|
items: {
|
|
598
724
|
type: "task-item";
|
|
599
725
|
code: string;
|
|
726
|
+
title: string;
|
|
600
727
|
definition: {
|
|
601
728
|
type: "select-single";
|
|
602
729
|
options: {
|
|
@@ -623,11 +750,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
623
750
|
} | {
|
|
624
751
|
type: "boolean";
|
|
625
752
|
labels?: {
|
|
626
|
-
false
|
|
627
|
-
true
|
|
753
|
+
false: string;
|
|
754
|
+
true: string;
|
|
628
755
|
} | undefined;
|
|
629
756
|
};
|
|
630
|
-
data?: Record<string, any>
|
|
757
|
+
data?: (Record<string, any> & {
|
|
758
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
759
|
+
text?: string | undefined;
|
|
760
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
761
|
+
}) | undefined;
|
|
762
|
+
options?: {
|
|
763
|
+
hideCode?: boolean | undefined;
|
|
764
|
+
} | undefined;
|
|
631
765
|
description?: string | undefined;
|
|
632
766
|
tags?: string[] | undefined;
|
|
633
767
|
documentation?: ({
|
|
@@ -648,7 +782,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
648
782
|
sortOrder?: number | undefined;
|
|
649
783
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
650
784
|
}[];
|
|
651
|
-
data?: Record<string, any>
|
|
785
|
+
data?: (Record<string, any> & {
|
|
786
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
787
|
+
text?: string | undefined;
|
|
788
|
+
}) | undefined;
|
|
789
|
+
options?: {
|
|
790
|
+
hideCode?: boolean | undefined;
|
|
791
|
+
} | undefined;
|
|
652
792
|
description?: string | undefined;
|
|
653
793
|
tags?: string[] | undefined;
|
|
654
794
|
documentation?: ({
|
|
@@ -674,6 +814,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
674
814
|
items: {
|
|
675
815
|
type: "task-item";
|
|
676
816
|
code: string;
|
|
817
|
+
title: string;
|
|
677
818
|
definition: {
|
|
678
819
|
type: "select-single";
|
|
679
820
|
options: {
|
|
@@ -700,11 +841,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
700
841
|
} | {
|
|
701
842
|
type: "boolean";
|
|
702
843
|
labels?: {
|
|
703
|
-
false
|
|
704
|
-
true
|
|
844
|
+
false: string;
|
|
845
|
+
true: string;
|
|
705
846
|
} | undefined;
|
|
706
847
|
};
|
|
707
|
-
data?: Record<string, any>
|
|
848
|
+
data?: (Record<string, any> & {
|
|
849
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
850
|
+
text?: string | undefined;
|
|
851
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
852
|
+
}) | undefined;
|
|
853
|
+
options?: {
|
|
854
|
+
hideCode?: boolean | undefined;
|
|
855
|
+
} | undefined;
|
|
708
856
|
description?: string | undefined;
|
|
709
857
|
tags?: string[] | undefined;
|
|
710
858
|
documentation?: ({
|
|
@@ -725,7 +873,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
725
873
|
sortOrder?: number | undefined;
|
|
726
874
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
727
875
|
}[];
|
|
728
|
-
data?: Record<string, any>
|
|
876
|
+
data?: (Record<string, any> & {
|
|
877
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
878
|
+
text?: string | undefined;
|
|
879
|
+
}) | undefined;
|
|
880
|
+
options?: {
|
|
881
|
+
hideCode?: boolean | undefined;
|
|
882
|
+
} | undefined;
|
|
729
883
|
description?: string | undefined;
|
|
730
884
|
tags?: string[] | undefined;
|
|
731
885
|
documentation?: ({
|
|
@@ -744,8 +898,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
744
898
|
text: string;
|
|
745
899
|
})[] | undefined;
|
|
746
900
|
sortOrder?: number | undefined;
|
|
747
|
-
}
|
|
748
|
-
|
|
901
|
+
}>>, "many">;
|
|
902
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
904
|
+
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
905
|
+
}, "strip", z.ZodTypeAny, {
|
|
906
|
+
hideCode?: boolean | undefined;
|
|
907
|
+
hideFromHierarchy?: boolean | undefined;
|
|
908
|
+
}, {
|
|
909
|
+
hideCode?: boolean | undefined;
|
|
910
|
+
hideFromHierarchy?: boolean | undefined;
|
|
911
|
+
}>>;
|
|
912
|
+
}>, "strip", z.ZodTypeAny, {
|
|
749
913
|
type: "task-group";
|
|
750
914
|
code: string;
|
|
751
915
|
title: string;
|
|
@@ -756,6 +920,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
756
920
|
items: {
|
|
757
921
|
type: "task-item";
|
|
758
922
|
code: string;
|
|
923
|
+
title: string;
|
|
759
924
|
definition: {
|
|
760
925
|
type: "select-single";
|
|
761
926
|
options: {
|
|
@@ -782,11 +947,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
782
947
|
} | {
|
|
783
948
|
type: "boolean";
|
|
784
949
|
labels?: {
|
|
785
|
-
false
|
|
786
|
-
true
|
|
950
|
+
false: string;
|
|
951
|
+
true: string;
|
|
787
952
|
} | undefined;
|
|
788
953
|
};
|
|
789
|
-
data?: Record<string, any>
|
|
954
|
+
data?: (Record<string, any> & {
|
|
955
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
956
|
+
text?: string | undefined;
|
|
957
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
958
|
+
}) | undefined;
|
|
959
|
+
options?: {
|
|
960
|
+
hideCode?: boolean | undefined;
|
|
961
|
+
} | undefined;
|
|
790
962
|
description?: string | undefined;
|
|
791
963
|
tags?: string[] | undefined;
|
|
792
964
|
documentation?: ({
|
|
@@ -807,7 +979,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
807
979
|
sortOrder?: number | undefined;
|
|
808
980
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
809
981
|
}[];
|
|
810
|
-
data?: Record<string, any>
|
|
982
|
+
data?: (Record<string, any> & {
|
|
983
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
984
|
+
text?: string | undefined;
|
|
985
|
+
}) | undefined;
|
|
986
|
+
options?: {
|
|
987
|
+
hideCode?: boolean | undefined;
|
|
988
|
+
} | undefined;
|
|
811
989
|
description?: string | undefined;
|
|
812
990
|
tags?: string[] | undefined;
|
|
813
991
|
documentation?: ({
|
|
@@ -827,7 +1005,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
827
1005
|
})[] | undefined;
|
|
828
1006
|
sortOrder?: number | undefined;
|
|
829
1007
|
}[];
|
|
830
|
-
data?: Record<string, any>
|
|
1008
|
+
data?: (Record<string, any> & {
|
|
1009
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1010
|
+
text?: string | undefined;
|
|
1011
|
+
}) | undefined;
|
|
1012
|
+
options?: {
|
|
1013
|
+
hideCode?: boolean | undefined;
|
|
1014
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1015
|
+
} | undefined;
|
|
831
1016
|
tags?: string[] | undefined;
|
|
832
1017
|
documentation?: ({
|
|
833
1018
|
type: "pdf";
|
|
@@ -857,6 +1042,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
857
1042
|
items: {
|
|
858
1043
|
type: "task-item";
|
|
859
1044
|
code: string;
|
|
1045
|
+
title: string;
|
|
860
1046
|
definition: {
|
|
861
1047
|
type: "select-single";
|
|
862
1048
|
options: {
|
|
@@ -883,11 +1069,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
883
1069
|
} | {
|
|
884
1070
|
type: "boolean";
|
|
885
1071
|
labels?: {
|
|
886
|
-
false
|
|
887
|
-
true
|
|
1072
|
+
false: string;
|
|
1073
|
+
true: string;
|
|
888
1074
|
} | undefined;
|
|
889
1075
|
};
|
|
890
|
-
data?: Record<string, any>
|
|
1076
|
+
data?: (Record<string, any> & {
|
|
1077
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1078
|
+
text?: string | undefined;
|
|
1079
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1080
|
+
}) | undefined;
|
|
1081
|
+
options?: {
|
|
1082
|
+
hideCode?: boolean | undefined;
|
|
1083
|
+
} | undefined;
|
|
891
1084
|
description?: string | undefined;
|
|
892
1085
|
tags?: string[] | undefined;
|
|
893
1086
|
documentation?: ({
|
|
@@ -908,7 +1101,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
908
1101
|
sortOrder?: number | undefined;
|
|
909
1102
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
910
1103
|
}[];
|
|
911
|
-
data?: Record<string, any>
|
|
1104
|
+
data?: (Record<string, any> & {
|
|
1105
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1106
|
+
text?: string | undefined;
|
|
1107
|
+
}) | undefined;
|
|
1108
|
+
options?: {
|
|
1109
|
+
hideCode?: boolean | undefined;
|
|
1110
|
+
} | undefined;
|
|
912
1111
|
description?: string | undefined;
|
|
913
1112
|
tags?: string[] | undefined;
|
|
914
1113
|
documentation?: ({
|
|
@@ -928,7 +1127,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
928
1127
|
})[] | undefined;
|
|
929
1128
|
sortOrder?: number | undefined;
|
|
930
1129
|
}[];
|
|
931
|
-
data?: Record<string, any>
|
|
1130
|
+
data?: (Record<string, any> & {
|
|
1131
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1132
|
+
text?: string | undefined;
|
|
1133
|
+
}) | undefined;
|
|
1134
|
+
options?: {
|
|
1135
|
+
hideCode?: boolean | undefined;
|
|
1136
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1137
|
+
} | undefined;
|
|
932
1138
|
tags?: string[] | undefined;
|
|
933
1139
|
documentation?: ({
|
|
934
1140
|
type: "pdf";
|
|
@@ -947,8 +1153,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
947
1153
|
})[] | undefined;
|
|
948
1154
|
sortOrder?: number | undefined;
|
|
949
1155
|
category?: string | undefined;
|
|
950
|
-
}
|
|
951
|
-
|
|
1156
|
+
}>>, "many">;
|
|
1157
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1158
|
+
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
1159
|
+
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
1160
|
+
}, "strip", z.ZodTypeAny, {
|
|
1161
|
+
hideCode?: boolean | undefined;
|
|
1162
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1163
|
+
}, {
|
|
1164
|
+
hideCode?: boolean | undefined;
|
|
1165
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1166
|
+
}>>;
|
|
1167
|
+
}>, "strip", z.ZodTypeAny, {
|
|
952
1168
|
type: "criterion";
|
|
953
1169
|
code: string;
|
|
954
1170
|
title: string;
|
|
@@ -963,6 +1179,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
963
1179
|
items: {
|
|
964
1180
|
type: "task-item";
|
|
965
1181
|
code: string;
|
|
1182
|
+
title: string;
|
|
966
1183
|
definition: {
|
|
967
1184
|
type: "select-single";
|
|
968
1185
|
options: {
|
|
@@ -989,11 +1206,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
989
1206
|
} | {
|
|
990
1207
|
type: "boolean";
|
|
991
1208
|
labels?: {
|
|
992
|
-
false
|
|
993
|
-
true
|
|
1209
|
+
false: string;
|
|
1210
|
+
true: string;
|
|
994
1211
|
} | undefined;
|
|
995
1212
|
};
|
|
996
|
-
data?: Record<string, any>
|
|
1213
|
+
data?: (Record<string, any> & {
|
|
1214
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1215
|
+
text?: string | undefined;
|
|
1216
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1217
|
+
}) | undefined;
|
|
1218
|
+
options?: {
|
|
1219
|
+
hideCode?: boolean | undefined;
|
|
1220
|
+
} | undefined;
|
|
997
1221
|
description?: string | undefined;
|
|
998
1222
|
tags?: string[] | undefined;
|
|
999
1223
|
documentation?: ({
|
|
@@ -1014,7 +1238,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1014
1238
|
sortOrder?: number | undefined;
|
|
1015
1239
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1016
1240
|
}[];
|
|
1017
|
-
data?: Record<string, any>
|
|
1241
|
+
data?: (Record<string, any> & {
|
|
1242
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1243
|
+
text?: string | undefined;
|
|
1244
|
+
}) | undefined;
|
|
1245
|
+
options?: {
|
|
1246
|
+
hideCode?: boolean | undefined;
|
|
1247
|
+
} | undefined;
|
|
1018
1248
|
description?: string | undefined;
|
|
1019
1249
|
tags?: string[] | undefined;
|
|
1020
1250
|
documentation?: ({
|
|
@@ -1034,7 +1264,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1034
1264
|
})[] | undefined;
|
|
1035
1265
|
sortOrder?: number | undefined;
|
|
1036
1266
|
}[];
|
|
1037
|
-
data?: Record<string, any>
|
|
1267
|
+
data?: (Record<string, any> & {
|
|
1268
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1269
|
+
text?: string | undefined;
|
|
1270
|
+
}) | undefined;
|
|
1271
|
+
options?: {
|
|
1272
|
+
hideCode?: boolean | undefined;
|
|
1273
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1274
|
+
} | undefined;
|
|
1038
1275
|
tags?: string[] | undefined;
|
|
1039
1276
|
documentation?: ({
|
|
1040
1277
|
type: "pdf";
|
|
@@ -1054,7 +1291,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1054
1291
|
sortOrder?: number | undefined;
|
|
1055
1292
|
category?: string | undefined;
|
|
1056
1293
|
}[];
|
|
1057
|
-
data?: Record<string, any>
|
|
1294
|
+
data?: (Record<string, any> & {
|
|
1295
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1296
|
+
text?: string | undefined;
|
|
1297
|
+
}) | undefined;
|
|
1298
|
+
options?: {
|
|
1299
|
+
hideCode?: boolean | undefined;
|
|
1300
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1301
|
+
} | undefined;
|
|
1058
1302
|
tags?: string[] | undefined;
|
|
1059
1303
|
documentation?: ({
|
|
1060
1304
|
type: "pdf";
|
|
@@ -1087,6 +1331,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1087
1331
|
items: {
|
|
1088
1332
|
type: "task-item";
|
|
1089
1333
|
code: string;
|
|
1334
|
+
title: string;
|
|
1090
1335
|
definition: {
|
|
1091
1336
|
type: "select-single";
|
|
1092
1337
|
options: {
|
|
@@ -1113,11 +1358,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1113
1358
|
} | {
|
|
1114
1359
|
type: "boolean";
|
|
1115
1360
|
labels?: {
|
|
1116
|
-
false
|
|
1117
|
-
true
|
|
1361
|
+
false: string;
|
|
1362
|
+
true: string;
|
|
1118
1363
|
} | undefined;
|
|
1119
1364
|
};
|
|
1120
|
-
data?: Record<string, any>
|
|
1365
|
+
data?: (Record<string, any> & {
|
|
1366
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1367
|
+
text?: string | undefined;
|
|
1368
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1369
|
+
}) | undefined;
|
|
1370
|
+
options?: {
|
|
1371
|
+
hideCode?: boolean | undefined;
|
|
1372
|
+
} | undefined;
|
|
1121
1373
|
description?: string | undefined;
|
|
1122
1374
|
tags?: string[] | undefined;
|
|
1123
1375
|
documentation?: ({
|
|
@@ -1138,7 +1390,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1138
1390
|
sortOrder?: number | undefined;
|
|
1139
1391
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1140
1392
|
}[];
|
|
1141
|
-
data?: Record<string, any>
|
|
1393
|
+
data?: (Record<string, any> & {
|
|
1394
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1395
|
+
text?: string | undefined;
|
|
1396
|
+
}) | undefined;
|
|
1397
|
+
options?: {
|
|
1398
|
+
hideCode?: boolean | undefined;
|
|
1399
|
+
} | undefined;
|
|
1142
1400
|
description?: string | undefined;
|
|
1143
1401
|
tags?: string[] | undefined;
|
|
1144
1402
|
documentation?: ({
|
|
@@ -1158,7 +1416,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1158
1416
|
})[] | undefined;
|
|
1159
1417
|
sortOrder?: number | undefined;
|
|
1160
1418
|
}[];
|
|
1161
|
-
data?: Record<string, any>
|
|
1419
|
+
data?: (Record<string, any> & {
|
|
1420
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1421
|
+
text?: string | undefined;
|
|
1422
|
+
}) | undefined;
|
|
1423
|
+
options?: {
|
|
1424
|
+
hideCode?: boolean | undefined;
|
|
1425
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1426
|
+
} | undefined;
|
|
1162
1427
|
tags?: string[] | undefined;
|
|
1163
1428
|
documentation?: ({
|
|
1164
1429
|
type: "pdf";
|
|
@@ -1178,7 +1443,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1178
1443
|
sortOrder?: number | undefined;
|
|
1179
1444
|
category?: string | undefined;
|
|
1180
1445
|
}[];
|
|
1181
|
-
data?: Record<string, any>
|
|
1446
|
+
data?: (Record<string, any> & {
|
|
1447
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1448
|
+
text?: string | undefined;
|
|
1449
|
+
}) | undefined;
|
|
1450
|
+
options?: {
|
|
1451
|
+
hideCode?: boolean | undefined;
|
|
1452
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1453
|
+
} | undefined;
|
|
1182
1454
|
tags?: string[] | undefined;
|
|
1183
1455
|
documentation?: ({
|
|
1184
1456
|
type: "pdf";
|
|
@@ -1216,6 +1488,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1216
1488
|
items: {
|
|
1217
1489
|
type: "task-item";
|
|
1218
1490
|
code: string;
|
|
1491
|
+
title: string;
|
|
1219
1492
|
definition: {
|
|
1220
1493
|
type: "select-single";
|
|
1221
1494
|
options: {
|
|
@@ -1242,11 +1515,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1242
1515
|
} | {
|
|
1243
1516
|
type: "boolean";
|
|
1244
1517
|
labels?: {
|
|
1245
|
-
false
|
|
1246
|
-
true
|
|
1518
|
+
false: string;
|
|
1519
|
+
true: string;
|
|
1247
1520
|
} | undefined;
|
|
1248
1521
|
};
|
|
1249
|
-
data?: Record<string, any>
|
|
1522
|
+
data?: (Record<string, any> & {
|
|
1523
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1524
|
+
text?: string | undefined;
|
|
1525
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1526
|
+
}) | undefined;
|
|
1527
|
+
options?: {
|
|
1528
|
+
hideCode?: boolean | undefined;
|
|
1529
|
+
} | undefined;
|
|
1250
1530
|
description?: string | undefined;
|
|
1251
1531
|
tags?: string[] | undefined;
|
|
1252
1532
|
documentation?: ({
|
|
@@ -1267,7 +1547,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1267
1547
|
sortOrder?: number | undefined;
|
|
1268
1548
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1269
1549
|
}[];
|
|
1270
|
-
data?: Record<string, any>
|
|
1550
|
+
data?: (Record<string, any> & {
|
|
1551
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1552
|
+
text?: string | undefined;
|
|
1553
|
+
}) | undefined;
|
|
1554
|
+
options?: {
|
|
1555
|
+
hideCode?: boolean | undefined;
|
|
1556
|
+
} | undefined;
|
|
1271
1557
|
description?: string | undefined;
|
|
1272
1558
|
tags?: string[] | undefined;
|
|
1273
1559
|
documentation?: ({
|
|
@@ -1287,7 +1573,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1287
1573
|
})[] | undefined;
|
|
1288
1574
|
sortOrder?: number | undefined;
|
|
1289
1575
|
}[];
|
|
1290
|
-
data?: Record<string, any>
|
|
1576
|
+
data?: (Record<string, any> & {
|
|
1577
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1578
|
+
text?: string | undefined;
|
|
1579
|
+
}) | undefined;
|
|
1580
|
+
options?: {
|
|
1581
|
+
hideCode?: boolean | undefined;
|
|
1582
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1583
|
+
} | undefined;
|
|
1291
1584
|
tags?: string[] | undefined;
|
|
1292
1585
|
documentation?: ({
|
|
1293
1586
|
type: "pdf";
|
|
@@ -1307,7 +1600,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1307
1600
|
sortOrder?: number | undefined;
|
|
1308
1601
|
category?: string | undefined;
|
|
1309
1602
|
}[];
|
|
1310
|
-
data?: Record<string, any>
|
|
1603
|
+
data?: (Record<string, any> & {
|
|
1604
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1605
|
+
text?: string | undefined;
|
|
1606
|
+
}) | undefined;
|
|
1607
|
+
options?: {
|
|
1608
|
+
hideCode?: boolean | undefined;
|
|
1609
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1610
|
+
} | undefined;
|
|
1311
1611
|
tags?: string[] | undefined;
|
|
1312
1612
|
documentation?: ({
|
|
1313
1613
|
type: "pdf";
|
|
@@ -1375,6 +1675,7 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1375
1675
|
items: {
|
|
1376
1676
|
type: "task-item";
|
|
1377
1677
|
code: string;
|
|
1678
|
+
title: string;
|
|
1378
1679
|
definition: {
|
|
1379
1680
|
type: "select-single";
|
|
1380
1681
|
options: {
|
|
@@ -1401,11 +1702,18 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1401
1702
|
} | {
|
|
1402
1703
|
type: "boolean";
|
|
1403
1704
|
labels?: {
|
|
1404
|
-
false
|
|
1405
|
-
true
|
|
1705
|
+
false: string;
|
|
1706
|
+
true: string;
|
|
1406
1707
|
} | undefined;
|
|
1407
1708
|
};
|
|
1408
|
-
data?: Record<string, any>
|
|
1709
|
+
data?: (Record<string, any> & {
|
|
1710
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1711
|
+
text?: string | undefined;
|
|
1712
|
+
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1713
|
+
}) | undefined;
|
|
1714
|
+
options?: {
|
|
1715
|
+
hideCode?: boolean | undefined;
|
|
1716
|
+
} | undefined;
|
|
1409
1717
|
description?: string | undefined;
|
|
1410
1718
|
tags?: string[] | undefined;
|
|
1411
1719
|
documentation?: ({
|
|
@@ -1426,7 +1734,13 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1426
1734
|
sortOrder?: number | undefined;
|
|
1427
1735
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1428
1736
|
}[];
|
|
1429
|
-
data?: Record<string, any>
|
|
1737
|
+
data?: (Record<string, any> & {
|
|
1738
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1739
|
+
text?: string | undefined;
|
|
1740
|
+
}) | undefined;
|
|
1741
|
+
options?: {
|
|
1742
|
+
hideCode?: boolean | undefined;
|
|
1743
|
+
} | undefined;
|
|
1430
1744
|
description?: string | undefined;
|
|
1431
1745
|
tags?: string[] | undefined;
|
|
1432
1746
|
documentation?: ({
|
|
@@ -1446,7 +1760,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1446
1760
|
})[] | undefined;
|
|
1447
1761
|
sortOrder?: number | undefined;
|
|
1448
1762
|
}[];
|
|
1449
|
-
data?: Record<string, any>
|
|
1763
|
+
data?: (Record<string, any> & {
|
|
1764
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1765
|
+
text?: string | undefined;
|
|
1766
|
+
}) | undefined;
|
|
1767
|
+
options?: {
|
|
1768
|
+
hideCode?: boolean | undefined;
|
|
1769
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1770
|
+
} | undefined;
|
|
1450
1771
|
tags?: string[] | undefined;
|
|
1451
1772
|
documentation?: ({
|
|
1452
1773
|
type: "pdf";
|
|
@@ -1466,7 +1787,14 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1466
1787
|
sortOrder?: number | undefined;
|
|
1467
1788
|
category?: string | undefined;
|
|
1468
1789
|
}[];
|
|
1469
|
-
data?: Record<string, any>
|
|
1790
|
+
data?: (Record<string, any> & {
|
|
1791
|
+
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1792
|
+
text?: string | undefined;
|
|
1793
|
+
}) | undefined;
|
|
1794
|
+
options?: {
|
|
1795
|
+
hideCode?: boolean | undefined;
|
|
1796
|
+
hideFromHierarchy?: boolean | undefined;
|
|
1797
|
+
} | undefined;
|
|
1470
1798
|
tags?: string[] | undefined;
|
|
1471
1799
|
documentation?: ({
|
|
1472
1800
|
type: "pdf";
|