@openframe-org/criteria-set-protocol 2.2.1 → 2.2.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.
- package/dist/v1/schemas/common.d.ts +52 -162
- package/dist/v1/schemas/common.js +9 -35
- package/dist/v1/schemas/criteria-set.js +1 -2
- package/dist/v1/schemas/criteria-tree.d.ts +645 -3745
- package/dist/v1/schemas/criteria-tree.js +1 -2
- package/dist/v1/schemas/criterion.d.ts +111 -659
- package/dist/v1/schemas/criterion.js +1 -2
- package/dist/v1/schemas/data-map.d.ts +41 -299
- package/dist/v1/schemas/data-map.js +1 -1
- package/dist/v1/schemas/task-group.d.ts +71 -431
- package/dist/v1/schemas/task-group.js +4 -2
- package/dist/v1/schemas/task-item.d.ts +22 -160
- package/dist/v1/schemas/task-item.js +5 -3
- package/dist/v1/schemas/task.d.ts +39 -245
- package/dist/v1/schemas/task.js +5 -4
- package/dist/v1/schemas/theme.d.ts +159 -929
- package/dist/v1/schemas/theme.js +1 -2
- package/dist/v1/types/criteria.d.ts +2 -1
- package/package.json +1 -1
package/dist/v1/schemas/theme.js
CHANGED
|
@@ -28,7 +28,6 @@ exports.themeSchema = common_1.abstractElementSchema
|
|
|
28
28
|
.optional()
|
|
29
29
|
.describe("Visual styling configuration for the theme"),
|
|
30
30
|
items: zod_1.z.array(criterion_1.criterionSchema).describe("The criteria in this theme"),
|
|
31
|
-
options: exports.themeOptionsSchema
|
|
32
|
-
.describe("Configuration options for the theme display and behavior"),
|
|
31
|
+
options: exports.themeOptionsSchema.describe("Configuration options for the theme display and behavior"),
|
|
33
32
|
})
|
|
34
33
|
.describe("Theme - Represents a theme, which is the top layer of the criteria tree");
|
|
@@ -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, elementDataSchema, inlineDocumentationItemSchema, linkDocumentationItemSchema, metadataSchema, numberBasedCertificationDefinitionRulesSchema, numberBasedCertificationDefinitionSchema, numberTypeSchema, pdfDocumentationItemSchema, percentageBasedCertificationDefinitionRulesSchema, percentageBasedCertificationDefinitionSchema, pointOptionSchema, schemaDefinitionSchema, schemaDefinitionsSchema, selectMultipleTypeSchema, selectSingleTypeSchema, taskGroupSchema, taskItemDataSchema, taskItemDefinitionSchema, taskItemOptionsSchema, taskItemScalarValueSchema, taskItemSchema, taskItemValueMapSchema, taskItemValueSchema, taskOptionsSchema, taskSchema, themeOptionsSchema, themeSchema, themeStyleSchema } from "../schemas";
|
|
2
|
+
import { booleanTypeSchema, certificationDefinitionSchema, certificationDefinitionTypeSchema, colorSchema, criteriaSetOptionsSchema, criteriaSetsAndVersionsSchema, criteriaTreeElementSchema, criteriaTreeElementTypeSchema, criteriaTreeSchema, criterionOptionsSchema, criterionSchema, dashboardCategoryListingTypeSchema, dataMapSchema, documentationItemSchema, elementDataSchema, inlineDocumentationItemSchema, linkDocumentationItemSchema, metadataSchema, numberBasedCertificationDefinitionRulesSchema, numberBasedCertificationDefinitionSchema, numberTypeSchema, pdfDocumentationItemSchema, percentageBasedCertificationDefinitionRulesSchema, percentageBasedCertificationDefinitionSchema, pointOptionSchema, schemaDefinitionSchema, schemaDefinitionsSchema, selectMultipleTypeSchema, selectSingleTypeSchema, taskGroupSchema, taskItemDataSchema, taskItemDefinitionSchema, taskItemOptionsSchema, taskItemScalarValueSchema, taskItemSchema, taskItemValueMapSchema, taskItemValueSchema, 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>;
|
|
@@ -27,6 +27,7 @@ export type SelectMultipleType = z.infer<typeof selectMultipleTypeSchema>;
|
|
|
27
27
|
export type NumberType = z.infer<typeof numberTypeSchema>;
|
|
28
28
|
export type BooleanType = z.infer<typeof booleanTypeSchema>;
|
|
29
29
|
export type TaskItemDefinition = z.infer<typeof taskItemDefinitionSchema>;
|
|
30
|
+
export type TreeResult = z.infer<typeof treeResultSchema>;
|
|
30
31
|
export type ThemeOptions = z.infer<typeof themeOptionsSchema>;
|
|
31
32
|
export type CriterionOptions = z.infer<typeof criterionOptionsSchema>;
|
|
32
33
|
export type TaskOptions = z.infer<typeof taskOptionsSchema>;
|
package/package.json
CHANGED