@openframe-org/criteria-set-protocol 2.8.0-alpha.0 → 2.9.0
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 +1 -1
- package/dist/v1/schemas/common.js +1 -0
- package/dist/v1/schemas/criteria-set.d.ts +1 -0
- package/dist/v1/schemas/criteria-set.js +1 -0
- package/dist/v1/schemas/criteria-tree.d.ts +843 -8
- package/dist/v1/schemas/criteria-tree.js +1 -11
- package/dist/v1/schemas/criterion.d.ts +156 -0
- package/dist/v1/schemas/criterion.js +1 -0
- package/dist/v1/schemas/data-map.d.ts +10 -3
- package/dist/v1/schemas/data-map.js +4 -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 +105 -0
- package/dist/v1/schemas/task-item.d.ts +56 -2
- package/dist/v1/schemas/task-item.js +2 -0
- package/dist/v1/schemas/task.d.ts +105 -0
- package/dist/v1/schemas/task.js +1 -0
- package/dist/v1/schemas/theme.d.ts +207 -0
- package/dist/v1/schemas/theme.js +1 -0
- package/dist/v1/services/criteria-set.service.d.ts +1 -1
- package/dist/v1/utils.d.ts +3 -2
- package/dist/v1/utils.js +54 -10
- package/package.json +1 -1
|
@@ -4,7 +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 taskItemValueReferenceSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodString>]>;
|
|
7
|
+
export declare const taskItemValueReferenceSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUndefined, z.ZodArray<z.ZodString>]>;
|
|
8
8
|
export declare const elementDataValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9
9
|
value: z.ZodNumber;
|
|
10
10
|
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -19,6 +19,7 @@ exports.taskItemValueReferenceSchema = zod_1.z
|
|
|
19
19
|
zod_1.z.number().describe("Numeric value"),
|
|
20
20
|
zod_1.z.boolean().describe("Boolean value"),
|
|
21
21
|
zod_1.z.null().describe("Null value"),
|
|
22
|
+
zod_1.z.undefined().describe("Undefined value"),
|
|
22
23
|
zod_1.z.array(zod_1.z.string()).describe("Multiple select array of option IDs")
|
|
23
24
|
])
|
|
24
25
|
.describe("TaskItemValueReference - Represents the value of a task item based on its definition");
|
|
@@ -10,5 +10,6 @@ exports.dashboardCategoryListingTypeSchema = zod_1.z.enum(exports.DASHBOARD_CATE
|
|
|
10
10
|
exports.criteriaSetOptionsSchema = zod_1.z
|
|
11
11
|
.object({
|
|
12
12
|
dashboardRenderingType: exports.dashboardCategoryListingTypeSchema.describe("Whether to render the criteria set in a dashboard as a list of criteria or as a list of tasks"),
|
|
13
|
+
canExportMatrix: zod_1.z.boolean().describe("Whether the criteria set can be exported as a matrix")
|
|
13
14
|
})
|
|
14
15
|
.describe("CriteriaSetOptions - options for a criteria set");
|