@openframe-org/criteria-set-protocol 2.2.5 → 2.2.6

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.
@@ -227,6 +227,13 @@ export declare const documentTreeOptionsSchema: z.ZodUnion<[z.ZodObject<{
227
227
  documentTreeFolderTextFormat: string;
228
228
  hideFromDocumentTree?: false | undefined;
229
229
  }>]>;
230
+ export declare const criteriaTreeOptionsSchema: z.ZodObject<{
231
+ criteriaTreeElementTextFormat: z.ZodString;
232
+ }, "strip", z.ZodTypeAny, {
233
+ criteriaTreeElementTextFormat: string;
234
+ }, {
235
+ criteriaTreeElementTextFormat: string;
236
+ }>;
230
237
  export declare const treeResultSchema: z.ZodObject<{
231
238
  type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
232
239
  value: z.ZodOptional<z.ZodNumber>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.treeResultSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.taskItemValueSchema = exports.taskItemScalarValueSchema = exports.colorSchema = void 0;
3
+ exports.treeResultSchema = exports.criteriaTreeOptionsSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.taskItemValueSchema = exports.taskItemScalarValueSchema = exports.colorSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const documentation_1 = require("./documentation");
6
6
  exports.colorSchema = zod_1.z
@@ -9,8 +9,8 @@ exports.colorSchema = zod_1.z
9
9
  zod_1.z.object({
10
10
  red: zod_1.z.number().describe("Red component (0-255)"),
11
11
  green: zod_1.z.number().describe("Green component (0-255)"),
12
- blue: zod_1.z.number().describe("Blue component (0-255)"),
13
- }),
12
+ blue: zod_1.z.number().describe("Blue component (0-255)")
13
+ })
14
14
  ])
15
15
  .describe("Color");
16
16
  // These are not "common" and are task-item specific, but generate a circular dependency if moved to task-item.ts
@@ -47,7 +47,7 @@ exports.elementDataSchema = zod_1.z
47
47
  exclusiveMinimum: zod_1.z
48
48
  .number()
49
49
  .optional()
50
- .describe("Minimum allowed value (exclusive)"),
50
+ .describe("Minimum allowed value (exclusive)")
51
51
  })
52
52
  .describe("ElementData - Element data containing value constraints and metadata");
53
53
  exports.criteriaTreeElementTypeSchema = zod_1.z
@@ -71,7 +71,7 @@ exports.abstractElementSchema = zod_1.z
71
71
  sortOrder: zod_1.z
72
72
  .number()
73
73
  .optional()
74
- .describe("Custom sorting position within parent"),
74
+ .describe("Custom sorting position within parent")
75
75
  })
76
76
  .describe("AbstractElement - Base schema for all tree elements");
77
77
  exports.breadcrumbOptionsSchema = zod_1.z
@@ -79,7 +79,7 @@ exports.breadcrumbOptionsSchema = zod_1.z
79
79
  hideFromBreadcrumbs: zod_1.z
80
80
  .literal(true)
81
81
  .describe("Whether to hide the element from the breadcrumbs"),
82
- breadcrumbTextFormat: zod_1.z.never().optional(),
82
+ breadcrumbTextFormat: zod_1.z.never().optional()
83
83
  })
84
84
  .or(zod_1.z.object({
85
85
  hideFromBreadcrumbs: zod_1.z
@@ -89,14 +89,14 @@ exports.breadcrumbOptionsSchema = zod_1.z
89
89
  .describe("Whether to hide the element from the breadcrumbs"),
90
90
  breadcrumbTextFormat: zod_1.z
91
91
  .string()
92
- .describe("The format of the breadcrumb text, use ':code:' and ':title:' to define where the code and/or title should be inserted"),
92
+ .describe("The format of the breadcrumb text, use ':code:' and ':title:' to define where the code and/or title should be inserted")
93
93
  }));
94
94
  exports.documentTreeOptionsSchema = zod_1.z
95
95
  .object({
96
96
  hideFromDocumentTree: zod_1.z
97
97
  .literal(true)
98
98
  .describe("Whether to hide the element from the document tree folder structure"),
99
- documentTreeFolderTextFormat: zod_1.z.never().optional(),
99
+ documentTreeFolderTextFormat: zod_1.z.never().optional()
100
100
  })
101
101
  .or(zod_1.z.object({
102
102
  hideFromDocumentTree: zod_1.z
@@ -105,6 +105,12 @@ exports.documentTreeOptionsSchema = zod_1.z
105
105
  .describe("Whether to hide the element from the document tree folder structure"),
106
106
  documentTreeFolderTextFormat: zod_1.z
107
107
  .string()
108
- .describe("The format of the document tree folder text, use ':code:' and ':title:' to define where the code and/or title should be inserted"),
108
+ .describe("The format of the document tree folder text, use ':code:' and ':title:' to define where the code and/or title should be inserted")
109
109
  }));
110
- exports.treeResultSchema = exports.elementDataSchema.describe('TreeResult - The result of the evaluation of a criteria set');
110
+ exports.criteriaTreeOptionsSchema = zod_1.z
111
+ .object({
112
+ criteriaTreeElementTextFormat: zod_1.z
113
+ .string()
114
+ .describe("The format of the criteria tree element text, use ':code:' and ':title:' to define where the code and/or title should be inserted")
115
+ });
116
+ exports.treeResultSchema = exports.elementDataSchema.describe("TreeResult - The result of the evaluation of a criteria set");
@@ -910,7 +910,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
910
910
  })[] | undefined;
911
911
  sortOrder?: number | undefined;
912
912
  }>>, "many">;
913
- options: z.ZodObject<{
913
+ options: z.ZodIntersection<z.ZodObject<{
914
914
  breadcrumbTextFormat: z.ZodString;
915
915
  documentTreeFolderTextFormat: z.ZodString;
916
916
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -922,7 +922,13 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
922
922
  breadcrumbTextFormat: string;
923
923
  documentTreeFolderTextFormat: string;
924
924
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
925
- }>;
925
+ }>, z.ZodObject<{
926
+ criteriaTreeElementTextFormat: z.ZodString;
927
+ }, "strip", z.ZodTypeAny, {
928
+ criteriaTreeElementTextFormat: string;
929
+ }, {
930
+ criteriaTreeElementTextFormat: string;
931
+ }>>;
926
932
  }, "strip", z.ZodTypeAny, {
927
933
  code: string;
928
934
  type: "task";
@@ -931,6 +937,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
931
937
  breadcrumbTextFormat: string;
932
938
  documentTreeFolderTextFormat: string;
933
939
  showCodeAsIndicatorTaskViewTitle: boolean;
940
+ } & {
941
+ criteriaTreeElementTextFormat: string;
934
942
  };
935
943
  items: {
936
944
  code: string;
@@ -1053,6 +1061,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1053
1061
  breadcrumbTextFormat: string;
1054
1062
  documentTreeFolderTextFormat: string;
1055
1063
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1064
+ } & {
1065
+ criteriaTreeElementTextFormat: string;
1056
1066
  };
