@openframe-org/criteria-set-protocol 2.5.0 → 3.0.0-alpha.10

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.
@@ -14,7 +14,7 @@ exports.taskOptionsSchema = zod_1.z
14
14
  .describe("The format of the document tree folder text, use ':code:' and ':title:' to define where the code and/or title should be inserted"),
15
15
  showCodeAsIndicatorTaskViewTitle: zod_1.z
16
16
  .boolean()
17
- .optional()
17
+ .nullable()
18
18
  .default(false)
19
19
  .describe("Whether the title of the indicator task view should show the task code, or the hardcoded description text"),
20
20
  })
@@ -25,7 +25,7 @@ exports.taskSchema = common_1.abstractElementSchema.extend({
25
25
  type: zod_1.z.literal("task").describe("Identifies the schema type as a task"),
26
26
  description: zod_1.z
27
27
  .string()
28
- .optional()
28
+ .nullable()
29
29
  .describe("Additional detailed description of the task"),
30
30
  items: zod_1.z
31
31
  .array(zod_1.z.lazy(() => task_item_1.taskItemSchema))