@openframe-org/criteria-set-protocol 3.0.0-alpha.6 → 3.0.0-alpha.7

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.
@@ -104,7 +104,7 @@ export declare const criteriaTreeOptionsSchema: z.ZodObject<{
104
104
  criteriaTreeElementTextFormat: z.ZodString;
105
105
  }, z.core.$strip>;
106
106
  export declare const reportOptionsSchema: z.ZodObject<{
107
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
107
+ reportTitleTextFormat: z.ZodString;
108
108
  }, z.core.$strip>;
109
109
  export declare const treeResultSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
110
110
  type: z.ZodLiteral<"number">;
@@ -123,7 +123,6 @@ exports.reportOptionsSchema = zod_1.z
123
123
  .object({
124
124
  reportTitleTextFormat: zod_1.z
125
125
  .string()
126
- .nullable()
127
- .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")
126
+ .describe("The format of the report row text, use ':code:' and ':title:' to define where the code and/or title should be inserted")
128
127
  });
129
128
  exports.treeResultSchema = numberElementDataSchema.omit({ weight: true, minimumValue: true, maximumValue: true }).or(percentageElementDataSchema.omit({ weight: true, minimumValue: true, maximumValue: true })).or(booleanElementDataSchema).describe("TreeResult - The result of the evaluation of a criteria set");
@@ -313,7 +313,7 @@ export declare const criteriaTreeSchema: z.ZodObject<{
313
313
  }, z.core.$strip>, z.ZodObject<{
314
314
  criteriaTreeElementTextFormat: z.ZodString;
315
315
  }, z.core.$strip>>, z.ZodObject<{
316
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
316
+ reportTitleTextFormat: z.ZodString;
317
317
  }, z.core.$strip>>;
318
318
  }, z.core.$strip>>>;
319
319
  }, z.core.$strip>>>;
@@ -334,7 +334,7 @@ export declare const criteriaTreeSchema: z.ZodObject<{
334
334
  }, z.core.$strip>]>>, z.ZodObject<{
335
335
  criteriaTreeElementTextFormat: z.ZodString;
336
336
  }, z.core.$strip>>, z.ZodObject<{
337
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
337
+ reportTitleTextFormat: z.ZodString;
338
338
  }, z.core.$strip>>;
339
339
  }, z.core.$strip>>;
340
340
  options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
@@ -352,7 +352,7 @@ export declare const criteriaTreeSchema: z.ZodObject<{
352
352
  hideFromDocumentTree: z.ZodNullable<z.ZodLiteral<false>>;
353
353
  documentTreeFolderTextFormat: z.ZodString;
354
354
  }, z.core.$strip>]>>, z.ZodObject<{
355
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
355
+ reportTitleTextFormat: z.ZodString;
356
356
  }, z.core.$strip>>;
357
357
  }, z.core.$strip>>;
358
358
  certificationDefinitions: z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -697,7 +697,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
697
697
  }, z.core.$strip>, z.ZodObject<{
698
698
  criteriaTreeElementTextFormat: z.ZodString;
699
699
  }, z.core.$strip>>, z.ZodObject<{
700
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
700
+ reportTitleTextFormat: z.ZodString;
701
701
  }, z.core.$strip>>;
702
702
  }, z.core.$strip>>>;
703
703
  }, z.core.$strip>>>;
@@ -718,7 +718,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
718
718
  }, z.core.$strip>]>>, z.ZodObject<{
719
719
  criteriaTreeElementTextFormat: z.ZodString;
720
720
  }, z.core.$strip>>, z.ZodObject<{
721
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
721
+ reportTitleTextFormat: z.ZodString;
722
722
  }, z.core.$strip>>;
723
723
  }, z.core.$strip>>;
724
724
  options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
@@ -736,7 +736,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
736
736
  hideFromDocumentTree: z.ZodNullable<z.ZodLiteral<false>>;
737
737
  documentTreeFolderTextFormat: z.ZodString;
738
738
  }, z.core.$strip>]>>, z.ZodObject<{
739
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
739
+ reportTitleTextFormat: z.ZodString;
740
740
  }, z.core.$strip>>;
741
741
  }, z.core.$strip>, z.ZodObject<{
742
742
  title: z.ZodString;
@@ -976,7 +976,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
976
976
  }, z.core.$strip>, z.ZodObject<{
977
977
  criteriaTreeElementTextFormat: z.ZodString;
978
978
  }, z.core.$strip>>, z.ZodObject<{
979
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
979
+ reportTitleTextFormat: z.ZodString;
980
980
  }, z.core.$strip>>;
981
981
  }, z.core.$strip>>>;
982
982
  }, z.core.$strip>>>;
@@ -997,7 +997,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
997
997
  }, z.core.$strip>]>>, z.ZodObject<{
998
998
  criteriaTreeElementTextFormat: z.ZodString;
999
999
  }, z.core.$strip>>, z.ZodObject<{
1000
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
1000
+ reportTitleTextFormat: z.ZodString;
1001
1001
  }, z.core.$strip>>;
1002
1002
  }, z.core.$strip>, z.ZodObject<{
1003
1003
  title: z.ZodString;
@@ -1193,7 +1193,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
1193
1193
  }, z.core.$strip>, z.ZodObject<{
1194
1194
  criteriaTreeElementTextFormat: z.ZodString;
1195
1195
  }, z.core.$strip>>, z.ZodObject<{
1196
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
1196
+ reportTitleTextFormat: z.ZodString;
1197
1197
  }, z.core.$strip>>;
1198
1198
  }, z.core.$strip>>>;