1057
1067
  items: {
1058
1068
  code: string;
@@ -1180,6 +1190,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1180
1190
  breadcrumbTextFormat: string;
1181
1191
  documentTreeFolderTextFormat: string;
1182
1192
  showCodeAsIndicatorTaskViewTitle: boolean;
1193
+ } & {
1194
+ criteriaTreeElementTextFormat: string;
1183
1195
  };
1184
1196
  items: {
1185
1197
  code: string;
@@ -1337,6 +1349,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1337
1349
  breadcrumbTextFormat: string;
1338
1350
  documentTreeFolderTextFormat: string;
1339
1351
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1352
+ } & {
1353
+ criteriaTreeElementTextFormat: string;
1340
1354
  };
1341
1355
  items: {
1342
1356
  code: string;
@@ -1483,7 +1497,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1483
1497
  sortOrder?: number | undefined;
1484
1498
  category?: string | undefined;
1485
1499
  }>>, "many">;
1486
- options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1500
+ options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1487
1501
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1488
1502
  }, "strip", z.ZodTypeAny, {
1489
1503
  hideCodeInReport: boolean;
@@ -1525,12 +1539,18 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1525
1539
  }, {
1526
1540
  documentTreeFolderTextFormat: string;
1527
1541
  hideFromDocumentTree?: false | undefined;
1528
- }>]>>;
1542
+ }>]>>, z.ZodObject<{
1543
+ criteriaTreeElementTextFormat: z.ZodString;
1544
+ }, "strip", z.ZodTypeAny, {
1545
+ criteriaTreeElementTextFormat: string;
1546
+ }, {
1547
+ criteriaTreeElementTextFormat: string;
1548
+ }>>;
1529
1549
  }, "strip", z.ZodTypeAny, {
1530
1550
  code: string;
1531
1551
  type: "criterion";
1532
1552
  title: string;
1533
- options: ({
1553
+ options: (({
1534
1554
  hideCodeInReport: boolean;
1535
1555
  } & ({
1536
1556
  hideFromBreadcrumbs: true;
@@ -1544,7 +1564,9 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1544
1564
  } | {
1545
1565
  documentTreeFolderTextFormat: string;
1546
1566
  hideFromDocumentTree?: false | undefined;
1547
- });
1567
+ })) & {
1568
+ criteriaTreeElementTextFormat: string;
1569
+ };
1548
1570
  items: {
1549
1571
  code: string;
1550
1572
  type: "task-group";
@@ -1557,6 +1579,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1557
1579
  breadcrumbTextFormat: string;
1558
1580
  documentTreeFolderTextFormat: string;
1559
1581
  showCodeAsIndicatorTaskViewTitle: boolean;
1582
+ } & {
1583
+ criteriaTreeElementTextFormat: string;
1560
1584
  };
1561
1585
  items: {
1562
1586
  code: string;
@@ -1735,7 +1759,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1735
1759
  code: string;
1736
1760
  type: "criterion";
1737
1761
  title: string;
1738
- options: ({
1762
+ options: (({
1739
1763
  hideCodeInReport?: boolean | undefined;
1740
1764
  } & ({
1741
1765
  hideFromBreadcrumbs: true;
@@ -1749,7 +1773,9 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1749
1773
  } | {
1750
1774
  documentTreeFolderTextFormat: string;
1751
1775
  hideFromDocumentTree?: false | undefined;
1752
- });
1776
+ })) & {
1777
+ criteriaTreeElementTextFormat: string;
1778
+ };
1753
1779
  items: {
1754
1780
  code: string;
1755
1781
  type: "task-group";
@@ -1762,6 +1788,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1762
1788
  breadcrumbTextFormat: string;
1763
1789
  documentTreeFolderTextFormat: string;
1764
1790
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1791
+ } & {
1792
+ criteriaTreeElementTextFormat: string;
1765
1793
  };
1766
1794
  items: {
1767
1795
  code: string;
@@ -2003,7 +2031,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2003
2031
  code: string;
2004
2032
  type: "criterion";
2005
2033
  title: string;
2006
- options: ({
2034
+ options: (({
2007
2035
  hideCodeInReport: boolean;
2008
2036
  } & ({
2009
2037
  hideFromBreadcrumbs: true;
@@ -2017,7 +2045,9 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2017
2045
  } | {
2018
2046
  documentTreeFolderTextFormat: string;
2019
2047
  hideFromDocumentTree?: false | undefined;
2020
- });
2048
+ })) & {
2049
+ criteriaTreeElementTextFormat: string;
2050
+ };
2021
2051
  items: {
2022
2052
  code: string;
2023
2053
  type: "task-group";
@@ -2030,6 +2060,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2030
2060
  breadcrumbTextFormat: string;
2031
2061
  documentTreeFolderTextFormat: string;
2032
2062
  showCodeAsIndicatorTaskViewTitle: boolean;
2063
+ } & {
2064
+ criteriaTreeElementTextFormat: string;
2033
2065
  };
2034
2066
  items: {
2035
2067
  code: string;
@@ -2268,7 +2300,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2268
2300
  code: string;
2269
2301
  type: "criterion";
2270
2302
  title: string;
2271
- options: ({
2303
+ options: (({
2272
2304
  hideCodeInReport?: boolean | undefined;
2273
2305
  } & ({
2274
2306
  hideFromBreadcrumbs: true;
@@ -2282,7 +2314,9 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2282
2314
  } | {
2283
2315
  documentTreeFolderTextFormat: string;
2284
2316
  hideFromDocumentTree?: false | undefined;
2285
- });
2317
+ })) & {
2318
+ criteriaTreeElementTextFormat: string;
2319
+ };
2286
2320
  items: {
2287
2321
  code: string;
2288
2322
  type: "task-group";
@@ -2295,6 +2329,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2295
2329
  breadcrumbTextFormat: string;
2296
2330
  documentTreeFolderTextFormat: string;
2297
2331
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
2332
+ } & {
2333
+ criteriaTreeElementTextFormat: string;
2298
2334
  };
2299
2335
  items: {
2300
2336
  code: string;
@@ -2657,7 +2693,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2657
2693
  code: string;
2658
2694
  type: "criterion";
2659
2695
  title: string;
2660
- options: ({
2696
+ options: (({
2661
2697
  hideCodeInReport: boolean;
2662
2698
  } & ({
2663
2699
  hideFromBreadcrumbs: true;
@@ -2671,7 +2707,9 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2671
2707
  } | {
2672
2708
  documentTreeFolderTextFormat: string;
2673
2709
  hideFromDocumentTree?: false | undefined;
2674
- });
2710
+ })) & {
2711
+ criteriaTreeElementTextFormat: string;
2712
+ };
2675
2713
  items: {
2676
2714
  code: string;
2677
2715
  type: "task-group";
@@ -2684,6 +2722,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2684
2722
  breadcrumbTextFormat: string;
2685
2723
  documentTreeFolderTextFormat: string;
2686
2724
  showCodeAsIndicatorTaskViewTitle: boolean;
2725
+ } & {
2726
+ criteriaTreeElementTextFormat: string;
2687
2727
  };
2688
2728
  items: {
2689
2729
  code: string;
@@ -2966,7 +3006,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2966
3006
  code: string;
2967
3007
  type: "criterion";
2968
3008
  title: string;
2969
- options: ({
3009
+ options: (({
2970
3010
  hideCodeInReport?: boolean | undefined;
2971
3011
  } & ({
2972
3012
  hideFromBreadcrumbs: true;
@@ -2980,7 +3020,9 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2980
3020
  } | {
2981
3021
  documentTreeFolderTextFormat: string;
2982
3022
  hideFromDocumentTree?: false | undefined;
2983
- });
3023
+ })) & {
3024
+ criteriaTreeElementTextFormat: string;
3025
+ };
2984
3026
  items: {
2985
3027
  code: string;
2986
3028
  type: "task-group";
@@ -2993,6 +3035,8 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2993
3035
  breadcrumbTextFormat: string;
2994
3036
  documentTreeFolderTextFormat: string;
2995
3037
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
3038
+ } & {
3039
+ criteriaTreeElementTextFormat: string;
2996
3040
  };
2997
3041
  items: {
2998
3042
  code: string;
@@ -4053,7 +4097,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4053
4097
  })[] | undefined;
4054
4098
  sortOrder?: number | undefined;
4055
4099
  }>>, "many">;
4056
- options: z.ZodObject<{
4100
+ options: z.ZodIntersection<z.ZodObject<{
4057
4101
  breadcrumbTextFormat: z.ZodString;
4058
4102
  documentTreeFolderTextFormat: z.ZodString;
4059
4103
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -4065,7 +4109,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4065
4109
  breadcrumbTextFormat: string;
4066
4110
  documentTreeFolderTextFormat: string;
4067
4111
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
4068
- }>;
4112
+ }>, z.ZodObject<{
4113
+ criteriaTreeElementTextFormat: z.ZodString;
4114
+ }, "strip", z.ZodTypeAny, {
4115
+ criteriaTreeElementTextFormat: string;
4116
+ }, {
4117
+ criteriaTreeElementTextFormat: string;
4118
+ }>>;
4069
4119
  }, "strip", z.ZodTypeAny, {
4070
4120
  code: string;
4071
4121
  type: "task";
@@ -4074,6 +4124,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4074
4124
  breadcrumbTextFormat: string;
4075
4125
  documentTreeFolderTextFormat: string;
4076
4126
  showCodeAsIndicatorTaskViewTitle: boolean;
4127
+ } & {
4128
+ criteriaTreeElementTextFormat: string;
4077
4129
  };
4078
4130
  items: {
4079
4131
  code: string;
@@ -4196,6 +4248,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4196
4248
  breadcrumbTextFormat: string;
4197
4249
  documentTreeFolderTextFormat: string;
4198
4250
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
4251
+ } & {
4252
+ criteriaTreeElementTextFormat: string;
4199
4253
  };
4200
4254
  items: {
4201
4255
  code: string;
@@ -4323,6 +4377,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4323
4377
  breadcrumbTextFormat: string;
4324
4378
  documentTreeFolderTextFormat: string;
4325
4379
  showCodeAsIndicatorTaskViewTitle: boolean;
4380
+ } & {
4381
+ criteriaTreeElementTextFormat: string;
4326
4382
  };
4327
4383
  items: {
4328
4384
  code: string;
@@ -4480,6 +4536,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4480
4536
  breadcrumbTextFormat: string;
4481
4537
  documentTreeFolderTextFormat: string;
4482
4538
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
4539
+ } & {
4540
+ criteriaTreeElementTextFormat: string;
4483
4541
  };
4484
4542
  items: {
4485
4543
  code: string;
@@ -4626,7 +4684,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4626
4684
  sortOrder?: number | undefined;
4627
4685
  category?: string | undefined;
4628
4686
  }>>, "many">;
4629
- options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
4687
+ options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
4630
4688
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4631
4689
  }, "strip", z.ZodTypeAny, {
4632
4690
  hideCodeInReport: boolean;
@@ -4668,12 +4726,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4668
4726
  }, {
4669
4727
  documentTreeFolderTextFormat: string;
4670
4728
  hideFromDocumentTree?: false | undefined;
4671
- }>]>>;
4729
+ }>]>>, z.ZodObject<{
4730
+ criteriaTreeElementTextFormat: z.ZodString;
4731
+ }, "strip", z.ZodTypeAny, {
4732
+ criteriaTreeElementTextFormat: string;
4733
+ }, {
4734
+ criteriaTreeElementTextFormat: string;
4735
+ }>>;
4672
4736
  }, "strip", z.ZodTypeAny, {
4673
4737
  code: string;
4674
4738
  type: "criterion";
4675
4739
  title: string;
4676
- options: ({
4740
+ options: (({
4677
4741
  hideCodeInReport: boolean;
4678
4742
  } & ({
4679
4743
  hideFromBreadcrumbs: true;
@@ -4687,7 +4751,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4687
4751
  } | {
4688
4752
  documentTreeFolderTextFormat: string;
4689
4753
  hideFromDocumentTree?: false | undefined;
4690
- });
4754
+ })) & {
4755
+ criteriaTreeElementTextFormat: string;
4756
+ };
4691
4757
  items: {
4692
4758
  code: string;
4693
4759
  type: "task-group";
@@ -4700,6 +4766,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4700
4766
  breadcrumbTextFormat: string;
4701
4767
  documentTreeFolderTextFormat: string;
4702
4768
  showCodeAsIndicatorTaskViewTitle: boolean;
4769
+ } & {
4770
+ criteriaTreeElementTextFormat: string;
4703
4771
  };
4704
4772
  items: {
4705
4773
  code: string;
@@ -4878,7 +4946,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4878
4946
  code: string;
4879
4947
  type: "criterion";
4880
4948
  title: string;
4881
- options: ({
4949
+ options: (({
4882
4950
  hideCodeInReport?: boolean | undefined;
4883
4951
  } & ({
4884
4952
  hideFromBreadcrumbs: true;
@@ -4892,7 +4960,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4892
4960
  } | {
4893
4961
  documentTreeFolderTextFormat: string;
4894
4962
  hideFromDocumentTree?: false | undefined;
4895
- });
4963
+ })) & {
4964
+ criteriaTreeElementTextFormat: string;
4965
+ };
4896
4966
  items: {
4897
4967
  code: string;
4898
4968
  type: "task-group";
@@ -4905,6 +4975,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4905
4975
  breadcrumbTextFormat: string;
4906
4976
  documentTreeFolderTextFormat: string;
4907
4977
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
4978
+ } & {
4979
+ criteriaTreeElementTextFormat: string;
4908
4980
  };
4909
4981
  items: {
4910
4982
  code: string;
@@ -5146,7 +5218,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5146
5218
  code: string;
5147
5219
  type: "criterion";
5148
5220
  title: string;
5149
- options: ({
5221
+ options: (({
5150
5222
  hideCodeInReport: boolean;
5151
5223
  } & ({
5152
5224
  hideFromBreadcrumbs: true;
@@ -5160,7 +5232,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5160
5232
  } | {
5161
5233
  documentTreeFolderTextFormat: string;
5162
5234
  hideFromDocumentTree?: false | undefined;
5163
- });
5235
+ })) & {
5236
+ criteriaTreeElementTextFormat: string;
5237
+ };
5164
5238
  items: {
5165
5239
  code: string;
5166
5240
  type: "task-group";
@@ -5173,6 +5247,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5173
5247
  breadcrumbTextFormat: string;
5174
5248
  documentTreeFolderTextFormat: string;
5175
5249
  showCodeAsIndicatorTaskViewTitle: boolean;
5250
+ } & {
5251
+ criteriaTreeElementTextFormat: string;
5176
5252
  };
5177
5253
  items: {
5178
5254
  code: string;
@@ -5411,7 +5487,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5411
5487
  code: string;
5412
5488
  type: "criterion";
5413
5489
  title: string;
5414
- options: ({
5490
+ options: (({
5415
5491
  hideCodeInReport?: boolean | undefined;
5416
5492
  } & ({
5417
5493
  hideFromBreadcrumbs: true;
@@ -5425,7 +5501,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5425
5501
  } | {
5426
5502
  documentTreeFolderTextFormat: string;
5427
5503
  hideFromDocumentTree?: false | undefined;
5428
- });
5504
+ })) & {
5505
+ criteriaTreeElementTextFormat: string;
5506
+ };
5429
5507
  items: {
5430
5508
  code: string;
5431
5509
  type: "task-group";
@@ -5438,6 +5516,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5438
5516
  breadcrumbTextFormat: string;
5439
5517
  documentTreeFolderTextFormat: string;
5440
5518
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
5519
+ } & {
5520
+ criteriaTreeElementTextFormat: string;
5441
5521
  };
5442
5522
  items: {
5443
5523
  code: string;
@@ -6336,7 +6416,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6336
6416
  })[] | undefined;
6337
6417
  sortOrder?: number | undefined;
6338
6418
  }>>, "many">;
6339
- options: z.ZodObject<{
6419
+ options: z.ZodIntersection<z.ZodObject<{
6340
6420
  breadcrumbTextFormat: z.ZodString;
6341
6421
  documentTreeFolderTextFormat: z.ZodString;
6342
6422
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -6348,7 +6428,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6348
6428
  breadcrumbTextFormat: string;
6349
6429
  documentTreeFolderTextFormat: string;
6350
6430
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
6351
- }>;
6431
+ }>, z.ZodObject<{
6432
+ criteriaTreeElementTextFormat: z.ZodString;
6433
+ }, "strip", z.ZodTypeAny, {
6434
+ criteriaTreeElementTextFormat: string;
6435
+ }, {
6436
+ criteriaTreeElementTextFormat: string;
6437
+ }>>;
6352
6438
  }, "strip", z.ZodTypeAny, {
6353
6439
  code: string;
6354
6440
  type: "task";
@@ -6357,6 +6443,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6357
6443
  breadcrumbTextFormat: string;
6358
6444
  documentTreeFolderTextFormat: string;
6359
6445
  showCodeAsIndicatorTaskViewTitle: boolean;
6446
+ } & {
6447
+ criteriaTreeElementTextFormat: string;
6360
6448
  };
6361
6449
  items: {
6362
6450
  code: string;
@@ -6479,6 +6567,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6479
6567
  breadcrumbTextFormat: string;
6480
6568
  documentTreeFolderTextFormat: string;
6481
6569
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
6570
+ } & {
6571
+ criteriaTreeElementTextFormat: string;
6482
6572
  };
6483
6573
  items: {
6484
6574
  code: string;
@@ -6606,6 +6696,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6606
6696
  breadcrumbTextFormat: string;
6607
6697
  documentTreeFolderTextFormat: string;
6608
6698
  showCodeAsIndicatorTaskViewTitle: boolean;
6699
+ } & {
6700
+ criteriaTreeElementTextFormat: string;
6609
6701
  };
6610
6702
  items: {
6611
6703
  code: string;
@@ -6763,6 +6855,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6763
6855
  breadcrumbTextFormat: string;
6764
6856
  documentTreeFolderTextFormat: string;
6765
6857
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
6858
+ } & {
6859
+ criteriaTreeElementTextFormat: string;
6766
6860
  };
6767
6861
  items: {
6768
6862
  code: string;
@@ -6909,7 +7003,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6909
7003
  sortOrder?: number | undefined;
6910
7004
  category?: string | undefined;
6911
7005
  }>>, "many">;
6912
- options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
7006
+ options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
6913
7007
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6914
7008
  }, "strip", z.ZodTypeAny, {
6915
7009
  hideCodeInReport: boolean;
@@ -6951,12 +7045,18 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6951
7045
  }, {
6952
7046
  documentTreeFolderTextFormat: string;
6953
7047
  hideFromDocumentTree?: false | undefined;
6954
- }>]>>;
7048
+ }>]>>, z.ZodObject<{
7049
+ criteriaTreeElementTextFormat: z.ZodString;
7050
+ }, "strip", z.ZodTypeAny, {
7051
+ criteriaTreeElementTextFormat: string;
7052
+ }, {
7053
+ criteriaTreeElementTextFormat: string;
7054
+ }>>;
6955
7055
  }, "strip", z.ZodTypeAny, {
6956
7056
  code: string;
6957
7057
  type: "criterion";
6958
7058
  title: string;
6959
- options: ({
7059
+ options: (({
6960
7060
  hideCodeInReport: boolean;
6961
7061
  } & ({
6962
7062
  hideFromBreadcrumbs: true;
@@ -6970,7 +7070,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6970
7070
  } | {
6971
7071
  documentTreeFolderTextFormat: string;
6972
7072
  hideFromDocumentTree?: false | undefined;
6973
- });
7073
+ })) & {
7074
+ criteriaTreeElementTextFormat: string;
7075
+ };
6974
7076
  items: {
6975
7077
  code: string;
6976
7078
  type: "task-group";
@@ -6983,6 +7085,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6983
7085
  breadcrumbTextFormat: string;
6984
7086
  documentTreeFolderTextFormat: string;
6985
7087
  showCodeAsIndicatorTaskViewTitle: boolean;
7088
+ } & {
7089
+ criteriaTreeElementTextFormat: string;
6986
7090
  };
6987
7091
  items: {
6988
7092
  code: string;
@@ -7161,7 +7265,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7161
7265
  code: string;
7162
7266
  type: "criterion";
7163
7267
  title: string;
7164
- options: ({
7268
+ options: (({
7165
7269
  hideCodeInReport?: boolean | undefined;
7166
7270
  } & ({
7167
7271
  hideFromBreadcrumbs: true;
@@ -7175,7 +7279,9 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7175
7279
  } | {
7176
7280
  documentTreeFolderTextFormat: string;
7177
7281
  hideFromDocumentTree?: false | undefined;
7178
- });
7282
+ })) & {
7283
+ criteriaTreeElementTextFormat: string;
7284
+ };
7179
7285
  items: {
7180
7286
  code: string;
7181
7287
  type: "task-group";
@@ -7188,6 +7294,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7188
7294
  breadcrumbTextFormat: string;
7189
7295
  documentTreeFolderTextFormat: string;
7190
7296
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
7297
+ } & {
7298
+ criteriaTreeElementTextFormat: string;
7191
7299
  };
7192
7300
  items: {
7193
7301
  code: string;
@@ -7963,7 +8071,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7963
8071
  })[] | undefined;
7964
8072
  sortOrder?: number | undefined;
7965
8073
  }>>, "many">;
7966
- options: z.ZodObject<{
8074
+ options: z.ZodIntersection<z.ZodObject<{
7967
8075
  breadcrumbTextFormat: z.ZodString;
7968
8076
  documentTreeFolderTextFormat: z.ZodString;
7969
8077
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -7975,7 +8083,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7975
8083
  breadcrumbTextFormat: string;
7976
8084
  documentTreeFolderTextFormat: string;
7977
8085
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
7978
- }>;
8086
+ }>, z.ZodObject<{
8087
+ criteriaTreeElementTextFormat: z.ZodString;
8088
+ }, "strip", z.ZodTypeAny, {
8089
+ criteriaTreeElementTextFormat: string;
8090
+ }, {
8091
+ criteriaTreeElementTextFormat: string;
8092
+ }>>;
7979
8093
  }, "strip", z.ZodTypeAny, {
7980
8094
  code: string;
7981
8095
  type: "task";
@@ -7984,6 +8098,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7984
8098
  breadcrumbTextFormat: string;
7985
8099
  documentTreeFolderTextFormat: string;
7986
8100
  showCodeAsIndicatorTaskViewTitle: boolean;
8101
+ } & {
8102
+ criteriaTreeElementTextFormat: string;
7987
8103
  };
7988
8104
  items: {
7989
8105
  code: string;
@@ -8106,6 +8222,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8106
8222
  breadcrumbTextFormat: string;
8107
8223
  documentTreeFolderTextFormat: string;
8108
8224
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
8225
+ } & {
8226
+ criteriaTreeElementTextFormat: string;
8109
8227
  };
8110
8228
  items: {
8111
8229
  code: string;
@@ -8233,6 +8351,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8233
8351
  breadcrumbTextFormat: string;
8234
8352
  documentTreeFolderTextFormat: string;
8235
8353
  showCodeAsIndicatorTaskViewTitle: boolean;
8354
+ } & {
8355
+ criteriaTreeElementTextFormat: string;
8236
8356
  };
8237
8357
  items: {
8238
8358
  code: string;
@@ -8390,6 +8510,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8390
8510
  breadcrumbTextFormat: string;
8391
8511
  documentTreeFolderTextFormat: string;
8392
8512
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
8513
+ } & {
8514
+ criteriaTreeElementTextFormat: string;
8393
8515
  };
8394
8516
  items: {
8395
8517
  code: string;
@@ -9052,7 +9174,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9052
9174
  })[] | undefined;
9053
9175
  sortOrder?: number | undefined;
9054
9176
  }>>, "many">;
9055
- options: z.ZodObject<{
9177
+ options: z.ZodIntersection<z.ZodObject<{
9056
9178
  breadcrumbTextFormat: z.ZodString;
9057
9179
  documentTreeFolderTextFormat: z.ZodString;
9058
9180
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -9064,7 +9186,13 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9064
9186
  breadcrumbTextFormat: string;
9065
9187
  documentTreeFolderTextFormat: string;
9066
9188
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
9067
- }>;
9189
+ }>, z.ZodObject<{
9190
+ criteriaTreeElementTextFormat: z.ZodString;
9191
+ }, "strip", z.ZodTypeAny, {
9192
+ criteriaTreeElementTextFormat: string;
9193
+ }, {
9194
+ criteriaTreeElementTextFormat: string;
9195
+ }>>;
9068
9196
  }, "strip", z.ZodTypeAny, {
9069
9197
  code: string;
9070
9198
  type: "task";
@@ -9073,6 +9201,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9073
9201
  breadcrumbTextFormat: string;
9074
9202
  documentTreeFolderTextFormat: string;
9075
9203
  showCodeAsIndicatorTaskViewTitle: boolean;
9204
+ } & {
9205
+ criteriaTreeElementTextFormat: string;
9076
9206
  };
9077
9207
  items: {
9078
9208
  code: string;
@@ -9195,6 +9325,8 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9195
9325
  breadcrumbTextFormat: string;
9196
9326
  documentTreeFolderTextFormat: string;
9197
9327
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
9328
+ } & {
9329
+ criteriaTreeElementTextFormat: string;
9198
9330
  };
9199
9331
  items: {
9200
9332
  code: string;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2
+ export declare const criterionOptionsSchema: 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;
@@ -41,7 +41,13 @@ export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection
41
41
  }, {
42
42
  documentTreeFolderTextFormat: string;
43
43
  hideFromDocumentTree?: false | undefined;
44
- }>]>>;
44
+ }>]>>, z.ZodObject<{
45
+ criteriaTreeElementTextFormat: z.ZodString;
46
+ }, "strip", z.ZodTypeAny, {
47
+ criteriaTreeElementTextFormat: string;
48
+ }, {
49
+ criteriaTreeElementTextFormat: string;
50
+ }>>;
45
51
  export declare const criterionSchema: z.ZodObject<{
46
52
  title: z.ZodString;
47
53
  longFormTitle: z.ZodString;
@@ -725,7 +731,7 @@ export declare const criterionSchema: z.ZodObject<{
725
731
  })[] | undefined;
