@openframe-org/criteria-set-protocol 2.2.13 → 2.2.15

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.
@@ -235,11 +235,11 @@ export declare const criteriaTreeOptionsSchema: z.ZodObject<{
235
235
  criteriaTreeElementTextFormat: string;
236
236
  }>;
237
237
  export declare const reportOptionsSchema: z.ZodObject<{
238
- reportTextFormat: z.ZodOptional<z.ZodString>;
238
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
239
239
  }, "strip", z.ZodTypeAny, {
240
- reportTextFormat?: string | undefined;
240
+ reportTitleTextFormat?: string | undefined;
241
241
  }, {
242
- reportTextFormat?: string | undefined;
242
+ reportTitleTextFormat?: string | undefined;
243
243
  }>;
244
244
  export declare const treeResultSchema: z.ZodObject<{
245
245
  type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
@@ -116,7 +116,7 @@ exports.criteriaTreeOptionsSchema = zod_1.z
116
116
  });
117
117
  exports.reportOptionsSchema = zod_1.z
118
118
  .object({
119
- reportTextFormat: zod_1.z
119
+ reportTitleTextFormat: zod_1.z
120
120
  .string()
121
121
  .optional()
122
122
  .describe("The format of the report row text, use ':code:' and ':title:' to define where the code and/or title should be inserted, if not provided only the title will be rendered")
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const criteriaTreeSchema: z.ZodObject<Pick<{
3
3
  version: z.ZodString;
4
+ revision: z.ZodString;
4
5
  elements: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
5
6
  type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
6
7
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
@@ -94,7 +95,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
94
95
  exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
95
96
  }, z.ZodAny, "strip">>;
96
97
  certifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
97
- }, "version" | "result" | "certifications"> & {
98
+ }, "version" | "revision" | "result" | "certifications"> & {
98
99
  themes: z.ZodArray<z.ZodObject<{
99
100
  title: z.ZodString;
100
101
  longFormTitle: z.ZodString;
@@ -933,11 +934,11 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
933
934
  }, {
934
935
  criteriaTreeElementTextFormat: string;
935
936
  }>>, z.ZodObject<{
936
- reportTextFormat: z.ZodOptional<z.ZodString>;
937
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
937
938
  }, "strip", z.ZodTypeAny, {
938
- reportTextFormat?: string | undefined;
939
+ reportTitleTextFormat?: string | undefined;
939
940
  }, {
940
- reportTextFormat?: string | undefined;
941
+ reportTitleTextFormat?: string | undefined;
941
942
  }>>;
942
943
  }, "strip", z.ZodTypeAny, {
943
944
  code: string;
@@ -950,7 +951,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
950
951
  } & {
951
952
  criteriaTreeElementTextFormat: string;
952
953
  } & {
953
- reportTextFormat?: string | undefined;
954
+ reportTitleTextFormat?: string | undefined;
954
955
  };
955
956
  items: {
956
957
  code: string;
@@ -1078,7 +1079,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1078
1079
  } & {
1079
1080
  criteriaTreeElementTextFormat: string;
1080
1081
  } & {
1081
- reportTextFormat?: string | undefined;
1082
+ reportTitleTextFormat?: string | undefined;
1082
1083
  };
1083
1084
  items: {
1084
1085
  code: string;
@@ -1211,7 +1212,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1211
1212
  } & {
1212
1213
  criteriaTreeElementTextFormat: string;
1213
1214
  } & {
1214
- reportTextFormat?: string | undefined;
1215
+ reportTitleTextFormat?: string | undefined;
1215
1216
  };
1216
1217
  items: {
1217
1218
  code: string;
@@ -1374,7 +1375,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1374
1375
  } & {
1375
1376
  criteriaTreeElementTextFormat: string;
1376
1377
  } & {
1377
- reportTextFormat?: string | undefined;
1378
+ reportTitleTextFormat?: string | undefined;
1378
1379
  };
1379
1380
  items: {
1380
1381
  code: string;
@@ -1572,11 +1573,11 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1572
1573
  }, {
1573
1574
  criteriaTreeElementTextFormat: string;
1574
1575
  }>>, z.ZodObject<{
1575
- reportTextFormat: z.ZodOptional<z.ZodString>;
1576
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
1576
1577
  }, "strip", z.ZodTypeAny, {
1577
- reportTextFormat?: string | undefined;
1578
+ reportTitleTextFormat?: string | undefined;
1578
1579
  }, {
1579
- reportTextFormat?: string | undefined;
1580
+ reportTitleTextFormat?: string | undefined;
1580
1581
  }>>;
1581
1582
  }, "strip", z.ZodTypeAny, {
1582
1583
  code: string;
@@ -1599,7 +1600,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1599
1600
  })) & {
1600
1601
  criteriaTreeElementTextFormat: string;
1601
1602
  }) & {
1602
- reportTextFormat?: string | undefined;
1603
+ reportTitleTextFormat?: string | undefined;
1603
1604
  };
1604
1605
  items: {
1605
1606
  code: string;
@@ -1616,7 +1617,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1616
1617
  } & {
1617
1618
  criteriaTreeElementTextFormat: string;
1618
1619
  } & {
1619
- reportTextFormat?: string | undefined;
1620
+ reportTitleTextFormat?: string | undefined;
1620
1621
  };
1621
1622
  items: {
1622
1623
  code: string;
@@ -1814,7 +1815,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1814
1815
  })) & {
1815
1816
  criteriaTreeElementTextFormat: string;
1816
1817
  }) & {
1817
- reportTextFormat?: string | undefined;
1818
+ reportTitleTextFormat?: string | undefined;
1818
1819
  };
1819
1820
  items: {
1820
1821
  code: string;
@@ -1831,7 +1832,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
1831
1832
  } & {
1832
1833
  criteriaTreeElementTextFormat: string;
1833
1834
  } & {
1834
- reportTextFormat?: string | undefined;
1835
+ reportTitleTextFormat?: string | undefined;
1835
1836
  };
1836
1837
  items: {
1837
1838
  code: string;
@@ -2052,11 +2053,11 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2052
2053
  documentTreeFolderTextFormat: string;
2053
2054
  hideFromDocumentTree?: false | undefined;
2054
2055
  }>]>>, z.ZodObject<{
2055
- reportTextFormat: z.ZodOptional<z.ZodString>;
2056
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
2056
2057
  }, "strip", z.ZodTypeAny, {
2057
- reportTextFormat?: string | undefined;
2058
+ reportTitleTextFormat?: string | undefined;
2058
2059
  }, {
2059
- reportTextFormat?: string | undefined;
2060
+ reportTitleTextFormat?: string | undefined;
2060
2061
  }>>;
