@openframe-org/criteria-set-protocol 2.1.2 → 2.1.4
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-set.d.ts +0 -6
- package/dist/v1/schemas/criteria-set.js +0 -7
- package/dist/v1/schemas/criteria-tree.d.ts +24 -236
- package/dist/v1/schemas/criterion.d.ts +5 -63
- package/dist/v1/schemas/criterion.js +0 -14
- package/dist/v1/schemas/task-group.d.ts +4 -47
- package/dist/v1/schemas/task-group.js +3 -11
- package/dist/v1/schemas/task.d.ts +0 -14
- package/dist/v1/schemas/task.js +0 -7
- package/dist/v1/schemas/theme.d.ts +7 -87
- package/dist/v1/schemas/theme.js +0 -14
- package/dist/v1/utils.d.ts +4 -0
- package/dist/v1/utils.js +6 -1
- package/package.json +1 -1
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const criterionOptionsSchema: z.ZodObject<{
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
|
|
5
|
-
*/
|
|
6
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
|
|
9
|
-
*/
|
|
10
|
-
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
11
3
|
breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12
4
|
documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13
5
|
hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -19,13 +11,9 @@ export declare const criterionOptionsSchema: z.ZodObject<{
|
|
|
19
11
|
hideFromBreadcrumbs: boolean;
|
|
20
12
|
hideFromDocumentTree: boolean;
|
|
21
13
|
hideCodeInReport: boolean;
|
|
22
|
-
hideCode?: boolean | undefined;
|
|
23
|
-
hideFromHierarchy?: boolean | undefined;
|
|
24
14
|
}, {
|
|
25
|
-
hideCode?: boolean | undefined;
|
|
26
15
|
breadcrumbTextFormat?: string | undefined;
|
|
27
16
|
documentTreeFolderTextFormat?: string | undefined;
|
|
28
|
-
hideFromHierarchy?: boolean | undefined;
|
|
29
17
|
hideFromBreadcrumbs?: boolean | undefined;
|
|
30
18
|
hideFromDocumentTree?: boolean | undefined;
|
|
31
19
|
hideCodeInReport?: boolean | undefined;
|
|
@@ -739,7 +727,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
739
727
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
740
728
|
}>>, "many">;
|
|
741
729
|
options: z.ZodOptional<z.ZodObject<{
|
|
742
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
743
730
|
breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
744
731
|
documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
745
732
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -747,9 +734,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
747
734
|
breadcrumbTextFormat: string;
|
|
748
735
|
documentTreeFolderTextFormat: string;
|
|
749
736
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
750
|
-
hideCode?: boolean | undefined;
|
|
751
737
|
}, {
|
|
752
|
-
hideCode?: boolean | undefined;
|
|
753
738
|
breadcrumbTextFormat?: string | undefined;
|
|
754
739
|
documentTreeFolderTextFormat?: string | undefined;
|
|
755
740
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -860,7 +845,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
860
845
|
breadcrumbTextFormat: string;
|
|
861
846
|
documentTreeFolderTextFormat: string;
|
|
862
847
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
863
|
-
hideCode?: boolean | undefined;
|
|
864
848
|
} | undefined;
|
|
865
849
|
description?: string | undefined;
|
|
866
850
|
longFormTitle?: string | undefined;
|
|
@@ -984,7 +968,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
984
968
|
readOnly?: boolean | undefined;
|
|
985
969
|
} | undefined;
|
|
986
970
|
options?: {
|
|
987
|
-
hideCode?: boolean | undefined;
|
|
988
971
|
breadcrumbTextFormat?: string | undefined;
|
|
989
972
|
documentTreeFolderTextFormat?: string | undefined;
|
|
990
973
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -1009,16 +992,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1009
992
|
})[] | undefined;
|
|
1010
993
|
sortOrder?: number | undefined;
|
|
1011
994
|
}>>, "many">;
|
|
1012
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
1013
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
1014
|
-
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
1015
|
-
}, "strip", z.ZodTypeAny, {
|
|
1016
|
-
hideCode?: boolean | undefined;
|
|
1017
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1018
|
-
}, {
|
|
1019
|
-
hideCode?: boolean | undefined;
|
|
1020
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1021
|
-
}>>;
|
|
995
|
+
options: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
1022
996
|
}, "strip", z.ZodTypeAny, {
|
|
1023
997
|
code: string;
|
|
1024
998
|
type: "task-group";
|
|
@@ -1129,7 +1103,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1129
1103
|
breadcrumbTextFormat: string;
|
|
1130
1104
|
documentTreeFolderTextFormat: string;
|
|
1131
1105
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1132
|
-
hideCode?: boolean | undefined;
|
|
1133
1106
|
} | undefined;
|
|
1134
1107
|
description?: string | undefined;
|
|
1135
1108
|
longFormTitle?: string | undefined;
|
|
@@ -1163,10 +1136,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1163
1136
|
step?: number | undefined;
|
|
1164
1137
|
readOnly?: boolean | undefined;
|
|
1165
1138
|
} | undefined;
|
|
1166
|
-
options?: {
|
|
1167
|
-
hideCode?: boolean | undefined;
|
|
1168
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1169
|
-
} | undefined;
|
|
1139
|
+
options?: {} | undefined;
|
|
1170
1140
|
description?: string | undefined;
|
|
1171
1141
|
longFormTitle?: string | undefined;
|
|
1172
1142
|
tags?: string[] | undefined;
|
|
@@ -1294,7 +1264,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1294
1264
|
readOnly?: boolean | undefined;
|
|
1295
1265
|
} | undefined;
|
|
1296
1266
|
options?: {
|
|
1297
|
-
hideCode?: boolean | undefined;
|
|
1298
1267
|
breadcrumbTextFormat?: string | undefined;
|
|
1299
1268
|
documentTreeFolderTextFormat?: string | undefined;
|
|
1300
1269
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -1331,10 +1300,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1331
1300
|
step?: number | undefined;
|
|
1332
1301
|
readOnly?: boolean | undefined;
|
|
1333
1302
|
} | undefined;
|
|
1334
|
-
options?: {
|
|
1335
|
-
hideCode?: boolean | undefined;
|
|
1336
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1337
|
-
} | undefined;
|
|
1303
|
+
options?: {} | undefined;
|
|
1338
1304
|
description?: string | undefined;
|
|
1339
1305
|
longFormTitle?: string | undefined;
|
|
1340
1306
|
tags?: string[] | undefined;
|
|
@@ -1357,14 +1323,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1357
1323
|
category?: string | undefined;
|
|
1358
1324
|
}>>, "many">;
|
|
1359
1325
|
options: z.ZodOptional<z.ZodObject<{
|
|
1360
|
-
/**
|
|
1361
|
-
* @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
|
|
1362
|
-
*/
|
|
1363
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
1364
|
-
/**
|
|
1365
|
-
* @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
|
|
1366
|
-
*/
|
|
1367
|
-
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
1368
1326
|
breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1369
1327
|
documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1370
1328
|
hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1376,13 +1334,9 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1376
1334
|
hideFromBreadcrumbs: boolean;
|
|
1377
1335
|
hideFromDocumentTree: boolean;
|
|
1378
1336
|
hideCodeInReport: boolean;
|
|
1379
|
-
hideCode?: boolean | undefined;
|
|
1380
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1381
1337
|
}, {
|
|
1382
|
-
hideCode?: boolean | undefined;
|
|
1383
1338
|
breadcrumbTextFormat?: string | undefined;
|
|
1384
1339
|
documentTreeFolderTextFormat?: string | undefined;
|
|
1385
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1386
1340
|
hideFromBreadcrumbs?: boolean | undefined;
|
|
1387
1341
|
hideFromDocumentTree?: boolean | undefined;
|
|
1388
1342
|
hideCodeInReport?: boolean | undefined;
|
|
@@ -1501,7 +1455,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1501
1455
|
breadcrumbTextFormat: string;
|
|
1502
1456
|
documentTreeFolderTextFormat: string;
|
|
1503
1457
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1504
|
-
hideCode?: boolean | undefined;
|
|
1505
1458
|
} | undefined;
|
|
1506
1459
|
description?: string | undefined;
|
|
1507
1460
|
longFormTitle?: string | undefined;
|
|
@@ -1535,10 +1488,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1535
1488
|
step?: number | undefined;
|
|
1536
1489
|
readOnly?: boolean | undefined;
|
|
1537
1490
|
} | undefined;
|
|
1538
|
-
options?: {
|
|
1539
|
-
hideCode?: boolean | undefined;
|
|
1540
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1541
|
-
} | undefined;
|
|
1491
|
+
options?: {} | undefined;
|
|
1542
1492
|
description?: string | undefined;
|
|
1543
1493
|
longFormTitle?: string | undefined;
|
|
1544
1494
|
tags?: string[] | undefined;
|
|
@@ -1578,8 +1528,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1578
1528
|
hideFromBreadcrumbs: boolean;
|
|
1579
1529
|
hideFromDocumentTree: boolean;
|
|
1580
1530
|
hideCodeInReport: boolean;
|
|
1581
|
-
hideCode?: boolean | undefined;
|
|
1582
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1583
1531
|
} | undefined;
|
|
1584
1532
|
longFormTitle?: string | undefined;
|
|
1585
1533
|
tags?: string[] | undefined;
|
|
@@ -1710,7 +1658,6 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1710
1658
|
readOnly?: boolean | undefined;
|
|
1711
1659
|
} | undefined;
|
|
1712
1660
|
options?: {
|
|
1713
|
-
hideCode?: boolean | undefined;
|
|
1714
1661
|
breadcrumbTextFormat?: string | undefined;
|
|
1715
1662
|
documentTreeFolderTextFormat?: string | undefined;
|
|
1716
1663
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -1747,10 +1694,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1747
1694
|
step?: number | undefined;
|
|
1748
1695
|
readOnly?: boolean | undefined;
|
|
1749
1696
|
} | undefined;
|
|
1750
|
-
options?: {
|
|
1751
|
-
hideCode?: boolean | undefined;
|
|
1752
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1753
|
-
} | undefined;
|
|
1697
|
+
options?: {} | undefined;
|
|
1754
1698
|
description?: string | undefined;
|
|
1755
1699
|
longFormTitle?: string | undefined;
|
|
1756
1700
|
tags?: string[] | undefined;
|
|
@@ -1785,10 +1729,8 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
1785
1729
|
readOnly?: boolean | undefined;
|
|
1786
1730
|
} | undefined;
|
|
1787
1731
|
options?: {
|
|
1788
|
-
hideCode?: boolean | undefined;
|
|
1789
1732
|
breadcrumbTextFormat?: string | undefined;
|
|
1790
1733
|
documentTreeFolderTextFormat?: string | undefined;
|
|
1791
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1792
1734
|
hideFromBreadcrumbs?: boolean | undefined;
|
|
1793
1735
|
hideFromDocumentTree?: boolean | undefined;
|
|
1794
1736
|
hideCodeInReport?: boolean | undefined;
|
|
@@ -5,20 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const task_group_1 = require("./task-group");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
7
|
exports.criterionOptionsSchema = zod_1.z.object({
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
|
|
10
|
-
*/
|
|
11
|
-
hideCode: zod_1.z
|
|
12
|
-
.boolean()
|
|
13
|
-
.optional()
|
|
14
|
-
.describe(`Deprecated. Use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'`),
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
|
|
17
|
-
*/
|
|
18
|
-
hideFromHierarchy: zod_1.z
|
|
19
|
-
.boolean()
|
|
20
|
-
.optional()
|
|
21
|
-
.describe("Deprecated. Use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead"),
|
|
22
8
|
breadcrumbTextFormat: zod_1.z
|
|
23
9
|
.string()
|
|
24
10
|
.optional()
|
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const taskGroupOptionsSchema: z.ZodObject<{
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated never used
|
|
5
|
-
*/
|
|
6
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated never used
|
|
9
|
-
*/
|
|
10
|
-
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
hideCode?: boolean | undefined;
|
|
13
|
-
hideFromHierarchy?: boolean | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
hideCode?: boolean | undefined;
|
|
16
|
-
hideFromHierarchy?: boolean | undefined;
|
|
17
|
-
}>;
|
|
2
|
+
export declare const taskGroupOptionsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
18
3
|
export declare const taskGroupSchema: z.ZodObject<{
|
|
19
4
|
title: z.ZodString;
|
|
20
5
|
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -636,7 +621,6 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
636
621
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
637
622
|
}>>, "many">;
|
|
638
623
|
options: z.ZodOptional<z.ZodObject<{
|
|
639
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
640
624
|
breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
641
625
|
documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
642
626
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -644,9 +628,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
644
628
|
breadcrumbTextFormat: string;
|
|
645
629
|
documentTreeFolderTextFormat: string;
|
|
646
630
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
647
|
-
hideCode?: boolean | undefined;
|
|
648
631
|
}, {
|
|
649
|
-
hideCode?: boolean | undefined;
|
|
650
632
|
breadcrumbTextFormat?: string | undefined;
|
|
651
633
|
documentTreeFolderTextFormat?: string | undefined;
|
|
652
634
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -757,7 +739,6 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
757
739
|
breadcrumbTextFormat: string;
|
|
758
740
|
documentTreeFolderTextFormat: string;
|
|
759
741
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
760
|
-
hideCode?: boolean | undefined;
|
|
761
742
|
} | undefined;
|
|
762
743
|
description?: string | undefined;
|
|
763
744
|
longFormTitle?: string | undefined;
|
|
@@ -881,7 +862,6 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
881
862
|
readOnly?: boolean | undefined;
|
|
882
863
|
} | undefined;
|
|
883
864
|
options?: {
|
|
884
|
-
hideCode?: boolean | undefined;
|
|
885
865
|
breadcrumbTextFormat?: string | undefined;
|
|
886
866
|
documentTreeFolderTextFormat?: string | undefined;
|
|
887
867
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -906,22 +886,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
906
886
|
})[] | undefined;
|
|
907
887
|
sortOrder?: number | undefined;
|
|
908
888
|
}>>, "many">;
|
|
909
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
910
|
-
/**
|
|
911
|
-
* @deprecated never used
|
|
912
|
-
*/
|
|
913
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
914
|
-
/**
|
|
915
|
-
* @deprecated never used
|
|
916
|
-
*/
|
|
917
|
-
hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
|
|
918
|
-
}, "strip", z.ZodTypeAny, {
|
|
919
|
-
hideCode?: boolean | undefined;
|
|
920
|
-
hideFromHierarchy?: boolean | undefined;
|
|
921
|
-
}, {
|
|
922
|
-
hideCode?: boolean | undefined;
|
|
923
|
-
hideFromHierarchy?: boolean | undefined;
|
|
924
|
-
}>>;
|
|
889
|
+
options: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
925
890
|
}, "strip", z.ZodTypeAny, {
|
|
926
891
|
code: string;
|
|
927
892
|
type: "task-group";
|
|
@@ -1032,7 +997,6 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
1032
997
|
breadcrumbTextFormat: string;
|
|
1033
998
|
documentTreeFolderTextFormat: string;
|
|
1034
999
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
1035
|
-
hideCode?: boolean | undefined;
|
|
1036
1000
|
} | undefined;
|
|
1037
1001
|
description?: string | undefined;
|
|
1038
1002
|
longFormTitle?: string | undefined;
|
|
@@ -1066,10 +1030,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
1066
1030
|
step?: number | undefined;
|
|
1067
1031
|
readOnly?: boolean | undefined;
|
|
1068
1032
|
} | undefined;
|
|
1069
|
-
options?: {
|
|
1070
|
-
hideCode?: boolean | undefined;
|
|
1071
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1072
|
-
} | undefined;
|
|
1033
|
+
options?: {} | undefined;
|
|
1073
1034
|
description?: string | undefined;
|
|
1074
1035
|
longFormTitle?: string | undefined;
|
|
1075
1036
|
tags?: string[] | undefined;
|
|
@@ -1197,7 +1158,6 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
1197
1158
|
readOnly?: boolean | undefined;
|
|
1198
1159
|
} | undefined;
|
|
1199
1160
|
options?: {
|
|
1200
|
-
hideCode?: boolean | undefined;
|
|
1201
1161
|
breadcrumbTextFormat?: string | undefined;
|
|
1202
1162
|
documentTreeFolderTextFormat?: string | undefined;
|
|
1203
1163
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -1234,10 +1194,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
1234
1194
|
step?: number | undefined;
|
|
1235
1195
|
readOnly?: boolean | undefined;
|
|
1236
1196
|
} | undefined;
|
|
1237
|
-
options?: {
|
|
1238
|
-
hideCode?: boolean | undefined;
|
|
1239
|
-
hideFromHierarchy?: boolean | undefined;
|
|
1240
|
-
} | undefined;
|
|
1197
|
+
options?: {} | undefined;
|
|
1241
1198
|
description?: string | undefined;
|
|
1242
1199
|
longFormTitle?: string | undefined;
|
|
1243
1200
|
tags?: string[] | undefined;
|
|
@@ -5,17 +5,9 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const task_1 = require("./task");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
7
|
exports.taskGroupOptionsSchema = zod_1.z.object({
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
hideCode: zod_1.z.boolean().optional().describe(`Deprecated. Never used`),
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated never used
|
|
14
|
-
*/
|
|
15
|
-
hideFromHierarchy: zod_1.z.boolean().optional().describe("Deprecated. Never used"),
|
|
16
|
-
// The task group layer is never rendered in the breadcrumbs
|
|
17
|
-
// The task group layer is never rendered in the document tree
|
|
18
|
-
// The task group layer is never rendered in the PDF report
|
|
8
|
+
// The task group layer is never rendered in the breadcrumbs
|
|
9
|
+
// The task group layer is never rendered in the document tree
|
|
10
|
+
// The task group layer is never rendered in the PDF report
|
|
19
11
|
});
|
|
20
12
|
exports.taskGroupSchema = common_1.abstractElementSchema.extend({
|
|
21
13
|
type: zod_1.z
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const taskOptionsSchema: z.ZodObject<{
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'`
|
|
5
|
-
*/
|
|
6
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
7
3
|
breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
4
|
documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9
5
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -11,9 +7,7 @@ export declare const taskOptionsSchema: z.ZodObject<{
|
|
|
11
7
|
breadcrumbTextFormat: string;
|
|
12
8
|
documentTreeFolderTextFormat: string;
|
|
13
9
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
14
|
-
hideCode?: boolean | undefined;
|
|
15
10
|
}, {
|
|
16
|
-
hideCode?: boolean | undefined;
|
|
17
11
|
breadcrumbTextFormat?: string | undefined;
|
|
18
12
|
documentTreeFolderTextFormat?: string | undefined;
|
|
19
13
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -549,10 +543,6 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
549
543
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
550
544
|
}>>, "many">;
|
|
551
545
|
options: z.ZodOptional<z.ZodObject<{
|
|
552
|
-
/**
|
|
553
|
-
* @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'`
|
|
554
|
-
*/
|
|
555
|
-
hideCode: z.ZodOptional<z.ZodBoolean>;
|
|
556
546
|
breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
557
547
|
documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
558
548
|
showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -560,9 +550,7 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
560
550
|
breadcrumbTextFormat: string;
|
|
561
551
|
documentTreeFolderTextFormat: string;
|
|
562
552
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
563
|
-
hideCode?: boolean | undefined;
|
|
564
553
|
}, {
|
|
565
|
-
hideCode?: boolean | undefined;
|
|
566
554
|
breadcrumbTextFormat?: string | undefined;
|
|
567
555
|
documentTreeFolderTextFormat?: string | undefined;
|
|
568
556
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
|
@@ -673,7 +661,6 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
673
661
|
breadcrumbTextFormat: string;
|
|
674
662
|
documentTreeFolderTextFormat: string;
|
|
675
663
|
showCodeAsIndicatorTaskViewTitle: boolean;
|
|
676
|
-
hideCode?: boolean | undefined;
|
|
677
664
|
} | undefined;
|
|
678
665
|
description?: string | undefined;
|
|
679
666
|
longFormTitle?: string | undefined;
|
|
@@ -797,7 +784,6 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
797
784
|
readOnly?: boolean | undefined;
|
|
798
785
|
} | undefined;
|
|
799
786
|
options?: {
|
|
800
|
-
hideCode?: boolean | undefined;
|
|
801
787
|
breadcrumbTextFormat?: string | undefined;
|
|
802
788
|
documentTreeFolderTextFormat?: string | undefined;
|
|
803
789
|
showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
|
package/dist/v1/schemas/task.js
CHANGED
|
@@ -5,13 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const task_item_1 = require("./task-item");
|
|
6
6
|
const common_1 = require("./common");
|
|
7
7
|
exports.taskOptionsSchema = zod_1.z.object({
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'`
|
|
10
|
-
*/
|
|
11
|
-
hideCode: zod_1.z
|
|
12
|
-
.boolean()
|
|
13
|
-
.optional()
|
|
14
|
-
.describe(`Deprecated. Use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:', and showCodeAsIndicatorTaskViewTitle, where showCodeAsIndicatorTaskViewTitle = !hideCode`),
|
|
15
8
|
breadcrumbTextFormat: zod_1.z
|
|
16
9
|
.string()
|
|
17
10
|
.optional()
|