@openframe-org/criteria-set-protocol 1.5.16 → 1.5.18
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 +10 -10
- package/dist/v1/schemas/criteria-tree.d.ts +61 -48
- package/dist/v1/schemas/criterion.d.ts +29 -20
- package/dist/v1/schemas/metadata.d.ts +2 -2
- package/dist/v1/schemas/quality.d.ts +41 -30
- package/dist/v1/schemas/task-group.d.ts +19 -12
- package/dist/v1/schemas/task-item.d.ts +5 -2
- package/dist/v1/schemas/task-item.js +1 -0
- package/dist/v1/schemas/task.d.ts +11 -6
- package/dist/v1/types/express.d.ts +0 -1
- package/package.json +6 -2
- package/dist/services/i-versioned.service.d.ts +0 -16
- package/dist/services/i-versioned.service.js +0 -2
- package/dist/services/index.d.ts +0 -2
- package/dist/services/index.js +0 -18
- package/dist/services/versions.service.d.ts +0 -38
- package/dist/services/versions.service.js +0 -49
- package/dist/types.d.ts +0 -2
- package/dist/types.js +0 -2
- package/dist/v1/schemas/criteria-set-id-param-schema.d.ts +0 -11
- package/dist/v1/schemas/criteria-set-id-param-schema.js +0 -11
- package/dist/v1/schemas/download-matrix-body-schema.d.ts +0 -15
- package/dist/v1/schemas/download-matrix-body-schema.js +0 -36
- package/dist/v1/schemas/matrix-body-schema.d.ts +0 -20
- package/dist/v1/schemas/matrix-body-schema.js +0 -14
- package/dist/v1/schemas/tree-and-data-body-schema.d.ts +0 -17
- package/dist/v1/schemas/tree-and-data-body-schema.js +0 -13
- package/dist/v1/schemas/tree-and-matrix-body-schema.d.ts +0 -19
- package/dist/v1/schemas/tree-and-matrix-body-schema.js +0 -38
- package/dist/v1/schemas/tree-body-schema.d.ts +0 -17
- package/dist/v1/schemas/tree-body-schema.js +0 -37
- package/dist/v1/schemas/version-param-schema.d.ts +0 -11
- package/dist/v1/schemas/version-param-schema.js +0 -11
- package/dist/v1/services/i-protocol-v1.service.d.ts +0 -26
- package/dist/v1/services/i-protocol-v1.service.js +0 -2
- package/dist/v1/utils/color.d.ts +0 -2
- package/dist/v1/utils/color.js +0 -10
- package/dist/v1/utils/index.d.ts +0 -7
- package/dist/v1/utils/index.js +0 -15
|
@@ -41,17 +41,17 @@ export declare const abstractCertificationDefinitionSchema: z.ZodObject<{
|
|
|
41
41
|
rules: z.ZodAny;
|
|
42
42
|
rulesText: z.ZodString;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
type: "number" | "percentage";
|
|
45
44
|
code: string;
|
|
46
45
|
name: string;
|
|
46
|
+
type: "number" | "percentage";
|
|
47
47
|
rulesText: string;
|
|
48
48
|
description?: string | undefined;
|
|
49
49
|
icon?: string | undefined;
|
|
50
50
|
rules?: any;
|
|
51
51
|
}, {
|
|
52
|
-
type: "number" | "percentage";
|
|
53
52
|
code: string;
|
|
54
53
|
name: string;
|
|
54
|
+
type: "number" | "percentage";
|
|
55
55
|
rulesText: string;
|
|
56
56
|
description?: string | undefined;
|
|
57
57
|
icon?: string | undefined;
|
|
@@ -84,9 +84,9 @@ export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<z.obj
|
|
|
84
84
|
exclusiveMaximum?: number | undefined;
|
|
85
85
|
}>;
|
|
86
86
|
}>, "strip", z.ZodTypeAny, {
|
|
87
|
-
type: "number";
|
|
88
87
|
code: string;
|
|
89
88
|
name: string;
|
|
89
|
+
type: "number";
|
|
90
90
|
rules: {
|
|
91
91
|
minimum?: number | undefined;
|
|
92
92
|
maximum?: number | undefined;
|
|
@@ -97,9 +97,9 @@ export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<z.obj
|
|
|
97
97
|
description?: string | undefined;
|
|
98
98
|
icon?: string | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
type: "number";
|
|
101
100
|
code: string;
|
|
102
101
|
name: string;
|
|
102
|
+
type: "number";
|
|
103
103
|
rules: {
|
|
104
104
|
minimum?: number | undefined;
|
|
105
105
|
maximum?: number | undefined;
|
|
@@ -137,9 +137,9 @@ export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<z
|
|
|
137
137
|
exclusiveMaximum?: number | undefined;
|
|
138
138
|
}>;
|
|
139
139
|
}>, "strip", z.ZodTypeAny, {
|
|
140
|
-
type: "percentage";
|
|
141
140
|
code: string;
|
|
142
141
|
name: string;
|
|
142
|
+
type: "percentage";
|
|
143
143
|
rules: {
|
|
144
144
|
minimum?: number | undefined;
|
|
145
145
|
maximum?: number | undefined;
|
|
@@ -150,9 +150,9 @@ export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<z
|
|
|
150
150
|
description?: string | undefined;
|
|
151
151
|
icon?: string | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
type: "percentage";
|
|
154
153
|
code: string;
|
|
155
154
|
name: string;
|
|
155
|
+
type: "percentage";
|
|
156
156
|
rules: {
|
|
157
157
|
minimum?: number | undefined;
|
|
158
158
|
maximum?: number | undefined;
|
|
@@ -190,9 +190,9 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
190
190
|
exclusiveMaximum?: number | undefined;
|
|
191
191
|
}>;
|
|
192
192
|
}>, "strip", z.ZodTypeAny, {
|
|
193
|
-
type: "number";
|
|
194
193
|
code: string;
|
|
195
194
|
name: string;
|
|
195
|
+
type: "number";
|
|
196
196
|
rules: {
|
|
197
197
|
minimum?: number | undefined;
|
|
198
198
|
maximum?: number | undefined;
|
|
@@ -203,9 +203,9 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
203
203
|
description?: string | undefined;
|
|
204
204
|
icon?: string | undefined;
|
|
205
205
|
}, {
|
|
206
|
-
type: "number";
|
|
207
206
|
code: string;
|
|
208
207
|
name: string;
|
|
208
|
+
type: "number";
|
|
209
209
|
rules: {
|
|
210
210
|
minimum?: number | undefined;
|
|
211
211
|
maximum?: number | undefined;
|
|
@@ -242,9 +242,9 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
242
242
|
exclusiveMaximum?: number | undefined;
|
|
243
243
|
}>;
|
|
244
244
|
}>, "strip", z.ZodTypeAny, {
|
|
245
|
-
type: "percentage";
|
|
246
245
|
code: string;
|
|
247
246
|
name: string;
|
|
247
|
+
type: "percentage";
|
|
248
248
|
rules: {
|
|
249
249
|
minimum?: number | undefined;
|
|
250
250
|
maximum?: number | undefined;
|
|
@@ -255,9 +255,9 @@ export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
255
255
|
description?: string | undefined;
|
|
256
256
|
icon?: string | undefined;
|
|
257
257
|
}, {
|
|
258
|
-
type: "percentage";
|
|
259
258
|
code: string;
|
|
260
259
|
name: string;
|
|
260
|
+
type: "percentage";
|
|
261
261
|
rules: {
|
|
262
262
|
minimum?: number | undefined;
|
|
263
263
|
maximum?: number | undefined;
|
|
@@ -304,6 +304,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
304
304
|
label: string;
|
|
305
305
|
text: string;
|
|
306
306
|
}>]>, "many">>;
|
|
307
|
+
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
307
308
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
308
309
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
309
310
|
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -427,8 +428,8 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
427
428
|
description: z.ZodOptional<z.ZodString>;
|
|
428
429
|
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">]>>>;
|
|
429
430
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
type: "task-item";
|
|
431
431
|
code: string;
|
|
432
|
+
type: "task-item";
|
|
432
433
|
definition: {
|
|
433
434
|
type: "select-single";
|
|
434
435
|
options: {
|
|
@@ -477,11 +478,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
477
478
|
label: string;
|
|
478
479
|
text: string;
|
|
479
480
|
})[] | undefined;
|
|
481
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
480
482
|
sortOrder?: number | undefined;
|
|
481
483
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
482
484
|
}, {
|
|
483
|
-
type: "task-item";
|
|
484
485
|
code: string;
|
|
486
|
+
type: "task-item";
|
|
485
487
|
definition: {
|
|
486
488
|
type: "select-single";
|
|
487
489
|
options: {
|
|
@@ -530,16 +532,17 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
530
532
|
label: string;
|
|
531
533
|
text: string;
|
|
532
534
|
})[] | undefined;
|
|
535
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
533
536
|
sortOrder?: number | undefined;
|
|
534
537
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
535
538
|
}>, "many">;
|
|
536
539
|
}, "strip", z.ZodTypeAny, {
|
|
537
|
-
type: "task";
|
|
538
540
|
code: string;
|
|
541
|
+
type: "task";
|
|
539
542
|
title: string;
|
|
540
543
|
items: {
|
|
541
|
-
type: "task-item";
|
|
542
544
|
code: string;
|
|
545
|
+
type: "task-item";
|
|
543
546
|
definition: {
|
|
544
547
|
type: "select-single";
|
|
545
548
|
options: {
|
|
@@ -588,6 +591,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
588
591
|
label: string;
|
|
589
592
|
text: string;
|
|
590
593
|
})[] | undefined;
|
|
594
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
591
595
|
sortOrder?: number | undefined;
|
|
592
596
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
593
597
|
}[];
|
|
@@ -611,12 +615,12 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
611
615
|
})[] | undefined;
|
|
612
616
|
sortOrder?: number | undefined;
|
|
613
617
|
}, {
|
|
614
|
-
type: "task";
|
|
615
618
|
code: string;
|
|
619
|
+
type: "task";
|
|
616
620
|
title: string;
|
|
617
621
|
items: {
|
|
618
|
-
type: "task-item";
|
|
619
622
|
code: string;
|
|
623
|
+
type: "task-item";
|
|
620
624
|
definition: {
|
|
621
625
|
type: "select-single";
|
|
622
626
|
options: {
|
|
@@ -665,6 +669,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
665
669
|
label: string;
|
|
666
670
|
text: string;
|
|
667
671
|
})[] | undefined;
|
|
672
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
668
673
|
sortOrder?: number | undefined;
|
|
669
674
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
670
675
|
}[];
|
|
@@ -689,16 +694,16 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
689
694
|
sortOrder?: number | undefined;
|
|
690
695
|
}>, "many">;
|
|
691
696
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
type: "task-group";
|
|
693
697
|
code: string;
|
|
698
|
+
type: "task-group";
|
|
694
699
|
title: string;
|
|
695
700
|
items: {
|
|
696
|
-
type: "task";
|
|
697
701
|
code: string;
|
|
702
|
+
type: "task";
|
|
698
703
|
title: string;
|
|
699
704
|
items: {
|
|
700
|
-
type: "task-item";
|
|
701
705
|
code: string;
|
|
706
|
+
type: "task-item";
|
|
702
707
|
definition: {
|
|
703
708
|
type: "select-single";
|
|
704
709
|
options: {
|
|
@@ -747,6 +752,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
747
752
|
label: string;
|
|
748
753
|
text: string;
|
|
749
754
|
})[] | undefined;
|
|
755
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
750
756
|
sortOrder?: number | undefined;
|
|
751
757
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
752
758
|
}[];
|
|
@@ -790,16 +796,16 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
790
796
|
sortOrder?: number | undefined;
|
|
791
797
|
category?: string | undefined;
|
|
792
798
|
}, {
|
|
793
|
-
type: "task-group";
|
|
794
799
|
code: string;
|
|
800
|
+
type: "task-group";
|
|
795
801
|
title: string;
|
|
796
802
|
items: {
|
|
797
|
-
type: "task";
|
|
798
803
|
code: string;
|
|
804
|
+
type: "task";
|
|
799
805
|
title: string;
|
|
800
806
|
items: {
|
|
801
|
-
type: "task-item";
|
|
802
807
|
code: string;
|
|
808
|
+
type: "task-item";
|
|
803
809
|
definition: {
|
|
804
810
|
type: "select-single";
|
|
805
811
|
options: {
|
|
@@ -848,6 +854,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
848
854
|
label: string;
|
|
849
855
|
text: string;
|
|
850
856
|
})[] | undefined;
|
|
857
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
851
858
|
sortOrder?: number | undefined;
|
|
852
859
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
853
860
|
}[];
|
|
@@ -892,20 +899,20 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
892
899
|
category?: string | undefined;
|
|
893
900
|
}>, "many">;
|
|
894
901
|
}, "strip", z.ZodTypeAny, {
|
|
895
|
-
type: "criterion";
|
|
896
902
|
code: string;
|
|
903
|
+
type: "criterion";
|
|
897
904
|
title: string;
|
|
898
905
|
items: {
|
|
899
|
-
type: "task-group";
|
|
900
906
|
code: string;
|
|
907
|
+
type: "task-group";
|
|
901
908
|
title: string;
|
|
902
909
|
items: {
|
|
903
|
-
type: "task";
|
|
904
910
|
code: string;
|
|
911
|
+
type: "task";
|
|
905
912
|
title: string;
|
|
906
913
|
items: {
|
|
907
|
-
type: "task-item";
|
|
908
914
|
code: string;
|
|
915
|
+
type: "task-item";
|
|
909
916
|
definition: {
|
|
910
917
|
type: "select-single";
|
|
911
918
|
options: {
|
|
@@ -954,6 +961,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
954
961
|
label: string;
|
|
955
962
|
text: string;
|
|
956
963
|
})[] | undefined;
|
|
964
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
957
965
|
sortOrder?: number | undefined;
|
|
958
966
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
959
967
|
}[];
|
|
@@ -1016,20 +1024,20 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1016
1024
|
})[] | undefined;
|
|
1017
1025
|
sortOrder?: number | undefined;
|
|
1018
1026
|
}, {
|
|
1019
|
-
type: "criterion";
|
|
1020
1027
|
code: string;
|
|
1028
|
+
type: "criterion";
|
|
1021
1029
|
title: string;
|
|
1022
1030
|
items: {
|
|
1023
|
-
type: "task-group";
|
|
1024
1031
|
code: string;
|
|
1032
|
+
type: "task-group";
|
|
1025
1033
|
title: string;
|
|
1026
1034
|
items: {
|
|
1027
|
-
type: "task";
|
|
1028
1035
|
code: string;
|
|
1036
|
+
type: "task";
|
|
1029
1037
|
title: string;
|
|
1030
1038
|
items: {
|
|
1031
|
-
type: "task-item";
|
|
1032
1039
|
code: string;
|
|
1040
|
+
type: "task-item";
|
|
1033
1041
|
definition: {
|
|
1034
1042
|
type: "select-single";
|
|
1035
1043
|
options: {
|
|
@@ -1078,6 +1086,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1078
1086
|
label: string;
|
|
1079
1087
|
text: string;
|
|
1080
1088
|
})[] | undefined;
|
|
1089
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
1081
1090
|
sortOrder?: number | undefined;
|
|
1082
1091
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1083
1092
|
}[];
|
|
@@ -1141,24 +1150,24 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1141
1150
|
sortOrder?: number | undefined;
|
|
1142
1151
|
}>, "many">;
|
|
1143
1152
|
}, "strip", z.ZodTypeAny, {
|
|
1144
|
-
type: "quality";
|
|
1145
1153
|
code: string;
|
|
1154
|
+
type: "quality";
|
|
1146
1155
|
title: string;
|
|
1147
1156
|
items: {
|
|
1148
|
-
type: "criterion";
|
|
1149
1157
|
code: string;
|
|
1158
|
+
type: "criterion";
|
|
1150
1159
|
title: string;
|
|
1151
1160
|
items: {
|
|
1152
|
-
type: "task-group";
|
|
1153
1161
|
code: string;
|
|
1162
|
+
type: "task-group";
|
|
1154
1163
|
title: string;
|
|
1155
1164
|
items: {
|
|
1156
|
-
type: "task";
|
|
1157
1165
|
code: string;
|
|
1166
|
+
type: "task";
|
|
1158
1167
|
title: string;
|
|
1159
1168
|
items: {
|
|
1160
|
-
type: "task-item";
|
|
1161
1169
|
code: string;
|
|
1170
|
+
type: "task-item";
|
|
1162
1171
|
definition: {
|
|
1163
1172
|
type: "select-single";
|
|
1164
1173
|
options: {
|
|
@@ -1207,6 +1216,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1207
1216
|
label: string;
|
|
1208
1217
|
text: string;
|
|
1209
1218
|
})[] | undefined;
|
|
1219
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
1210
1220
|
sortOrder?: number | undefined;
|
|
1211
1221
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1212
1222
|
}[];
|
|
@@ -1300,24 +1310,24 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1300
1310
|
})[] | undefined;
|
|
1301
1311
|
sortOrder?: number | undefined;
|
|
1302
1312
|
}, {
|
|
1303
|
-
type: "quality";
|
|
1304
1313
|
code: string;
|
|
1314
|
+
type: "quality";
|
|
1305
1315
|
title: string;
|
|
1306
1316
|
items: {
|
|
1307
|
-
type: "criterion";
|
|
1308
1317
|
code: string;
|
|
1318
|
+
type: "criterion";
|
|
1309
1319
|
title: string;
|
|
1310
1320
|
items: {
|
|
1311
|
-
type: "task-group";
|
|
1312
1321
|
code: string;
|
|
1322
|
+
type: "task-group";
|
|
1313
1323
|
title: string;
|
|
1314
1324
|
items: {
|
|
1315
|
-
type: "task";
|
|
1316
1325
|
code: string;
|
|
1326
|
+
type: "task";
|
|
1317
1327
|
title: string;
|
|
1318
1328
|
items: {
|
|
1319
|
-
type: "task-item";
|
|
1320
1329
|
code: string;
|
|
1330
|
+
type: "task-item";
|
|
1321
1331
|
definition: {
|
|
1322
1332
|
type: "select-single";
|
|
1323
1333
|
options: {
|
|
@@ -1366,6 +1376,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1366
1376
|
label: string;
|
|
1367
1377
|
text: string;
|
|
1368
1378
|
})[] | undefined;
|
|
1379
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
1369
1380
|
sortOrder?: number | undefined;
|
|
1370
1381
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1371
1382
|
}[];
|
|
@@ -1486,9 +1497,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1486
1497
|
exclusiveMaximum?: number | undefined;
|
|
1487
1498
|
}>;
|
|
1488
1499
|
}>, "strip", z.ZodTypeAny, {
|
|
1489
|
-
type: "number";
|
|
1490
1500
|
code: string;
|
|
1491
1501
|
name: string;
|
|
1502
|
+
type: "number";
|
|
1492
1503
|
rules: {
|
|
1493
1504
|
minimum?: number | undefined;
|
|
1494
1505
|
maximum?: number | undefined;
|
|
@@ -1499,9 +1510,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1499
1510
|
description?: string | undefined;
|
|
1500
1511
|
icon?: string | undefined;
|
|
1501
1512
|
}, {
|
|
1502
|
-
type: "number";
|
|
1503
1513
|
code: string;
|
|
1504
1514
|
name: string;
|
|
1515
|
+
type: "number";
|
|
1505
1516
|
rules: {
|
|
1506
1517
|
minimum?: number | undefined;
|
|
1507
1518
|
maximum?: number | undefined;
|
|
@@ -1538,9 +1549,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1538
1549
|
exclusiveMaximum?: number | undefined;
|
|
1539
1550
|
}>;
|
|
1540
1551
|
}>, "strip", z.ZodTypeAny, {
|
|
1541
|
-
type: "percentage";
|
|
1542
1552
|
code: string;
|
|
1543
1553
|
name: string;
|
|
1554
|
+
type: "percentage";
|
|
1544
1555
|
rules: {
|
|
1545
1556
|
minimum?: number | undefined;
|
|
1546
1557
|
maximum?: number | undefined;
|
|
@@ -1551,9 +1562,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1551
1562
|
description?: string | undefined;
|
|
1552
1563
|
icon?: string | undefined;
|
|
1553
1564
|
}, {
|
|
1554
|
-
type: "percentage";
|
|
1555
1565
|
code: string;
|
|
1556
1566
|
name: string;
|
|
1567
|
+
type: "percentage";
|
|
1557
1568
|
rules: {
|
|
1558
1569
|
minimum?: number | undefined;
|
|
1559
1570
|
maximum?: number | undefined;
|
|
@@ -1567,24 +1578,24 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1567
1578
|
}>, "strip", z.ZodTypeAny, {
|
|
1568
1579
|
version: string;
|
|
1569
1580
|
qualities: {
|
|
1570
|
-
type: "quality";
|
|
1571
1581
|
code: string;
|
|
1582
|
+
type: "quality";
|
|
1572
1583
|
title: string;
|
|
1573
1584
|
items: {
|
|
1574
|
-
type: "criterion";
|
|
1575
1585
|
code: string;
|
|
1586
|
+
type: "criterion";
|
|
1576
1587
|
title: string;
|
|
1577
1588
|
items: {
|
|
1578
|
-
type: "task-group";
|
|
1579
1589
|
code: string;
|
|
1590
|
+
type: "task-group";
|
|
1580
1591
|
title: string;
|
|
1581
1592
|
items: {
|
|
1582
|
-
type: "task";
|
|
1583
1593
|
code: string;
|
|
1594
|
+
type: "task";
|
|
1584
1595
|
title: string;
|
|
1585
1596
|
items: {
|
|
1586
|
-
type: "task-item";
|
|
1587
1597
|
code: string;
|
|
1598
|
+
type: "task-item";
|
|
1588
1599
|
definition: {
|
|
1589
1600
|
type: "select-single";
|
|
1590
1601
|
options: {
|
|
@@ -1633,6 +1644,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1633
1644
|
label: string;
|
|
1634
1645
|
text: string;
|
|
1635
1646
|
})[] | undefined;
|
|
1647
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
1636
1648
|
sortOrder?: number | undefined;
|
|
1637
1649
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1638
1650
|
}[];
|
|
@@ -1729,9 +1741,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1729
1741
|
result?: any;
|
|
1730
1742
|
certifications?: string[] | undefined;
|
|
1731
1743
|
certificationDefinitions?: ({
|
|
1732
|
-
type: "number";
|
|
1733
1744
|
code: string;
|
|
1734
1745
|
name: string;
|
|
1746
|
+
type: "number";
|
|
1735
1747
|
rules: {
|
|
1736
1748
|
minimum?: number | undefined;
|
|
1737
1749
|
maximum?: number | undefined;
|
|
@@ -1742,9 +1754,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1742
1754
|
description?: string | undefined;
|
|
1743
1755
|
icon?: string | undefined;
|
|
1744
1756
|
} | {
|
|
1745
|
-
type: "percentage";
|
|
1746
1757
|
code: string;
|
|
1747
1758
|
name: string;
|
|
1759
|
+
type: "percentage";
|
|
1748
1760
|
rules: {
|
|
1749
1761
|
minimum?: number | undefined;
|
|
1750
1762
|
maximum?: number | undefined;
|
|
@@ -1758,24 +1770,24 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1758
1770
|
}, {
|
|
1759
1771
|
version: string;
|
|
1760
1772
|
qualities: {
|
|
1761
|
-
type: "quality";
|
|
1762
1773
|
code: string;
|
|
1774
|
+
type: "quality";
|
|
1763
1775
|
title: string;
|
|
1764
1776
|
items: {
|
|
1765
|
-
type: "criterion";
|
|
1766
1777
|
code: string;
|
|
1778
|
+
type: "criterion";
|
|
1767
1779
|
title: string;
|
|
1768
1780
|
items: {
|
|
1769
|
-
type: "task-group";
|
|
1770
1781
|
code: string;
|
|
1782
|
+
type: "task-group";
|
|
1771
1783
|
title: string;
|
|
1772
1784
|
items: {
|
|
1773
|
-
type: "task";
|
|
1774
1785
|
code: string;
|
|
1786
|
+
type: "task";
|
|
1775
1787
|
title: string;
|
|
1776
1788
|
items: {
|
|
1777
|
-
type: "task-item";
|
|
1778
1789
|
code: string;
|
|
1790
|
+
type: "task-item";
|
|
1779
1791
|
definition: {
|
|
1780
1792
|
type: "select-single";
|
|
1781
1793
|
options: {
|
|
@@ -1824,6 +1836,7 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1824
1836
|
label: string;
|
|
1825
1837
|
text: string;
|
|
1826
1838
|
})[] | undefined;
|
|
1839
|
+
valueReference?: string | number | boolean | null | undefined;
|
|
1827
1840
|
sortOrder?: number | undefined;
|
|
1828
1841
|
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1829
1842
|
}[];
|
|
@@ -1920,9 +1933,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1920
1933
|
result?: any;
|
|
1921
1934
|
certifications?: string[] | undefined;
|
|
1922
1935
|
certificationDefinitions?: ({
|
|
1923
|
-
type: "number";
|
|
1924
1936
|
code: string;
|
|
1925
1937
|
name: string;
|
|
1938
|
+
type: "number";
|
|
1926
1939
|
rules: {
|
|
1927
1940
|
minimum?: number | undefined;
|
|
1928
1941
|
maximum?: number | undefined;
|
|
@@ -1933,9 +1946,9 @@ export declare const criteriaTreeSchema: z.ZodObject<z.objectUtil.extendShape<Pi
|
|
|
1933
1946
|
description?: string | undefined;
|
|
1934
1947
|
icon?: string | undefined;
|
|
1935
1948
|
} | {
|
|
1936
|
-
type: "percentage";
|
|
1937
1949
|
code: string;
|
|
1938
1950
|
name: string;
|
|
1951
|
+
type: "percentage";
|
|
1939
1952
|
rules: {
|
|
1940
1953
|
minimum?: number | undefined;
|
|
1941
1954
|
maximum?: number | undefined;
|