2061
2062
  }, "strip", z.ZodTypeAny, {
2062
2063
  code: string;
@@ -2077,7 +2078,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2077
2078
  documentTreeFolderTextFormat: string;
2078
2079
  hideFromDocumentTree?: false | undefined;
2079
2080
  })) & {
2080
- reportTextFormat?: string | undefined;
2081
+ reportTitleTextFormat?: string | undefined;
2081
2082
  };
2082
2083
  items: {
2083
2084
  code: string;
@@ -2100,7 +2101,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2100
2101
  })) & {
2101
2102
  criteriaTreeElementTextFormat: string;
2102
2103
  }) & {
2103
- reportTextFormat?: string | undefined;
2104
+ reportTitleTextFormat?: string | undefined;
2104
2105
  };
2105
2106
  items: {
2106
2107
  code: string;
@@ -2117,7 +2118,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2117
2118
  } & {
2118
2119
  criteriaTreeElementTextFormat: string;
2119
2120
  } & {
2120
- reportTextFormat?: string | undefined;
2121
+ reportTitleTextFormat?: string | undefined;
2121
2122
  };
2122
2123
  items: {
2123
2124
  code: string;
@@ -2354,7 +2355,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2354
2355
  documentTreeFolderTextFormat: string;
2355
2356
  hideFromDocumentTree?: false | undefined;
2356
2357
  })) & {
2357
- reportTextFormat?: string | undefined;
2358
+ reportTitleTextFormat?: string | undefined;
2358
2359
  };
2359
2360
  items: {
2360
2361
  code: string;
@@ -2377,7 +2378,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2377
2378
  })) & {
2378
2379
  criteriaTreeElementTextFormat: string;
2379
2380
  }) & {
2380
- reportTextFormat?: string | undefined;
2381
+ reportTitleTextFormat?: string | undefined;
2381
2382
  };
2382
2383
  items: {
2383
2384
  code: string;
@@ -2394,7 +2395,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2394
2395
  } & {
2395
2396
  criteriaTreeElementTextFormat: string;
2396
2397
  } & {
2397
- reportTextFormat?: string | undefined;
2398
+ reportTitleTextFormat?: string | undefined;
2398
2399
  };
2399
2400
  items: {
2400
2401
  code: string;
@@ -2726,6 +2727,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2726
2727
  dashboardRenderingType: "per-criteria" | "per-task";
2727
2728
  };
2728
2729
  version: string;
2730
+ revision: string;
2729
2731
  result: {
2730
2732
  type?: "number" | "boolean" | "percentage" | undefined;
2731
2733
  total?: number | undefined;
@@ -2757,7 +2759,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2757
2759
  documentTreeFolderTextFormat: string;
2758
2760
  hideFromDocumentTree?: false | undefined;
2759
2761
  })) & {
2760
- reportTextFormat?: string | undefined;
2762
+ reportTitleTextFormat?: string | undefined;
2761
2763
  };
2762
2764
  items: {
2763
2765
  code: string;
@@ -2780,7 +2782,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2780
2782
  })) & {
2781
2783
  criteriaTreeElementTextFormat: string;
2782
2784
  }) & {
2783
- reportTextFormat?: string | undefined;
2785
+ reportTitleTextFormat?: string | undefined;
2784
2786
  };
2785
2787
  items: {
2786
2788
  code: string;
@@ -2797,7 +2799,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
2797
2799
  } & {
2798
2800
  criteriaTreeElementTextFormat: string;
2799
2801
  } & {
2800
- reportTextFormat?: string | undefined;
2802
+ reportTitleTextFormat?: string | undefined;
2801
2803
  };
2802
2804
  items: {
2803
2805
  code: string;
@@ -3049,6 +3051,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
3049
3051
  dashboardRenderingType: "per-criteria" | "per-task";
3050
3052
  };
3051
3053
  version: string;
3054
+ revision: string;
3052
3055
  result: {
3053
3056
  type?: "number" | "boolean" | "percentage" | undefined;
3054
3057
  total?: number | undefined;
@@ -3080,7 +3083,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
3080
3083
  documentTreeFolderTextFormat: string;
3081
3084
  hideFromDocumentTree?: false | undefined;
3082
3085
  })) & {
3083
- reportTextFormat?: string | undefined;
3086
+ reportTitleTextFormat?: string | undefined;
3084
3087
  };
3085
3088
  items: {
3086
3089
  code: string;
@@ -3103,7 +3106,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
3103
3106
  })) & {
3104
3107
  criteriaTreeElementTextFormat: string;
3105
3108
  }) & {
3106
- reportTextFormat?: string | undefined;
3109
+ reportTitleTextFormat?: string | undefined;
3107
3110
  };
3108
3111
  items: {
3109
3112
  code: string;
@@ -3120,7 +3123,7 @@ export declare const criteriaTreeSchema: z.ZodObject<Pick<{
3120
3123
  } & {
3121
3124
  criteriaTreeElementTextFormat: string;
3122
3125
  } & {
3123
- reportTextFormat?: string | undefined;
3126
+ reportTitleTextFormat?: string | undefined;
3124
3127
  };
3125
3128
  items: {
3126
3129
  code: string;
@@ -4206,11 +4209,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4206
4209
  }, {
4207
4210
  criteriaTreeElementTextFormat: string;
4208
4211
  }>>, z.ZodObject<{
4209
- reportTextFormat: z.ZodOptional<z.ZodString>;
4212
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
4210
4213
  }, "strip", z.ZodTypeAny, {
4211
- reportTextFormat?: string | undefined;
4214
+ reportTitleTextFormat?: string | undefined;
4212
4215
  }, {
4213
- reportTextFormat?: string | undefined;
4216
+ reportTitleTextFormat?: string | undefined;
4214
4217
  }>>;
4215
4218
  }, "strip", z.ZodTypeAny, {
4216
4219
  code: string;
@@ -4223,7 +4226,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4223
4226
  } & {
4224
4227
  criteriaTreeElementTextFormat: string;
4225
4228
  } & {
4226
- reportTextFormat?: string | undefined;
4229
+ reportTitleTextFormat?: string | undefined;
4227
4230
  };
4228
4231
  items: {
4229
4232
  code: string;
@@ -4351,7 +4354,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4351
4354
  } & {
4352
4355
  criteriaTreeElementTextFormat: string;
4353
4356
  } & {
4354
- reportTextFormat?: string | undefined;
4357
+ reportTitleTextFormat?: string | undefined;
4355
4358
  };
