@openframe-org/criteria-set-protocol 3.0.0-alpha.13 → 3.0.0-alpha.15
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.
|
@@ -40,7 +40,7 @@ const numberElementDataSchema = abstractNumberElementDataSchema.extend({
|
|
|
40
40
|
total: zod_1.z
|
|
41
41
|
.number()
|
|
42
42
|
.nullable()
|
|
43
|
-
.describe("Total value, understood as 'value'/'total'")
|
|
43
|
+
.describe("Total value, understood as 'value'/'total'")
|
|
44
44
|
});
|
|
45
45
|
const percentageElementDataSchema = abstractNumberElementDataSchema.extend({
|
|
46
46
|
type: zod_1.z.literal("percentage").describe("Type of data"),
|
|
@@ -52,7 +52,7 @@ const booleanElementDataSchema = abstractElementDataSchema.extend({
|
|
|
52
52
|
total: zod_1.z.never().optional(),
|
|
53
53
|
maximumValue: zod_1.z.never().optional(),
|
|
54
54
|
minimumValue: zod_1.z.never().optional(),
|
|
55
|
-
weight: zod_1.z.never().optional()
|
|
55
|
+
weight: zod_1.z.never().optional()
|
|
56
56
|
});
|
|
57
57
|
exports.elementDataSchema = zod_1.z.discriminatedUnion("type", [
|
|
58
58
|
numberElementDataSchema,
|
package/package.json
CHANGED