@openframe-org/criteria-set-protocol 2.0.5 → 2.0.6-beta.2

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.
Files changed (32) hide show
  1. package/dist/v1/schemas/certification.d.ts +80 -80
  2. package/dist/v1/schemas/certification.js +6 -7
  3. package/dist/v1/schemas/common.d.ts +75 -144
  4. package/dist/v1/schemas/common.js +14 -15
  5. package/dist/v1/schemas/criteria-tree.d.ts +2461 -4280
  6. package/dist/v1/schemas/criteria-tree.js +1 -2
  7. package/dist/v1/schemas/criterion.d.ts +450 -791
  8. package/dist/v1/schemas/criterion.js +3 -4
  9. package/dist/v1/schemas/data-map.d.ts +2 -2
  10. package/dist/v1/schemas/data-map.js +1 -2
  11. package/dist/v1/schemas/metadata.d.ts +19 -28
  12. package/dist/v1/schemas/metadata.js +6 -7
  13. package/dist/v1/schemas/request/matrix-body-schema.d.ts +7 -7
  14. package/dist/v1/schemas/request/matrix-body-schema.js +4 -5
  15. package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +7 -7
  16. package/dist/v1/schemas/request/matrix-request-body-schema.js +4 -5
  17. package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +6 -6
  18. package/dist/v1/schemas/request/tree-and-data-body-schema.js +3 -4
  19. package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +6 -6
  20. package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +3 -4
  21. package/dist/v1/schemas/response.d.ts +15 -24
  22. package/dist/v1/schemas/task-group.d.ts +321 -584
  23. package/dist/v1/schemas/task-group.js +4 -5
  24. package/dist/v1/schemas/task-item.d.ts +193 -303
  25. package/dist/v1/schemas/task-item.js +13 -14
  26. package/dist/v1/schemas/task.d.ts +210 -395
  27. package/dist/v1/schemas/task.js +3 -4
  28. package/dist/v1/schemas/theme.d.ts +600 -1033
  29. package/dist/v1/schemas/theme.js +3 -4
  30. package/dist/v1/schemas/utils.d.ts +1 -1
  31. package/dist/v1/schemas/utils.js +6 -4
  32. package/package.json +1 -1
@@ -4,13 +4,12 @@ exports.taskSchema = exports.taskOptionsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const task_item_1 = require("./task-item");
6
6
  const common_1 = require("./common");
7
- const utils_1 = require("./utils");
8
7
  exports.taskOptionsSchema = zod_1.z.object({
9
- hideCode: (0, utils_1.optional)(zod_1.z.boolean()),
8
+ hideCode: zod_1.z.boolean().optional(),
10
9
  });
11
10
  exports.taskSchema = common_1.abstractElementSchema.extend({
12
11
  type: zod_1.z.literal("task"),
13
- description: (0, utils_1.optional)(zod_1.z.string()),
12
+ description: zod_1.z.string().optional(),
14
13
  items: zod_1.z.array(zod_1.z.lazy(() => task_item_1.taskItemSchema)),
15
- options: (0, utils_1.optional)(exports.taskOptionsSchema),
14
+ options: exports.taskOptionsSchema.optional(),
16
15
  });