@openframe-org/criteria-set-protocol 2.1.1 → 2.1.3

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.
@@ -50,32 +50,20 @@ export declare const themeStyleSchema: z.ZodObject<{
50
50
  };
51
51
  }>;
52
52
  export declare const themeOptionsSchema: z.ZodObject<{
53
- /**
54
- * @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
55
- */
56
- hideCode: z.ZodOptional<z.ZodBoolean>;
57
- /**
58
- * @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
59
- */
60
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
61
53
  breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
62
54
  hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
63
- documentTreeTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
55
+ documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
64
56
  hideFromDocumentTree: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
65
57
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
66
58
  }, "strip", z.ZodTypeAny, {
67
59
  breadcrumbTextFormat: string;
68
- documentTreeTextFormat: string;
60
+ documentTreeFolderTextFormat: string;
69
61
  hideFromBreadcrumbs: boolean;
70
62
  hideFromDocumentTree: boolean;
71
63
  hideCodeInReport: boolean;
72
- hideCode?: boolean | undefined;
73
- hideFromHierarchy?: boolean | undefined;
74
64
  }, {
75
- hideCode?: boolean | undefined;
76
65
  breadcrumbTextFormat?: string | undefined;
77
- documentTreeTextFormat?: string | undefined;
78
- hideFromHierarchy?: boolean | undefined;
66
+ documentTreeFolderTextFormat?: string | undefined;
79
67
  hideFromBreadcrumbs?: boolean | undefined;
80
68
  hideFromDocumentTree?: boolean | undefined;
81
69
  hideCodeInReport?: boolean | undefined;
@@ -927,19 +915,16 @@ export declare const themeSchema: z.ZodObject<{
927
915
  valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
928
916
  }>>, "many">;
929
917
  options: z.ZodOptional<z.ZodObject<{
930
- hideCode: z.ZodOptional<z.ZodBoolean>;
931
918
  breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
932
- documentTreeTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
919
+ documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
933
920
  showCodeAsIndicatorTaskViewTitle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
934
921
  }, "strip", z.ZodTypeAny, {
935
922
  breadcrumbTextFormat: string;
936
- documentTreeTextFormat: string;
923
+ documentTreeFolderTextFormat: string;
937
924
  showCodeAsIndicatorTaskViewTitle: boolean;
938
- hideCode?: boolean | undefined;
939
925
  }, {
940
- hideCode?: boolean | undefined;
941
926
  breadcrumbTextFormat?: string | undefined;
942
- documentTreeTextFormat?: string | undefined;
927
+ documentTreeFolderTextFormat?: string | undefined;
943
928
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
944
929
  }>>;
945
930
  }, "strip", z.ZodTypeAny, {
@@ -1046,9 +1031,8 @@ export declare const themeSchema: z.ZodObject<{
1046
1031
  } | undefined;
1047
1032
  options?: {
1048
1033
  breadcrumbTextFormat: string;
1049
- documentTreeTextFormat: string;
1034
+ documentTreeFolderTextFormat: string;
1050
1035
  showCodeAsIndicatorTaskViewTitle: boolean;
1051
- hideCode?: boolean | undefined;
1052
1036
  } | undefined;
1053
1037
  description?: string | undefined;
1054
1038
  longFormTitle?: string | undefined;
@@ -1172,9 +1156,8 @@ export declare const themeSchema: z.ZodObject<{
1172
1156
  readOnly?: boolean | undefined;
1173
1157
  } | undefined;
1174
1158
  options?: {
1175
- hideCode?: boolean | undefined;
1176
1159
  breadcrumbTextFormat?: string | undefined;
1177
- documentTreeTextFormat?: string | undefined;
1160
+ documentTreeFolderTextFormat?: string | undefined;
1178
1161
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1179
1162
  } | undefined;
1180
1163
  description?: string | undefined;
@@ -1197,16 +1180,7 @@ export declare const themeSchema: z.ZodObject<{
1197
1180
  })[] | undefined;
1198
1181
  sortOrder?: number | undefined;
1199
1182
  }>>, "many">;
