@openframe-org/criteria-set-protocol 3.0.0-alpha.6 → 3.0.0-alpha.8
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 -2
- package/dist/v1/schemas/criteria-tree.d.ts +10 -10
- package/dist/v1/schemas/criterion.d.ts +3 -3
- package/dist/v1/schemas/metadata.d.ts +0 -2
- package/dist/v1/schemas/metadata.js +0 -3
- package/dist/v1/schemas/response.d.ts +0 -1
- package/dist/v1/schemas/task-group.d.ts +1 -1
- package/dist/v1/schemas/task.d.ts +2 -2
- package/dist/v1/schemas/theme.d.ts +4 -4
- package/package.json +1 -1
|
@@ -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.
|
|
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
|
-
.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
280
|
+
reportTitleTextFormat: z.ZodString;
|
|
281
281
|
}, z.core.$strip>>;
|
|
282
282
|
}, z.core.$strip>;
|
|
@@ -3,7 +3,6 @@ export declare const schemaDefinitionSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
|
3
3
|
export declare const schemaDefinitionsSchema: z.ZodObject<{
|
|
4
4
|
properties: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5
5
|
parameters: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6
|
-
result: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
6
|
}, z.core.$strip>;
|
|
8
7
|
export declare const metadataSchema: z.ZodObject<{
|
|
9
8
|
id: z.ZodString;
|
|
@@ -20,6 +19,5 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
20
19
|
schemas: z.ZodNullable<z.ZodObject<{
|
|
21
20
|
properties: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
22
21
|
parameters: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
23
|
-
result: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
24
22
|
}, z.core.$strip>>;
|
|
25
23
|
}, z.core.$strip>;
|
|
@@ -11,9 +11,6 @@ exports.schemaDefinitionsSchema = zod_1.z
|
|
|
11
11
|
parameters: exports.schemaDefinitionSchema
|
|
12
12
|
.nullable()
|
|
13
13
|
.describe("The JSON schema describing the parameters of the criteria set"),
|
|
14
|
-
result: exports.schemaDefinitionSchema
|
|
15
|
-
.nullable()
|
|
16
|
-
.describe("The JSON schema describing the result of the criteria set"),
|
|
17
14
|
})
|
|
18
15
|
.describe("SchemaDefinitions - The JSON schemas describing the parameters and result of the criteria set, if any");
|
|
19
16
|
exports.metadataSchema = zod_1.z
|
|
@@ -14,7 +14,6 @@ export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
14
14
|
schemas: z.ZodNullable<z.ZodObject<{
|
|
15
15
|
properties: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16
16
|
parameters: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17
|
-
result: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18
17
|
}, z.core.$strip>>;
|
|
19
18
|
}, z.core.$strip>>>;
|
|
20
19
|
export declare const streamMatrixResponseSchema: z.ZodObject<{
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
364
|
+
reportTitleTextFormat: z.ZodString;
|
|
365
365
|
}, z.core.$strip>>;
|
|
366
366
|
}, z.core.$strip>;
|
package/package.json
CHANGED