@openframe-org/criteria-set-protocol 2.2.10 → 2.2.12
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 +77 -77
- package/dist/v1/schemas/common.js +1 -0
- package/dist/v1/schemas/criteria-tree.d.ts +1216 -1128
- package/dist/v1/schemas/criterion.d.ts +212 -196
- package/dist/v1/schemas/data-map.d.ts +123 -115
- package/dist/v1/schemas/task-group.d.ts +129 -117
- package/dist/v1/schemas/task-item.d.ts +42 -38
- package/dist/v1/schemas/task.d.ts +66 -58
- package/dist/v1/schemas/theme.d.ts +315 -295
- package/dist/v1/utils.d.ts +11 -7
- package/package.json +1 -1
|
@@ -78,25 +78,25 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
78
78
|
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
79
79
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
80
80
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
81
|
-
}, "strip", z.
|
|
82
|
-
type
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
maximumValue
|
|
87
|
-
minimumValue
|
|
88
|
-
exclusiveMaximum
|
|
89
|
-
exclusiveMinimum
|
|
90
|
-
}, {
|
|
91
|
-
type
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
maximumValue
|
|
96
|
-
minimumValue
|
|
97
|
-
exclusiveMaximum
|
|
98
|
-
exclusiveMinimum
|
|
99
|
-
}
|
|
81
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
82
|
+
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
83
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
84
|
+
text: z.ZodOptional<z.ZodString>;
|
|
85
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
91
|
+
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
92
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
93
|
+
text: z.ZodOptional<z.ZodString>;
|
|
94
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
}, z.ZodAny, "strip">>>;
|
|
100
100
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
101
101
|
} & {
|
|
102
102
|
type: z.ZodLiteral<"task">;
|
|
@@ -162,25 +162,25 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
162
162
|
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
163
163
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
164
164
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
165
|
-
}, "strip", z.
|
|
166
|
-
type
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
maximumValue
|
|
171
|
-
minimumValue
|
|
172
|
-
exclusiveMaximum
|
|
173
|
-
exclusiveMinimum
|
|
174
|
-
}, {
|
|
175
|
-
type
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
maximumValue
|
|
180
|
-
minimumValue
|
|
181
|
-
exclusiveMaximum
|
|
182
|
-
exclusiveMinimum
|
|
183
|
-
}
|
|
165
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
166
|
+
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
167
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
168
|
+
text: z.ZodOptional<z.ZodString>;
|
|
169
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
173
|
+
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
175
|
+
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
176
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
177
|
+
text: z.ZodOptional<z.ZodString>;
|
|
178
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
}, z.ZodAny, "strip">>, z.ZodObject<{
|
|
184
184
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
185
185
|
valueReference: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -429,6 +429,8 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
429
429
|
minimumValue?: number | undefined;
|
|
430
430
|
exclusiveMaximum?: number | undefined;
|
|
431
431
|
exclusiveMinimum?: number | undefined;
|
|
432
|
+
} & {
|
|
433
|
+
[k: string]: any;
|
|
432
434
|
} & {
|
|
433
435
|
readOnly?: boolean | undefined;
|
|
434
436
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -512,6 +514,8 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
512
514
|
minimumValue?: number | undefined;
|
|
513
515
|
exclusiveMaximum?: number | undefined;
|
|
514
516
|
exclusiveMinimum?: number | undefined;
|
|
517
|
+
} & {
|
|
518
|
+
[k: string]: any;
|
|
515
519
|
} & {
|
|
516
520
|
readOnly?: boolean | undefined;
|
|
517
521
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -626,6 +630,8 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
626
630
|
minimumValue?: number | undefined;
|
|
627
631
|
exclusiveMaximum?: number | undefined;
|
|
628
632
|
exclusiveMinimum?: number | undefined;
|
|
633
|
+
} & {
|
|
634
|
+
[k: string]: any;
|
|
629
635
|
} & {
|
|
630
636
|
readOnly?: boolean | undefined;
|
|
631
637
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -650,16 +656,16 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
650
656
|
sortOrder?: number | undefined;
|
|
651
657
|
}[];
|
|
652
658
|
longFormTitle: string;
|
|
653
|
-
data?: {
|
|
654
|
-
type
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
maximumValue
|
|
659
|
-
minimumValue
|
|
660
|
-
exclusiveMaximum
|
|
661
|
-
exclusiveMinimum
|
|
662
|
-
} | undefined;
|
|
659
|
+
data?: z.objectOutputType<{
|
|
660
|
+
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
661
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
662
|
+
text: z.ZodOptional<z.ZodString>;
|
|
663
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
664
|
+
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
665
|
+
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
666
|
+
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
667
|
+
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
668
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
663
669
|
description?: string | undefined;
|
|
664
670
|
tags?: string[] | undefined;
|
|
665
671
|
documentation?: ({
|
|
@@ -750,6 +756,8 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
750
756
|
minimumValue?: number | undefined;
|
|
751
757
|
exclusiveMaximum?: number | undefined;
|
|
752
758
|
exclusiveMinimum?: number | undefined;
|
|
759
|
+
} & {
|
|
760
|
+
[k: string]: any;
|
|
753
761
|
} & {
|
|
754
762
|
readOnly?: boolean | undefined;
|
|
755
763
|
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
@@ -774,16 +782,16 @@ export declare const taskSchema: z.ZodObject<{
|
|
|
774
782
|
sortOrder?: number | undefined;
|
|
775
783
|
}[];
|
|
776
784
|
longFormTitle: string;
|
|
777
|
-
data?: {
|
|
778
|
-
type
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
maximumValue
|
|
783
|
-
minimumValue
|
|
784
|
-
exclusiveMaximum
|
|
785
|
-
exclusiveMinimum
|
|
786
|
-
} | undefined;
|
|
785
|
+
data?: z.objectInputType<{
|
|
786
|
+
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
787
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
788
|
+
text: z.ZodOptional<z.ZodString>;
|
|
789
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
790
|
+
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
792
|
+
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
793
|
+
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
787
795
|
description?: string | undefined;
|
|
788
796
|
tags?: string[] | undefined;
|
|
789
797
|
documentation?: ({
|