@openframe-org/criteria-set-protocol 3.0.0-alpha.10 → 3.0.0-alpha.12
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 -1
- package/dist/v1/schemas/criteria-tree.d.ts +718 -12352
- package/dist/v1/schemas/criterion.d.ts +29 -1968
- package/dist/v1/schemas/criterion.js +1 -1
- package/dist/v1/schemas/data-map.d.ts +28 -3906
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +0 -1
- package/dist/v1/schemas/request/matrix-request-body-schema.js +0 -4
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +0 -1
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +2 -6
- package/dist/v1/schemas/task-group.d.ts +25 -1964
- package/dist/v1/schemas/task-item.d.ts +51 -3929
- package/dist/v1/schemas/task-item.js +15 -14
- package/dist/v1/schemas/task.d.ts +26 -1965
- package/dist/v1/schemas/task.js +1 -1
- package/dist/v1/schemas/theme.d.ts +31 -1970
- package/dist/v1/schemas/theme.js +1 -1
- package/dist/v1/services/criteria-set.service.d.ts +0 -1
- package/dist/v1/utils.js +11 -4
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { z } from "zod";
|
|
|
3
3
|
* Validates the request body for the matrix endpoints
|
|
4
4
|
*/
|
|
5
5
|
export declare const matrixRequestBodySchema: z.ZodNullable<z.ZodObject<{
|
|
6
|
-
locale: z.ZodNullable<z.ZodString>;
|
|
7
6
|
parameters: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
7
|
values: z.ZodNullable<z.ZodRecord<z.ZodString, 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]>>]>>>;
|
|
9
8
|
additional: z.ZodNullable<z.ZodAny>;
|
|
@@ -8,10 +8,6 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.matrixRequestBodySchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
locale: zod_1.z
|
|
12
|
-
.string()
|
|
13
|
-
.nullable()
|
|
14
|
-
.describe("Locale to be passed when generating the matrix"),
|
|
15
11
|
parameters: zod_1.z
|
|
16
12
|
.record(zod_1.z.string(), zod_1.z.any())
|
|
17
13
|
.nullable()
|
|
@@ -3,7 +3,6 @@ import { z } from "zod";
|
|
|
3
3
|
* Validates the request body for the tree and data endpoints
|
|
4
4
|
*/
|
|
5
5
|
export declare const treeAndDataRequestBodySchema: z.ZodNullable<z.ZodObject<{
|
|
6
|
-
locale: z.ZodNullable<z.ZodString>;
|
|
7
6
|
parameters: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
7
|
values: z.ZodNullable<z.ZodRecord<z.ZodString, 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]>>]>>>;
|
|
9
8
|
}, z.core.$strip>>;
|
|
@@ -8,17 +8,13 @@ const task_item_1 = require("../task-item");
|
|
|
8
8
|
*/
|
|
9
9
|
exports.treeAndDataRequestBodySchema = zod_1.z
|
|
10
10
|
.object({
|
|
11
|
-
locale: zod_1.z
|
|
12
|
-
.string()
|
|
13
|
-
.nullable()
|
|
14
|
-
.describe("Locale to be passed when generating the matrix"),
|
|
15
11
|
parameters: zod_1.z
|
|
16
12
|
.record(zod_1.z.string(), zod_1.z.any())
|
|
17
13
|
.nullable()
|
|
18
|
-
.describe("Parameters to be passed when
|
|
14
|
+
.describe("Parameters to be passed when processing the tree"),
|
|
19
15
|
values: task_item_1.taskItemValueMapSchema
|
|
20
16
|
.nullable()
|
|
21
|
-
.describe("Values to be passed when
|
|
17
|
+
.describe("Values to be passed when processing the tree"),
|
|
22
18
|
})
|
|
23
19
|
.nullable()
|
|
24
20
|
.describe("TreeAndDataRequestBody - The request body for tree and data endpoints");
|