@openframe-org/criteria-set-protocol 1.5.6 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/schemas/criteria-tree.d.ts +185 -14
- package/dist/v1/schemas/criterion.d.ts +137 -10
- package/dist/v1/schemas/criterion.js +1 -1
- package/dist/v1/schemas/quality.d.ts +161 -12
- package/dist/v1/schemas/quality.js +1 -1
- package/dist/v1/schemas/request/matrix-body-schema.d.ts +3 -3
- package/dist/v1/schemas/request/matrix-body-schema.js +1 -1
- package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +3 -3
- package/dist/v1/schemas/request/tree-and-data-body-schema.js +1 -1
- package/dist/v1/schemas/task-group.d.ts +113 -8
- package/dist/v1/schemas/task-group.js +1 -1
- package/dist/v1/schemas/task-item.d.ts +105 -5
- package/dist/v1/schemas/task-item.js +5 -3
- package/dist/v1/schemas/task.d.ts +89 -6
- package/dist/v1/schemas/task.js +1 -1
- package/package.json +1 -1
|
@@ -361,9 +361,9 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
361
361
|
label: string;
|
|
362
362
|
text: string;
|
|
363
363
|
}>]>, "many">>;
|
|
364
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
364
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
365
365
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
366
|
-
definition: z.
|
|
366
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
367
367
|
type: z.ZodLiteral<"select-single">;
|
|
368
368
|
options: z.ZodArray<z.ZodObject<{
|
|
369
369
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -441,6 +441,45 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
441
441
|
intro?: string | undefined;
|
|
442
442
|
outro?: string | undefined;
|
|
443
443
|
}[];
|
|
444
|
+
}>, z.ZodObject<{
|
|
445
|
+
type: z.ZodLiteral<"number">;
|
|
446
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
447
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
448
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
type: "number";
|
|
451
|
+
minimum?: number | undefined;
|
|
452
|
+
maximum?: number | undefined;
|
|
453
|
+
step?: number | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
type: "number";
|
|
456
|
+
minimum?: number | undefined;
|
|
457
|
+
maximum?: number | undefined;
|
|
458
|
+
step?: number | undefined;
|
|
459
|
+
}>, z.ZodObject<{
|
|
460
|
+
type: z.ZodLiteral<"boolean">;
|
|
461
|
+
labels: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
true: z.ZodOptional<z.ZodString>;
|
|
463
|
+
false: z.ZodOptional<z.ZodString>;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
false?: string | undefined;
|
|
466
|
+
true?: string | undefined;
|
|
467
|
+
}, {
|
|
468
|
+
false?: string | undefined;
|
|
469
|
+
true?: string | undefined;
|
|
470
|
+
}>>;
|
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
|
472
|
+
type: "boolean";
|
|
473
|
+
labels?: {
|
|
474
|
+
false?: string | undefined;
|
|
475
|
+
true?: string | undefined;
|
|
476
|
+
} | undefined;
|
|
477
|
+
}, {
|
|
478
|
+
type: "boolean";
|
|
479
|
+
labels?: {
|
|
480
|
+
false?: string | undefined;
|
|
481
|
+
true?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
444
483
|
}>]>;
|
|
445
484
|
description: z.ZodOptional<z.ZodString>;
|
|
446
485
|
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">]>>>;
|
|
@@ -465,8 +504,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
465
504
|
intro?: string | undefined;
|
|
466
505
|
outro?: string | undefined;
|
|
467
506
|
}[];
|
|
507
|
+
} | {
|
|
508
|
+
type: "number";
|
|
509
|
+
minimum?: number | undefined;
|
|
510
|
+
maximum?: number | undefined;
|
|
511
|
+
step?: number | undefined;
|
|
512
|
+
} | {
|
|
513
|
+
type: "boolean";
|
|
514
|
+
labels?: {
|
|
515
|
+
false?: string | undefined;
|
|
516
|
+
true?: string | undefined;
|
|
517
|
+
} | undefined;
|
|
468
518
|
};
|
|
469
|
-
data?: Record<string,
|
|
519
|
+
data?: Record<string, any> | undefined;
|
|
470
520
|
description?: string | undefined;
|
|
471
521
|
tags?: string[] | undefined;
|
|
472
522
|
documentation?: ({
|
|
@@ -507,8 +557,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
507
557
|
intro?: string | undefined;
|
|
508
558
|
outro?: string | undefined;
|
|
509
559
|
}[];
|
|
560
|
+
} | {
|
|
561
|
+
type: "number";
|
|
562
|
+
minimum?: number | undefined;
|
|
563
|
+
maximum?: number | undefined;
|
|
564
|
+
step?: number | undefined;
|
|
565
|
+
} | {
|
|
566
|
+
type: "boolean";
|
|
567
|
+
labels?: {
|
|
568
|
+
false?: string | undefined;
|
|
569
|
+
true?: string | undefined;
|
|
570
|
+
} | undefined;
|
|
510
571
|
};
|
|
511
|
-
data?: Record<string,
|
|
572
|
+
data?: Record<string, any> | undefined;
|
|
512
573
|
description?: string | undefined;
|
|
513
574
|
tags?: string[] | undefined;
|
|
514
575
|
documentation?: ({
|
|
@@ -554,8 +615,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
554
615
|
intro?: string | undefined;
|
|
555
616
|
outro?: string | undefined;
|
|
556
617
|
}[];
|
|
618
|
+
} | {
|
|
619
|
+
type: "number";
|
|
620
|
+
minimum?: number | undefined;
|
|
621
|
+
maximum?: number | undefined;
|
|
622
|
+
step?: number | undefined;
|
|
623
|
+
} | {
|
|
624
|
+
type: "boolean";
|
|
625
|
+
labels?: {
|
|
626
|
+
false?: string | undefined;
|
|
627
|
+
true?: string | undefined;
|
|
628
|
+
} | undefined;
|
|
557
629
|
};
|
|
558
|
-
data?: Record<string,
|
|
630
|
+
data?: Record<string, any> | undefined;
|
|
559
631
|
description?: string | undefined;
|
|
560
632
|
tags?: string[] | undefined;
|
|
561
633
|
documentation?: ({
|
|
@@ -620,8 +692,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
620
692
|
intro?: string | undefined;
|
|
621
693
|
outro?: string | undefined;
|
|
622
694
|
}[];
|
|
695
|
+
} | {
|
|
696
|
+
type: "number";
|
|
697
|
+
minimum?: number | undefined;
|
|
698
|
+
maximum?: number | undefined;
|
|
699
|
+
step?: number | undefined;
|
|
700
|
+
} | {
|
|
701
|
+
type: "boolean";
|
|
702
|
+
labels?: {
|
|
703
|
+
false?: string | undefined;
|
|
704
|
+
true?: string | undefined;
|
|
705
|
+
} | undefined;
|
|
623
706
|
};
|
|
624
|
-
data?: Record<string,
|
|
707
|
+
data?: Record<string, any> | undefined;
|
|
625
708
|
description?: string | undefined;
|
|
626
709
|
tags?: string[] | undefined;
|
|
627
710
|
documentation?: ({
|
|
@@ -691,8 +774,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
691
774
|
intro?: string | undefined;
|
|
692
775
|
outro?: string | undefined;
|
|
693
776
|
}[];
|
|
777
|
+
} | {
|
|
778
|
+
type: "number";
|
|
779
|
+
minimum?: number | undefined;
|
|
780
|
+
maximum?: number | undefined;
|
|
781
|
+
step?: number | undefined;
|
|
782
|
+
} | {
|
|
783
|
+
type: "boolean";
|
|
784
|
+
labels?: {
|
|
785
|
+
false?: string | undefined;
|
|
786
|
+
true?: string | undefined;
|
|
787
|
+
} | undefined;
|
|
694
788
|
};
|
|
695
|
-
data?: Record<string,
|
|
789
|
+
data?: Record<string, any> | undefined;
|
|
696
790
|
description?: string | undefined;
|
|
697
791
|
tags?: string[] | undefined;
|
|
698
792
|
documentation?: ({
|
|
@@ -781,8 +875,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
781
875
|
intro?: string | undefined;
|
|
782
876
|
outro?: string | undefined;
|
|
783
877
|
}[];
|
|
878
|
+
} | {
|
|
879
|
+
type: "number";
|
|
880
|
+
minimum?: number | undefined;
|
|
881
|
+
maximum?: number | undefined;
|
|
882
|
+
step?: number | undefined;
|
|
883
|
+
} | {
|
|
884
|
+
type: "boolean";
|
|
885
|
+
labels?: {
|
|
886
|
+
false?: string | undefined;
|
|
887
|
+
true?: string | undefined;
|
|
888
|
+
} | undefined;
|
|
784
889
|
};
|
|
785
|
-
data?: Record<string,
|
|
890
|
+
data?: Record<string, any> | undefined;
|
|
786
891
|
description?: string | undefined;
|
|
787
892
|
tags?: string[] | undefined;
|
|
788
893
|
documentation?: ({
|
|
@@ -876,8 +981,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
876
981
|
intro?: string | undefined;
|
|
877
982
|
outro?: string | undefined;
|
|
878
983
|
}[];
|
|
984
|
+
} | {
|
|
985
|
+
type: "number";
|
|
986
|
+
minimum?: number | undefined;
|
|
987
|
+
maximum?: number | undefined;
|
|
988
|
+
step?: number | undefined;
|
|
989
|
+
} | {
|
|
990
|
+
type: "boolean";
|
|
991
|
+
labels?: {
|
|
992
|
+
false?: string | undefined;
|
|
993
|
+
true?: string | undefined;
|
|
994
|
+
} | undefined;
|
|
879
995
|
};
|
|
880
|
-
data?: Record<string,
|
|
996
|
+
data?: Record<string, any> | undefined;
|
|
881
997
|
description?: string | undefined;
|
|
882
998
|
tags?: string[] | undefined;
|
|
883
999
|
documentation?: ({
|
|
@@ -989,8 +1105,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
989
1105
|
intro?: string | undefined;
|
|
990
1106
|
outro?: string | undefined;
|
|
991
1107
|
}[];
|
|
1108
|
+
} | {
|
|
1109
|
+
type: "number";
|
|
1110
|
+
minimum?: number | undefined;
|
|
1111
|
+
maximum?: number | undefined;
|
|
1112
|
+
step?: number | undefined;
|
|
1113
|
+
} | {
|
|
1114
|
+
type: "boolean";
|
|
1115
|
+
labels?: {
|
|
1116
|
+
false?: string | undefined;
|
|
1117
|
+
true?: string | undefined;
|
|
1118
|
+
} | undefined;
|
|
992
1119
|
};
|
|
993
|
-
data?: Record<string,
|
|
1120
|
+
data?: Record<string, any> | undefined;
|
|
994
1121
|
description?: string | undefined;
|
|
995
1122
|
tags?: string[] | undefined;
|
|
996
1123
|
documentation?: ({
|
|
@@ -1107,8 +1234,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1107
1234
|
intro?: string | undefined;
|
|
1108
1235
|
outro?: string | undefined;
|
|
1109
1236
|
}[];
|
|
1237
|
+
} | {
|
|
1238
|
+
type: "number";
|
|
1239
|
+
minimum?: number | undefined;
|
|
1240
|
+
maximum?: number | undefined;
|
|
1241
|
+
step?: number | undefined;
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "boolean";
|
|
1244
|
+
labels?: {
|
|
1245
|
+
false?: string | undefined;
|
|
1246
|
+
true?: string | undefined;
|
|
1247
|
+
} | undefined;
|
|
1110
1248
|
};
|
|
1111
|
-
data?: Record<string,
|
|
1249
|
+
data?: Record<string, any> | undefined;
|
|
1112
1250
|
description?: string | undefined;
|
|
1113
1251
|
tags?: string[] | undefined;
|
|
1114
1252
|
documentation?: ({
|
|
@@ -1255,8 +1393,19 @@ export declare const qualitySchema: z.ZodObject<{
|
|
|
1255
1393
|
intro?: string | undefined;
|
|
1256
1394
|
outro?: string | undefined;
|
|
1257
1395
|
}[];
|
|
1396
|
+
} | {
|
|
1397
|
+
type: "number";
|
|
1398
|
+
minimum?: number | undefined;
|
|
1399
|
+
maximum?: number | undefined;
|
|
1400
|
+
step?: number | undefined;
|
|
1401
|
+
} | {
|
|
1402
|
+
type: "boolean";
|
|
1403
|
+
labels?: {
|
|
1404
|
+
false?: string | undefined;
|
|
1405
|
+
true?: string | undefined;
|
|
1406
|
+
} | undefined;
|
|
1258
1407
|
};
|
|
1259
|
-
data?: Record<string,
|
|
1408
|
+
data?: Record<string, any> | undefined;
|
|
1260
1409
|
description?: string | undefined;
|
|
1261
1410
|
tags?: string[] | undefined;
|
|
1262
1411
|
documentation?: ({
|
|
@@ -22,7 +22,7 @@ exports.qualitySchema = zod_1.z.object({
|
|
|
22
22
|
code: zod_1.z.string(),
|
|
23
23
|
tags: zod_1.z.array(zod_1.z.string()).optional(),
|
|
24
24
|
documentation: zod_1.z.array(task_item_1.documentationItemSchema).optional(),
|
|
25
|
-
data: zod_1.z.record(zod_1.z.any()).optional(),
|
|
25
|
+
data: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
26
26
|
sortOrder: zod_1.z.number().optional(),
|
|
27
27
|
style: exports.qualityStyleSchema.optional(),
|
|
28
28
|
items: zod_1.z.array(criterion_1.criterionSchema)
|
|
@@ -4,17 +4,17 @@ import { z } from 'zod';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const matrixBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
locale: z.ZodOptional<z.ZodString>;
|
|
7
|
-
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
8
|
values: 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">]>>>;
|
|
9
9
|
additional: z.ZodOptional<z.ZodAny>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
12
12
|
locale?: string | undefined;
|
|
13
|
-
parameters?: Record<string,
|
|
13
|
+
parameters?: Record<string, any> | undefined;
|
|
14
14
|
additional?: any;
|
|
15
15
|
}, {
|
|
16
16
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
17
17
|
locale?: string | undefined;
|
|
18
|
-
parameters?: Record<string,
|
|
18
|
+
parameters?: Record<string, any> | undefined;
|
|
19
19
|
additional?: any;
|
|
20
20
|
}>>;
|
|
@@ -8,7 +8,7 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.matrixBodySchema = zod_1.z.object({
|
|
10
10
|
locale: zod_1.z.string().optional(),
|
|
11
|
-
parameters: zod_1.z.record(zod_1.z.string()).optional(),
|
|
11
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
12
12
|
values: task_item_1.taskItemValueMapSchema.optional(),
|
|
13
13
|
additional: zod_1.z.any().optional()
|
|
14
14
|
}).optional();
|
|
@@ -4,14 +4,14 @@ import { z } from 'zod';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const treeAndDataBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
locale: z.ZodOptional<z.ZodString>;
|
|
7
|
-
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
8
|
values: 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">]>>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
11
11
|
locale?: string | undefined;
|
|
12
|
-
parameters?: Record<string,
|
|
12
|
+
parameters?: Record<string, any> | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
15
15
|
locale?: string | undefined;
|
|
16
|
-
parameters?: Record<string,
|
|
16
|
+
parameters?: Record<string, any> | undefined;
|
|
17
17
|
}>>;
|
|
@@ -8,6 +8,6 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.treeAndDataBodySchema = zod_1.z.object({
|
|
10
10
|
locale: zod_1.z.string().optional(),
|
|
11
|
-
parameters: zod_1.z.record(zod_1.z.string()).optional(),
|
|
11
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
12
12
|
values: task_item_1.taskItemValueMapSchema.optional()
|
|
13
13
|
}).optional();
|
|
@@ -148,9 +148,9 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
148
148
|
label: string;
|
|
149
149
|
text: string;
|
|
150
150
|
}>]>, "many">>;
|
|
151
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
151
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
152
152
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
153
|
-
definition: z.
|
|
153
|
+
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
154
154
|
type: z.ZodLiteral<"select-single">;
|
|
155
155
|
options: z.ZodArray<z.ZodObject<{
|
|
156
156
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -228,6 +228,45 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
228
228
|
intro?: string | undefined;
|
|
229
229
|
outro?: string | undefined;
|
|
230
230
|
}[];
|
|
231
|
+
}>, z.ZodObject<{
|
|
232
|
+
type: z.ZodLiteral<"number">;
|
|
233
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
type: "number";
|
|
238
|
+
minimum?: number | undefined;
|
|
239
|
+
maximum?: number | undefined;
|
|
240
|
+
step?: number | undefined;
|
|
241
|
+
}, {
|
|
242
|
+
type: "number";
|
|
243
|
+
minimum?: number | undefined;
|
|
244
|
+
maximum?: number | undefined;
|
|
245
|
+
step?: number | undefined;
|
|
246
|
+
}>, z.ZodObject<{
|
|
247
|
+
type: z.ZodLiteral<"boolean">;
|
|
248
|
+
labels: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
true: z.ZodOptional<z.ZodString>;
|
|
250
|
+
false: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
|
252
|
+
false?: string | undefined;
|
|
253
|
+
true?: string | undefined;
|
|
254
|
+
}, {
|
|
255
|
+
false?: string | undefined;
|
|
256
|
+
true?: string | undefined;
|
|
257
|
+
}>>;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
type: "boolean";
|
|
260
|
+
labels?: {
|
|
261
|
+
false?: string | undefined;
|
|
262
|
+
true?: string | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
}, {
|
|
265
|
+
type: "boolean";
|
|
266
|
+
labels?: {
|
|
267
|
+
false?: string | undefined;
|
|
268
|
+
true?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
231
270
|
}>]>;
|
|
232
271
|
description: z.ZodOptional<z.ZodString>;
|
|
233
272
|
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">]>>>;
|
|
@@ -252,8 +291,19 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
252
291
|
intro?: string | undefined;
|
|
253
292
|
outro?: string | undefined;
|
|
254
293
|
}[];
|
|
294
|
+
} | {
|
|
295
|
+
type: "number";
|
|
296
|
+
minimum?: number | undefined;
|
|
297
|
+
maximum?: number | undefined;
|
|
298
|
+
step?: number | undefined;
|
|
299
|
+
} | {
|
|
300
|
+
type: "boolean";
|
|
301
|
+
labels?: {
|
|
302
|
+
false?: string | undefined;
|
|
303
|
+
true?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
255
305
|
};
|
|
256
|
-
data?: Record<string,
|
|
306
|
+
data?: Record<string, any> | undefined;
|
|
257
307
|
description?: string | undefined;
|
|
258
308
|
tags?: string[] | undefined;
|
|
259
309
|
documentation?: ({
|
|
@@ -294,8 +344,19 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
294
344
|
intro?: string | undefined;
|
|
295
345
|
outro?: string | undefined;
|
|
296
346
|
}[];
|
|
347
|
+
} | {
|
|
348
|
+
type: "number";
|
|
349
|
+
minimum?: number | undefined;
|
|
350
|
+
maximum?: number | undefined;
|
|
351
|
+
step?: number | undefined;
|
|
352
|
+
} | {
|
|
353
|
+
type: "boolean";
|
|
354
|
+
labels?: {
|
|
355
|
+
false?: string | undefined;
|
|
356
|
+
true?: string | undefined;
|
|
357
|
+
} | undefined;
|
|
297
358
|
};
|
|
298
|
-
data?: Record<string,
|
|
359
|
+
data?: Record<string, any> | undefined;
|
|
299
360
|
description?: string | undefined;
|
|
300
361
|
tags?: string[] | undefined;
|
|
301
362
|
documentation?: ({
|
|
@@ -341,8 +402,19 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
341
402
|
intro?: string | undefined;
|
|
342
403
|
outro?: string | undefined;
|
|
343
404
|
}[];
|
|
405
|
+
} | {
|
|
406
|
+
type: "number";
|
|
407
|
+
minimum?: number | undefined;
|
|
408
|
+
maximum?: number | undefined;
|
|
409
|
+
step?: number | undefined;
|
|
410
|
+
} | {
|
|
411
|
+
type: "boolean";
|
|
412
|
+
labels?: {
|
|
413
|
+
false?: string | undefined;
|
|
414
|
+
true?: string | undefined;
|
|
415
|
+
} | undefined;
|
|
344
416
|
};
|
|
345
|
-
data?: Record<string,
|
|
417
|
+
data?: Record<string, any> | undefined;
|
|
346
418
|
description?: string | undefined;
|
|
347
419
|
tags?: string[] | undefined;
|
|
348
420
|
documentation?: ({
|
|
@@ -407,8 +479,19 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
407
479
|
intro?: string | undefined;
|
|
408
480
|
outro?: string | undefined;
|
|
409
481
|
}[];
|
|
482
|
+
} | {
|
|
483
|
+
type: "number";
|
|
484
|
+
minimum?: number | undefined;
|
|
485
|
+
maximum?: number | undefined;
|
|
486
|
+
step?: number | undefined;
|
|
487
|
+
} | {
|
|
488
|
+
type: "boolean";
|
|
489
|
+
labels?: {
|
|
490
|
+
false?: string | undefined;
|
|
491
|
+
true?: string | undefined;
|
|
492
|
+
} | undefined;
|
|
410
493
|
};
|
|
411
|
-
data?: Record<string,
|
|
494
|
+
data?: Record<string, any> | undefined;
|
|
412
495
|
description?: string | undefined;
|
|
413
496
|
tags?: string[] | undefined;
|
|
414
497
|
documentation?: ({
|
|
@@ -478,8 +561,19 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
478
561
|
intro?: string | undefined;
|
|
479
562
|
outro?: string | undefined;
|
|
480
563
|
}[];
|
|
564
|
+
} | {
|
|
565
|
+
type: "number";
|
|
566
|
+
minimum?: number | undefined;
|
|
567
|
+
maximum?: number | undefined;
|
|
568
|
+
step?: number | undefined;
|
|
569
|
+
} | {
|
|
570
|
+
type: "boolean";
|
|
571
|
+
labels?: {
|
|
572
|
+
false?: string | undefined;
|
|
573
|
+
true?: string | undefined;
|
|
574
|
+
} | undefined;
|
|
481
575
|
};
|
|
482
|
-
data?: Record<string,
|
|
576
|
+
data?: Record<string, any> | undefined;
|
|
483
577
|
description?: string | undefined;
|
|
484
578
|
tags?: string[] | undefined;
|
|
485
579
|
documentation?: ({
|
|
@@ -568,8 +662,19 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
568
662
|
intro?: string | undefined;
|
|
569
663
|
outro?: string | undefined;
|
|
570
664
|
}[];
|
|
665
|
+
} | {
|
|
666
|
+
type: "number";
|
|
667
|
+
minimum?: number | undefined;
|
|
668
|
+
maximum?: number | undefined;
|
|
669
|
+
step?: number | undefined;
|
|
670
|
+
} | {
|
|
671
|
+
type: "boolean";
|
|
672
|
+
labels?: {
|
|
673
|
+
false?: string | undefined;
|
|
674
|
+
true?: string | undefined;
|
|
675
|
+
} | undefined;
|
|
571
676
|
};
|
|
572
|
-
data?: Record<string,
|
|
677
|
+
data?: Record<string, any> | undefined;
|
|
573
678
|
description?: string | undefined;
|
|
574
679
|
tags?: string[] | undefined;
|
|
575
680
|
documentation?: ({
|
|
@@ -10,7 +10,7 @@ exports.taskGroupSchema = zod_1.z.object({
|
|
|
10
10
|
code: zod_1.z.string(),
|
|
11
11
|
tags: zod_1.z.array(zod_1.z.string()).optional(),
|
|
12
12
|
documentation: zod_1.z.array(task_item_1.documentationItemSchema).optional(),
|
|
13
|
-
data: zod_1.z.record(zod_1.z.any()).optional(),
|
|
13
|
+
data: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
|
|
14
14
|
sortOrder: zod_1.z.number().optional(),
|
|
15
15
|
category: zod_1.z.string().optional(),
|
|
16
16
|
items: zod_1.z.array(task_1.taskSchema)
|