4356
4359
  items: {
4357
4360
  code: string;
@@ -4484,7 +4487,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4484
4487
  } & {
4485
4488
  criteriaTreeElementTextFormat: string;
4486
4489
  } & {
4487
- reportTextFormat?: string | undefined;
4490
+ reportTitleTextFormat?: string | undefined;
4488
4491
  };
4489
4492
  items: {
4490
4493
  code: string;
@@ -4647,7 +4650,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4647
4650
  } & {
4648
4651
  criteriaTreeElementTextFormat: string;
4649
4652
  } & {
4650
- reportTextFormat?: string | undefined;
4653
+ reportTitleTextFormat?: string | undefined;
4651
4654
  };
4652
4655
  items: {
4653
4656
  code: string;
@@ -4845,11 +4848,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4845
4848
  }, {
4846
4849
  criteriaTreeElementTextFormat: string;
4847
4850
  }>>, z.ZodObject<{
4848
- reportTextFormat: z.ZodOptional<z.ZodString>;
4851
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
4849
4852
  }, "strip", z.ZodTypeAny, {
4850
- reportTextFormat?: string | undefined;
4853
+ reportTitleTextFormat?: string | undefined;
4851
4854
  }, {
4852
- reportTextFormat?: string | undefined;
4855
+ reportTitleTextFormat?: string | undefined;
4853
4856
  }>>;
4854
4857
  }, "strip", z.ZodTypeAny, {
4855
4858
  code: string;
@@ -4872,7 +4875,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4872
4875
  })) & {
4873
4876
  criteriaTreeElementTextFormat: string;
4874
4877
  }) & {
4875
- reportTextFormat?: string | undefined;
4878
+ reportTitleTextFormat?: string | undefined;
4876
4879
  };
4877
4880
  items: {
4878
4881
  code: string;
@@ -4889,7 +4892,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
4889
4892
  } & {
4890
4893
  criteriaTreeElementTextFormat: string;
4891
4894
  } & {
4892
- reportTextFormat?: string | undefined;
4895
+ reportTitleTextFormat?: string | undefined;
4893
4896
  };
4894
4897
  items: {
4895
4898
  code: string;
@@ -5087,7 +5090,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5087
5090
  })) & {
5088
5091
  criteriaTreeElementTextFormat: string;
5089
5092
  }) & {
5090
- reportTextFormat?: string | undefined;
5093
+ reportTitleTextFormat?: string | undefined;
5091
5094
  };
5092
5095
  items: {
5093
5096
  code: string;
@@ -5104,7 +5107,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5104
5107
  } & {
5105
5108
  criteriaTreeElementTextFormat: string;
5106
5109
  } & {
5107
- reportTextFormat?: string | undefined;
5110
+ reportTitleTextFormat?: string | undefined;
5108
5111
  };
5109
5112
  items: {
5110
5113
  code: string;
@@ -5325,11 +5328,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5325
5328
  documentTreeFolderTextFormat: string;
5326
5329
  hideFromDocumentTree?: false | undefined;
5327
5330
  }>]>>, z.ZodObject<{
5328
- reportTextFormat: z.ZodOptional<z.ZodString>;
5331
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
5329
5332
  }, "strip", z.ZodTypeAny, {
5330
- reportTextFormat?: string | undefined;
5333
+ reportTitleTextFormat?: string | undefined;
5331
5334
  }, {
5332
- reportTextFormat?: string | undefined;
5335
+ reportTitleTextFormat?: string | undefined;
5333
5336
  }>>;
5334
5337
  }, "strip", z.ZodTypeAny, {
5335
5338
  code: string;
@@ -5350,7 +5353,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5350
5353
  documentTreeFolderTextFormat: string;
5351
5354
  hideFromDocumentTree?: false | undefined;
5352
5355
  })) & {
5353
- reportTextFormat?: string | undefined;
5356
+ reportTitleTextFormat?: string | undefined;
5354
5357
  };
5355
5358
  items: {
5356
5359
  code: string;
@@ -5373,7 +5376,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5373
5376
  })) & {
5374
5377
  criteriaTreeElementTextFormat: string;
5375
5378
  }) & {
5376
- reportTextFormat?: string | undefined;
5379
+ reportTitleTextFormat?: string | undefined;
5377
5380
  };
5378
5381
  items: {
5379
5382
  code: string;
@@ -5390,7 +5393,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5390
5393
  } & {
5391
5394
  criteriaTreeElementTextFormat: string;
5392
5395
  } & {
5393
- reportTextFormat?: string | undefined;
5396
+ reportTitleTextFormat?: string | undefined;
5394
5397
  };
5395
5398
  items: {
5396
5399
  code: string;
@@ -5627,7 +5630,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5627
5630
  documentTreeFolderTextFormat: string;
5628
5631
  hideFromDocumentTree?: false | undefined;
5629
5632
  })) & {
5630
- reportTextFormat?: string | undefined;
5633
+ reportTitleTextFormat?: string | undefined;
5631
5634
  };
5632
5635
  items: {
5633
5636
  code: string;
@@ -5650,7 +5653,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5650
5653
  })) & {
5651
5654
  criteriaTreeElementTextFormat: string;
5652
5655
  }) & {
5653
- reportTextFormat?: string | undefined;
5656
+ reportTitleTextFormat?: string | undefined;
5654
5657
  };
5655
5658
  items: {
5656
5659
  code: string;
@@ -5667,7 +5670,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
5667
5670
  } & {
5668
5671
  criteriaTreeElementTextFormat: string;
5669
5672
  } & {
5670
- reportTextFormat?: string | undefined;
5673
+ reportTitleTextFormat?: string | undefined;
5671
5674
  };
5672
5675
  items: {
5673
5676
  code: string;
@@ -6591,11 +6594,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6591
6594
  }, {
6592
6595
  criteriaTreeElementTextFormat: string;
6593
6596
  }>>, z.ZodObject<{
6594
- reportTextFormat: z.ZodOptional<z.ZodString>;
6597
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
6595
6598
  }, "strip", z.ZodTypeAny, {
6596
- reportTextFormat?: string | undefined;
6599
+ reportTitleTextFormat?: string | undefined;
6597
6600
  }, {
6598
- reportTextFormat?: string | undefined;
6601
+ reportTitleTextFormat?: string | undefined;
6599
6602
  }>>;
6600
6603
  }, "strip", z.ZodTypeAny, {
6601
6604
  code: string;
@@ -6608,7 +6611,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6608
6611
  } & {
6609
6612
  criteriaTreeElementTextFormat: string;
6610
6613
  } & {
6611
- reportTextFormat?: string | undefined;
6614
+ reportTitleTextFormat?: string | undefined;
6612
6615
  };