1200
- options: z.ZodOptional<z.ZodObject<{
1201
- hideCode: z.ZodOptional<z.ZodBoolean>;
1202
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
1203
- }, "strip", z.ZodTypeAny, {
1204
- hideCode?: boolean | undefined;
1205
- hideFromHierarchy?: boolean | undefined;
1206
- }, {
1207
- hideCode?: boolean | undefined;
1208
- hideFromHierarchy?: boolean | undefined;
1209
- }>>;
1183
+ options: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1210
1184
  }, "strip", z.ZodTypeAny, {
1211
1185
  code: string;
1212
1186
  type: "task-group";
@@ -1315,9 +1289,8 @@ export declare const themeSchema: z.ZodObject<{
1315
1289
  } | undefined;
1316
1290
  options?: {
1317
1291
  breadcrumbTextFormat: string;
1318
- documentTreeTextFormat: string;
1292
+ documentTreeFolderTextFormat: string;
1319
1293
  showCodeAsIndicatorTaskViewTitle: boolean;
1320
- hideCode?: boolean | undefined;
1321
1294
  } | undefined;
1322
1295
  description?: string | undefined;
1323
1296
  longFormTitle?: string | undefined;
@@ -1351,10 +1324,7 @@ export declare const themeSchema: z.ZodObject<{
1351
1324
  step?: number | undefined;
1352
1325
  readOnly?: boolean | undefined;
1353
1326
  } | undefined;
1354
- options?: {
1355
- hideCode?: boolean | undefined;
1356
- hideFromHierarchy?: boolean | undefined;
1357
- } | undefined;
1327
+ options?: {} | undefined;
1358
1328
  description?: string | undefined;
1359
1329
  longFormTitle?: string | undefined;
1360
1330
  tags?: string[] | undefined;
@@ -1482,9 +1452,8 @@ export declare const themeSchema: z.ZodObject<{
1482
1452
  readOnly?: boolean | undefined;
1483
1453
  } | undefined;
1484
1454
  options?: {
1485
- hideCode?: boolean | undefined;
1486
1455
  breadcrumbTextFormat?: string | undefined;
1487
- documentTreeTextFormat?: string | undefined;
1456
+ documentTreeFolderTextFormat?: string | undefined;
1488
1457
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1489
1458
  } | undefined;
1490
1459
  description?: string | undefined;
@@ -1519,10 +1488,7 @@ export declare const themeSchema: z.ZodObject<{
1519
1488
  step?: number | undefined;
1520
1489
  readOnly?: boolean | undefined;
1521
1490
  } | undefined;
1522
- options?: {
1523
- hideCode?: boolean | undefined;
1524
- hideFromHierarchy?: boolean | undefined;
1525
- } | undefined;
1491
+ options?: {} | undefined;
1526
1492
  description?: string | undefined;
1527
1493
  longFormTitle?: string | undefined;
1528
1494
  tags?: string[] | undefined;
@@ -1545,26 +1511,20 @@ export declare const themeSchema: z.ZodObject<{
1545
1511
  category?: string | undefined;
1546
1512
  }>>, "many">;
1547
1513
  options: z.ZodOptional<z.ZodObject<{
1548
- hideCode: z.ZodOptional<z.ZodBoolean>;
1549
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
1550
1514
  breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1551
- documentTreeTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1515
+ documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1552
1516
  hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1553
1517
  hideFromDocumentTree: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1554
1518
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1555
1519
  }, "strip", z.ZodTypeAny, {
1556
1520
  breadcrumbTextFormat: string;
1557
- documentTreeTextFormat: string;
1521
+ documentTreeFolderTextFormat: string;
1558
1522
  hideFromBreadcrumbs: boolean;
1559
1523
  hideFromDocumentTree: boolean;
1560
1524
  hideCodeInReport: boolean;
1561
- hideCode?: boolean | undefined;
1562
- hideFromHierarchy?: boolean | undefined;
1563
1525
  }, {
1564
- hideCode?: boolean | undefined;
1565
1526
  breadcrumbTextFormat?: string | undefined;
1566
- documentTreeTextFormat?: string | undefined;
1567
- hideFromHierarchy?: boolean | undefined;
1527
+ documentTreeFolderTextFormat?: string | undefined;
1568
1528
  hideFromBreadcrumbs?: boolean | undefined;
1569
1529
  hideFromDocumentTree?: boolean | undefined;
1570
1530
  hideCodeInReport?: boolean | undefined;
@@ -1681,9 +1641,8 @@ export declare const themeSchema: z.ZodObject<{
1681
1641
  } | undefined;
1682
1642
  options?: {
1683
1643
  breadcrumbTextFormat: string;
1684
- documentTreeTextFormat: string;
1644
+ documentTreeFolderTextFormat: string;
1685
1645
  showCodeAsIndicatorTaskViewTitle: boolean;
1686
- hideCode?: boolean | undefined;
1687
1646
  } | undefined;
1688
1647
  description?: string | undefined;
1689
1648
  longFormTitle?: string | undefined;
@@ -1717,10 +1676,7 @@ export declare const themeSchema: z.ZodObject<{
1717
1676
  step?: number | undefined;
1718
1677
  readOnly?: boolean | undefined;
1719
1678
  } | undefined;
1720
- options?: {
1721
- hideCode?: boolean | undefined;
1722
- hideFromHierarchy?: boolean | undefined;
1723
- } | undefined;
1679
+ options?: {} | undefined;
1724
1680
  description?: string | undefined;
1725
1681
  longFormTitle?: string | undefined;
1726
1682
  tags?: string[] | undefined;
@@ -1756,12 +1712,10 @@ export declare const themeSchema: z.ZodObject<{
1756
1712
  } | undefined;
1757
1713
  options?: {
1758
1714
  breadcrumbTextFormat: string;
1759
- documentTreeTextFormat: string;
1715
+ documentTreeFolderTextFormat: string;
1760
1716
  hideFromBreadcrumbs: boolean;
1761
1717
  hideFromDocumentTree: boolean;
1762
1718
  hideCodeInReport: boolean;
1763
- hideCode?: boolean | undefined;
1764
- hideFromHierarchy?: boolean | undefined;
1765
1719
  } | undefined;
1766
1720
  longFormTitle?: string | undefined;
1767
1721
  tags?: string[] | undefined;
@@ -1892,9 +1846,8 @@ export declare const themeSchema: z.ZodObject<{
1892
1846
  readOnly?: boolean | undefined;
1893
1847
  } | undefined;
1894
1848
  options?: {
1895
- hideCode?: boolean | undefined;
1896
1849
  breadcrumbTextFormat?: string | undefined;
1897
- documentTreeTextFormat?: string | undefined;
1850
+ documentTreeFolderTextFormat?: string | undefined;
1898
1851
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
1899
1852
  } | undefined;
1900
1853
  description?: string | undefined;
@@ -1929,10 +1882,7 @@ export declare const themeSchema: z.ZodObject<{
1929
1882
  step?: number | undefined;
1930
1883
  readOnly?: boolean | undefined;
1931
1884
  } | undefined;
1932
- options?: {
1933
- hideCode?: boolean | undefined;
1934
- hideFromHierarchy?: boolean | undefined;
1935
- } | undefined;
1885
+ options?: {} | undefined;
1936
1886
  description?: string | undefined;
1937
1887
  longFormTitle?: string | undefined;
1938
1888
  tags?: string[] | undefined;
@@ -1967,10 +1917,8 @@ export declare const themeSchema: z.ZodObject<{
1967
1917
  readOnly?: boolean | undefined;
1968
1918
  } | undefined;
1969
1919
  options?: {
1970
- hideCode?: boolean | undefined;
1971
1920
  breadcrumbTextFormat?: string | undefined;
1972
- documentTreeTextFormat?: string | undefined;
1973
- hideFromHierarchy?: boolean | undefined;
1921
+ documentTreeFolderTextFormat?: string | undefined;
1974
1922
  hideFromBreadcrumbs?: boolean | undefined;
1975
1923
  hideFromDocumentTree?: boolean | undefined;
1976
1924
  hideCodeInReport?: boolean | undefined;
@@ -1995,32 +1943,20 @@ export declare const themeSchema: z.ZodObject<{
1995
1943
  sortOrder?: number | undefined;
1996
1944
  }>, "many">;
1997
1945
  options: z.ZodOptional<z.ZodObject<{
1998
- /**
1999
- * @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
2000
- */
2001
- hideCode: z.ZodOptional<z.ZodBoolean>;
2002
- /**
2003
- * @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
2004
- */
2005
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
2006
1946
  breadcrumbTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2007
1947
  hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2008
- documentTreeTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1948
+ documentTreeFolderTextFormat: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2009
1949
  hideFromDocumentTree: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2010
1950
  hideCodeInReport: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2011
1951
  }, "strip", z.ZodTypeAny, {
2012
1952
  breadcrumbTextFormat: string;
2013
- documentTreeTextFormat: string;
1953
+ documentTreeFolderTextFormat: string;
2014
1954
  hideFromBreadcrumbs: boolean;
2015
1955
  hideFromDocumentTree: boolean;
2016
1956
  hideCodeInReport: boolean;
2017
- hideCode?: boolean | undefined;
2018
- hideFromHierarchy?: boolean | undefined;
2019
1957
  }, {
2020
- hideCode?: boolean | undefined;
2021
1958
  breadcrumbTextFormat?: string | undefined;
2022
- documentTreeTextFormat?: string | undefined;
2023
- hideFromHierarchy?: boolean | undefined;
1959
+ documentTreeFolderTextFormat?: string | undefined;
2024
1960
  hideFromBreadcrumbs?: boolean | undefined;
2025
1961
  hideFromDocumentTree?: boolean | undefined;
2026
1962
  hideCodeInReport?: boolean | undefined;
@@ -2141,9 +2077,8 @@ export declare const themeSchema: z.ZodObject<{
2141
2077
  } | undefined;
2142
2078
  options?: {
2143
2079
  breadcrumbTextFormat: string;
2144
- documentTreeTextFormat: string;
2080
+ documentTreeFolderTextFormat: string;
2145
2081
  showCodeAsIndicatorTaskViewTitle: boolean;
2146
- hideCode?: boolean | undefined;
2147
2082
  } | undefined;
2148
2083
  description?: string | undefined;
2149
2084
  longFormTitle?: string | undefined;
@@ -2177,10 +2112,7 @@ export declare const themeSchema: z.ZodObject<{
2177
2112
  step?: number | undefined;
2178
2113
  readOnly?: boolean | undefined;
2179
2114
  } | undefined;
2180
- options?: {
2181
- hideCode?: boolean | undefined;
2182
- hideFromHierarchy?: boolean | undefined;
2183
- } | undefined;
2115
+ options?: {} | undefined;
2184
2116
  description?: string | undefined;
2185
2117
  longFormTitle?: string | undefined;
2186
2118
  tags?: string[] | undefined;
@@ -2216,12 +2148,10 @@ export declare const themeSchema: z.ZodObject<{
2216
2148
  } | undefined;
2217
2149
  options?: {
2218
2150
  breadcrumbTextFormat: string;
2219
- documentTreeTextFormat: string;
2151
+ documentTreeFolderTextFormat: string;
2220
2152
  hideFromBreadcrumbs: boolean;
2221
2153
  hideFromDocumentTree: boolean;
2222
2154
  hideCodeInReport: boolean;
2223
- hideCode?: boolean | undefined;
2224
- hideFromHierarchy?: boolean | undefined;
2225
2155
  } | undefined;
2226
2156
  longFormTitle?: string | undefined;
2227
2157
  tags?: string[] | undefined;
@@ -2268,12 +2198,10 @@ export declare const themeSchema: z.ZodObject<{
2268
2198
  } | undefined;
2269
2199
  options?: {
2270
2200
  breadcrumbTextFormat: string;
2271
- documentTreeTextFormat: string;
2201
+ documentTreeFolderTextFormat: string;
2272
2202
  hideFromBreadcrumbs: boolean;
2273
2203
  hideFromDocumentTree: boolean;
2274
2204
  hideCodeInReport: boolean;
2275
- hideCode?: boolean | undefined;
2276
- hideFromHierarchy?: boolean | undefined;
2277
2205
  } | undefined;
2278
2206
  longFormTitle?: string | undefined;
2279
2207
  tags?: string[] | undefined;
@@ -2408,9 +2336,8 @@ export declare const themeSchema: z.ZodObject<{
2408
2336
  readOnly?: boolean | undefined;
2409
2337
  } | undefined;
2410
2338
  options?: {
2411
- hideCode?: boolean | undefined;
2412
2339
  breadcrumbTextFormat?: string | undefined;
2413
- documentTreeTextFormat?: string | undefined;
2340
+ documentTreeFolderTextFormat?: string | undefined;
2414
2341
  showCodeAsIndicatorTaskViewTitle?: boolean | undefined;
2415
2342
  } | undefined;
2416
2343
  description?: string | undefined;
@@ -2445,10 +2372,7 @@ export declare const themeSchema: z.ZodObject<{
2445
2372
  step?: number | undefined;
2446
2373
  readOnly?: boolean | undefined;
2447
2374
  } | undefined;
2448
- options?: {
2449
- hideCode?: boolean | undefined;
2450
- hideFromHierarchy?: boolean | undefined;
2451
- } | undefined;
2375
+ options?: {} | undefined;
2452
2376
  description?: string | undefined;
2453
2377
  longFormTitle?: string | undefined;
2454
2378
  tags?: string[] | undefined;
@@ -2483,10 +2407,8 @@ export declare const themeSchema: z.ZodObject<{
2483
2407
  readOnly?: boolean | undefined;
2484
2408
  } | undefined;
2485
2409
  options?: {
2486
- hideCode?: boolean | undefined;
2487
2410
  breadcrumbTextFormat?: string | undefined;
2488
- documentTreeTextFormat?: string | undefined;
2489
- hideFromHierarchy?: boolean | undefined;
2411
+ documentTreeFolderTextFormat?: string | undefined;
2490
2412
  hideFromBreadcrumbs?: boolean | undefined;
2491
2413
  hideFromDocumentTree?: boolean | undefined;
2492
2414
  hideCodeInReport?: boolean | undefined;
@@ -2535,10 +2457,8 @@ export declare const themeSchema: z.ZodObject<{
2535
2457
  };
2536
2458
  } | undefined;
2537
2459
  options?: {
2538
- hideCode?: boolean | undefined;
2539
2460
  breadcrumbTextFormat?: string | undefined;
2540
- documentTreeTextFormat?: string | undefined;
2541
- hideFromHierarchy?: boolean | undefined;
2461
+ documentTreeFolderTextFormat?: string | undefined;
2542
2462
  hideFromBreadcrumbs?: boolean | undefined;
2543
2463
  hideFromDocumentTree?: boolean | undefined;
2544
2464
  hideCodeInReport?: boolean | undefined;
@@ -12,20 +12,6 @@ exports.themeStyleSchema = zod_1.z
12
12
  .describe("ThemeStyle - Style configuration for the theme's visual appearance");
13
13
  exports.themeOptionsSchema = zod_1.z
14
14
  .object({
15
- /**
16
- * @deprecated use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'
17
- */
18
- hideCode: zod_1.z
19
- .boolean()
20
- .optional()
21
- .describe(`Deprecated. Use breadcrumbTextFormat instead, where breadcrumbTextFormat = hideCode === true ? ':code:' : ':title:'`),
22
- /**
23
- * @deprecated use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead
24
- */
25
- hideFromHierarchy: zod_1.z
26
- .boolean()
27
- .optional()
28
- .describe("Deprecated. Use hideFromBreadcrumbs, hideFromDocumentTree and hideCodeInReport instead"),
29
15
  breadcrumbTextFormat: zod_1.z
30
16
  .string()
31
17
  .optional()
@@ -36,7 +22,7 @@ exports.themeOptionsSchema = zod_1.z
36
22
  .optional()
37
23
  .default(false)
38
24
  .describe("Whether to hide the theme from the breadcrumbs"),
39
- documentTreeTextFormat: zod_1.z
25
+ documentTreeFolderTextFormat: zod_1.z
40
26
  .string()
41
27
  .optional()
42
28
  .default(":code:")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
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>",