@openframe-org/criteria-set-protocol 2.1.5 → 2.1.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.
- package/dist/v1/schemas/common.d.ts +3 -3
- package/dist/v1/schemas/common.js +0 -1
- package/dist/v1/schemas/criteria-tree.d.ts +82 -130
- package/dist/v1/schemas/criterion.d.ts +15 -24
- package/dist/v1/schemas/task-group.d.ts +8 -15
- package/dist/v1/schemas/task-item.d.ts +0 -3
- package/dist/v1/schemas/task-item.js +1 -1
- package/dist/v1/schemas/task.d.ts +3 -8
- package/dist/v1/schemas/theme.d.ts +24 -35
- package/package.json +1 -1
|
@@ -52,7 +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.
|
|
55
|
+
longFormTitle: z.ZodString;
|
|
56
56
|
code: z.ZodString;
|
|
57
57
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58
58
|
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -140,6 +140,7 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
140
140
|
code: string;
|
|
141
141
|
type: "theme" | "criterion" | "task-group" | "task" | "task-item";
|
|
142
142
|
title: string;
|
|
143
|
+
longFormTitle: string;
|
|
143
144
|
data?: {
|
|
144
145
|
type?: "number" | "percentage" | undefined;
|
|
145
146
|
total?: number | undefined;
|
|
@@ -152,7 +153,6 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
152
153
|
step?: number | undefined;
|
|
153
154
|
readOnly?: boolean | undefined;
|
|
154
155
|
} | undefined;
|
|
155
|
-
longFormTitle?: string | undefined;
|
|
156
156
|
tags?: string[] | undefined;
|
|
157
157
|
documentation?: ({
|
|
158
158
|
type: "pdf";
|
|
@@ -174,6 +174,7 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
174
174
|
code: string;
|
|
175
175
|
type: "theme" | "criterion" | "task-group" | "task" | "task-item";
|
|
176
176
|
title: string;
|
|
177
|
+
longFormTitle: string;
|
|
177
178
|
data?: {
|
|
178
179
|
type?: "number" | "percentage" | undefined;
|
|
179
180
|
total?: number | undefined;
|
|
@@ -186,7 +187,6 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
186
187
|
step?: number | undefined;
|
|
187
188
|
readOnly?: boolean | undefined;
|
|
188
189
|
} | undefined;
|
|
189
|
-
longFormTitle?: string | undefined;
|
|
190
190
|
tags?: string[] | undefined;
|
|
191
191
|
documentation?: ({
|
|
192
192
|
type: "pdf";
|
|
@@ -67,7 +67,6 @@ exports.abstractElementSchema = zod_1.z
|
|
|
67
67
|
title: zod_1.z.string().describe("Display title of the element"),
|
|
68
68
|
longFormTitle: zod_1.z
|
|
69
69
|
.string()
|
|
70
|
-
.optional()
|
|
71
70
|
.describe("Extended or full-length title"),
|
|
72
71
|
code: zod_1.z.string().describe("Unique identifier code"),
|
|
73
72
|
tags: zod_1.z
|