1199
1199
  }, z.core.$strip>, z.ZodObject<{
@@ -1344,7 +1344,7 @@ export declare const criteriaTreeElementSchema: z.ZodDiscriminatedUnion<[z.ZodOb
1344
1344
  }, z.core.$strip>, z.ZodObject<{
1345
1345
  criteriaTreeElementTextFormat: z.ZodString;
1346
1346
  }, z.core.$strip>>, z.ZodObject<{
1347
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
1347
+ reportTitleTextFormat: z.ZodString;
1348
1348
  }, z.core.$strip>>;
1349
1349
  }, z.core.$strip>, z.ZodObject<{
1350
1350
  code: z.ZodString;
@@ -16,7 +16,7 @@ export declare const criterionOptionsSchema: z.ZodIntersection<z.ZodIntersection
16
16
  }, z.core.$strip>]>>, z.ZodObject<{
17
17
  criteriaTreeElementTextFormat: z.ZodString;
18
18
  }, z.core.$strip>>, z.ZodObject<{
19
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
19
+ reportTitleTextFormat: z.ZodString;
20
20
  }, z.core.$strip>>;
21
21
  export declare const criterionSchema: z.ZodObject<{
22
22
  title: z.ZodString;
@@ -256,7 +256,7 @@ export declare const criterionSchema: z.ZodObject<{
256
256
  }, z.core.$strip>, z.ZodObject<{
257
257
  criteriaTreeElementTextFormat: z.ZodString;
258
258
  }, z.core.$strip>>, z.ZodObject<{
259
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
259
+ reportTitleTextFormat: z.ZodString;
260
260
  }, z.core.$strip>>;
261
261
  }, z.core.$strip>>>;
262
262
  }, z.core.$strip>>>;
@@ -277,6 +277,6 @@ export declare const criterionSchema: z.ZodObject<{
277
277
  }, z.core.$strip>]>>, z.ZodObject<{
278
278
  criteriaTreeElementTextFormat: z.ZodString;
279
279
  }, z.core.$strip>>, z.ZodObject<{
280
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
280
+ reportTitleTextFormat: z.ZodString;
281
281
  }, z.core.$strip>>;
282
282
  }, z.core.$strip>;
@@ -193,7 +193,7 @@ export declare const taskGroupSchema: z.ZodObject<{
193
193
  }, z.core.$strip>, z.ZodObject<{
194
194
  criteriaTreeElementTextFormat: z.ZodString;
195
195
  }, z.core.$strip>>, z.ZodObject<{
196
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
196
+ reportTitleTextFormat: z.ZodString;
197
197
  }, z.core.$strip>>;
198
198
  }, z.core.$strip>>>;
199
199
  }, z.core.$strip>;
@@ -6,7 +6,7 @@ export declare const taskOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.Zo
6
6
  }, z.core.$strip>, z.ZodObject<{
7
7
  criteriaTreeElementTextFormat: z.ZodString;
8
8
  }, z.core.$strip>>, z.ZodObject<{
9
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
9
+ reportTitleTextFormat: z.ZodString;
10
10
  }, z.core.$strip>>;
11
11
  export declare const taskSchema: z.ZodObject<{
12
12
  title: z.ZodString;
@@ -156,6 +156,6 @@ export declare const taskSchema: z.ZodObject<{
156
156
  }, z.core.$strip>, z.ZodObject<{
157
157
  criteriaTreeElementTextFormat: z.ZodString;
158
158
  }, z.core.$strip>>, z.ZodObject<{
159
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
159
+ reportTitleTextFormat: z.ZodString;
160
160
  }, z.core.$strip>>;
161
161
  }, z.core.$strip>;
@@ -26,7 +26,7 @@ export declare const themeOptionsSchema: z.ZodIntersection<z.ZodIntersection<z.Z
26
26
  hideFromDocumentTree: z.ZodNullable<z.ZodLiteral<false>>;
27
27
  documentTreeFolderTextFormat: z.ZodString;
28
28
  }, z.core.$strip>]>>, z.ZodObject<{
29
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
29
+ reportTitleTextFormat: z.ZodString;
30
30
  }, z.core.$strip>>;
31
31
  export declare const themeSchema: z.ZodObject<{
32
32
  title: z.ZodString;
@@ -322,7 +322,7 @@ export declare const themeSchema: z.ZodObject<{
322
322
  }, z.core.$strip>, z.ZodObject<{
323
323
  criteriaTreeElementTextFormat: z.ZodString;
324
324
  }, z.core.$strip>>, z.ZodObject<{
325
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
325
+ reportTitleTextFormat: z.ZodString;
326
326
  }, z.core.$strip>>;
327
327
  }, z.core.$strip>>>;
328
328
  }, z.core.$strip>>>;
@@ -343,7 +343,7 @@ export declare const themeSchema: z.ZodObject<{
343
343
  }, z.core.$strip>]>>, z.ZodObject<{
344
344
  criteriaTreeElementTextFormat: z.ZodString;
345
345
  }, z.core.$strip>>, z.ZodObject<{
346
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
346
+ reportTitleTextFormat: z.ZodString;
347
347
  }, z.core.$strip>>;
348
348
  }, z.core.$strip>>;
349
349
  options: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
@@ -361,6 +361,6 @@ export declare const themeSchema: z.ZodObject<{
361
361
  hideFromDocumentTree: z.ZodNullable<z.ZodLiteral<false>>;
362
362
  documentTreeFolderTextFormat: z.ZodString;
363
363
  }, z.core.$strip>]>>, z.ZodObject<{
364
- reportTitleTextFormat: z.ZodNullable<z.ZodString>;
364
+ reportTitleTextFormat: z.ZodString;
365
365
  }, z.core.$strip>>;
366
366
  }, z.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.7",
4
4
  "description": "A protocol and tools for defining and working with criteria sets",
5
5
  "private": false,
6
6
  "author": "Andrés Angulo <aa@openframe.org>",