@openframe-org/criteria-set-protocol 2.2.12 → 2.2.14

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.
@@ -234,6 +234,13 @@ export declare const criteriaTreeOptionsSchema: z.ZodObject<{
234
234
  }, {
235
235
  criteriaTreeElementTextFormat: string;
236
236
  }>;
237
+ export declare const reportOptionsSchema: z.ZodObject<{
238
+ reportTitleTextFormat: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ reportTitleTextFormat?: string | undefined;
241
+ }, {
242
+ reportTitleTextFormat?: string | undefined;
243
+ }>;
237
244
  export declare const treeResultSchema: z.ZodObject<{
238
245
  type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
239
246
  value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.treeResultSchema = exports.criteriaTreeOptionsSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.taskItemValueSchema = exports.taskItemScalarValueSchema = exports.colorSchema = void 0;
3
+ exports.treeResultSchema = exports.reportOptionsSchema = exports.criteriaTreeOptionsSchema = exports.documentTreeOptionsSchema = exports.breadcrumbOptionsSchema = exports.abstractElementSchema = exports.criteriaTreeElementTypeSchema = exports.elementDataSchema = exports.taskItemValueSchema = exports.taskItemScalarValueSchema = exports.colorSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const documentation_1 = require("./documentation");
6
6
  exports.colorSchema = zod_1.z
@@ -114,4 +114,11 @@ exports.criteriaTreeOptionsSchema = zod_1.z
114
114
  .string()
115
115
  .describe("The format of the criteria tree element text, use ':code:' and ':title:' to define where the code and/or title should be inserted")
116
116
  });
117
+ exports.reportOptionsSchema = zod_1.z
118
+ .object({
119
+ reportTitleTextFormat: zod_1.z
120
+ .string()
121
+ .optional()
122
+ .describe("The format of the report row text, use ':code:' and ':title:' to define where the code and/or title should be inserted, if not provided only the title will be rendered")
123
+ });
117
124
  exports.treeResultSchema = exports.elementDataSchema.describe("TreeResult - The result of the evaluation of a criteria set");