6613
6616
  items: {
6614
6617
  code: string;
@@ -6736,7 +6739,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6736
6739
  } & {
6737
6740
  criteriaTreeElementTextFormat: string;
6738
6741
  } & {
6739
- reportTextFormat?: string | undefined;
6742
+ reportTitleTextFormat?: string | undefined;
6740
6743
  };
6741
6744
  items: {
6742
6745
  code: string;
@@ -6869,7 +6872,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
6869
6872
  } & {
6870
6873
  criteriaTreeElementTextFormat: string;
6871
6874
  } & {
6872
- reportTextFormat?: string | undefined;
6875
+ reportTitleTextFormat?: string | undefined;
6873
6876
  };
6874
6877
  items: {
6875
6878
  code: string;
@@ -7032,7 +7035,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7032
7035
  } & {
7033
7036
  criteriaTreeElementTextFormat: string;
7034
7037
  } & {
7035
- reportTextFormat?: string | undefined;
7038
+ reportTitleTextFormat?: string | undefined;
7036
7039
  };
7037
7040
  items: {
7038
7041
  code: string;
@@ -7230,11 +7233,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7230
7233
  }, {
7231
7234
  criteriaTreeElementTextFormat: string;
7232
7235
  }>>, z.ZodObject<{
7233
- reportTextFormat: z.ZodOptional<z.ZodString>;
7236
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
7234
7237
  }, "strip", z.ZodTypeAny, {
7235
- reportTextFormat?: string | undefined;
7238
+ reportTitleTextFormat?: string | undefined;
7236
7239
  }, {
7237
- reportTextFormat?: string | undefined;
7240
+ reportTitleTextFormat?: string | undefined;
7238
7241
  }>>;
7239
7242
  }, "strip", z.ZodTypeAny, {
7240
7243
  code: string;
@@ -7257,7 +7260,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7257
7260
  })) & {
7258
7261
  criteriaTreeElementTextFormat: string;
7259
7262
  }) & {
7260
- reportTextFormat?: string | undefined;
7263
+ reportTitleTextFormat?: string | undefined;
7261
7264
  };
7262
7265
  items: {
7263
7266
  code: string;
@@ -7274,7 +7277,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7274
7277
  } & {
7275
7278
  criteriaTreeElementTextFormat: string;
7276
7279
  } & {
7277
- reportTextFormat?: string | undefined;
7280
+ reportTitleTextFormat?: string | undefined;
7278
7281
  };
7279
7282
  items: {
7280
7283
  code: string;
@@ -7472,7 +7475,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7472
7475
  })) & {
7473
7476
  criteriaTreeElementTextFormat: string;
7474
7477
  }) & {
7475
- reportTextFormat?: string | undefined;
7478
+ reportTitleTextFormat?: string | undefined;
7476
7479
  };
7477
7480
  items: {
7478
7481
  code: string;
@@ -7489,7 +7492,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
7489
7492
  } & {
7490
7493
  criteriaTreeElementTextFormat: string;
7491
7494
  } & {
7492
- reportTextFormat?: string | undefined;
7495
+ reportTitleTextFormat?: string | undefined;
7493
7496
  };
7494
7497
  items: {
7495
7498
  code: string;
@@ -8290,11 +8293,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8290
8293
  }, {
8291
8294
  criteriaTreeElementTextFormat: string;
8292
8295
  }>>, z.ZodObject<{
8293
- reportTextFormat: z.ZodOptional<z.ZodString>;
8296
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
8294
8297
  }, "strip", z.ZodTypeAny, {
8295
- reportTextFormat?: string | undefined;
8298
+ reportTitleTextFormat?: string | undefined;
8296
8299
  }, {
8297
- reportTextFormat?: string | undefined;
8300
+ reportTitleTextFormat?: string | undefined;
8298
8301
  }>>;
8299
8302
  }, "strip", z.ZodTypeAny, {
8300
8303
  code: string;
@@ -8307,7 +8310,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8307
8310
  } & {
8308
8311
  criteriaTreeElementTextFormat: string;
8309
8312
  } & {
8310
- reportTextFormat?: string | undefined;
8313
+ reportTitleTextFormat?: string | undefined;
8311
8314
  };
8312
8315
  items: {
8313
8316
  code: string;
@@ -8435,7 +8438,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8435
8438
  } & {
8436
8439
  criteriaTreeElementTextFormat: string;
8437
8440
  } & {
8438
- reportTextFormat?: string | undefined;
8441
+ reportTitleTextFormat?: string | undefined;
8439
8442
  };
8440
8443
  items: {
8441
8444
  code: string;
@@ -8568,7 +8571,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8568
8571
  } & {
8569
8572
  criteriaTreeElementTextFormat: string;
8570
8573
  } & {
8571
- reportTextFormat?: string | undefined;
8574
+ reportTitleTextFormat?: string | undefined;
8572
8575
  };
8573
8576
  items: {
8574
8577
  code: string;
@@ -8731,7 +8734,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
8731
8734
  } & {
8732
8735
  criteriaTreeElementTextFormat: string;
8733
8736
  } & {
8734
- reportTextFormat?: string | undefined;
8737
+ reportTitleTextFormat?: string | undefined;
8735
8738
  };
8736
8739
  items: {
8737
8740
  code: string;
@@ -9419,11 +9422,11 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9419
9422
  }, {
9420
9423
  criteriaTreeElementTextFormat: string;
9421
9424
  }>>, z.ZodObject<{
9422
- reportTextFormat: z.ZodOptional<z.ZodString>;
9425
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
9423
9426
  }, "strip", z.ZodTypeAny, {
9424
- reportTextFormat?: string | undefined;
9427
+ reportTitleTextFormat?: string | undefined;
9425
9428
  }, {
9426
- reportTextFormat?: string | undefined;
9429
+ reportTitleTextFormat?: string | undefined;
9427
9430
  }>>;
9428
9431
  }, "strip", z.ZodTypeAny, {
9429
9432
  code: string;
@@ -9436,7 +9439,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9436
9439
  } & {
9437
9440
  criteriaTreeElementTextFormat: string;
9438
9441
  } & {
9439
- reportTextFormat?: string | undefined;
9442
+ reportTitleTextFormat?: string | undefined;
9440
9443
  };
9441
9444
  items: {
9442
9445
  code: string;
@@ -9564,7 +9567,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<"type",
9564
9567
  } & {
9565
9568
  criteriaTreeElementTextFormat: string;
9566
9569
  } & {
9567
- reportTextFormat?: string | undefined;
9570
+ reportTitleTextFormat?: string | undefined;
9568
9571
  };
