@openframe-org/criteria-set-protocol 2.6.6 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/dist/v1/schemas/common.d.ts +1 -2
- package/dist/v1/schemas/common.js +10 -8
- package/dist/v1/schemas/criteria-tree.d.ts +18 -18
- package/dist/v1/schemas/criterion.d.ts +3 -3
- package/dist/v1/schemas/data-map.d.ts +2 -2
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +1 -1
- package/dist/v1/schemas/request/matrix-request-body-schema.js +1 -1
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +1 -1
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +1 -1
- package/dist/v1/schemas/task-group.d.ts +3 -3
- package/dist/v1/schemas/task-item.d.ts +10 -10
- package/dist/v1/schemas/task-item.js +6 -7
- package/dist/v1/schemas/task.d.ts +3 -3
- package/dist/v1/schemas/theme.d.ts +3 -3
- package/dist/v1/services/criteria-set.service.d.ts +2 -2
- package/dist/v1/types/criteria.d.ts +3 -4
- package/dist/v1/utils.d.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,32 +23,32 @@ The library contains the types defined in the protocol v1 specification, and a s
|
|
|
23
23
|
|
|
24
24
|
##### Types
|
|
25
25
|
|
|
26
|
-
| Type
|
|
27
|
-
|
|
28
|
-
| **Metadata types**
|
|
29
|
-
| `Metadata`
|
|
30
|
-
| `Theme`
|
|
31
|
-
| `ThemeStyle`
|
|
32
|
-
| `Color`
|
|
33
|
-
| **Task tree types**
|
|
34
|
-
| `CriteriaTree`
|
|
35
|
-
| `Theme`
|
|
36
|
-
| `Criterion`
|
|
37
|
-
| `TaskGroup`
|
|
38
|
-
| `Task`
|
|
39
|
-
| `TaskItem`
|
|
40
|
-
| **TaskItem value types**
|
|
41
|
-
| `SelectSingleType`
|
|
42
|
-
| `SelectMultipleType`
|
|
43
|
-
| `NumberType`
|
|
44
|
-
| `BooleanType`
|
|
45
|
-
| `PointOption`
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
| **Express types**
|
|
49
|
-
| `MetadataResponse`
|
|
50
|
-
| `TreeAndMatrixRequestBody`
|
|
51
|
-
| `StreamMatrixResponse`
|
|
26
|
+
| Type | Remarks |
|
|
27
|
+
|-----------------------------|-----------------------------------------------------|
|
|
28
|
+
| **Metadata types** | |
|
|
29
|
+
| `Metadata` | |
|
|
30
|
+
| `Theme` | |
|
|
31
|
+
| `ThemeStyle` | |
|
|
32
|
+
| `Color` | |
|
|
33
|
+
| **Task tree types** | |
|
|
34
|
+
| `CriteriaTree` | |
|
|
35
|
+
| `Theme` | |
|
|
36
|
+
| `Criterion` | |
|
|
37
|
+
| `TaskGroup` | |
|
|
38
|
+
| `Task` | |
|
|
39
|
+
| `TaskItem` | |
|
|
40
|
+
| **TaskItem value types** | |
|
|
41
|
+
| `SelectSingleType` | |
|
|
42
|
+
| `SelectMultipleType` | |
|
|
43
|
+
| `NumberType` | |
|
|
44
|
+
| `BooleanType` | |
|
|
45
|
+
| `PointOption` | Used by `SelectSingleType` and `SelectMultipleType` |
|
|
46
|
+
| `TaskItemValueReference` | The raw value reference of a TaskItem |
|
|
47
|
+
| `TaskItemValueReferenceMap` | A map of task item value references |
|
|
48
|
+
| **Express types** | |
|
|
49
|
+
| `MetadataResponse` | Metadata endpoint response body |
|
|
50
|
+
| `TreeAndMatrixRequestBody` | Request body for the matrix streaming endpoints |
|
|
51
|
+
| `StreamMatrixResponse` | Matrix streaming endpoints response body |
|
|
52
52
|
|
|
53
53
|
##### Schemas
|
|
54
54
|
|
|
@@ -4,8 +4,7 @@ export declare const colorSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<
|
|
|
4
4
|
green: z.ZodNumber;
|
|
5
5
|
blue: z.ZodNumber;
|
|
6
6
|
}, z.core.$strip>]>;
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const taskItemValueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>;
|
|
7
|
+
export declare const taskItemValueReferenceSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
|
|
9
8
|
export declare const elementDataValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
9
|
value: z.ZodNumber;
|
|
11
10
|
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.treeResultSchema = exports.reportOptionsSchema = exports.criteriaTreeOptionsSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.elementDataTextSchema = exports.elementDataValueSchema = exports.
|
|
3
|
+
exports.treeResultSchema = exports.reportOptionsSchema = exports.criteriaTreeOptionsSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.elementDataTextSchema = exports.elementDataValueSchema = exports.taskItemValueReferenceSchema = 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
|
|
@@ -13,13 +13,15 @@ exports.colorSchema = zod_1.z
|
|
|
13
13
|
})
|
|
14
14
|
])
|
|
15
15
|
.describe("Color");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.describe("
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.describe("
|
|
16
|
+
exports.taskItemValueReferenceSchema = zod_1.z
|
|
17
|
+
.union([
|
|
18
|
+
zod_1.z.string().describe("Single select option ID"),
|
|
19
|
+
zod_1.z.number().describe("Numeric value"),
|
|
20
|
+
zod_1.z.boolean().describe("Boolean value"),
|
|
21
|
+
zod_1.z.null().describe("Null value"),
|
|
22
|
+
zod_1.z.array(zod_1.z.string()).describe("Multiple select array of option IDs")
|
|
23
|
+
])
|
|
24
|
+
.describe("TaskItemValueReference - Represents the value of a task item based on its definition");
|
|
23
25
|
const abstractElementDataSchema = zod_1.z.object({}).catchall(zod_1.z.any());
|
|
24
26
|
const numericElementDataValueSchema = abstractElementDataSchema
|
|
25
27
|
.extend({
|
|
@@ -184,7 +184,7 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
184
184
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
185
185
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
186
186
|
options: z.ZodArray<z.ZodObject<{
|
|
187
|
-
id: z.
|
|
187
|
+
id: z.ZodString;
|
|
188
188
|
text: z.ZodString;
|
|
189
189
|
intro: z.ZodOptional<z.ZodString>;
|
|
190
190
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -198,7 +198,7 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
198
198
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
199
199
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
200
200
|
options: z.ZodArray<z.ZodObject<{
|
|
201
|
-
id: z.
|
|
201
|
+
id: z.ZodString;
|
|
202
202
|
text: z.ZodString;
|
|
203
203
|
intro: z.ZodOptional<z.ZodString>;
|
|
204
204
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -276,7 +276,7 @@ export declare const criteriaTreeSchema: z.ZodObject<{
|
|
|
276
276
|
value: boolean;
|
|
277
277
|
}), unknown>>, z.ZodObject<{
|
|
278
278
|
readOnly: z.ZodBoolean;
|
|
279
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
279
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
280
280
|
}, z.core.$strip>>;
|
|
281
281
|
options: z.ZodObject<{
|
|
282
282
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -639,7 +639,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
639
639
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
640
640
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
641
641
|
options: z.ZodArray<z.ZodObject<{
|
|
642
|
-
id: z.
|
|
642
|
+
id: z.ZodString;
|
|
643
643
|
text: z.ZodString;
|
|
644
644
|
intro: z.ZodOptional<z.ZodString>;
|
|
645
645
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -653,7 +653,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
653
653
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
654
654
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
655
655
|
options: z.ZodArray<z.ZodObject<{
|
|
656
|
-
id: z.
|
|
656
|
+
id: z.ZodString;
|
|
657
657
|
text: z.ZodString;
|
|
658
658
|
intro: z.ZodOptional<z.ZodString>;
|
|
659
659
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -731,7 +731,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
731
731
|
value: boolean;
|
|
732
732
|
}), unknown>>, z.ZodObject<{
|
|
733
733
|
readOnly: z.ZodBoolean;
|
|
734
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
734
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
735
735
|
}, z.core.$strip>>;
|
|
736
736
|
options: z.ZodObject<{
|
|
737
737
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1025,7 +1025,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1025
1025
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1026
1026
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1027
1027
|
options: z.ZodArray<z.ZodObject<{
|
|
1028
|
-
id: z.
|
|
1028
|
+
id: z.ZodString;
|
|
1029
1029
|
text: z.ZodString;
|
|
1030
1030
|
intro: z.ZodOptional<z.ZodString>;
|
|
1031
1031
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1039,7 +1039,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1039
1039
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1040
1040
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1041
1041
|
options: z.ZodArray<z.ZodObject<{
|
|
1042
|
-
id: z.
|
|
1042
|
+
id: z.ZodString;
|
|
1043
1043
|
text: z.ZodString;
|
|
1044
1044
|
intro: z.ZodOptional<z.ZodString>;
|
|
1045
1045
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1117,7 +1117,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1117
1117
|
value: boolean;
|
|
1118
1118
|
}), unknown>>, z.ZodObject<{
|
|
1119
1119
|
readOnly: z.ZodBoolean;
|
|
1120
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
1120
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
1121
1121
|
}, z.core.$strip>>;
|
|
1122
1122
|
options: z.ZodObject<{
|
|
1123
1123
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1323,7 +1323,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1323
1323
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1324
1324
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1325
1325
|
options: z.ZodArray<z.ZodObject<{
|
|
1326
|
-
id: z.
|
|
1326
|
+
id: z.ZodString;
|
|
1327
1327
|
text: z.ZodString;
|
|
1328
1328
|
intro: z.ZodOptional<z.ZodString>;
|
|
1329
1329
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1337,7 +1337,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1337
1337
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1338
1338
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1339
1339
|
options: z.ZodArray<z.ZodObject<{
|
|
1340
|
-
id: z.
|
|
1340
|
+
id: z.ZodString;
|
|
1341
1341
|
text: z.ZodString;
|
|
1342
1342
|
intro: z.ZodOptional<z.ZodString>;
|
|
1343
1343
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1415,7 +1415,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1415
1415
|
value: boolean;
|
|
1416
1416
|
}), unknown>>, z.ZodObject<{
|
|
1417
1417
|
readOnly: z.ZodBoolean;
|
|
1418
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
1418
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
1419
1419
|
}, z.core.$strip>>;
|
|
1420
1420
|
options: z.ZodObject<{
|
|
1421
1421
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1530,7 +1530,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1530
1530
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1531
1531
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1532
1532
|
options: z.ZodArray<z.ZodObject<{
|
|
1533
|
-
id: z.
|
|
1533
|
+
id: z.ZodString;
|
|
1534
1534
|
text: z.ZodString;
|
|
1535
1535
|
intro: z.ZodOptional<z.ZodString>;
|
|
1536
1536
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1544,7 +1544,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1544
1544
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1545
1545
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1546
1546
|
options: z.ZodArray<z.ZodObject<{
|
|
1547
|
-
id: z.
|
|
1547
|
+
id: z.ZodString;
|
|
1548
1548
|
text: z.ZodString;
|
|
1549
1549
|
intro: z.ZodOptional<z.ZodString>;
|
|
1550
1550
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1622,7 +1622,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1622
1622
|
value: boolean;
|
|
1623
1623
|
}), unknown>>, z.ZodObject<{
|
|
1624
1624
|
readOnly: z.ZodBoolean;
|
|
1625
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
1625
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
1626
1626
|
}, z.core.$strip>>;
|
|
1627
1627
|
options: z.ZodObject<{
|
|
1628
1628
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1713,7 +1713,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1713
1713
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1714
1714
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1715
1715
|
options: z.ZodArray<z.ZodObject<{
|
|
1716
|
-
id: z.
|
|
1716
|
+
id: z.ZodString;
|
|
1717
1717
|
text: z.ZodString;
|
|
1718
1718
|
intro: z.ZodOptional<z.ZodString>;
|
|
1719
1719
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1727,7 +1727,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1727
1727
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
1728
1728
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
1729
1729
|
options: z.ZodArray<z.ZodObject<{
|
|
1730
|
-
id: z.
|
|
1730
|
+
id: z.ZodString;
|
|
1731
1731
|
text: z.ZodString;
|
|
1732
1732
|
intro: z.ZodOptional<z.ZodString>;
|
|
1733
1733
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -1805,7 +1805,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1805
1805
|
value: boolean;
|
|
1806
1806
|
}), unknown>>, z.ZodObject<{
|
|
1807
1807
|
readOnly: z.ZodBoolean;
|
|
1808
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
1808
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
1809
1809
|
}, z.core.$strip>>;
|
|
1810
1810
|
options: z.ZodObject<{
|
|
1811
1811
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -110,7 +110,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
110
110
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
111
111
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
112
112
|
options: z.ZodArray<z.ZodObject<{
|
|
113
|
-
id: z.
|
|
113
|
+
id: z.ZodString;
|
|
114
114
|
text: z.ZodString;
|
|
115
115
|
intro: z.ZodOptional<z.ZodString>;
|
|
116
116
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -124,7 +124,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
124
124
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
125
125
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
126
126
|
options: z.ZodArray<z.ZodObject<{
|
|
127
|
-
id: z.
|
|
127
|
+
id: z.ZodString;
|
|
128
128
|
text: z.ZodString;
|
|
129
129
|
intro: z.ZodOptional<z.ZodString>;
|
|
130
130
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -202,7 +202,7 @@ export declare const criterionSchema: z.ZodObject<{
|
|
|
202
202
|
value: boolean;
|
|
203
203
|
}), unknown>>, z.ZodObject<{
|
|
204
204
|
readOnly: z.ZodBoolean;
|
|
205
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
205
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
206
206
|
}, z.core.$strip>>;
|
|
207
207
|
options: z.ZodObject<{
|
|
208
208
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -101,7 +101,7 @@ export declare const elementDataMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[
|
|
|
101
101
|
value: boolean;
|
|
102
102
|
}), unknown>>, z.ZodObject<{
|
|
103
103
|
readOnly: z.ZodBoolean;
|
|
104
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
104
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
105
105
|
}, z.core.$strip>>]>>;
|
|
106
106
|
export declare const dataMapSchema: z.ZodObject<{
|
|
107
107
|
version: z.ZodString;
|
|
@@ -208,7 +208,7 @@ export declare const dataMapSchema: z.ZodObject<{
|
|
|
208
208
|
value: boolean;
|
|
209
209
|
}), unknown>>, z.ZodObject<{
|
|
210
210
|
readOnly: z.ZodBoolean;
|
|
211
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
211
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
212
212
|
}, z.core.$strip>>]>>;
|
|
213
213
|
result: z.ZodType<{
|
|
214
214
|
text: string;
|
|
@@ -4,6 +4,6 @@ import { z } from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const matrixRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
|
-
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.
|
|
7
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>>;
|
|
8
8
|
additional: z.ZodOptional<z.ZodAny>;
|
|
9
9
|
}, z.core.$strip>>;
|
|
@@ -12,7 +12,7 @@ exports.matrixRequestBodySchema = zod_1.z
|
|
|
12
12
|
.record(zod_1.z.string(), zod_1.z.any())
|
|
13
13
|
.optional()
|
|
14
14
|
.describe("Parameters to be passed when generating the matrix"),
|
|
15
|
-
values: task_item_1.
|
|
15
|
+
values: task_item_1.taskItemValueReferenceMapSchema
|
|
16
16
|
.optional()
|
|
17
17
|
.describe("Values to be passed when generating the matrix"),
|
|
18
18
|
additional: zod_1.z
|
|
@@ -4,5 +4,5 @@ import { z } from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const treeAndDataRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
|
-
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.
|
|
7
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>>;
|
|
8
8
|
}, z.core.$strip>>;
|
|
@@ -12,7 +12,7 @@ exports.treeAndDataRequestBodySchema = zod_1.z
|
|
|
12
12
|
.record(zod_1.z.string(), zod_1.z.any())
|
|
13
13
|
.optional()
|
|
14
14
|
.describe("Parameters to be passed when generating the matrix"),
|
|
15
|
-
values: task_item_1.
|
|
15
|
+
values: task_item_1.taskItemValueReferenceMapSchema
|
|
16
16
|
.optional()
|
|
17
17
|
.describe("Values to be passed when generating the matrix"),
|
|
18
18
|
})
|
|
@@ -73,7 +73,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
73
73
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
74
74
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
75
75
|
options: z.ZodArray<z.ZodObject<{
|
|
76
|
-
id: z.
|
|
76
|
+
id: z.ZodString;
|
|
77
77
|
text: z.ZodString;
|
|
78
78
|
intro: z.ZodOptional<z.ZodString>;
|
|
79
79
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -87,7 +87,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
87
87
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
88
88
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
options: z.ZodArray<z.ZodObject<{
|
|
90
|
-
id: z.
|
|
90
|
+
id: z.ZodString;
|
|
91
91
|
text: z.ZodString;
|
|
92
92
|
intro: z.ZodOptional<z.ZodString>;
|
|
93
93
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -165,7 +165,7 @@ export declare const taskGroupSchema: z.ZodObject<{
|
|
|
165
165
|
value: boolean;
|
|
166
166
|
}), unknown>>, z.ZodObject<{
|
|
167
167
|
readOnly: z.ZodBoolean;
|
|
168
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
168
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
169
169
|
}, z.core.$strip>>;
|
|
170
170
|
options: z.ZodObject<{
|
|
171
171
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const taskItemValueReferenceMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
3
3
|
export declare const pointOptionSchema: z.ZodObject<{
|
|
4
|
-
id: z.
|
|
4
|
+
id: z.ZodString;
|
|
5
5
|
text: z.ZodString;
|
|
6
6
|
intro: z.ZodOptional<z.ZodString>;
|
|
7
7
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -14,7 +14,7 @@ export declare const selectSingleTypeSchema: z.ZodObject<{
|
|
|
14
14
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
16
16
|
options: z.ZodArray<z.ZodObject<{
|
|
17
|
-
id: z.
|
|
17
|
+
id: z.ZodString;
|
|
18
18
|
text: z.ZodString;
|
|
19
19
|
intro: z.ZodOptional<z.ZodString>;
|
|
20
20
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -29,7 +29,7 @@ export declare const selectMultipleTypeSchema: z.ZodObject<{
|
|
|
29
29
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
30
30
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
options: z.ZodArray<z.ZodObject<{
|
|
32
|
-
id: z.
|
|
32
|
+
id: z.ZodString;
|
|
33
33
|
text: z.ZodString;
|
|
34
34
|
intro: z.ZodOptional<z.ZodString>;
|
|
35
35
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -63,7 +63,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
63
63
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
64
64
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
65
65
|
options: z.ZodArray<z.ZodObject<{
|
|
66
|
-
id: z.
|
|
66
|
+
id: z.ZodString;
|
|
67
67
|
text: z.ZodString;
|
|
68
68
|
intro: z.ZodOptional<z.ZodString>;
|
|
69
69
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -77,7 +77,7 @@ export declare const taskItemDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
77
77
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
79
79
|
options: z.ZodArray<z.ZodObject<{
|
|
80
|
-
id: z.
|
|
80
|
+
id: z.ZodString;
|
|
81
81
|
text: z.ZodString;
|
|
82
82
|
intro: z.ZodOptional<z.ZodString>;
|
|
83
83
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -154,7 +154,7 @@ export declare const taskItemDataSchema: z.ZodIntersection<z.ZodType<{
|
|
|
154
154
|
value: boolean;
|
|
155
155
|
}), unknown>>, z.ZodObject<{
|
|
156
156
|
readOnly: z.ZodBoolean;
|
|
157
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
157
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
158
158
|
}, z.core.$strip>>;
|
|
159
159
|
export declare const taskItemOptionsSchema: z.ZodObject<{
|
|
160
160
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -186,7 +186,7 @@ export declare const taskItemSchema: z.ZodObject<{
|
|
|
186
186
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
187
187
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
188
188
|
options: z.ZodArray<z.ZodObject<{
|
|
189
|
-
id: z.
|
|
189
|
+
id: z.ZodString;
|
|
190
190
|
text: z.ZodString;
|
|
191
191
|
intro: z.ZodOptional<z.ZodString>;
|
|
192
192
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -200,7 +200,7 @@ export declare const taskItemSchema: z.ZodObject<{
|
|
|
200
200
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
201
201
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
202
202
|
options: z.ZodArray<z.ZodObject<{
|
|
203
|
-
id: z.
|
|
203
|
+
id: z.ZodString;
|
|
204
204
|
text: z.ZodString;
|
|
205
205
|
intro: z.ZodOptional<z.ZodString>;
|
|
206
206
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -278,7 +278,7 @@ export declare const taskItemSchema: z.ZodObject<{
|
|
|
278
278
|
value: boolean;
|
|
279
279
|
}), unknown>>, z.ZodObject<{
|
|
280
280
|
readOnly: z.ZodBoolean;
|
|
281
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
281
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
282
282
|
}, z.core.$strip>>;
|
|
283
283
|
options: z.ZodObject<{
|
|
284
284
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.taskItemSchema = exports.taskItemOptionsSchema = exports.taskItemDataSchema = exports.taskItemDefinitionSchema = exports.booleanTypeSchema = exports.numberTypeSchema = exports.selectMultipleTypeSchema = exports.selectSingleTypeSchema = exports.pointOptionSchema = exports.
|
|
3
|
+
exports.taskItemSchema = exports.taskItemOptionsSchema = exports.taskItemDataSchema = exports.taskItemDefinitionSchema = exports.booleanTypeSchema = exports.numberTypeSchema = exports.selectMultipleTypeSchema = exports.selectSingleTypeSchema = exports.pointOptionSchema = exports.taskItemValueReferenceMapSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
|
-
exports.
|
|
7
|
-
.record(zod_1.z.string(), common_1.
|
|
8
|
-
.describe("
|
|
6
|
+
exports.taskItemValueReferenceMapSchema = zod_1.z
|
|
7
|
+
.record(zod_1.z.string(), common_1.taskItemValueReferenceSchema)
|
|
8
|
+
.describe("TaskItemValueReferenceMap - A map of string keys to task item valueReferences");
|
|
9
9
|
exports.pointOptionSchema = zod_1.z.object({
|
|
10
10
|
id: zod_1.z
|
|
11
11
|
.string()
|
|
12
|
-
.
|
|
13
|
-
.describe("Optional unique identifier for the point option"),
|
|
12
|
+
.describe("Identifier for the point option, unique within the task item's options list"),
|
|
14
13
|
text: zod_1.z.string().describe("Display text for the point option"),
|
|
15
14
|
intro: zod_1.z
|
|
16
15
|
.string()
|
|
@@ -105,7 +104,7 @@ exports.taskItemDataSchema = common_1.elementDataSchema
|
|
|
105
104
|
readOnly: zod_1.z
|
|
106
105
|
.boolean()
|
|
107
106
|
.describe("Whether the element value can be modified"),
|
|
108
|
-
valueReference: common_1.
|
|
107
|
+
valueReference: common_1.taskItemValueReferenceSchema
|
|
109
108
|
.optional()
|
|
110
109
|
.describe("Reference to a task item value"),
|
|
111
110
|
}))
|
|
@@ -56,7 +56,7 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
56
56
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
57
57
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
58
58
|
options: z.ZodArray<z.ZodObject<{
|
|
59
|
-
id: z.
|
|
59
|
+
id: z.ZodString;
|
|
60
60
|
text: z.ZodString;
|
|
61
61
|
intro: z.ZodOptional<z.ZodString>;
|
|
62
62
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -70,7 +70,7 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
70
70
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
72
72
|
options: z.ZodArray<z.ZodObject<{
|
|
73
|
-
id: z.
|
|
73
|
+
id: z.ZodString;
|
|
74
74
|
text: z.ZodString;
|
|
75
75
|
intro: z.ZodOptional<z.ZodString>;
|
|
76
76
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -148,7 +148,7 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
148
148
|
value: boolean;
|
|
149
149
|
}), unknown>>, z.ZodObject<{
|
|
150
150
|
readOnly: z.ZodBoolean;
|
|
151
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
151
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
152
152
|
}, z.core.$strip>>;
|
|
153
153
|
options: z.ZodObject<{
|
|
154
154
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -155,7 +155,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
155
155
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
156
156
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
157
157
|
options: z.ZodArray<z.ZodObject<{
|
|
158
|
-
id: z.
|
|
158
|
+
id: z.ZodString;
|
|
159
159
|
text: z.ZodString;
|
|
160
160
|
intro: z.ZodOptional<z.ZodString>;
|
|
161
161
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -169,7 +169,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
169
169
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
170
170
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
171
171
|
options: z.ZodArray<z.ZodObject<{
|
|
172
|
-
id: z.
|
|
172
|
+
id: z.ZodString;
|
|
173
173
|
text: z.ZodString;
|
|
174
174
|
intro: z.ZodOptional<z.ZodString>;
|
|
175
175
|
outro: z.ZodOptional<z.ZodString>;
|
|
@@ -247,7 +247,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
247
247
|
value: boolean;
|
|
248
248
|
}), unknown>>, z.ZodObject<{
|
|
249
249
|
readOnly: z.ZodBoolean;
|
|
250
|
-
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.
|
|
250
|
+
valueReference: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>>;
|
|
251
251
|
}, z.core.$strip>>;
|
|
252
252
|
options: z.ZodObject<{
|
|
253
253
|
excludeFromTargets: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CriteriaTree, Metadata, DataMap, StreamMatrixResponse,
|
|
1
|
+
import { CriteriaTree, Metadata, DataMap, StreamMatrixResponse, TaskItemValueReferenceMap } from "../types";
|
|
2
2
|
export type TreeAndMapParameters<ParametersType extends Record<string, any> | undefined = undefined> = {
|
|
3
3
|
parameters: ParametersType extends undefined ? undefined : ParametersType;
|
|
4
|
-
values?:
|
|
4
|
+
values?: TaskItemValueReferenceMap | null;
|
|
5
5
|
};
|
|
6
6
|
export type MatrixParameters<ParametersType extends Record<string, any> | undefined = undefined> = TreeAndMapParameters<ParametersType> & {
|
|
7
7
|
additional?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { booleanTypeSchema, certificationDefinitionSchema, certificationDefinitionTypeSchema, colorSchema, criteriaSetOptionsSchema, criteriaSetsAndVersionsSchema, criteriaTreeElementSchema, criteriaTreeElementTypeSchema, criteriaTreeSchema, criterionOptionsSchema, criterionSchema, dashboardCategoryListingTypeSchema, dataMapSchema, documentationItemSchema, elementDataMapSchema, elementDataSchema, inlineDocumentationItemSchema, linkDocumentationItemSchema, metadataSchema, numberBasedCertificationDefinitionRulesSchema, numberBasedCertificationDefinitionSchema, numberTypeSchema, pdfDocumentationItemSchema, percentageBasedCertificationDefinitionRulesSchema, percentageBasedCertificationDefinitionSchema, pointOptionSchema, schemaDefinitionSchema, schemaDefinitionsSchema, selectMultipleTypeSchema, selectSingleTypeSchema, taskGroupSchema, taskItemDataSchema, taskItemDefinitionSchema, taskItemOptionsSchema,
|
|
2
|
+
import { booleanTypeSchema, certificationDefinitionSchema, certificationDefinitionTypeSchema, colorSchema, criteriaSetOptionsSchema, criteriaSetsAndVersionsSchema, criteriaTreeElementSchema, criteriaTreeElementTypeSchema, criteriaTreeSchema, criterionOptionsSchema, criterionSchema, dashboardCategoryListingTypeSchema, dataMapSchema, documentationItemSchema, elementDataMapSchema, elementDataSchema, inlineDocumentationItemSchema, linkDocumentationItemSchema, metadataSchema, numberBasedCertificationDefinitionRulesSchema, numberBasedCertificationDefinitionSchema, numberTypeSchema, pdfDocumentationItemSchema, percentageBasedCertificationDefinitionRulesSchema, percentageBasedCertificationDefinitionSchema, pointOptionSchema, schemaDefinitionSchema, schemaDefinitionsSchema, selectMultipleTypeSchema, selectSingleTypeSchema, taskGroupSchema, taskItemDataSchema, taskItemDefinitionSchema, taskItemOptionsSchema, taskItemSchema, taskItemValueReferenceMapSchema, taskItemValueReferenceSchema, taskOptionsSchema, taskSchema, themeOptionsSchema, themeSchema, themeStyleSchema, treeResultSchema } from "../schemas";
|
|
3
3
|
export type CertificationDefinitionType = z.infer<typeof certificationDefinitionTypeSchema>;
|
|
4
4
|
export type NumberBasedCertificationDefinitionRules = z.infer<typeof numberBasedCertificationDefinitionRulesSchema>;
|
|
5
5
|
export type PercentageBasedCertificationDefinitionRules = z.infer<typeof percentageBasedCertificationDefinitionRulesSchema>;
|
|
@@ -19,9 +19,8 @@ export type Metadata = z.infer<typeof metadataSchema>;
|
|
|
19
19
|
export type ElementData = z.infer<typeof elementDataSchema>;
|
|
20
20
|
export type ElementDataMap = z.infer<typeof elementDataMapSchema>;
|
|
21
21
|
export type TaskItemData = z.infer<typeof taskItemDataSchema>;
|
|
22
|
-
export type
|
|
23
|
-
export type
|
|
24
|
-
export type TaskItemValueMap = z.infer<typeof taskItemValueMapSchema>;
|
|
22
|
+
export type TaskItemValueReference = z.infer<typeof taskItemValueReferenceSchema>;
|
|
23
|
+
export type TaskItemValueReferenceMap = z.infer<typeof taskItemValueReferenceMapSchema>;
|
|
25
24
|
export type PointOption = z.infer<typeof pointOptionSchema>;
|
|
26
25
|
export type SelectSingleType = z.infer<typeof selectSingleTypeSchema>;
|
|
27
26
|
export type SelectMultipleType = z.infer<typeof selectMultipleTypeSchema>;
|
package/dist/v1/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color, CriteriaTree, CriteriaTreeElement, Theme, Criterion, Task, TaskGroup, TaskItem, CertificationDefinition,
|
|
1
|
+
import { Color, CriteriaTree, CriteriaTreeElement, Theme, Criterion, Task, TaskGroup, TaskItem, CertificationDefinition, TaskItemValueReference, TaskItemData, ElementData, TreeResult } from "./types";
|
|
2
2
|
interface ApplyBreadcrumbTextFormattingPlaceholdersFunction {
|
|
3
3
|
(options: {
|
|
4
4
|
breadcrumbTextFormat: string | undefined;
|
|
@@ -73,7 +73,7 @@ export declare const isNil: (value: unknown) => value is null | undefined;
|
|
|
73
73
|
/**
|
|
74
74
|
* Given a list of certification definitions, return the ones for which the given value is valid
|
|
75
75
|
*/
|
|
76
|
-
export declare const getCertificationsByValue: (certificationDefinitions: CertificationDefinition[], value?:
|
|
76
|
+
export declare const getCertificationsByValue: (certificationDefinitions: CertificationDefinition[], value?: TaskItemValueReference) => CertificationDefinition[] | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* Given a tree element or a data object, validate that it contains valid data. If it is a tree element,
|
|
79
79
|
* extract the data object from it and validate it:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openframe-org/criteria-set-protocol",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
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>",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"dependency-test": "madge --circular --extensions ts ./"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
|
-
"node": ">=
|
|
18
|
+
"node": ">=24",
|
|
19
19
|
"npm": ">=10"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"dist/**/*"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@types/node": "^
|
|
25
|
+
"@types/node": "^24.1.0",
|
|
26
26
|
"zod": "^4.1.12"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|