@openframe-org/criteria-set-protocol 2.0.14 → 2.0.16
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const criteriaSetOptionsSchema: z.ZodObject<{
|
|
3
|
+
renderDetailedViewInDashboard: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
renderDetailedViewInDashboard?: boolean | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
renderDetailedViewInDashboard?: boolean | undefined;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.criteriaSetOptionsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.criteriaSetOptionsSchema = zod_1.z.object({
|
|
6
|
+
renderDetailedViewInDashboard: zod_1.z.boolean().optional(),
|
|
7
|
+
});
|
package/dist/v1/schemas/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./request"), exports);
|
|
18
18
|
__exportStar(require("./certification"), exports);
|
|
19
19
|
__exportStar(require("./common"), exports);
|
|
20
|
+
__exportStar(require("./criteria-set"), exports);
|
|
20
21
|
__exportStar(require("./criteria-tree"), exports);
|
|
21
22
|
__exportStar(require("./criterion"), exports);
|
|
22
23
|
__exportStar(require("./data-map"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { booleanTypeSchema, certificationDefinitionSchema, certificationDefinitionTypeSchema, criteriaTreeElementSchema, criteriaTreeElementTypeSchema, criteriaTreeSchema, criterionSchema, dataMapSchema, metadataSchema, numberBasedCertificationDefinitionRulesSchema, numberBasedCertificationDefinitionSchema, numberTypeSchema, percentageBasedCertificationDefinitionRulesSchema, percentageBasedCertificationDefinitionSchema, pointOptionSchema, schemaDefinitionSchema, schemaDefinitionsSchema, selectMultipleTypeSchema, selectSingleTypeSchema, taskGroupSchema, taskItemDataSchema, taskItemDefinitionSchema, taskItemScalarValueSchema, taskItemSchema, taskItemValueMapSchema, taskItemValueSchema, taskSchema, colorSchema, elementDataSchema, themeOptionsSchema, themeSchema, themeStyleSchema, documentationItemSchema, inlineDocumentationItemSchema, linkDocumentationItemSchema, pdfDocumentationItemSchema, criteriaSetsAndVersionsSchema, taskGroupOptionsSchema, criterionOptionsSchema, taskOptionsSchema, taskItemOptionsSchema } from "../schemas";
|
|
2
|
+
import { booleanTypeSchema, certificationDefinitionSchema, certificationDefinitionTypeSchema, criteriaTreeElementSchema, criteriaTreeElementTypeSchema, criteriaTreeSchema, criterionSchema, dataMapSchema, metadataSchema, numberBasedCertificationDefinitionRulesSchema, numberBasedCertificationDefinitionSchema, numberTypeSchema, percentageBasedCertificationDefinitionRulesSchema, percentageBasedCertificationDefinitionSchema, pointOptionSchema, schemaDefinitionSchema, schemaDefinitionsSchema, selectMultipleTypeSchema, selectSingleTypeSchema, taskGroupSchema, taskItemDataSchema, taskItemDefinitionSchema, taskItemScalarValueSchema, taskItemSchema, taskItemValueMapSchema, taskItemValueSchema, taskSchema, colorSchema, elementDataSchema, themeOptionsSchema, themeSchema, themeStyleSchema, documentationItemSchema, inlineDocumentationItemSchema, linkDocumentationItemSchema, pdfDocumentationItemSchema, criteriaSetsAndVersionsSchema, taskGroupOptionsSchema, criterionOptionsSchema, taskOptionsSchema, taskItemOptionsSchema, criteriaSetOptionsSchema } 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>;
|
|
@@ -41,3 +41,4 @@ export type CriteriaTreeElement = z.infer<typeof criteriaTreeElementSchema>;
|
|
|
41
41
|
export type CriteriaTreeElementType = z.infer<typeof criteriaTreeElementTypeSchema>;
|
|
42
42
|
export type DataMap = z.infer<typeof dataMapSchema>;
|
|
43
43
|
export type CriteriaSetsAndVersions = z.infer<typeof criteriaSetsAndVersionsSchema>;
|
|
44
|
+
export type CriteriaSetOptions = z.infer<typeof criteriaSetOptionsSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openframe-org/criteria-set-protocol",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
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>",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@types/node": "^22.8.4",
|
|
25
|
-
"zod": "^3.
|
|
25
|
+
"zod": "^3.24.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"prettier": "^3.
|
|
29
|
-
"typescript": "^5.
|
|
28
|
+
"prettier": "^3.4.2",
|
|
29
|
+
"typescript": "^5.7.3"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public",
|