726
732
  sortOrder?: number | undefined;
727
733
  }>>, "many">;
728
- options: z.ZodObject<{
734
+ options: z.ZodIntersection<z.ZodObject<{
729
735
  breadcrumbTextFormat: z.ZodString;
730
736
  documentTreeFolderTextFormat: z.ZodString;
731
737
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -737,7 +743,13 @@ export declare const criterionSchema: z.ZodObject<{
737
743
  breadcrumbTextFormat: string;
738
744
  documentTreeFolderTextFormat: string;
739
745
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
740
- }>;
746
+ }>, z.ZodObject<{
747
+ criteriaTreeElementTextFormat: z.ZodString;
748
+ }, "strip", z.ZodTypeAny, {
749
+ criteriaTreeElementTextFormat: string;
750
+ }, {
751
+ criteriaTreeElementTextFormat: string;
752
+ }>>;
741
753
  }, "strip", z.ZodTypeAny, {
742
754
  code: string;
743
755
  type: "task";
@@ -746,6 +758,8 @@ export declare const criterionSchema: z.ZodObject<{
746
758
  breadcrumbTextFormat: string;
747
759
  documentTreeFolderTextFormat: string;
748
760
  showCodeAsIndicatorTaskViewTitle: boolean;
761
+ } & {
762
+ criteriaTreeElementTextFormat: string;
749
763
  };
750
764
  items: {
751
765
  code: string;
@@ -868,6 +882,8 @@ export declare const criterionSchema: z.ZodObject<{
868
882
  breadcrumbTextFormat: string;
869
883
  documentTreeFolderTextFormat: string;
870
884
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
885
+ } & {
886
+ criteriaTreeElementTextFormat: string;
871
887
  };
872
888
  items: {
873
889
  code: string;
@@ -995,6 +1011,8 @@ export declare const criterionSchema: z.ZodObject<{
995
1011
  breadcrumbTextFormat: string;
996
1012
  documentTreeFolderTextFormat: string;
997
1013
  showCodeAsIndicatorTaskViewTitle: boolean;
1014
+ } & {
1015
+ criteriaTreeElementTextFormat: string;
998
1016
  };
999
1017
  items: {
1000
1018
  code: string;
@@ -1152,6 +1170,8 @@ export declare const criterionSchema: z.ZodObject<{
1152
1170
  breadcrumbTextFormat: string;
1153
1171
  documentTreeFolderTextFormat: string;
1154
1172
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1173
+ } & {
1174
+ criteriaTreeElementTextFormat: string;
1155
1175
  };
1156
1176
  items: {
1157
1177
  code: string;
@@ -1298,7 +1318,7 @@ export declare const criterionSchema: z.ZodObject<{
1298
1318
  sortOrder?: number | undefined;
1299
1319
  category?: string | undefined;
1300
1320
  }>>, "many">;
1301
- options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1321
+ options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1302
1322
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1303
1323
  }, "strip", z.ZodTypeAny, {
1304
1324
  hideCodeInReport: boolean;
@@ -1340,12 +1360,18 @@ export declare const criterionSchema: z.ZodObject<{
1340
1360
  }, {
1341
1361
  documentTreeFolderTextFormat: string;
1342
1362
  hideFromDocumentTree?: false | undefined;
1343
- }>]>>;
1363
+ }>]>>, z.ZodObject<{
1364
+ criteriaTreeElementTextFormat: z.ZodString;
1365
+ }, "strip", z.ZodTypeAny, {
1366
+ criteriaTreeElementTextFormat: string;
1367
+ }, {
1368
+ criteriaTreeElementTextFormat: string;
1369
+ }>>;
1344
1370
  }, "strip", z.ZodTypeAny, {
1345
1371
  code: string;
1346
1372
  type: "criterion";
1347
1373
  title: string;
1348
- options: ({
1374
+ options: (({
1349
1375
  hideCodeInReport: boolean;
1350
1376
  } & ({
1351
1377
  hideFromBreadcrumbs: true;
@@ -1359,7 +1385,9 @@ export declare const criterionSchema: z.ZodObject<{
1359
1385
  } | {
1360
1386
  documentTreeFolderTextFormat: string;
1361
1387
  hideFromDocumentTree?: false | undefined;
1362
- });
1388
+ })) & {
1389
+ criteriaTreeElementTextFormat: string;
1390
+ };
1363
1391
  items: {
1364
1392
  code: string;
1365
1393
  type: "task-group";
@@ -1372,6 +1400,8 @@ export declare const criterionSchema: z.ZodObject<{
1372
1400
  breadcrumbTextFormat: string;
1373
1401
  documentTreeFolderTextFormat: string;
1374
1402
  showCodeAsIndicatorTaskViewTitle: boolean;
1403
+ } & {
1404
+ criteriaTreeElementTextFormat: string;
1375
1405
  };
1376
1406
  items: {
1377
1407
  code: string;
@@ -1550,7 +1580,7 @@ export declare const criterionSchema: z.ZodObject<{
1550
1580
  code: string;
1551
1581
  type: "criterion";
1552
1582
  title: string;
1553
- options: ({
1583
+ options: (({
1554
1584
  hideCodeInReport?: boolean | undefined;
1555
1585
  } & ({
1556
1586
  hideFromBreadcrumbs: true;
@@ -1564,7 +1594,9 @@ export declare const criterionSchema: z.ZodObject<{
1564
1594
  } | {
1565
1595
  documentTreeFolderTextFormat: string;
1566
1596
  hideFromDocumentTree?: false | undefined;
1567
- });
1597
+ })) & {
1598
+ criteriaTreeElementTextFormat: string;
1599
+ };
1568
1600
  items: {
1569
1601
  code: string;
1570
1602
  type: "task-group";
@@ -1577,6 +1609,8 @@ export declare const criterionSchema: z.ZodObject<{
1577
1609
  breadcrumbTextFormat: string;
1578
1610
  documentTreeFolderTextFormat: string;
1579
1611
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1612
+ } & {
1613
+ criteriaTreeElementTextFormat: string;
1580
1614
  };
1581
1615
  items: {
1582
1616
  code: string;
@@ -14,6 +14,7 @@ exports.criterionOptionsSchema = zod_1.z
14
14
  })
15
15
  .and(common_1.breadcrumbOptionsSchema)
16
16
  .and(common_1.documentTreeOptionsSchema)
17
+ .and(common_1.criteriaTreeOptionsSchema)
17
18
  .describe("CriterionOptions - Configuration options for criterion display and behavior");
18
19
  exports.criterionSchema = common_1.abstractElementSchema
19
20
  .extend({
@@ -600,7 +600,7 @@ export declare const taskGroupSchema: z.ZodObject<{
600
600
  })[] | undefined;
601
601
  sortOrder?: number | undefined;
602
602
  }>>, "many">;
603
- options: z.ZodObject<{
603
+ options: z.ZodIntersection<z.ZodObject<{
604
604
  breadcrumbTextFormat: z.ZodString;
605
605
  documentTreeFolderTextFormat: z.ZodString;
606
606
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -612,7 +612,13 @@ export declare const taskGroupSchema: z.ZodObject<{
612
612
  breadcrumbTextFormat: string;
613
613
  documentTreeFolderTextFormat: string;
614
614
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
615
- }>;
615
+ }>, z.ZodObject<{
616
+ criteriaTreeElementTextFormat: z.ZodString;
617
+ }, "strip", z.ZodTypeAny, {
618
+ criteriaTreeElementTextFormat: string;
619
+ }, {
620
+ criteriaTreeElementTextFormat: string;
621
+ }>>;
616
622
  }, "strip", z.ZodTypeAny, {
617
623
  code: string;
618
624
  type: "task";
@@ -621,6 +627,8 @@ export declare const taskGroupSchema: z.ZodObject<{
621
627
  breadcrumbTextFormat: string;
622
628
  documentTreeFolderTextFormat: string;
623
629
  showCodeAsIndicatorTaskViewTitle: boolean;
630
+ } & {
631
+ criteriaTreeElementTextFormat: string;
624
632
  };
625
633
  items: {
626
634
  code: string;
@@ -743,6 +751,8 @@ export declare const taskGroupSchema: z.ZodObject<{
743
751
  breadcrumbTextFormat: string;
744
752
  documentTreeFolderTextFormat: string;
745
753
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
754
+ } & {
755
+ criteriaTreeElementTextFormat: string;
746
756
  };
747
757
  items: {
748
758
  code: string;
@@ -870,6 +880,8 @@ export declare const taskGroupSchema: z.ZodObject<{
870
880
  breadcrumbTextFormat: string;
871
881
  documentTreeFolderTextFormat: string;
872
882
  showCodeAsIndicatorTaskViewTitle: boolean;
883
+ } & {
884
+ criteriaTreeElementTextFormat: string;
873
885
  };
874
886
  items: {
875
887
  code: string;
@@ -1027,6 +1039,8 @@ export declare const taskGroupSchema: z.ZodObject<{
1027
1039
  breadcrumbTextFormat: string;
1028
1040
  documentTreeFolderTextFormat: string;
1029
1041
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1042
+ } & {
1043
+ criteriaTreeElementTextFormat: string;
1030
1044
  };
1031
1045
  items: {
1032
1046
  code: string;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const taskOptionsSchema: z.ZodObject<{
2
+ export declare const taskOptionsSchema: z.ZodIntersection<z.ZodObject<{
3
3
  breadcrumbTextFormat: z.ZodString;
4
4
  documentTreeFolderTextFormat: z.ZodString;
5
5
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -11,7 +11,13 @@ export declare const taskOptionsSchema: z.ZodObject<{
11
11
  breadcrumbTextFormat: string;
12
12
  documentTreeFolderTextFormat: string;
13
13
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
14
- }>;
14
+ }>, z.ZodObject<{
15
+ criteriaTreeElementTextFormat: z.ZodString;
16
+ }, "strip", z.ZodTypeAny, {
17
+ criteriaTreeElementTextFormat: string;
18
+ }, {
19
+ criteriaTreeElementTextFormat: string;
20
+ }>>;
15
21
  export declare const taskSchema: z.ZodObject<{
16
22
  title: z.ZodString;
17
23
  longFormTitle: z.ZodString;
@@ -529,7 +535,7 @@ export declare const taskSchema: z.ZodObject<{
529
535
  })[] | undefined;
530
536
  sortOrder?: number | undefined;
531
537
  }>>, "many">;
532
- options: z.ZodObject<{
538
+ options: z.ZodIntersection<z.ZodObject<{
533
539
  breadcrumbTextFormat: z.ZodString;
534
540
  documentTreeFolderTextFormat: z.ZodString;
535
541
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -541,7 +547,13 @@ export declare const taskSchema: z.ZodObject<{
541
547
  breadcrumbTextFormat: string;
542
548
  documentTreeFolderTextFormat: string;
543
549
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
544
- }>;
550
+ }>, z.ZodObject<{
551
+ criteriaTreeElementTextFormat: z.ZodString;
552
+ }, "strip", z.ZodTypeAny, {
553
+ criteriaTreeElementTextFormat: string;
554
+ }, {
555
+ criteriaTreeElementTextFormat: string;
556
+ }>>;
545
557
  }, "strip", z.ZodTypeAny, {
546
558
  code: string;
547
559
  type: "task";
@@ -550,6 +562,8 @@ export declare const taskSchema: z.ZodObject<{
550
562
  breadcrumbTextFormat: string;
551
563
  documentTreeFolderTextFormat: string;
552
564
  showCodeAsIndicatorTaskViewTitle: boolean;
565
+ } & {
566
+ criteriaTreeElementTextFormat: string;
553
567
  };
554
568
  items: {
555
569
  code: string;
@@ -672,6 +686,8 @@ export declare const taskSchema: z.ZodObject<{
672
686
  breadcrumbTextFormat: string;
673
687
  documentTreeFolderTextFormat: string;
674
688
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
689
+ } & {
690
+ criteriaTreeElementTextFormat: string;
675
691
  };
676
692
  items: {
677
693
  code: string;
@@ -18,6 +18,7 @@ exports.taskOptionsSchema = zod_1.z
18
18
  .default(false)
19
19
  .describe("Whether the title of the indicator task view should show the task code, or the hardcoded description text"),
20
20
  })
21
+ .and(common_1.criteriaTreeOptionsSchema)
21
22
  .describe("TaskOptions - Configuration options for task display and behavior");
22
23
  exports.taskSchema = common_1.abstractElementSchema.extend({
23
24
  type: zod_1.z.literal("task").describe("Identifies the schema type as a task"),
@@ -907,7 +907,7 @@ export declare const themeSchema: z.ZodObject<{
907
907
  })[] | undefined;
908
908
  sortOrder?: number | undefined;
909
909
  }>>, "many">;
910
- options: z.ZodObject<{
910
+ options: z.ZodIntersection<z.ZodObject<{
911
911
  breadcrumbTextFormat: z.ZodString;
912
912
  documentTreeFolderTextFormat: z.ZodString;
913
913
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -919,7 +919,13 @@ export declare const themeSchema: z.ZodObject<{
919
919
  breadcrumbTextFormat: string;
920
920
  documentTreeFolderTextFormat: string;
921
921
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
922
- }>;
922
+ }>, z.ZodObject<{
923
+ criteriaTreeElementTextFormat: z.ZodString;
924
+ }, "strip", z.ZodTypeAny, {
925
+ criteriaTreeElementTextFormat: string;
926
+ }, {
927
+ criteriaTreeElementTextFormat: string;
928
+ }>>;
923
929
  }, "strip", z.ZodTypeAny, {
924
930
  code: string;
925
931
  type: "task";
@@ -928,6 +934,8 @@ export declare const themeSchema: z.ZodObject<{
928
934
  breadcrumbTextFormat: string;
929
935
  documentTreeFolderTextFormat: string;
930
936
  showCodeAsIndicatorTaskViewTitle: boolean;
937
+ } & {
938
+ criteriaTreeElementTextFormat: string;
931
939
  };
932
940
  items: {
933
941
  code: string;
@@ -1050,6 +1058,8 @@ export declare const themeSchema: z.ZodObject<{
1050
1058
  breadcrumbTextFormat: string;
1051
1059
  documentTreeFolderTextFormat: string;
1052
1060
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1061
+ } & {
1062
+ criteriaTreeElementTextFormat: string;
1053
1063
  };
1054
1064
  items: {
1055
1065
  code: string;
@@ -1177,6 +1187,8 @@ export declare const themeSchema: z.ZodObject<{
1177
1187
  breadcrumbTextFormat: string;
1178
1188
  documentTreeFolderTextFormat: string;
1179
1189
  showCodeAsIndicatorTaskViewTitle: boolean;
1190
+ } & {
1191
+ criteriaTreeElementTextFormat: string;
1180
1192
  };
1181
1193
  items: {
1182
1194
  code: string;
@@ -1334,6 +1346,8 @@ export declare const themeSchema: z.ZodObject<{
1334
1346
  breadcrumbTextFormat: string;
1335
1347
  documentTreeFolderTextFormat: string;
1336
1348
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1349
+ } & {
1350
+ criteriaTreeElementTextFormat: string;
1337
1351
  };
1338
1352
  items: {
1339
1353
  code: string;
@@ -1480,7 +1494,7 @@ export declare const themeSchema: z.ZodObject<{
1480
1494
  sortOrder?: number | undefined;
1481
1495
  category?: string | undefined;
1482
1496
  }>>, "many">;
1483
- options: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1497
+ options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1484
1498
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1485
1499
  }, "strip", z.ZodTypeAny, {
1486
1500
  hideCodeInReport: boolean;
@@ -1522,12 +1536,18 @@ export declare const themeSchema: z.ZodObject<{
1522
1536
  }, {
1523
1537
  documentTreeFolderTextFormat: string;
1524
1538
  hideFromDocumentTree?: false | undefined;
1525
- }>]>>;
1539
+ }>]>>, z.ZodObject<{
1540
+ criteriaTreeElementTextFormat: z.ZodString;
1541
+ }, "strip", z.ZodTypeAny, {
1542
+ criteriaTreeElementTextFormat: string;
1543
+ }, {
1544
+ criteriaTreeElementTextFormat: string;
1545
+ }>>;
1526
1546
  }, "strip", z.ZodTypeAny, {
1527
1547
  code: string;
1528
1548
  type: "criterion";
1529
1549
  title: string;
1530
- options: ({
1550
+ options: (({
1531
1551
  hideCodeInReport: boolean;
1532
1552
  } & ({
1533
1553
  hideFromBreadcrumbs: true;
@@ -1541,7 +1561,9 @@ export declare const themeSchema: z.ZodObject<{
1541
1561
  } | {
1542
1562
  documentTreeFolderTextFormat: string;
1543
1563
  hideFromDocumentTree?: false | undefined;
1544
- });
1564
+ })) & {
1565
+ criteriaTreeElementTextFormat: string;
1566
+ };
1545
1567
  items: {
1546
1568
  code: string;
1547
1569
  type: "task-group";
@@ -1554,6 +1576,8 @@ export declare const themeSchema: z.ZodObject<{
1554
1576
  breadcrumbTextFormat: string;
1555
1577
  documentTreeFolderTextFormat: string;
1556
1578
  showCodeAsIndicatorTaskViewTitle: boolean;
1579
+ } & {
1580
+ criteriaTreeElementTextFormat: string;
1557
1581
  };
1558
1582
  items: {
1559
1583
  code: string;
@@ -1732,7 +1756,7 @@ export declare const themeSchema: z.ZodObject<{
1732
1756
  code: string;
1733
1757
  type: "criterion";
1734
1758
  title: string;
1735
- options: ({
1759
+ options: (({
1736
1760
  hideCodeInReport?: boolean | undefined;
1737
1761
  } & ({
1738
1762
  hideFromBreadcrumbs: true;
@@ -1746,7 +1770,9 @@ export declare const themeSchema: z.ZodObject<{
1746
1770
  } | {
1747
1771
  documentTreeFolderTextFormat: string;
1748
1772
  hideFromDocumentTree?: false | undefined;
1749
- });
1773
+ })) & {
1774
+ criteriaTreeElementTextFormat: string;
1775
+ };
1750
1776
  items: {
1751
1777
  code: string;
1752
1778
  type: "task-group";
@@ -1759,6 +1785,8 @@ export declare const themeSchema: z.ZodObject<{
1759
1785
  breadcrumbTextFormat: string;
1760
1786
  documentTreeFolderTextFormat: string;
1761
1787
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1788
+ } & {
1789
+ criteriaTreeElementTextFormat: string;
1762
1790
  };
1763
1791
  items: {
1764
1792
  code: string;
@@ -2000,7 +2028,7 @@ export declare const themeSchema: z.ZodObject<{
2000
2028
  code: string;
2001
2029
  type: "criterion";
2002
2030
  title: string;
2003
- options: ({
2031
+ options: (({
2004
2032
  hideCodeInReport: boolean;
2005
2033
  } & ({
2006
2034
  hideFromBreadcrumbs: true;
@@ -2014,7 +2042,9 @@ export declare const themeSchema: z.ZodObject<{
2014
2042
  } | {
2015
2043
  documentTreeFolderTextFormat: string;
2016
2044
  hideFromDocumentTree?: false | undefined;
2017
- });
2045
+ })) & {
2046
+ criteriaTreeElementTextFormat: string;
2047
+ };
2018
2048
  items: {
2019
2049
  code: string;
2020
2050
  type: "task-group";
@@ -2027,6 +2057,8 @@ export declare const themeSchema: z.ZodObject<{
2027
2057
  breadcrumbTextFormat: string;
2028
2058
  documentTreeFolderTextFormat: string;
2029
2059
  showCodeAsIndicatorTaskViewTitle: boolean;
2060
+ } & {
2061
+ criteriaTreeElementTextFormat: string;
2030
2062
  };
2031
2063
  items: {
2032
2064
  code: string;
@@ -2265,7 +2297,7 @@ export declare const themeSchema: z.ZodObject<{
2265
2297
  code: string;
2266
2298
  type: "criterion";
2267
2299
  title: string;
2268
- options: ({
2300
+ options: (({
2269
2301
  hideCodeInReport?: boolean | undefined;
2270
2302
  } & ({
2271
2303
  hideFromBreadcrumbs: true;
@@ -2279,7 +2311,9 @@ export declare const themeSchema: z.ZodObject<{
2279
2311
  } | {
2280
2312
  documentTreeFolderTextFormat: string;
2281
2313
  hideFromDocumentTree?: false | undefined;
2282
- });
2314
+ })) & {
2315
+ criteriaTreeElementTextFormat: string;
2316
+ };
2283
2317
  items: {
2284
2318
  code: string;
2285
2319
  type: "task-group";
@@ -2292,6 +2326,8 @@ export declare const themeSchema: z.ZodObject<{
2292
2326
  breadcrumbTextFormat: string;
2293
2327
  documentTreeFolderTextFormat: string;
2294
2328
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
2329
+ } & {
2330
+ criteriaTreeElementTextFormat: string;
2295
2331
  };
2296
2332
  items: {
2297
2333
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "A protocol and tools for defining and working with criteria sets",
5
5
  "private": false,
6
6
  "author": "Andrés Angulo <aa@openframe.org>",