@openframe-org/criteria-set-protocol 2.0.13 → 2.0.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.
- package/dist/v1/schemas/common.d.ts +3 -0
- package/dist/v1/schemas/common.js +1 -0
- package/dist/v1/schemas/criteria-tree.d.ts +130 -45
- package/dist/v1/schemas/criterion.d.ts +24 -9
- package/dist/v1/schemas/task-group.d.ts +15 -7
- package/dist/v1/schemas/task-item.d.ts +3 -0
- package/dist/v1/schemas/task.d.ts +8 -8
- package/dist/v1/schemas/task.js +0 -2
- package/dist/v1/schemas/theme.d.ts +35 -11
- package/dist/v1/utils.d.ts +15 -4
- package/package.json +1 -1
|
@@ -52,6 +52,7 @@ export declare const criteriaTreeElementTypeSchema: z.ZodEnum<["theme", "criteri
|
|
|
52
52
|
export declare const abstractElementSchema: z.ZodObject<{
|
|
53
53
|
type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
54
54
|
title: z.ZodString;
|
|
55
|
+
longFormTitle: z.ZodOptional<z.ZodString>;
|
|
55
56
|
code: z.ZodString;
|
|
56
57
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
57
58
|
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -154,6 +155,7 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
154
155
|
step?: number | undefined;
|
|
155
156
|
readOnly?: boolean | undefined;
|
|
156
157
|
} | undefined;
|
|
158
|
+
longFormTitle?: string | undefined;
|
|
157
159
|
tags?: string[] | undefined;
|
|
158
160
|
documentation?: ({
|
|
159
161
|
type: "pdf";
|
|
@@ -187,6 +189,7 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
187
189
|
step?: number | undefined;
|
|
188
190
|
readOnly?: boolean | undefined;
|
|
189
191
|
} | undefined;
|
|
192
|
+
longFormTitle?: string | undefined;
|
|
190
193
|
tags?: string[] | undefined;
|
|
191
194
|
documentation?: ({
|
|
192
195
|
type: "pdf";
|
|
@@ -44,6 +44,7 @@ exports.criteriaTreeElementTypeSchema = zod_1.z.enum([
|
|
|
44
44
|
exports.abstractElementSchema = zod_1.z.object({
|
|
45
45
|
type: exports.criteriaTreeElementTypeSchema,
|
|
46
46
|
title: zod_1.z.string(),
|
|
47
|
+
longFormTitle: zod_1.z.string().optional(),
|
|
47
48
|
code: zod_1.z.string(),
|
|
48
49
|
tags: zod_1.z.array(zod_1.z.string()).optional(),
|
|
49
50
|
documentation: zod_1.z.array(documentation_1.documentationItemSchema).optional(),
|