@openframe-org/criteria-set-protocol 2.0.27 → 2.0.29
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 +12 -16
- package/dist/v1/schemas/common.d.ts +9 -12
- package/dist/v1/schemas/criteria-tree.d.ts +369 -661
- package/dist/v1/schemas/criterion.d.ts +69 -119
- package/dist/v1/schemas/documentation.d.ts +18 -24
- package/dist/v1/schemas/task-group.d.ts +55 -103
- package/dist/v1/schemas/task-group.js +1 -0
- package/dist/v1/schemas/task-item.d.ts +55 -106
- package/dist/v1/schemas/task.d.ts +40 -87
- package/dist/v1/schemas/theme.d.ts +83 -135
- package/package.json +5 -5
|
@@ -19,11 +19,10 @@ export declare const pointOptionSchema: z.ZodObject<{
|
|
|
19
19
|
intro?: string | undefined;
|
|
20
20
|
outro?: string | undefined;
|
|
21
21
|
}>;
|
|
22
|
-
export declare const selectSingleTypeSchema: z.ZodObject<
|
|
23
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
22
|
+
export declare const selectSingleTypeSchema: z.ZodObject<{
|
|
24
23
|
label: z.ZodOptional<z.ZodString>;
|
|
25
24
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
-
}
|
|
25
|
+
} & {
|
|
27
26
|
type: z.ZodLiteral<"select-single">;
|
|
28
27
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
29
28
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -47,7 +46,7 @@ export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
47
46
|
outro?: string | undefined;
|
|
48
47
|
}>, "many">;
|
|
49
48
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
50
|
type: "select-single";
|
|
52
51
|
options: {
|
|
53
52
|
value: string | number | boolean | null;
|
|
@@ -76,11 +75,10 @@ export declare const selectSingleTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
76
75
|
defaultValue?: string | undefined;
|
|
77
76
|
readOnly?: boolean | undefined;
|
|
78
77
|
}>;
|
|
79
|
-
export declare const selectMultipleTypeSchema: z.ZodObject<
|
|
80
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
78
|
+
export declare const selectMultipleTypeSchema: z.ZodObject<{
|
|
81
79
|
label: z.ZodOptional<z.ZodString>;
|
|
82
80
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
-
}
|
|
81
|
+
} & {
|
|
84
82
|
type: z.ZodLiteral<"select-multiple">;
|
|
85
83
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
86
84
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -104,7 +102,7 @@ export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
104
102
|
outro?: string | undefined;
|
|
105
103
|
}>, "many">;
|
|
106
104
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
|
-
}
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
106
|
type: "select-multiple";
|
|
109
107
|
options: {
|
|
110
108
|
value: string | number | boolean | null;
|
|
@@ -133,17 +131,16 @@ export declare const selectMultipleTypeSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
133
131
|
defaultValue?: string[] | undefined;
|
|
134
132
|
readOnly?: boolean | undefined;
|
|
135
133
|
}>;
|
|
136
|
-
export declare const numberTypeSchema: z.ZodObject<
|
|
137
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
134
|
+
export declare const numberTypeSchema: z.ZodObject<{
|
|
138
135
|
label: z.ZodOptional<z.ZodString>;
|
|
139
136
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
-
}
|
|
137
|
+
} & {
|
|
141
138
|
type: z.ZodLiteral<"number">;
|
|
142
139
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
143
140
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
144
141
|
step: z.ZodOptional<z.ZodNumber>;
|
|
145
142
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
}
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
144
|
type: "number";
|
|
148
145
|
label?: string | undefined;
|
|
149
146
|
minimum?: number | undefined;
|
|
@@ -160,11 +157,10 @@ export declare const numberTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
160
157
|
step?: number | undefined;
|
|
161
158
|
readOnly?: boolean | undefined;
|
|
162
159
|
}>;
|
|
163
|
-
export declare const booleanTypeSchema: z.ZodObject<
|
|
164
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
160
|
+
export declare const booleanTypeSchema: z.ZodObject<{
|
|
165
161
|
label: z.ZodOptional<z.ZodString>;
|
|
166
162
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
}
|
|
163
|
+
} & {
|
|
168
164
|
type: z.ZodLiteral<"boolean">;
|
|
169
165
|
labels: z.ZodOptional<z.ZodObject<{
|
|
170
166
|
true: z.ZodString;
|
|
@@ -177,7 +173,7 @@ export declare const booleanTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
177
173
|
true: string;
|
|
178
174
|
}>>;
|
|
179
175
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
180
|
-
}
|
|
176
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
177
|
type: "boolean";
|
|
182
178
|
label?: string | undefined;
|
|
183
179
|
labels?: {
|
|
@@ -196,11 +192,10 @@ export declare const booleanTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
196
192
|
defaultValue?: boolean | undefined;
|
|
197
193
|
readOnly?: boolean | undefined;
|
|
198
194
|
}>;
|
|
199
|
-
export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
200
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
195
|
+
export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
201
196
|
label: z.ZodOptional<z.ZodString>;
|
|
202
197
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
-
}
|
|
198
|
+
} & {
|
|
204
199
|
type: z.ZodLiteral<"select-single">;
|
|
205
200
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
206
201
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -224,7 +219,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
224
219
|
outro?: string | undefined;
|
|
225
220
|
}>, "many">;
|
|
226
221
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
227
|
-
}
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
223
|
type: "select-single";
|
|
229
224
|
options: {
|
|
230
225
|
value: string | number | boolean | null;
|
|
@@ -252,11 +247,10 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
252
247
|
maximum?: number | undefined;
|
|
253
248
|
defaultValue?: string | undefined;
|
|
254
249
|
readOnly?: boolean | undefined;
|
|
255
|
-
}>, z.ZodObject<
|
|
256
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
250
|
+
}>, z.ZodObject<{
|
|
257
251
|
label: z.ZodOptional<z.ZodString>;
|
|
258
252
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
-
}
|
|
253
|
+
} & {
|
|
260
254
|
type: z.ZodLiteral<"select-multiple">;
|
|
261
255
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
262
256
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -280,7 +274,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
280
274
|
outro?: string | undefined;
|
|
281
275
|
}>, "many">;
|
|
282
276
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
283
|
-
}
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
278
|
type: "select-multiple";
|
|
285
279
|
options: {
|
|
286
280
|
value: string | number | boolean | null;
|
|
@@ -308,17 +302,16 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
308
302
|
maximum?: number | undefined;
|
|
309
303
|
defaultValue?: string[] | undefined;
|
|
310
304
|
readOnly?: boolean | undefined;
|
|
311
|
-
}>, z.ZodObject<
|
|
312
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
305
|
+
}>, z.ZodObject<{
|
|
313
306
|
label: z.ZodOptional<z.ZodString>;
|
|
314
307
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
-
}
|
|
308
|
+
} & {
|
|
316
309
|
type: z.ZodLiteral<"number">;
|
|
317
310
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
318
311
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
319
312
|
step: z.ZodOptional<z.ZodNumber>;
|
|
320
313
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
321
|
-
}
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
315
|
type: "number";
|
|
323
316
|
label?: string | undefined;
|
|
324
317
|
minimum?: number | undefined;
|
|
@@ -334,11 +327,10 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
334
327
|
defaultValue?: number | undefined;
|
|
335
328
|
step?: number | undefined;
|
|
336
329
|
readOnly?: boolean | undefined;
|
|
337
|
-
}>, z.ZodObject<
|
|
338
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
330
|
+
}>, z.ZodObject<{
|
|
339
331
|
label: z.ZodOptional<z.ZodString>;
|
|
340
332
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
341
|
-
}
|
|
333
|
+
} & {
|
|
342
334
|
type: z.ZodLiteral<"boolean">;
|
|
343
335
|
labels: z.ZodOptional<z.ZodObject<{
|
|
344
336
|
true: z.ZodString;
|
|
@@ -351,7 +343,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
351
343
|
true: string;
|
|
352
344
|
}>>;
|
|
353
345
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
354
|
-
}
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
347
|
type: "boolean";
|
|
356
348
|
label?: string | undefined;
|
|
357
349
|
labels?: {
|
|
@@ -370,7 +362,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
370
362
|
defaultValue?: boolean | undefined;
|
|
371
363
|
readOnly?: boolean | undefined;
|
|
372
364
|
}>]>;
|
|
373
|
-
export declare const taskItemDataSchema: z.ZodObject<
|
|
365
|
+
export declare const taskItemDataSchema: z.ZodObject<{
|
|
374
366
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
375
367
|
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">]>>;
|
|
376
368
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -381,9 +373,9 @@ export declare const taskItemDataSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
381
373
|
step: z.ZodOptional<z.ZodNumber>;
|
|
382
374
|
total: z.ZodOptional<z.ZodNumber>;
|
|
383
375
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
-
}
|
|
376
|
+
} & {
|
|
385
377
|
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">]>>;
|
|
386
|
-
}
|
|
378
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
379
|
type?: "number" | "percentage" | undefined;
|
|
388
380
|
total?: number | undefined;
|
|
389
381
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -418,20 +410,17 @@ export declare const taskItemOptionsSchema: z.ZodObject<{
|
|
|
418
410
|
hideCode?: boolean | undefined;
|
|
419
411
|
excludeFromTargets?: boolean | undefined;
|
|
420
412
|
}>;
|
|
421
|
-
export declare const taskItemSchema: z.ZodObject<
|
|
422
|
-
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
423
|
-
title: z.ZodString;
|
|
424
|
-
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
413
|
+
export declare const taskItemSchema: z.ZodObject<{
|
|
425
414
|
code: z.ZodString;
|
|
415
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
426
416
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
427
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
428
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
417
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
429
418
|
label: z.ZodString;
|
|
430
419
|
text: z.ZodString;
|
|
431
|
-
}
|
|
420
|
+
} & {
|
|
432
421
|
type: z.ZodLiteral<"pdf">;
|
|
433
422
|
url: z.ZodString;
|
|
434
|
-
}
|
|
423
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
424
|
type: "pdf";
|
|
436
425
|
url: string;
|
|
437
426
|
label: string;
|
|
@@ -441,13 +430,12 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
441
430
|
url: string;
|
|
442
431
|
label: string;
|
|
443
432
|
text: string;
|
|
444
|
-
}>, z.ZodObject<
|
|
445
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
433
|
+
}>, z.ZodObject<{
|
|
446
434
|
label: z.ZodString;
|
|
447
435
|
text: z.ZodString;
|
|
448
|
-
}
|
|
436
|
+
} & {
|
|
449
437
|
type: z.ZodLiteral<"text">;
|
|
450
|
-
}
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
439
|
type: "text";
|
|
452
440
|
label: string;
|
|
453
441
|
text: string;
|
|
@@ -455,14 +443,13 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
455
443
|
type: "text";
|
|
456
444
|
label: string;
|
|
457
445
|
text: string;
|
|
458
|
-
}>, z.ZodObject<
|
|
459
|
-
type: z.ZodEnum<["pdf", "text", "link"]>;
|
|
446
|
+
}>, z.ZodObject<{
|
|
460
447
|
label: z.ZodString;
|
|
461
448
|
text: z.ZodString;
|
|
462
|
-
}
|
|
449
|
+
} & {
|
|
463
450
|
type: z.ZodLiteral<"link">;
|
|
464
451
|
url: z.ZodString;
|
|
465
|
-
}
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
453
|
type: "link";
|
|
467
454
|
url: string;
|
|
468
455
|
label: string;
|
|
@@ -473,44 +460,10 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
473
460
|
label: string;
|
|
474
461
|
text: string;
|
|
475
462
|
}>]>, "many">>;
|
|
476
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
477
|
-
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
478
|
-
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">]>>;
|
|
479
|
-
text: z.ZodOptional<z.ZodString>;
|
|
480
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
481
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
482
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
483
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
484
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
485
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
486
|
-
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
-
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
type?: "number" | "percentage" | undefined;
|
|
489
|
-
total?: number | undefined;
|
|
490
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
491
|
-
text?: string | undefined;
|
|
492
|
-
maximumValue?: number | undefined;
|
|
493
|
-
minimumValue?: number | undefined;
|
|
494
|
-
exclusiveMaximum?: number | undefined;
|
|
495
|
-
exclusiveMinimum?: number | undefined;
|
|
496
|
-
step?: number | undefined;
|
|
497
|
-
readOnly?: boolean | undefined;
|
|
498
|
-
}, {
|
|
499
|
-
type?: "number" | "percentage" | undefined;
|
|
500
|
-
total?: number | undefined;
|
|
501
|
-
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
502
|
-
text?: string | undefined;
|
|
503
|
-
maximumValue?: number | undefined;
|
|
504
|
-
minimumValue?: number | undefined;
|
|
505
|
-
exclusiveMaximum?: number | undefined;
|
|
506
|
-
exclusiveMinimum?: number | undefined;
|
|
507
|
-
step?: number | undefined;
|
|
508
|
-
readOnly?: boolean | undefined;
|
|
509
|
-
}>>;
|
|
510
463
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
511
|
-
}
|
|
464
|
+
} & {
|
|
512
465
|
type: z.ZodLiteral<"task-item">;
|
|
513
|
-
data: z.ZodOptional<z.ZodObject<
|
|
466
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
514
467
|
type: z.ZodOptional<z.ZodEnum<["percentage", "number"]>>;
|
|
515
468
|
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">]>>;
|
|
516
469
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -521,9 +474,9 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
521
474
|
step: z.ZodOptional<z.ZodNumber>;
|
|
522
475
|
total: z.ZodOptional<z.ZodNumber>;
|
|
523
476
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
524
|
-
}
|
|
477
|
+
} & {
|
|
525
478
|
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">]>>;
|
|
526
|
-
}
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
480
|
type?: "number" | "percentage" | undefined;
|
|
528
481
|
total?: number | undefined;
|
|
529
482
|
value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -548,11 +501,10 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
548
501
|
readOnly?: boolean | undefined;
|
|
549
502
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
550
503
|
}>>;
|
|
551
|
-
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
552
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
504
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
553
505
|
label: z.ZodOptional<z.ZodString>;
|
|
554
506
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
555
|
-
}
|
|
507
|
+
} & {
|
|
556
508
|
type: z.ZodLiteral<"select-single">;
|
|
557
509
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
558
510
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -576,7 +528,7 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
576
528
|
outro?: string | undefined;
|
|
577
529
|
}>, "many">;
|
|
578
530
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
579
|
-
}
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
532
|
type: "select-single";
|
|
581
533
|
options: {
|
|
582
534
|
value: string | number | boolean | null;
|
|
@@ -604,11 +556,10 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
604
556
|
maximum?: number | undefined;
|
|
605
557
|
defaultValue?: string | undefined;
|
|
606
558
|
readOnly?: boolean | undefined;
|
|
607
|
-
}>, z.ZodObject<
|
|
608
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
559
|
+
}>, z.ZodObject<{
|
|
609
560
|
label: z.ZodOptional<z.ZodString>;
|
|
610
561
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
}
|
|
562
|
+
} & {
|
|
612
563
|
type: z.ZodLiteral<"select-multiple">;
|
|
613
564
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
614
565
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -632,7 +583,7 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
632
583
|
outro?: string | undefined;
|
|
633
584
|
}>, "many">;
|
|
634
585
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
635
|
-
}
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
587
|
type: "select-multiple";
|
|
637
588
|
options: {
|
|
638
589
|
value: string | number | boolean | null;
|
|
@@ -660,17 +611,16 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
660
611
|
maximum?: number | undefined;
|
|
661
612
|
defaultValue?: string[] | undefined;
|
|
662
613
|
readOnly?: boolean | undefined;
|
|
663
|
-
}>, z.ZodObject<
|
|
664
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
614
|
+
}>, z.ZodObject<{
|
|
665
615
|
label: z.ZodOptional<z.ZodString>;
|
|
666
616
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
667
|
-
}
|
|
617
|
+
} & {
|
|
668
618
|
type: z.ZodLiteral<"number">;
|
|
669
619
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
670
620
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
671
621
|
step: z.ZodOptional<z.ZodNumber>;
|
|
672
622
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
673
|
-
}
|
|
623
|
+
}, "strip", z.ZodTypeAny, {
|
|
674
624
|
type: "number";
|
|
675
625
|
label?: string | undefined;
|
|
676
626
|
minimum?: number | undefined;
|
|
@@ -686,11 +636,10 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
686
636
|
defaultValue?: number | undefined;
|
|
687
637
|
step?: number | undefined;
|
|
688
638
|
readOnly?: boolean | undefined;
|
|
689
|
-
}>, z.ZodObject<
|
|
690
|
-
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
639
|
+
}>, z.ZodObject<{
|
|
691
640
|
label: z.ZodOptional<z.ZodString>;
|
|
692
641
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
693
|
-
}
|
|
642
|
+
} & {
|
|
694
643
|
type: z.ZodLiteral<"boolean">;
|
|
695
644
|
labels: z.ZodOptional<z.ZodObject<{
|
|
696
645
|
true: z.ZodString;
|
|
@@ -703,7 +652,7 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
703
652
|
true: string;
|
|
704
653
|
}>>;
|
|
705
654
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
706
|
-
}
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
707
656
|
type: "boolean";
|
|
708
657
|
label?: string | undefined;
|
|
709
658
|
labels?: {
|
|
@@ -734,7 +683,7 @@ export declare const taskItemSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
734
683
|
hideCode?: boolean | undefined;
|
|
735
684
|
excludeFromTargets?: boolean | undefined;
|
|
736
685
|
}>>;
|
|
737
|
-
}
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
687
|
code: string;
|
|
739
688
|
type: "task-item";
|
|
740
689
|
definition: {
|