@openframe-org/criteria-set-protocol 2.0.16 → 2.0.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/README.md +1 -1
- package/dist/index.js +17 -7
- package/dist/v1/schemas/certification.d.ts +8 -8
- package/dist/v1/schemas/common.d.ts +2 -2
- package/dist/v1/schemas/criteria-tree.d.ts +358 -166
- package/dist/v1/schemas/criterion.d.ts +64 -29
- package/dist/v1/schemas/metadata.d.ts +2 -2
- package/dist/v1/schemas/response.d.ts +2 -2
- package/dist/v1/schemas/task-group.d.ts +48 -19
- package/dist/v1/schemas/task-item.d.ts +46 -5
- package/dist/v1/schemas/task-item.js +1 -1
- package/dist/v1/schemas/task.d.ts +34 -11
- package/dist/v1/schemas/theme.d.ts +82 -41
- package/dist/v1/types/express.d.ts +0 -1
- package/dist/v1/utils.d.ts +6 -761
- package/package.json +1 -1
|
@@ -611,6 +611,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
611
611
|
}>>;
|
|
612
612
|
definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
613
613
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
614
|
+
label: z.ZodOptional<z.ZodString>;
|
|
614
615
|
}, {
|
|
615
616
|
type: z.ZodLiteral<"select-single">;
|
|
616
617
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -641,6 +642,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
641
642
|
intro?: string | undefined;
|
|
642
643
|
outro?: string | undefined;
|
|
643
644
|
}[];
|
|
645
|
+
label?: string | undefined;
|
|
644
646
|
}, {
|
|
645
647
|
type: "select-single";
|
|
646
648
|
options: {
|
|
@@ -650,8 +652,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
650
652
|
intro?: string | undefined;
|
|
651
653
|
outro?: string | undefined;
|
|
652
654
|
}[];
|
|
655
|
+
label?: string | undefined;
|
|
653
656
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
654
657
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
658
|
+
label: z.ZodOptional<z.ZodString>;
|
|
655
659
|
}, {
|
|
656
660
|
type: z.ZodLiteral<"select-multiple">;
|
|
657
661
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -682,6 +686,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
682
686
|
intro?: string | undefined;
|
|
683
687
|
outro?: string | undefined;
|
|
684
688
|
}[];
|
|
689
|
+
label?: string | undefined;
|
|
685
690
|
}, {
|
|
686
691
|
type: "select-multiple";
|
|
687
692
|
options: {
|
|
@@ -691,8 +696,10 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
691
696
|
intro?: string | undefined;
|
|
692
697
|
outro?: string | undefined;
|
|
693
698
|
}[];
|
|
699
|
+
label?: string | undefined;
|
|
694
700
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
695
701
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
702
|
+
label: z.ZodOptional<z.ZodString>;
|
|
696
703
|
}, {
|
|
697
704
|
type: z.ZodLiteral<"number">;
|
|
698
705
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
@@ -700,16 +707,19 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
700
707
|
step: z.ZodOptional<z.ZodNumber>;
|
|
701
708
|
}>, "strip", z.ZodTypeAny, {
|
|
702
709
|
type: "number";
|
|
710
|
+
label?: string | undefined;
|
|
703
711
|
minimum?: number | undefined;
|
|
704
712
|
maximum?: number | undefined;
|
|
705
713
|
step?: number | undefined;
|
|
706
714
|
}, {
|
|
707
715
|
type: "number";
|
|
716
|
+
label?: string | undefined;
|
|
708
717
|
minimum?: number | undefined;
|
|
709
718
|
maximum?: number | undefined;
|
|
710
719
|
step?: number | undefined;
|
|
711
720
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
712
721
|
type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
|
|
722
|
+
label: z.ZodOptional<z.ZodString>;
|
|
713
723
|
}, {
|
|
714
724
|
type: z.ZodLiteral<"boolean">;
|
|
715
725
|
labels: z.ZodOptional<z.ZodObject<{
|
|
@@ -724,19 +734,20 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
724
734
|
}>>;
|
|
725
735
|
}>, "strip", z.ZodTypeAny, {
|
|
726
736
|
type: "boolean";
|
|
737
|
+
label?: string | undefined;
|
|
727
738
|
labels?: {
|
|
728
739
|
false: string;
|
|
729
740
|
true: string;
|
|
730
741
|
} | undefined;
|
|
731
742
|
}, {
|
|
732
743
|
type: "boolean";
|
|
744
|
+
label?: string | undefined;
|
|
733
745
|
labels?: {
|
|
734
746
|
false: string;
|
|
735
747
|
true: string;
|
|
736
748
|
} | undefined;
|
|
737
749
|
}>]>;
|
|
738
750
|
description: z.ZodOptional<z.ZodString>;
|
|
739
|
-
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">]>>>;
|
|
740
751
|
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">]>>;
|
|
741
752
|
options: z.ZodOptional<z.ZodObject<{
|
|
742
753
|
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -746,8 +757,8 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
746
757
|
hideCode?: boolean | undefined;
|
|
747
758
|
}>>;
|
|
748
759
|
}>, "strip", z.ZodTypeAny, {
|
|
749
|
-
type: "task-item";
|
|
750
760
|
code: string;
|
|
761
|
+
type: "task-item";
|
|
751
762
|
definition: {
|
|
752
763
|
type: "select-single";
|
|
753
764
|
options: {
|
|
@@ -757,6 +768,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
757
768
|
intro?: string | undefined;
|
|
758
769
|
outro?: string | undefined;
|
|
759
770
|
}[];
|
|
771
|
+
label?: string | undefined;
|
|
760
772
|
} | {
|
|
761
773
|
type: "select-multiple";
|
|
762
774
|
options: {
|
|
@@ -766,13 +778,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
766
778
|
intro?: string | undefined;
|
|
767
779
|
outro?: string | undefined;
|
|
768
780
|
}[];
|
|
781
|
+
label?: string | undefined;
|
|
769
782
|
} | {
|
|
770
783
|
type: "number";
|
|
784
|
+
label?: string | undefined;
|
|
771
785
|
minimum?: number | undefined;
|
|
772
786
|
maximum?: number | undefined;
|
|
773
787
|
step?: number | undefined;
|
|
774
788
|
} | {
|
|
775
789
|
type: "boolean";
|
|
790
|
+
label?: string | undefined;
|
|
776
791
|
labels?: {
|
|
777
792
|
false: string;
|
|
778
793
|
true: string;
|
|
@@ -814,10 +829,9 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
814
829
|
})[] | undefined;
|
|
815
830
|
sortOrder?: number | undefined;
|
|
816
831
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
817
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
818
832
|
}, {
|
|
819
|
-
type: "task-item";
|
|
820
833
|
code: string;
|
|
834
|
+
type: "task-item";
|
|
821
835
|
definition: {
|
|
822
836
|
type: "select-single";
|
|
823
837
|
options: {
|
|
@@ -827,6 +841,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
827
841
|
intro?: string | undefined;
|
|
828
842
|
outro?: string | undefined;
|
|
829
843
|
}[];
|
|
844
|
+
label?: string | undefined;
|
|
830
845
|
} | {
|
|
831
846
|
type: "select-multiple";
|
|
832
847
|
options: {
|
|
@@ -836,13 +851,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
836
851
|
intro?: string | undefined;
|
|
837
852
|
outro?: string | undefined;
|
|
838
853
|
}[];
|
|
854
|
+
label?: string | undefined;
|
|
839
855
|
} | {
|
|
840
856
|
type: "number";
|
|
857
|
+
label?: string | undefined;
|
|
841
858
|
minimum?: number | undefined;
|
|
842
859
|
maximum?: number | undefined;
|
|
843
860
|
step?: number | undefined;
|
|
844
861
|
} | {
|
|
845
862
|
type: "boolean";
|
|
863
|
+
label?: string | undefined;
|
|
846
864
|
labels?: {
|
|
847
865
|
false: string;
|
|
848
866
|
true: string;
|
|
@@ -884,7 +902,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
884
902
|
})[] | undefined;
|
|
885
903
|
sortOrder?: number | undefined;
|
|
886
904
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
887
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
888
905
|
}>>, "many">;
|
|
889
906
|
options: z.ZodOptional<z.ZodObject<{
|
|
890
907
|
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -894,12 +911,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
894
911
|
hideCode?: boolean | undefined;
|
|
895
912
|
}>>;
|
|
896
913
|
}>, "strip", z.ZodTypeAny, {
|
|
897
|
-
type: "task";
|
|
898
914
|
code: string;
|
|
915
|
+
type: "task";
|
|
899
916
|
title: string;
|
|
900
917
|
items: {
|
|
901
|
-
type: "task-item";
|
|
902
918
|
code: string;
|
|
919
|
+
type: "task-item";
|
|
903
920
|
definition: {
|
|
904
921
|
type: "select-single";
|
|
905
922
|
options: {
|
|
@@ -909,6 +926,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
909
926
|
intro?: string | undefined;
|
|
910
927
|
outro?: string | undefined;
|
|
911
928
|
}[];
|
|
929
|
+
label?: string | undefined;
|
|
912
930
|
} | {
|
|
913
931
|
type: "select-multiple";
|
|
914
932
|
options: {
|
|
@@ -918,13 +936,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
918
936
|
intro?: string | undefined;
|
|
919
937
|
outro?: string | undefined;
|
|
920
938
|
}[];
|
|
939
|
+
label?: string | undefined;
|
|
921
940
|
} | {
|
|
922
941
|
type: "number";
|
|
942
|
+
label?: string | undefined;
|
|
923
943
|
minimum?: number | undefined;
|
|
924
944
|
maximum?: number | undefined;
|
|
925
945
|
step?: number | undefined;
|
|
926
946
|
} | {
|
|
927
947
|
type: "boolean";
|
|
948
|
+
label?: string | undefined;
|
|
928
949
|
labels?: {
|
|
929
950
|
false: string;
|
|
930
951
|
true: string;
|
|
@@ -966,7 +987,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
966
987
|
})[] | undefined;
|
|
967
988
|
sortOrder?: number | undefined;
|
|
968
989
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
969
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
970
990
|
}[];
|
|
971
991
|
data?: {
|
|
972
992
|
type?: "number" | "percentage" | undefined;
|
|
@@ -1003,12 +1023,12 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1003
1023
|
})[] | undefined;
|
|
1004
1024
|
sortOrder?: number | undefined;
|
|
1005
1025
|
}, {
|
|
1006
|
-
type: "task";
|
|
1007
1026
|
code: string;
|
|
1027
|
+
type: "task";
|
|
1008
1028
|
title: string;
|
|
1009
1029
|
items: {
|
|
1010
|
-
type: "task-item";
|
|
1011
1030
|
code: string;
|
|
1031
|
+
type: "task-item";
|
|
1012
1032
|
definition: {
|
|
1013
1033
|
type: "select-single";
|
|
1014
1034
|
options: {
|
|
@@ -1018,6 +1038,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1018
1038
|
intro?: string | undefined;
|
|
1019
1039
|
outro?: string | undefined;
|
|
1020
1040
|
}[];
|
|
1041
|
+
label?: string | undefined;
|
|
1021
1042
|
} | {
|
|
1022
1043
|
type: "select-multiple";
|
|
1023
1044
|
options: {
|
|
@@ -1027,13 +1048,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1027
1048
|
intro?: string | undefined;
|
|
1028
1049
|
outro?: string | undefined;
|
|
1029
1050
|
}[];
|
|
1051
|
+
label?: string | undefined;
|
|
1030
1052
|
} | {
|
|
1031
1053
|
type: "number";
|
|
1054
|
+
label?: string | undefined;
|
|
1032
1055
|
minimum?: number | undefined;
|
|
1033
1056
|
maximum?: number | undefined;
|
|
1034
1057
|
step?: number | undefined;
|
|
1035
1058
|
} | {
|
|
1036
1059
|
type: "boolean";
|
|
1060
|
+
label?: string | undefined;
|
|
1037
1061
|
labels?: {
|
|
1038
1062
|
false: string;
|
|
1039
1063
|
true: string;
|
|
@@ -1075,7 +1099,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1075
1099
|
})[] | undefined;
|
|
1076
1100
|
sortOrder?: number | undefined;
|
|
1077
1101
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1078
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1079
1102
|
}[];
|
|
1080
1103
|
data?: {
|
|
1081
1104
|
type?: "number" | "percentage" | undefined;
|
|
@@ -1123,16 +1146,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1123
1146
|
hideFromHierarchy?: boolean | undefined;
|
|
1124
1147
|
}>>;
|
|
1125
1148
|
}>, "strip", z.ZodTypeAny, {
|
|
1126
|
-
type: "task-group";
|
|
1127
1149
|
code: string;
|
|
1150
|
+
type: "task-group";
|
|
1128
1151
|
title: string;
|
|
1129
1152
|
items: {
|
|
1130
|
-
type: "task";
|
|
1131
1153
|
code: string;
|
|
1154
|
+
type: "task";
|
|
1132
1155
|
title: string;
|
|
1133
1156
|
items: {
|
|
1134
|
-
type: "task-item";
|
|
1135
1157
|
code: string;
|
|
1158
|
+
type: "task-item";
|
|
1136
1159
|
definition: {
|
|
1137
1160
|
type: "select-single";
|
|
1138
1161
|
options: {
|
|
@@ -1142,6 +1165,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1142
1165
|
intro?: string | undefined;
|
|
1143
1166
|
outro?: string | undefined;
|
|
1144
1167
|
}[];
|
|
1168
|
+
label?: string | undefined;
|
|
1145
1169
|
} | {
|
|
1146
1170
|
type: "select-multiple";
|
|
1147
1171
|
options: {
|
|
@@ -1151,13 +1175,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1151
1175
|
intro?: string | undefined;
|
|
1152
1176
|
outro?: string | undefined;
|
|
1153
1177
|
}[];
|
|
1178
|
+
label?: string | undefined;
|
|
1154
1179
|
} | {
|
|
1155
1180
|
type: "number";
|
|
1181
|
+
label?: string | undefined;
|
|
1156
1182
|
minimum?: number | undefined;
|
|
1157
1183
|
maximum?: number | undefined;
|
|
1158
1184
|
step?: number | undefined;
|
|
1159
1185
|
} | {
|
|
1160
1186
|
type: "boolean";
|
|
1187
|
+
label?: string | undefined;
|
|
1161
1188
|
labels?: {
|
|
1162
1189
|
false: string;
|
|
1163
1190
|
true: string;
|
|
@@ -1199,7 +1226,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1199
1226
|
})[] | undefined;
|
|
1200
1227
|
sortOrder?: number | undefined;
|
|
1201
1228
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1202
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1203
1229
|
}[];
|
|
1204
1230
|
data?: {
|
|
1205
1231
|
type?: "number" | "percentage" | undefined;
|
|
@@ -1272,16 +1298,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1272
1298
|
sortOrder?: number | undefined;
|
|
1273
1299
|
category?: string | undefined;
|
|
1274
1300
|
}, {
|
|
1275
|
-
type: "task-group";
|
|
1276
1301
|
code: string;
|
|
1302
|
+
type: "task-group";
|
|
1277
1303
|
title: string;
|
|
1278
1304
|
items: {
|
|
1279
|
-
type: "task";
|
|
1280
1305
|
code: string;
|
|
1306
|
+
type: "task";
|
|
1281
1307
|
title: string;
|
|
1282
1308
|
items: {
|
|
1283
|
-
type: "task-item";
|
|
1284
1309
|
code: string;
|
|
1310
|
+
type: "task-item";
|
|
1285
1311
|
definition: {
|
|
1286
1312
|
type: "select-single";
|
|
1287
1313
|
options: {
|
|
@@ -1291,6 +1317,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1291
1317
|
intro?: string | undefined;
|
|
1292
1318
|
outro?: string | undefined;
|
|
1293
1319
|
}[];
|
|
1320
|
+
label?: string | undefined;
|
|
1294
1321
|
} | {
|
|
1295
1322
|
type: "select-multiple";
|
|
1296
1323
|
options: {
|
|
@@ -1300,13 +1327,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1300
1327
|
intro?: string | undefined;
|
|
1301
1328
|
outro?: string | undefined;
|
|
1302
1329
|
}[];
|
|
1330
|
+
label?: string | undefined;
|
|
1303
1331
|
} | {
|
|
1304
1332
|
type: "number";
|
|
1333
|
+
label?: string | undefined;
|
|
1305
1334
|
minimum?: number | undefined;
|
|
1306
1335
|
maximum?: number | undefined;
|
|
1307
1336
|
step?: number | undefined;
|
|
1308
1337
|
} | {
|
|
1309
1338
|
type: "boolean";
|
|
1339
|
+
label?: string | undefined;
|
|
1310
1340
|
labels?: {
|
|
1311
1341
|
false: string;
|
|
1312
1342
|
true: string;
|
|
@@ -1348,7 +1378,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1348
1378
|
})[] | undefined;
|
|
1349
1379
|
sortOrder?: number | undefined;
|
|
1350
1380
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1351
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1352
1381
|
}[];
|
|
1353
1382
|
data?: {
|
|
1354
1383
|
type?: "number" | "percentage" | undefined;
|
|
@@ -1432,20 +1461,20 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1432
1461
|
hideFromHierarchy?: boolean | undefined;
|
|
1433
1462
|
}>>;
|
|
1434
1463
|
}>, "strip", z.ZodTypeAny, {
|
|
1435
|
-
type: "criterion";
|
|
1436
1464
|
code: string;
|
|
1465
|
+
type: "criterion";
|
|
1437
1466
|
title: string;
|
|
1438
1467
|
items: {
|
|
1439
|
-
type: "task-group";
|
|
1440
1468
|
code: string;
|
|
1469
|
+
type: "task-group";
|
|
1441
1470
|
title: string;
|
|
1442
1471
|
items: {
|
|
1443
|
-
type: "task";
|
|
1444
1472
|
code: string;
|
|
1473
|
+
type: "task";
|
|
1445
1474
|
title: string;
|
|
1446
1475
|
items: {
|
|
1447
|
-
type: "task-item";
|
|
1448
1476
|
code: string;
|
|
1477
|
+
type: "task-item";
|
|
1449
1478
|
definition: {
|
|
1450
1479
|
type: "select-single";
|
|
1451
1480
|
options: {
|
|
@@ -1455,6 +1484,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1455
1484
|
intro?: string | undefined;
|
|
1456
1485
|
outro?: string | undefined;
|
|
1457
1486
|
}[];
|
|
1487
|
+
label?: string | undefined;
|
|
1458
1488
|
} | {
|
|
1459
1489
|
type: "select-multiple";
|
|
1460
1490
|
options: {
|
|
@@ -1464,13 +1494,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1464
1494
|
intro?: string | undefined;
|
|
1465
1495
|
outro?: string | undefined;
|
|
1466
1496
|
}[];
|
|
1497
|
+
label?: string | undefined;
|
|
1467
1498
|
} | {
|
|
1468
1499
|
type: "number";
|
|
1500
|
+
label?: string | undefined;
|
|
1469
1501
|
minimum?: number | undefined;
|
|
1470
1502
|
maximum?: number | undefined;
|
|
1471
1503
|
step?: number | undefined;
|
|
1472
1504
|
} | {
|
|
1473
1505
|
type: "boolean";
|
|
1506
|
+
label?: string | undefined;
|
|
1474
1507
|
labels?: {
|
|
1475
1508
|
false: string;
|
|
1476
1509
|
true: string;
|
|
@@ -1512,7 +1545,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1512
1545
|
})[] | undefined;
|
|
1513
1546
|
sortOrder?: number | undefined;
|
|
1514
1547
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1515
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1516
1548
|
}[];
|
|
1517
1549
|
data?: {
|
|
1518
1550
|
type?: "number" | "percentage" | undefined;
|
|
@@ -1620,20 +1652,20 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1620
1652
|
})[] | undefined;
|
|
1621
1653
|
sortOrder?: number | undefined;
|
|
1622
1654
|
}, {
|
|
1623
|
-
type: "criterion";
|
|
1624
1655
|
code: string;
|
|
1656
|
+
type: "criterion";
|
|
1625
1657
|
title: string;
|
|
1626
1658
|
items: {
|
|
1627
|
-
type: "task-group";
|
|
1628
1659
|
code: string;
|
|
1660
|
+
type: "task-group";
|
|
1629
1661
|
title: string;
|
|
1630
1662
|
items: {
|
|
1631
|
-
type: "task";
|
|
1632
1663
|
code: string;
|
|
1664
|
+
type: "task";
|
|
1633
1665
|
title: string;
|
|
1634
1666
|
items: {
|
|
1635
|
-
type: "task-item";
|
|
1636
1667
|
code: string;
|
|
1668
|
+
type: "task-item";
|
|
1637
1669
|
definition: {
|
|
1638
1670
|
type: "select-single";
|
|
1639
1671
|
options: {
|
|
@@ -1643,6 +1675,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1643
1675
|
intro?: string | undefined;
|
|
1644
1676
|
outro?: string | undefined;
|
|
1645
1677
|
}[];
|
|
1678
|
+
label?: string | undefined;
|
|
1646
1679
|
} | {
|
|
1647
1680
|
type: "select-multiple";
|
|
1648
1681
|
options: {
|
|
@@ -1652,13 +1685,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1652
1685
|
intro?: string | undefined;
|
|
1653
1686
|
outro?: string | undefined;
|
|
1654
1687
|
}[];
|
|
1688
|
+
label?: string | undefined;
|
|
1655
1689
|
} | {
|
|
1656
1690
|
type: "number";
|
|
1691
|
+
label?: string | undefined;
|
|
1657
1692
|
minimum?: number | undefined;
|
|
1658
1693
|
maximum?: number | undefined;
|
|
1659
1694
|
step?: number | undefined;
|
|
1660
1695
|
} | {
|
|
1661
1696
|
type: "boolean";
|
|
1697
|
+
label?: string | undefined;
|
|
1662
1698
|
labels?: {
|
|
1663
1699
|
false: string;
|
|
1664
1700
|
true: string;
|
|
@@ -1700,7 +1736,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1700
1736
|
})[] | undefined;
|
|
1701
1737
|
sortOrder?: number | undefined;
|
|
1702
1738
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1703
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1704
1739
|
}[];
|
|
1705
1740
|
data?: {
|
|
1706
1741
|
type?: "number" | "percentage" | undefined;
|
|
@@ -1819,24 +1854,24 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1819
1854
|
hideFromHierarchy?: boolean | undefined;
|
|
1820
1855
|
}>>;
|
|
1821
1856
|
}>, "strip", z.ZodTypeAny, {
|
|
1822
|
-
type: "theme";
|
|
1823
1857
|
code: string;
|
|
1858
|
+
type: "theme";
|
|
1824
1859
|
title: string;
|
|
1825
1860
|
items: {
|
|
1826
|
-
type: "criterion";
|
|
1827
1861
|
code: string;
|
|
1862
|
+
type: "criterion";
|
|
1828
1863
|
title: string;
|
|
1829
1864
|
items: {
|
|
1830
|
-
type: "task-group";
|
|
1831
1865
|
code: string;
|
|
1866
|
+
type: "task-group";
|
|
1832
1867
|
title: string;
|
|
1833
1868
|
items: {
|
|
1834
|
-
type: "task";
|
|
1835
1869
|
code: string;
|
|
1870
|
+
type: "task";
|
|
1836
1871
|
title: string;
|
|
1837
1872
|
items: {
|
|
1838
|
-
type: "task-item";
|
|
1839
1873
|
code: string;
|
|
1874
|
+
type: "task-item";
|
|
1840
1875
|
definition: {
|
|
1841
1876
|
type: "select-single";
|
|
1842
1877
|
options: {
|
|
@@ -1846,6 +1881,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1846
1881
|
intro?: string | undefined;
|
|
1847
1882
|
outro?: string | undefined;
|
|
1848
1883
|
}[];
|
|
1884
|
+
label?: string | undefined;
|
|
1849
1885
|
} | {
|
|
1850
1886
|
type: "select-multiple";
|
|
1851
1887
|
options: {
|
|
@@ -1855,13 +1891,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1855
1891
|
intro?: string | undefined;
|
|
1856
1892
|
outro?: string | undefined;
|
|
1857
1893
|
}[];
|
|
1894
|
+
label?: string | undefined;
|
|
1858
1895
|
} | {
|
|
1859
1896
|
type: "number";
|
|
1897
|
+
label?: string | undefined;
|
|
1860
1898
|
minimum?: number | undefined;
|
|
1861
1899
|
maximum?: number | undefined;
|
|
1862
1900
|
step?: number | undefined;
|
|
1863
1901
|
} | {
|
|
1864
1902
|
type: "boolean";
|
|
1903
|
+
label?: string | undefined;
|
|
1865
1904
|
labels?: {
|
|
1866
1905
|
false: string;
|
|
1867
1906
|
true: string;
|
|
@@ -1903,7 +1942,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1903
1942
|
})[] | undefined;
|
|
1904
1943
|
sortOrder?: number | undefined;
|
|
1905
1944
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
1906
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
1907
1945
|
}[];
|
|
1908
1946
|
data?: {
|
|
1909
1947
|
type?: "number" | "percentage" | undefined;
|
|
@@ -2058,24 +2096,24 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2058
2096
|
})[] | undefined;
|
|
2059
2097
|
sortOrder?: number | undefined;
|
|
2060
2098
|
}, {
|
|
2061
|
-
type: "theme";
|
|
2062
2099
|
code: string;
|
|
2100
|
+
type: "theme";
|
|
2063
2101
|
title: string;
|
|
2064
2102
|
items: {
|
|
2065
|
-
type: "criterion";
|
|
2066
2103
|
code: string;
|
|
2104
|
+
type: "criterion";
|
|
2067
2105
|
title: string;
|
|
2068
2106
|
items: {
|
|
2069
|
-
type: "task-group";
|
|
2070
2107
|
code: string;
|
|
2108
|
+
type: "task-group";
|
|
2071
2109
|
title: string;
|
|
2072
2110
|
items: {
|
|
2073
|
-
type: "task";
|
|
2074
2111
|
code: string;
|
|
2112
|
+
type: "task";
|
|
2075
2113
|
title: string;
|
|
2076
2114
|
items: {
|
|
2077
|
-
type: "task-item";
|
|
2078
2115
|
code: string;
|
|
2116
|
+
type: "task-item";
|
|
2079
2117
|
definition: {
|
|
2080
2118
|
type: "select-single";
|
|
2081
2119
|
options: {
|
|
@@ -2085,6 +2123,7 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2085
2123
|
intro?: string | undefined;
|
|
2086
2124
|
outro?: string | undefined;
|
|
2087
2125
|
}[];
|
|
2126
|
+
label?: string | undefined;
|
|
2088
2127
|
} | {
|
|
2089
2128
|
type: "select-multiple";
|
|
2090
2129
|
options: {
|
|
@@ -2094,13 +2133,16 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2094
2133
|
intro?: string | undefined;
|
|
2095
2134
|
outro?: string | undefined;
|
|
2096
2135
|
}[];
|
|
2136
|
+
label?: string | undefined;
|
|
2097
2137
|
} | {
|
|
2098
2138
|
type: "number";
|
|
2139
|
+
label?: string | undefined;
|
|
2099
2140
|
minimum?: number | undefined;
|
|
2100
2141
|
maximum?: number | undefined;
|
|
2101
2142
|
step?: number | undefined;
|
|
2102
2143
|
} | {
|
|
2103
2144
|
type: "boolean";
|
|
2145
|
+
label?: string | undefined;
|
|
2104
2146
|
labels?: {
|
|
2105
2147
|
false: string;
|
|
2106
2148
|
true: string;
|
|
@@ -2142,7 +2184,6 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2142
2184
|
})[] | undefined;
|
|
2143
2185
|
sortOrder?: number | undefined;
|
|
2144
2186
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
2145
|
-
providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
2146
2187
|
}[];
|
|
2147
2188
|
data?: {
|
|
2148
2189
|
type?: "number" | "percentage" | undefined;
|