9569
9572
  items: {
9570
9573
  code: string;
@@ -13,6 +13,7 @@ const criteria_set_1 = require("./criteria-set");
13
13
  exports.criteriaTreeSchema = data_map_1.dataMapSchema
14
14
  .pick({
15
15
  version: true,
16
+ revision: true,
16
17
  result: true,
17
18
  certifications: true,
18
19
  })
@@ -48,11 +48,11 @@ export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection
48
48
  }, {
49
49
  criteriaTreeElementTextFormat: string;
50
50
  }>>, z.ZodObject<{
51
- reportTextFormat: z.ZodOptional<z.ZodString>;
51
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
52
52
  }, "strip", z.ZodTypeAny, {
53
- reportTextFormat?: string | undefined;
53
+ reportTitleTextFormat?: string | undefined;
54
54
  }, {
55
- reportTextFormat?: string | undefined;
55
+ reportTitleTextFormat?: string | undefined;
56
56
  }>>;
57
57
  export declare const criterionSchema: z.ZodObject<{
58
58
  title: z.ZodString;
@@ -760,11 +760,11 @@ export declare const criterionSchema: z.ZodObject<{
760
760
  }, {
761
761
  criteriaTreeElementTextFormat: string;
762
762
  }>>, z.ZodObject<{
763
- reportTextFormat: z.ZodOptional<z.ZodString>;
763
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
764
764
  }, "strip", z.ZodTypeAny, {
765
- reportTextFormat?: string | undefined;
765
+ reportTitleTextFormat?: string | undefined;
766
766
  }, {
767
- reportTextFormat?: string | undefined;
767
+ reportTitleTextFormat?: string | undefined;
768
768
  }>>;
769
769
  }, "strip", z.ZodTypeAny, {
770
770
  code: string;
@@ -777,7 +777,7 @@ export declare const criterionSchema: z.ZodObject<{
777
777
  } & {
778
778
  criteriaTreeElementTextFormat: string;
779
779
  } & {
780
- reportTextFormat?: string | undefined;
780
+ reportTitleTextFormat?: string | undefined;
781
781
  };
782
782
  items: {
783
783
  code: string;
@@ -905,7 +905,7 @@ export declare const criterionSchema: z.ZodObject<{
905
905
  } & {
906
906
  criteriaTreeElementTextFormat: string;
907
907
  } & {
908
- reportTextFormat?: string | undefined;
908
+ reportTitleTextFormat?: string | undefined;
909
909
  };
910
910
  items: {
911
911
  code: string;
@@ -1038,7 +1038,7 @@ export declare const criterionSchema: z.ZodObject<{
1038
1038
  } & {
1039
1039
  criteriaTreeElementTextFormat: string;
1040
1040
  } & {
1041
- reportTextFormat?: string | undefined;
1041
+ reportTitleTextFormat?: string | undefined;
1042
1042
  };
1043
1043
  items: {
1044
1044
  code: string;
@@ -1201,7 +1201,7 @@ export declare const criterionSchema: z.ZodObject<{
1201
1201
  } & {
1202
1202
  criteriaTreeElementTextFormat: string;
1203
1203
  } & {
1204
- reportTextFormat?: string | undefined;
1204
+ reportTitleTextFormat?: string | undefined;
1205
1205
  };
1206
1206
  items: {
1207
1207
  code: string;
@@ -1399,11 +1399,11 @@ export declare const criterionSchema: z.ZodObject<{
1399
1399
  }, {
1400
1400
  criteriaTreeElementTextFormat: string;
1401
1401
  }>>, z.ZodObject<{
1402
- reportTextFormat: z.ZodOptional<z.ZodString>;
1402
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
1403
1403
  }, "strip", z.ZodTypeAny, {
1404
- reportTextFormat?: string | undefined;
1404
+ reportTitleTextFormat?: string | undefined;
1405
1405
  }, {
1406
- reportTextFormat?: string | undefined;
1406
+ reportTitleTextFormat?: string | undefined;
1407
1407
  }>>;
1408
1408
  }, "strip", z.ZodTypeAny, {
1409
1409
  code: string;
@@ -1426,7 +1426,7 @@ export declare const criterionSchema: z.ZodObject<{
1426
1426
  })) & {
1427
1427
  criteriaTreeElementTextFormat: string;
1428
1428
  }) & {
1429
- reportTextFormat?: string | undefined;
1429
+ reportTitleTextFormat?: string | undefined;
1430
1430
  };
1431
1431
  items: {
1432
1432
  code: string;
@@ -1443,7 +1443,7 @@ export declare const criterionSchema: z.ZodObject<{
1443
1443
  } & {
1444
1444
  criteriaTreeElementTextFormat: string;
1445
1445
  } & {
1446
- reportTextFormat?: string | undefined;
1446
+ reportTitleTextFormat?: string | undefined;
1447
1447
  };
1448
1448
  items: {
1449
1449
  code: string;
@@ -1641,7 +1641,7 @@ export declare const criterionSchema: z.ZodObject<{
1641
1641
  })) & {
1642
1642
  criteriaTreeElementTextFormat: string;
1643
1643
  }) & {
1644
- reportTextFormat?: string | undefined;
1644
+ reportTitleTextFormat?: string | undefined;
1645
1645
  };
1646
1646
  items: {
1647
1647
  code: string;
@@ -1658,7 +1658,7 @@ export declare const criterionSchema: z.ZodObject<{
1658
1658
  } & {
1659
1659
  criteriaTreeElementTextFormat: string;
1660
1660
  } & {
1661
- reportTextFormat?: string | undefined;
1661
+ reportTitleTextFormat?: string | undefined;
1662
1662
  };
1663
1663
  items: {
1664
1664
  code: string;
@@ -65,6 +65,7 @@ export declare const elementDataMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[
65
65
  }>>]>>;
66
66
  export declare const dataMapSchema: z.ZodObject<{
67
67
  version: z.ZodString;
68
+ revision: z.ZodString;
68
69
  elements: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
69
70
  type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
70
71
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
@@ -184,6 +185,7 @@ export declare const dataMapSchema: z.ZodObject<{
184
185
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
185
186
  })>;
186
187
  version: string;
188
+ revision: string;
187
189
  result: {
188
190
  type?: "number" | "boolean" | "percentage" | undefined;
189
191
  total?: number | undefined;
@@ -223,6 +225,7 @@ export declare const dataMapSchema: z.ZodObject<{
223
225
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
224
226
  })>;
225
227
  version: string;
228
+ revision: string;
226
229
  result: {
227
230
  type?: "number" | "boolean" | "percentage" | undefined;
228
231
  total?: number | undefined;
@@ -11,6 +11,7 @@ exports.dataMapSchema = zod_1.z
11
11
  version: zod_1.z
12
12
  .string()
13
13
  .describe("The version of the criteria set used to generate the data map"),
14
+ revision: zod_1.z.string().describe("The internal version of this criteria set"),
14
15
  elements: exports.elementDataMapSchema
15
16
  .describe("The data map consisting of a map of element codes to their data"),
16
17
  result: common_1.treeResultSchema.describe("The overall result of the evaluation of the criteria set"),
@@ -13,6 +13,7 @@ export declare const schemaDefinitionsSchema: z.ZodObject<{
13
13
  export declare const metadataSchema: z.ZodObject<{
14
14
  id: z.ZodString;
15
15
  version: z.ZodString;
16
+ revision: z.ZodString;
16
17
  date: z.ZodDate;
17
18
  name: z.ZodString;
18
19
  description: z.ZodString;
@@ -35,6 +36,7 @@ export declare const metadataSchema: z.ZodObject<{
35
36
  description: string;
36
37
  date: Date;
37
38
  version: string;
39
+ revision: string;
38
40
  documentation?: string | undefined;
39
41
  locales?: string[] | undefined;
40
42
  defaultLocale?: string | undefined;
@@ -48,6 +50,7 @@ export declare const metadataSchema: z.ZodObject<{
48
50
  description: string;
49
51
  date: Date;
50
52
  version: string;
53
+ revision: string;
51
54
  documentation?: string | undefined;
52
55
  locales?: string[] | undefined;
53
56
  defaultLocale?: string | undefined;
@@ -19,6 +19,7 @@ exports.metadataSchema = zod_1.z
19
19
  version: zod_1.z
20
20
  .string()
21
21
  .describe("The version of the criteria set being retrieved"),
22
+ revision: zod_1.z.string().describe("The internal version of this criteria set"),
22
23
  date: zod_1.z.date().describe("The date when the criteria set was created"),
23
24
  name: zod_1.z.string().describe("The name of the criteria set"),
24
25
  description: zod_1.z
@@ -2,6 +2,7 @@ import { z } from "zod";
2
2
  export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  version: z.ZodString;
5
+ revision: z.ZodString;
5
6
  date: z.ZodDate;
6
7
  name: z.ZodString;
7
8
  description: z.ZodString;
@@ -24,6 +25,7 @@ export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.Z
24
25
  description: string;
25
26
  date: Date;
26
27
  version: string;
28
+ revision: string;
27
29
  documentation?: string | undefined;
28
30
  locales?: string[] | undefined;
29
31
  defaultLocale?: string | undefined;
@@ -37,6 +39,7 @@ export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.Z
37
39
  description: string;
38
40
  date: Date;
39
41
  version: string;
42
+ revision: string;
40
43
  documentation?: string | undefined;
41
44
  locales?: string[] | undefined;
42
45
  defaultLocale?: string | undefined;
@@ -623,11 +623,11 @@ export declare const taskGroupSchema: z.ZodObject<{
623
623
  }, {
624
624
  criteriaTreeElementTextFormat: string;
625
625
  }>>, z.ZodObject<{
626
- reportTextFormat: z.ZodOptional<z.ZodString>;
626
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
627
627
  }, "strip", z.ZodTypeAny, {
628
- reportTextFormat?: string | undefined;
628
+ reportTitleTextFormat?: string | undefined;
629
629
  }, {
630
- reportTextFormat?: string | undefined;
630
+ reportTitleTextFormat?: string | undefined;
631
631
  }>>;
632
632
  }, "strip", z.ZodTypeAny, {
633
633
  code: string;
@@ -640,7 +640,7 @@ export declare const taskGroupSchema: z.ZodObject<{
640
640
  } & {
641
641
  criteriaTreeElementTextFormat: string;
642
642
  } & {
643
- reportTextFormat?: string | undefined;
643
+ reportTitleTextFormat?: string | undefined;
644
644
  };
645
645
  items: {
646
646
  code: string;
@@ -768,7 +768,7 @@ export declare const taskGroupSchema: z.ZodObject<{
768
768
  } & {
769
769
  criteriaTreeElementTextFormat: string;
770
770
  } & {
771
- reportTextFormat?: string | undefined;
771
+ reportTitleTextFormat?: string | undefined;
772
772
  };
773
773
  items: {
774
774
  code: string;
@@ -901,7 +901,7 @@ export declare const taskGroupSchema: z.ZodObject<{
901
901
  } & {
902
902
  criteriaTreeElementTextFormat: string;
903
903
  } & {
904
- reportTextFormat?: string | undefined;
904
+ reportTitleTextFormat?: string | undefined;
905
905
  };
906
906
  items: {
907
907
  code: string;
@@ -1064,7 +1064,7 @@ export declare const taskGroupSchema: z.ZodObject<{
1064
1064
  } & {
1065
1065
  criteriaTreeElementTextFormat: string;
1066
1066
  } & {
1067
- reportTextFormat?: string | undefined;
1067
+ reportTitleTextFormat?: string | undefined;
1068
1068
  };
1069
1069
  items: {
1070
1070
  code: string;
@@ -18,11 +18,11 @@ export declare const taskOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.Zo
18
18
  }, {
19
19
  criteriaTreeElementTextFormat: string;
20
20
  }>>, z.ZodObject<{
21
- reportTextFormat: z.ZodOptional<z.ZodString>;
21
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
22
22
  }, "strip", z.ZodTypeAny, {
23
- reportTextFormat?: string | undefined;
23
+ reportTitleTextFormat?: string | undefined;
24
24
  }, {
25
- reportTextFormat?: string | undefined;
25
+ reportTitleTextFormat?: string | undefined;
26
26
  }>>;
27
27
  export declare const taskSchema: z.ZodObject<{
28
28
  title: z.ZodString;
@@ -564,11 +564,11 @@ export declare const taskSchema: z.ZodObject<{
564
564
  }, {
565
565
  criteriaTreeElementTextFormat: string;
566
566
  }>>, z.ZodObject<{
567
- reportTextFormat: z.ZodOptional<z.ZodString>;
567
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
568
568
  }, "strip", z.ZodTypeAny, {
569
- reportTextFormat?: string | undefined;
569
+ reportTitleTextFormat?: string | undefined;
570
570
  }, {
571
- reportTextFormat?: string | undefined;
571
+ reportTitleTextFormat?: string | undefined;
572
572
  }>>;
573
573
  }, "strip", z.ZodTypeAny, {
574
574
  code: string;
@@ -581,7 +581,7 @@ export declare const taskSchema: z.ZodObject<{
581
581
  } & {
582
582
  criteriaTreeElementTextFormat: string;
583
583
  } & {
584
- reportTextFormat?: string | undefined;
584
+ reportTitleTextFormat?: string | undefined;
585
585
  };
586
586
  items: {
587
587
  code: string;
@@ -709,7 +709,7 @@ export declare const taskSchema: z.ZodObject<{
709
709
  } & {
710
710
  criteriaTreeElementTextFormat: string;
711
711
  } & {
712
- reportTextFormat?: string | undefined;
712
+ reportTitleTextFormat?: string | undefined;
713
713
  };
714
714
  items: {
715
715
  code: string;
@@ -92,11 +92,11 @@ export declare const themeOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.Z
92
92
  documentTreeFolderTextFormat: string;
93
93
  hideFromDocumentTree?: false | undefined;
94
94
  }>]>>, z.ZodObject<{
95
- reportTextFormat: z.ZodOptional<z.ZodString>;
95
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- reportTextFormat?: string | undefined;
97
+ reportTitleTextFormat?: string | undefined;
98
98
  }, {
99
- reportTextFormat?: string | undefined;
99
+ reportTitleTextFormat?: string | undefined;
100
100
  }>>;
101
101
  export declare const themeSchema: z.ZodObject<{
102
102
  title: z.ZodString;
@@ -936,11 +936,11 @@ export declare const themeSchema: z.ZodObject<{
936
936
  }, {
937
937
  criteriaTreeElementTextFormat: string;
938
938
  }>>, z.ZodObject<{
939
- reportTextFormat: z.ZodOptional<z.ZodString>;
939
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
940
940
  }, "strip", z.ZodTypeAny, {
941
- reportTextFormat?: string | undefined;
941
+ reportTitleTextFormat?: string | undefined;
942
942
  }, {
943
- reportTextFormat?: string | undefined;
943
+ reportTitleTextFormat?: string | undefined;
944
944
  }>>;
945
945
  }, "strip", z.ZodTypeAny, {
946
946
  code: string;
@@ -953,7 +953,7 @@ export declare const themeSchema: z.ZodObject<{
953
953
  } & {
954
954
  criteriaTreeElementTextFormat: string;
955
955
  } & {
956
- reportTextFormat?: string | undefined;
956
+ reportTitleTextFormat?: string | undefined;
957
957
  };
958
958
  items: {
959
959
  code: string;
@@ -1081,7 +1081,7 @@ export declare const themeSchema: z.ZodObject<{
1081
1081
  } & {
1082
1082
  criteriaTreeElementTextFormat: string;
1083
1083
  } & {
1084
- reportTextFormat?: string | undefined;
1084
+ reportTitleTextFormat?: string | undefined;
1085
1085
  };
1086
1086
  items: {
1087
1087
  code: string;
@@ -1214,7 +1214,7 @@ export declare const themeSchema: z.ZodObject<{
1214
1214
  } & {
1215
1215
  criteriaTreeElementTextFormat: string;
1216
1216
  } & {
1217
- reportTextFormat?: string | undefined;
1217
+ reportTitleTextFormat?: string | undefined;
1218
1218
  };
1219
1219
  items: {
1220
1220
  code: string;
@@ -1377,7 +1377,7 @@ export declare const themeSchema: z.ZodObject<{
1377
1377
  } & {
1378
1378
  criteriaTreeElementTextFormat: string;
1379
1379
  } & {
1380
- reportTextFormat?: string | undefined;
1380
+ reportTitleTextFormat?: string | undefined;
1381
1381
  };
1382
1382
  items: {
1383
1383
  code: string;
@@ -1575,11 +1575,11 @@ export declare const themeSchema: z.ZodObject<{
1575
1575
  }, {
1576
1576
  criteriaTreeElementTextFormat: string;
1577
1577
  }>>, z.ZodObject<{
1578
- reportTextFormat: z.ZodOptional<z.ZodString>;
1578
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
1579
1579
  }, "strip", z.ZodTypeAny, {
1580
- reportTextFormat?: string | undefined;
1580
+ reportTitleTextFormat?: string | undefined;
1581
1581
  }, {
1582
- reportTextFormat?: string | undefined;
1582
+ reportTitleTextFormat?: string | undefined;
1583
1583
  }>>;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
1585
  code: string;
@@ -1602,7 +1602,7 @@ export declare const themeSchema: z.ZodObject<{
1602
1602
  })) & {
1603
1603
  criteriaTreeElementTextFormat: string;
1604
1604
  }) & {
1605
- reportTextFormat?: string | undefined;
1605
+ reportTitleTextFormat?: string | undefined;
1606
1606
  };
1607
1607
  items: {
1608
1608
  code: string;
@@ -1619,7 +1619,7 @@ export declare const themeSchema: z.ZodObject<{
1619
1619
  } & {
1620
1620
  criteriaTreeElementTextFormat: string;
1621
1621
  } & {
1622
- reportTextFormat?: string | undefined;
1622
+ reportTitleTextFormat?: string | undefined;
1623
1623
  };
1624
1624
  items: {
1625
1625
  code: string;
@@ -1817,7 +1817,7 @@ export declare const themeSchema: z.ZodObject<{
1817
1817
  })) & {
1818
1818
  criteriaTreeElementTextFormat: string;
1819
1819
  }) & {
1820
- reportTextFormat?: string | undefined;
1820
+ reportTitleTextFormat?: string | undefined;
1821
1821
  };
1822
1822
  items: {
1823
1823
  code: string;
@@ -1834,7 +1834,7 @@ export declare const themeSchema: z.ZodObject<{
1834
1834
  } & {
1835
1835
  criteriaTreeElementTextFormat: string;
1836
1836
  } & {
1837
- reportTextFormat?: string | undefined;
1837
+ reportTitleTextFormat?: string | undefined;
1838
1838
  };
1839
1839
  items: {
1840
1840
  code: string;
@@ -2055,11 +2055,11 @@ export declare const themeSchema: z.ZodObject<{
2055
2055
  documentTreeFolderTextFormat: string;
2056
2056
  hideFromDocumentTree?: false | undefined;
2057
2057
  }>]>>, z.ZodObject<{
2058
- reportTextFormat: z.ZodOptional<z.ZodString>;
2058
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
2059
2059
  }, "strip", z.ZodTypeAny, {
2060
- reportTextFormat?: string | undefined;
2060
+ reportTitleTextFormat?: string | undefined;
2061
2061
  }, {
2062
- reportTextFormat?: string | undefined;
2062
+ reportTitleTextFormat?: string | undefined;
2063
2063
  }>>;
2064
2064
  }, "strip", z.ZodTypeAny, {
2065
2065
  code: string;
@@ -2080,7 +2080,7 @@ export declare const themeSchema: z.ZodObject<{
2080
2080
  documentTreeFolderTextFormat: string;
2081
2081
  hideFromDocumentTree?: false | undefined;
2082
2082
  })) & {
2083
- reportTextFormat?: string | undefined;
2083
+ reportTitleTextFormat?: string | undefined;
2084
2084
  };
2085
2085
  items: {
2086
2086
  code: string;
@@ -2103,7 +2103,7 @@ export declare const themeSchema: z.ZodObject<{
2103
2103
  })) & {
2104
2104
  criteriaTreeElementTextFormat: string;
2105
2105
  }) & {
2106
- reportTextFormat?: string | undefined;
2106
+ reportTitleTextFormat?: string | undefined;
2107
2107
  };
2108
2108
  items: {
2109
2109
  code: string;
@@ -2120,7 +2120,7 @@ export declare const themeSchema: z.ZodObject<{
2120
2120
  } & {
2121
2121
  criteriaTreeElementTextFormat: string;
2122
2122
  } & {
2123
- reportTextFormat?: string | undefined;
2123
+ reportTitleTextFormat?: string | undefined;
2124
2124
  };
2125
2125
  items: {
2126
2126
  code: string;
@@ -2357,7 +2357,7 @@ export declare const themeSchema: z.ZodObject<{
2357
2357
  documentTreeFolderTextFormat: string;
2358
2358
  hideFromDocumentTree?: false | undefined;
2359
2359
  })) & {
2360
- reportTextFormat?: string | undefined;
2360
+ reportTitleTextFormat?: string | undefined;
2361
2361
  };
2362
2362
  items: {
2363
2363
  code: string;
@@ -2380,7 +2380,7 @@ export declare const themeSchema: z.ZodObject<{
2380
2380
  })) & {
2381
2381
  criteriaTreeElementTextFormat: string;
2382
2382
  }) & {
2383
- reportTextFormat?: string | undefined;
2383
+ reportTitleTextFormat?: string | undefined;
2384
2384
  };
2385
2385
  items: {
2386
2386
  code: string;
@@ -2397,7 +2397,7 @@ export declare const themeSchema: z.ZodObject<{
2397
2397
  } & {
2398
2398
  criteriaTreeElementTextFormat: string;
2399
2399
  } & {
2400
- reportTextFormat?: string | undefined;
2400
+ reportTitleTextFormat?: string | undefined;
2401
2401
  };
2402
2402
  items: {
2403
2403
  code: string;
@@ -14,6 +14,8 @@ interface ApplyDocumentTreeFolderTextFormattingPlaceholdersFunction extends Appl
14
14
  }
15
15
  interface ApplyCriteriaTreeElementTextFormatFormattingPlaceholdersFunction extends ApplyTextFormattingPlaceholdersForCriterionFunction, ApplyTextFormattingPlaceholdersForTaskFunction {
16
16
  }
17
+ interface ApplyReportTitleTextFormatFormattingPlaceholdersFunction extends ApplyTextFormattingPlaceholdersForThemeFunction, ApplyTextFormattingPlaceholdersForCriterionFunction, ApplyTextFormattingPlaceholdersForTaskFunction {
18
+ }
17
19
  export declare const isTheme: (element: CriteriaTreeElement) => element is Theme;
18
20
  export declare const isCriterion: (element: CriteriaTreeElement) => element is Criterion;
19
21
  export declare const isTaskGroup: (element: CriteriaTreeElement) => element is TaskGroup;
@@ -39,4 +41,8 @@ export declare const applyDocumentTreeFolderTextFormattingPlaceholders: ApplyDoc
39
41
  * Apply the text formatting used in the criteria tree
40
42
  */
41
43
  export declare const applyCriteriaTreeElementTextFormatFormattingPlaceholders: ApplyCriteriaTreeElementTextFormatFormattingPlaceholdersFunction;
44
+ /**
45
+ * Apply the text formatting used in the report title
46
+ */
47
+ export declare const applyReportTitleTextFormatFormattingPlaceholders: ApplyReportTitleTextFormatFormattingPlaceholdersFunction;
42
48
  export {};
package/dist/v1/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.applyCriteriaTreeElementTextFormatFormattingPlaceholders = exports.applyDocumentTreeFolderTextFormattingPlaceholders = exports.applyBreadcrumbTextFormattingPlaceholders = exports.findInTree = exports.toColorHexString = exports.isTaskItem = exports.isTask = exports.isTaskGroup = exports.isCriterion = exports.isTheme = void 0;
3
+ exports.applyReportTitleTextFormatFormattingPlaceholders = exports.applyCriteriaTreeElementTextFormatFormattingPlaceholders = exports.applyDocumentTreeFolderTextFormattingPlaceholders = exports.applyBreadcrumbTextFormattingPlaceholders = exports.findInTree = exports.toColorHexString = exports.isTaskItem = exports.isTask = exports.isTaskGroup = exports.isCriterion = exports.isTheme = void 0;
4
4
  const isTheme = (element) => element.type === "theme";
5
5
  exports.isTheme = isTheme;
6
6
  const isCriterion = (element) => element.type === "criterion";
@@ -63,3 +63,10 @@ const applyCriteriaTreeElementTextFormatFormattingPlaceholders = ({ criteriaTree
63
63
  .replace(/:code:/g, code)
64
64
  .replace(/:title:/g, title);
65
65
  exports.applyCriteriaTreeElementTextFormatFormattingPlaceholders = applyCriteriaTreeElementTextFormatFormattingPlaceholders;
66
+ /**
67
+ * Apply the text formatting used in the report title
68
+ */
69
+ const applyReportTitleTextFormatFormattingPlaceholders = ({ reportTitleTextFormat }, { title, code }) => (reportTitleTextFormat !== null && reportTitleTextFormat !== void 0 ? reportTitleTextFormat : ":title:")
70
+ .replace(/:code:/g, code)
71
+ .replace(/:title:/g, title);
72
+ exports.applyReportTitleTextFormatFormattingPlaceholders = applyReportTitleTextFormatFormattingPlaceholders;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "2.2.13",
3
+ "version": "2.2.15",
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>",