@openframe-org/criteria-set-protocol 2.2.12 → 2.2.13
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/common.d.ts +7 -0
- package/dist/v1/schemas/common.js +8 -1
- package/dist/v1/schemas/criteria-tree.d.ts +192 -36
- package/dist/v1/schemas/criterion.d.ts +39 -5
- package/dist/v1/schemas/criterion.js +1 -0
- package/dist/v1/schemas/task-group.d.ts +15 -1
- package/dist/v1/schemas/task.d.ts +18 -2
- package/dist/v1/schemas/task.js +1 -0
- package/dist/v1/schemas/theme.d.ts +66 -14
- package/dist/v1/schemas/theme.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
2
|
+
export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
|
5
5
|
hideCodeInReport: boolean;
|
|
@@ -47,6 +47,12 @@ export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection
|
|
|
47
47
|
criteriaTreeElementTextFormat: string;
|
|
48
48
|
}, {
|
|
49
49
|
criteriaTreeElementTextFormat: string;
|
|
50
|
+
}>>, z.ZodObject<{
|
|
51
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
reportTextFormat?: string | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
reportTextFormat?: string | undefined;
|
|
50
56
|
}>>;
|
|
51
57
|
export declare const criterionSchema: z.ZodObject<{
|
|
52
58
|
title: z.ZodString;
|
|
@@ -735,7 +741,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
735
741
|
})[] | undefined;
|
|
736
742
|
sortOrder?: number | undefined;
|
|
737
743
|
}>>, "many">;
|
|
738
|
-
options: z.ZodIntersection<z.ZodObject<{
|
|
744
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
739
745
|
breadcrumbTextFormat: z.ZodString;
|
|
740
746
|
documentTreeFolderTextFormat: z.ZodString;
|
|
741
747
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -753,6 +759,12 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
753
759
|
criteriaTreeElementTextFormat: string;
|
|
754
760
|
}, {
|
|
755
761
|
criteriaTreeElementTextFormat: string;
|
|
762
|
+
}>>, z.ZodObject<{
|
|
763
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
765
|
+
reportTextFormat?: string | undefined;
|
|
766
|
+
}, {
|
|
767
|
+
reportTextFormat?: string | undefined;
|
|
756
768
|
}>>;
|
|
757
769
|
}, "strip", z.ZodTypeAny, {
|
|
758
770
|
code: string;
|
|
@@ -764,6 +776,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
764
776
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
765
777
|
} & {
|
|
766
778
|
criteriaTreeElementTextFormat: string;
|
|
779
|
+
} & {
|
|
780
|
+
reportTextFormat?: string | undefined;
|
|
767
781
|
};
|
|
768
782
|
items: {
|
|
769
783
|
code: string;
|
|
@@ -890,6 +904,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
890
904
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
891
905
|
} & {
|
|
892
906
|
criteriaTreeElementTextFormat: string;
|
|
907
|
+
} & {
|
|
908
|
+
reportTextFormat?: string | undefined;
|
|
893
909
|
};
|
|
894
910
|
items: {
|
|
895
911
|
code: string;
|
|
@@ -1021,6 +1037,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1021
1037
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1022
1038
|
} & {
|
|
1023
1039
|
criteriaTreeElementTextFormat: string;
|
|
1040
|
+
} & {
|
|
1041
|
+
reportTextFormat?: string | undefined;
|
|
1024
1042
|
};
|
|
1025
1043
|
items: {
|
|
1026
1044
|
code: string;
|
|
@@ -1182,6 +1200,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1182
1200
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
1183
1201
|
} & {
|
|
1184
1202
|
criteriaTreeElementTextFormat: string;
|
|
1203
|
+
} & {
|
|
1204
|
+
reportTextFormat?: string | undefined;
|
|
1185
1205
|
};
|
|
1186
1206
|
items: {
|
|
1187
1207
|
code: string;
|
|
@@ -1330,7 +1350,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1330
1350
|
sortOrder?: number | undefined;
|
|
1331
1351
|
category?: string | undefined;
|
|
1332
1352
|
}>>, "many">;
|
|
1333
|
-
options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1353
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1334
1354
|
hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1335
1355
|
}, "strip", z.ZodTypeAny, {
|
|
1336
1356
|
hideCodeInReport: boolean;
|
|
@@ -1378,12 +1398,18 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1378
1398
|
criteriaTreeElementTextFormat: string;
|
|
1379
1399
|
}, {
|
|
1380
1400
|
criteriaTreeElementTextFormat: string;
|
|
1401
|
+
}>>, z.ZodObject<{
|
|
1402
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
}, "strip", z.ZodTypeAny, {
|
|
1404
|
+
reportTextFormat?: string | undefined;
|
|
1405
|
+
}, {
|
|
1406
|
+
reportTextFormat?: string | undefined;
|
|
1381
1407
|
}>>;
|
|
1382
1408
|
}, "strip", z.ZodTypeAny, {
|
|
1383
1409
|
code: string;
|
|
1384
1410
|
type: "criterion";
|
|
1385
1411
|
title: string;
|
|
1386
|
-
options: (({
|
|
1412
|
+
options: ((({
|
|
1387
1413
|
hideCodeInReport: boolean;
|
|
1388
1414
|
} & ({
|
|
1389
1415
|
hideFromBreadcrumbs: true;
|
|
@@ -1399,6 +1425,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1399
1425
|
hideFromDocumentTree?: false | undefined;
|
|
1400
1426
|
})) & {
|
|
1401
1427
|
criteriaTreeElementTextFormat: string;
|
|
1428
|
+
}) & {
|
|
1429
|
+
reportTextFormat?: string | undefined;
|
|
1402
1430
|
};
|
|
1403
1431
|
items: {
|
|
1404
1432
|
code: string;
|
|
@@ -1414,6 +1442,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1414
1442
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1415
1443
|
} & {
|
|
1416
1444
|
criteriaTreeElementTextFormat: string;
|
|
1445
|
+
} & {
|
|
1446
|
+
reportTextFormat?: string | undefined;
|
|
1417
1447
|
};
|
|
1418
1448
|
items: {
|
|
1419
1449
|
code: string;
|
|
@@ -1594,7 +1624,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1594
1624
|
code: string;
|
|
1595
1625
|
type: "criterion";
|
|
1596
1626
|
title: string;
|
|
1597
|
-
options: (({
|
|
1627
|
+
options: ((({
|
|
1598
1628
|
hideCodeInReport?: boolean | undefined;
|
|
1599
1629
|
} & ({
|
|
1600
1630
|
hideFromBreadcrumbs: true;
|
|
@@ -1610,6 +1640,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1610
1640
|
hideFromDocumentTree?: false | undefined;
|
|
1611
1641
|
})) & {
|
|
1612
1642
|
criteriaTreeElementTextFormat: string;
|
|
1643
|
+
}) & {
|
|
1644
|
+
reportTextFormat?: string | undefined;
|
|
1613
1645
|
};
|
|
1614
1646
|
items: {
|
|
1615
1647
|
code: string;
|
|
@@ -1625,6 +1657,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1625
1657
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
1626
1658
|
} & {
|
|
1627
1659
|
criteriaTreeElementTextFormat: string;
|
|
1660
|
+
} & {
|
|
1661
|
+
reportTextFormat?: string | undefined;
|
|
1628
1662
|
};
|
|
1629
1663
|
items: {
|
|
1630
1664
|
code: string;
|
|
@@ -15,6 +15,7 @@ exports.criterionOptionsSchema = zod_1.z
|
|
|
15
15
|
.and(common_1.breadcrumbOptionsSchema)
|
|
16
16
|
.and(common_1.documentTreeOptionsSchema)
|
|
17
17
|
.and(common_1.criteriaTreeOptionsSchema)
|
|
18
|
+
.and(common_1.reportOptionsSchema)
|
|
18
19
|
.describe("CriterionOptions - Configuration options for criterion display and behavior");
|
|
19
20
|
exports.criterionSchema = common_1.abstractElementSchema
|
|
20
21
|
.extend({
|
|
@@ -604,7 +604,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
604
604
|
})[] | undefined;
|
|
605
605
|
sortOrder?: number | undefined;
|
|
606
606
|
}>>, "many">;
|
|
607
|
-
options: z.ZodIntersection<z.ZodObject<{
|
|
607
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
608
608
|
breadcrumbTextFormat: z.ZodString;
|
|
609
609
|
documentTreeFolderTextFormat: z.ZodString;
|
|
610
610
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -622,6 +622,12 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
622
622
|
criteriaTreeElementTextFormat: string;
|
|
623
623
|
}, {
|
|
624
624
|
criteriaTreeElementTextFormat: string;
|
|
625
|
+
}>>, z.ZodObject<{
|
|
626
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
|
628
|
+
reportTextFormat?: string | undefined;
|
|
629
|
+
}, {
|
|
630
|
+
reportTextFormat?: string | undefined;
|
|
625
631
|
}>>;
|
|
626
632
|
}, "strip", z.ZodTypeAny, {
|
|
627
633
|
code: string;
|
|
@@ -633,6 +639,8 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
633
639
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
634
640
|
} & {
|
|
635
641
|
criteriaTreeElementTextFormat: string;
|
|
642
|
+
} & {
|
|
643
|
+
reportTextFormat?: string | undefined;
|
|
636
644
|
};
|
|
637
645
|
items: {
|
|
638
646
|
code: string;
|
|
@@ -759,6 +767,8 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
759
767
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
760
768
|
} & {
|
|
761
769
|
criteriaTreeElementTextFormat: string;
|
|
770
|
+
} & {
|
|
771
|
+
reportTextFormat?: string | undefined;
|
|
762
772
|
};
|
|
763
773
|
items: {
|
|
764
774
|
code: string;
|
|
@@ -890,6 +900,8 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
890
900
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
891
901
|
} & {
|
|
892
902
|
criteriaTreeElementTextFormat: string;
|
|
903
|
+
} & {
|
|
904
|
+
reportTextFormat?: string | undefined;
|
|
893
905
|
};
|
|
894
906
|
items: {
|
|
895
907
|
code: string;
|
|
@@ -1051,6 +1063,8 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
1051
1063
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
1052
1064
|
} & {
|
|
1053
1065
|
criteriaTreeElementTextFormat: string;
|
|
1066
|
+
} & {
|
|
1067
|
+
reportTextFormat?: string | undefined;
|
|
1054
1068
|
};
|
|
1055
1069
|
items: {
|
|
1056
1070
|
code: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const taskOptionsSchema: z.ZodIntersection<z.ZodObject<{
|
|
2
|
+
export declare const taskOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
breadcrumbTextFormat: z.ZodString;
|
|
4
4
|
documentTreeFolderTextFormat: z.ZodString;
|
|
5
5
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -17,6 +17,12 @@ export declare const taskOptionsSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
17
17
|
criteriaTreeElementTextFormat: string;
|
|
18
18
|
}, {
|
|
19
19
|
criteriaTreeElementTextFormat: string;
|
|
20
|
+
}>>, z.ZodObject<{
|
|
21
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
reportTextFormat?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
reportTextFormat?: string | undefined;
|
|
20
26
|
}>>;
|
|
21
27
|
export declare const taskSchema: z.ZodObject<{
|
|
22
28
|
title: z.ZodString;
|
|
@@ -539,7 +545,7 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
539
545
|
})[] | undefined;
|
|
540
546
|
sortOrder?: number | undefined;
|
|
541
547
|
}>>, "many">;
|
|
542
|
-
options: z.ZodIntersection<z.ZodObject<{
|
|
548
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
543
549
|
breadcrumbTextFormat: z.ZodString;
|
|
544
550
|
documentTreeFolderTextFormat: z.ZodString;
|
|
545
551
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -557,6 +563,12 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
557
563
|
criteriaTreeElementTextFormat: string;
|
|
558
564
|
}, {
|
|
559
565
|
criteriaTreeElementTextFormat: string;
|
|
566
|
+
}>>, z.ZodObject<{
|
|
567
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
568
|
+
}, "strip", z.ZodTypeAny, {
|
|
569
|
+
reportTextFormat?: string | undefined;
|
|
570
|
+
}, {
|
|
571
|
+
reportTextFormat?: string | undefined;
|
|
560
572
|
}>>;
|
|
561
573
|
}, "strip", z.ZodTypeAny, {
|
|
562
574
|
code: string;
|
|
@@ -568,6 +580,8 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
568
580
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
569
581
|
} & {
|
|
570
582
|
criteriaTreeElementTextFormat: string;
|
|
583
|
+
} & {
|
|
584
|
+
reportTextFormat?: string | undefined;
|
|
571
585
|
};
|
|
572
586
|
items: {
|
|
573
587
|
code: string;
|
|
@@ -694,6 +708,8 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
694
708
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
695
709
|
} & {
|
|
696
710
|
criteriaTreeElementTextFormat: string;
|
|
711
|
+
} & {
|
|
712
|
+
reportTextFormat?: string | undefined;
|
|
697
713
|
};
|
|
698
714
|
items: {
|
|
699
715
|
code: string;
|
package/dist/v1/schemas/task.js
CHANGED
|
@@ -19,6 +19,7 @@ exports.taskOptionsSchema = zod_1.z
|
|
|
19
19
|
.describe("Whether the title of the indicator task view should show the task code, or the hardcoded description text"),
|
|
20
20
|
})
|
|
21
21
|
.and(common_1.criteriaTreeOptionsSchema)
|
|
22
|
+
.and(common_1.reportOptionsSchema)
|
|
22
23
|
.describe("TaskOptions - Configuration options for task display and behavior");
|
|
23
24
|
exports.taskSchema = common_1.abstractElementSchema.extend({
|
|
24
25
|
type: zod_1.z.literal("task").describe("Identifies the schema type as a task"),
|
|
@@ -49,7 +49,7 @@ export declare const themeStyleSchema: z.ZodObject<{
|
|
|
49
49
|
blue: number;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
|
-
export declare const themeOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
52
|
+
export declare const themeOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
53
53
|
hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
hideCodeInReport: boolean;
|
|
@@ -91,7 +91,13 @@ export declare const themeOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
91
91
|
}, {
|
|
92
92
|
documentTreeFolderTextFormat: string;
|
|
93
93
|
hideFromDocumentTree?: false | undefined;
|
|
94
|
-
}>]
|
|
94
|
+
}>]>>, z.ZodObject<{
|
|
95
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
reportTextFormat?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
reportTextFormat?: string | undefined;
|
|
100
|
+
}>>;
|
|
95
101
|
export declare const themeSchema: z.ZodObject<{
|
|
96
102
|
title: z.ZodString;
|
|
97
103
|
longFormTitle: z.ZodString;
|
|
@@ -911,7 +917,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
911
917
|
})[] | undefined;
|
|
912
918
|
sortOrder?: number | undefined;
|
|
913
919
|
}>>, "many">;
|
|
914
|
-
options: z.ZodIntersection<z.ZodObject<{
|
|
920
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
915
921
|
breadcrumbTextFormat: z.ZodString;
|
|
916
922
|
documentTreeFolderTextFormat: z.ZodString;
|
|
917
923
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -929,6 +935,12 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
929
935
|
criteriaTreeElementTextFormat: string;
|
|
930
936
|
}, {
|
|
931
937
|
criteriaTreeElementTextFormat: string;
|
|
938
|
+
}>>, z.ZodObject<{
|
|
939
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
940
|
+
}, "strip", z.ZodTypeAny, {
|
|
941
|
+
reportTextFormat?: string | undefined;
|
|
942
|
+
}, {
|
|
943
|
+
reportTextFormat?: string | undefined;
|
|
932
944
|
}>>;
|
|
933
945
|
}, "strip", z.ZodTypeAny, {
|
|
934
946
|
code: string;
|
|
@@ -940,6 +952,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
940
952
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
941
953
|
} & {
|
|
942
954
|
criteriaTreeElementTextFormat: string;
|
|
955
|
+
} & {
|
|
956
|
+
reportTextFormat?: string | undefined;
|
|
943
957
|
};
|
|
944
958
|
items: {
|
|
945
959
|
code: string;
|
|
@@ -1066,6 +1080,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1066
1080
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
1067
1081
|
} & {
|
|
1068
1082
|
criteriaTreeElementTextFormat: string;
|
|
1083
|
+
} & {
|
|
1084
|
+
reportTextFormat?: string | undefined;
|
|
1069
1085
|
};
|
|
1070
1086
|
items: {
|
|
1071
1087
|
code: string;
|
|
@@ -1197,6 +1213,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1197
1213
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1198
1214
|
} & {
|
|
1199
1215
|
criteriaTreeElementTextFormat: string;
|
|
1216
|
+
} & {
|
|
1217
|
+
reportTextFormat?: string | undefined;
|
|
1200
1218
|
};
|
|
1201
1219
|
items: {
|
|
1202
1220
|
code: string;
|
|
@@ -1358,6 +1376,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1358
1376
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
1359
1377
|
} & {
|
|
1360
1378
|
criteriaTreeElementTextFormat: string;
|
|
1379
|
+
} & {
|
|
1380
|
+
reportTextFormat?: string | undefined;
|
|
1361
1381
|
};
|
|
1362
1382
|
items: {
|
|
1363
1383
|
code: string;
|
|
@@ -1506,7 +1526,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1506
1526
|
sortOrder?: number | undefined;
|
|
1507
1527
|
category?: string | undefined;
|
|
1508
1528
|
}>>, "many">;
|
|
1509
|
-
options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1529
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1510
1530
|
hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1511
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1512
1532
|
hideCodeInReport: boolean;
|
|
@@ -1554,12 +1574,18 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1554
1574
|
criteriaTreeElementTextFormat: string;
|
|
1555
1575
|
}, {
|
|
1556
1576
|
criteriaTreeElementTextFormat: string;
|
|
1577
|
+
}>>, z.ZodObject<{
|
|
1578
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
}, "strip", z.ZodTypeAny, {
|
|
1580
|
+
reportTextFormat?: string | undefined;
|
|
1581
|
+
}, {
|
|
1582
|
+
reportTextFormat?: string | undefined;
|
|
1557
1583
|
}>>;
|
|
1558
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1559
1585
|
code: string;
|
|
1560
1586
|
type: "criterion";
|
|
1561
1587
|
title: string;
|
|
1562
|
-
options: (({
|
|
1588
|
+
options: ((({
|
|
1563
1589
|
hideCodeInReport: boolean;
|
|
1564
1590
|
} & ({
|
|
1565
1591
|
hideFromBreadcrumbs: true;
|
|
@@ -1575,6 +1601,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1575
1601
|
hideFromDocumentTree?: false | undefined;
|
|
1576
1602
|
})) & {
|
|
1577
1603
|
criteriaTreeElementTextFormat: string;
|
|
1604
|
+
}) & {
|
|
1605
|
+
reportTextFormat?: string | undefined;
|
|
1578
1606
|
};
|
|
1579
1607
|
items: {
|
|
1580
1608
|
code: string;
|
|
@@ -1590,6 +1618,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1590
1618
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1591
1619
|
} & {
|
|
1592
1620
|
criteriaTreeElementTextFormat: string;
|
|
1621
|
+
} & {
|
|
1622
|
+
reportTextFormat?: string | undefined;
|
|
1593
1623
|
};
|
|
1594
1624
|
items: {
|
|
1595
1625
|
code: string;
|
|
@@ -1770,7 +1800,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1770
1800
|
code: string;
|
|
1771
1801
|
type: "criterion";
|
|
1772
1802
|
title: string;
|
|
1773
|
-
options: (({
|
|
1803
|
+
options: ((({
|
|
1774
1804
|
hideCodeInReport?: boolean | undefined;
|
|
1775
1805
|
} & ({
|
|
1776
1806
|
hideFromBreadcrumbs: true;
|
|
@@ -1786,6 +1816,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1786
1816
|
hideFromDocumentTree?: false | undefined;
|
|
1787
1817
|
})) & {
|
|
1788
1818
|
criteriaTreeElementTextFormat: string;
|
|
1819
|
+
}) & {
|
|
1820
|
+
reportTextFormat?: string | undefined;
|
|
1789
1821
|
};
|
|
1790
1822
|
items: {
|
|
1791
1823
|
code: string;
|
|
@@ -1801,6 +1833,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1801
1833
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
1802
1834
|
} & {
|
|
1803
1835
|
criteriaTreeElementTextFormat: string;
|
|
1836
|
+
} & {
|
|
1837
|
+
reportTextFormat?: string | undefined;
|
|
1804
1838
|
};
|
|
1805
1839
|
items: {
|
|
1806
1840
|
code: string;
|
|
@@ -1978,7 +2012,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
1978
2012
|
})[] | undefined;
|
|
1979
2013
|
sortOrder?: number | undefined;
|
|
1980
2014
|
}>, "many">;
|
|
1981
|
-
options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
2015
|
+
options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1982
2016
|
hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1983
2017
|
}, "strip", z.ZodTypeAny, {
|
|
1984
2018
|
hideCodeInReport: boolean;
|
|
@@ -2020,12 +2054,18 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2020
2054
|
}, {
|
|
2021
2055
|
documentTreeFolderTextFormat: string;
|
|
2022
2056
|
hideFromDocumentTree?: false | undefined;
|
|
2023
|
-
}>]
|
|
2057
|
+
}>]>>, z.ZodObject<{
|
|
2058
|
+
reportTextFormat: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
}, "strip", z.ZodTypeAny, {
|
|
2060
|
+
reportTextFormat?: string | undefined;
|
|
2061
|
+
}, {
|
|
2062
|
+
reportTextFormat?: string | undefined;
|
|
2063
|
+
}>>;
|
|
2024
2064
|
}, "strip", z.ZodTypeAny, {
|
|
2025
2065
|
code: string;
|
|
2026
2066
|
type: "theme";
|
|
2027
2067
|
title: string;
|
|
2028
|
-
options: ({
|
|
2068
|
+
options: (({
|
|
2029
2069
|
hideCodeInReport: boolean;
|
|
2030
2070
|
} & ({
|
|
2031
2071
|
hideFromBreadcrumbs: true;
|
|
@@ -2039,12 +2079,14 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2039
2079
|
} | {
|
|
2040
2080
|
documentTreeFolderTextFormat: string;
|
|
2041
2081
|
hideFromDocumentTree?: false | undefined;
|
|
2042
|
-
})
|
|
2082
|
+
})) & {
|
|
2083
|
+
reportTextFormat?: string | undefined;
|
|
2084
|
+
};
|
|
2043
2085
|
items: {
|
|
2044
2086
|
code: string;
|
|
2045
2087
|
type: "criterion";
|
|
2046
2088
|
title: string;
|
|
2047
|
-
options: (({
|
|
2089
|
+
options: ((({
|
|
2048
2090
|
hideCodeInReport: boolean;
|
|
2049
2091
|
} & ({
|
|
2050
2092
|
hideFromBreadcrumbs: true;
|
|
@@ -2060,6 +2102,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2060
2102
|
hideFromDocumentTree?: false | undefined;
|
|
2061
2103
|
})) & {
|
|
2062
2104
|
criteriaTreeElementTextFormat: string;
|
|
2105
|
+
}) & {
|
|
2106
|
+
reportTextFormat?: string | undefined;
|
|
2063
2107
|
};
|
|
2064
2108
|
items: {
|
|
2065
2109
|
code: string;
|
|
@@ -2075,6 +2119,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2075
2119
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
2076
2120
|
} & {
|
|
2077
2121
|
criteriaTreeElementTextFormat: string;
|
|
2122
|
+
} & {
|
|
2123
|
+
reportTextFormat?: string | undefined;
|
|
2078
2124
|
};
|
|
2079
2125
|
items: {
|
|
2080
2126
|
code: string;
|
|
@@ -2296,7 +2342,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2296
2342
|
code: string;
|
|
2297
2343
|
type: "theme";
|
|
2298
2344
|
title: string;
|
|
2299
|
-
options: ({
|
|
2345
|
+
options: (({
|
|
2300
2346
|
hideCodeInReport?: boolean | undefined;
|
|
2301
2347
|
} & ({
|
|
2302
2348
|
hideFromBreadcrumbs: true;
|
|
@@ -2310,12 +2356,14 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2310
2356
|
} | {
|
|
2311
2357
|
documentTreeFolderTextFormat: string;
|
|
2312
2358
|
hideFromDocumentTree?: false | undefined;
|
|
2313
|
-
})
|
|
2359
|
+
})) & {
|
|
2360
|
+
reportTextFormat?: string | undefined;
|
|
2361
|
+
};
|
|
2314
2362
|
items: {
|
|
2315
2363
|
code: string;
|
|
2316
2364
|
type: "criterion";
|
|
2317
2365
|
title: string;
|
|
2318
|
-
options: (({
|
|
2366
|
+
options: ((({
|
|
2319
2367
|
hideCodeInReport?: boolean | undefined;
|
|
2320
2368
|
} & ({
|
|
2321
2369
|
hideFromBreadcrumbs: true;
|
|
@@ -2331,6 +2379,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2331
2379
|
hideFromDocumentTree?: false | undefined;
|
|
2332
2380
|
})) & {
|
|
2333
2381
|
criteriaTreeElementTextFormat: string;
|
|
2382
|
+
}) & {
|
|
2383
|
+
reportTextFormat?: string | undefined;
|
|
2334
2384
|
};
|
|
2335
2385
|
items: {
|
|
2336
2386
|
code: string;
|
|
@@ -2346,6 +2396,8 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
2346
2396
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
2347
2397
|
} & {
|
|
2348
2398
|
criteriaTreeElementTextFormat: string;
|
|
2399
|
+
} & {
|
|
2400
|
+
reportTextFormat?: string | undefined;
|
|
2349
2401
|
};
|
|
2350
2402
|
items: {
|
|
2351
2403
|
code: string;
|
package/dist/v1/schemas/theme.js
CHANGED
|
@@ -20,6 +20,7 @@ exports.themeOptionsSchema = zod_1.z
|
|
|
20
20
|
})
|
|
21
21
|
.and(common_1.breadcrumbOptionsSchema)
|
|
22
22
|
.and(common_1.documentTreeOptionsSchema)
|
|
23
|
+
.and(common_1.reportOptionsSchema)
|
|
23
24
|
.describe("ThemeOptions - Configuration options for theme display and behavior");
|
|
24
25
|
exports.themeSchema = common_1.abstractElementSchema
|
|
25
26
|
.extend({
|
package/package.json
CHANGED