@openframe-org/criteria-set-protocol 2.4.2 → 2.5.0
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/certification.d.ts +15 -180
- package/dist/v1/schemas/common.d.ts +48 -221
- package/dist/v1/schemas/criteria-set.d.ts +9 -7
- package/dist/v1/schemas/criteria-tree.d.ts +439 -9455
- package/dist/v1/schemas/criterion.d.ts +79 -1695
- package/dist/v1/schemas/data-map.d.ts +36 -214
- package/dist/v1/schemas/documentation.d.ts +7 -69
- package/dist/v1/schemas/metadata.d.ts +4 -54
- package/dist/v1/schemas/request/criteria-set-id-param-schema.d.ts +1 -5
- package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +2 -12
- package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +2 -10
- package/dist/v1/schemas/request/version-param-schema.d.ts +1 -5
- package/dist/v1/schemas/response.d.ts +4 -54
- package/dist/v1/schemas/task-group.d.ts +53 -1111
- package/dist/v1/schemas/task-item.d.ts +59 -699
- package/dist/v1/schemas/task.d.ts +44 -738
- package/dist/v1/schemas/theme.d.ts +106 -2438
- package/package.json +3 -3
|
@@ -1,237 +1,72 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const certificationDefinitionTypeSchema: z.ZodEnum<
|
|
2
|
+
export declare const certificationDefinitionTypeSchema: z.ZodEnum<{
|
|
3
|
+
number: "number";
|
|
4
|
+
percentage: "percentage";
|
|
5
|
+
}>;
|
|
3
6
|
export declare const numberBasedCertificationDefinitionRulesSchema: z.ZodObject<{
|
|
4
7
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
5
8
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
6
9
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
7
10
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
},
|
|
9
|
-
minimum?: number | undefined;
|
|
10
|
-
maximum?: number | undefined;
|
|
11
|
-
exclusiveMaximum?: number | undefined;
|
|
12
|
-
exclusiveMinimum?: number | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
minimum?: number | undefined;
|
|
15
|
-
maximum?: number | undefined;
|
|
16
|
-
exclusiveMaximum?: number | undefined;
|
|
17
|
-
exclusiveMinimum?: number | undefined;
|
|
18
|
-
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
19
12
|
export declare const percentageBasedCertificationDefinitionRulesSchema: z.ZodObject<{
|
|
20
13
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
21
14
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
22
15
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
23
16
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
},
|
|
25
|
-
minimum?: number | undefined;
|
|
26
|
-
maximum?: number | undefined;
|
|
27
|
-
exclusiveMaximum?: number | undefined;
|
|
28
|
-
exclusiveMinimum?: number | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
minimum?: number | undefined;
|
|
31
|
-
maximum?: number | undefined;
|
|
32
|
-
exclusiveMaximum?: number | undefined;
|
|
33
|
-
exclusiveMinimum?: number | undefined;
|
|
34
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
35
18
|
export declare const numberBasedCertificationDefinitionSchema: z.ZodObject<{
|
|
36
19
|
code: z.ZodString;
|
|
37
20
|
icon: z.ZodOptional<z.ZodString>;
|
|
38
21
|
name: z.ZodString;
|
|
39
22
|
description: z.ZodOptional<z.ZodString>;
|
|
40
23
|
rulesText: z.ZodString;
|
|
41
|
-
} & {
|
|
42
24
|
type: z.ZodLiteral<"number">;
|
|
43
25
|
rules: z.ZodObject<{
|
|
44
26
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
45
27
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
46
28
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
47
29
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
maximum?: number | undefined;
|
|
51
|
-
exclusiveMaximum?: number | undefined;
|
|
52
|
-
exclusiveMinimum?: number | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
minimum?: number | undefined;
|
|
55
|
-
maximum?: number | undefined;
|
|
56
|
-
exclusiveMaximum?: number | undefined;
|
|
57
|
-
exclusiveMinimum?: number | undefined;
|
|
58
|
-
}>;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
code: string;
|
|
61
|
-
name: string;
|
|
62
|
-
type: "number";
|
|
63
|
-
rulesText: string;
|
|
64
|
-
rules: {
|
|
65
|
-
minimum?: number | undefined;
|
|
66
|
-
maximum?: number | undefined;
|
|
67
|
-
exclusiveMaximum?: number | undefined;
|
|
68
|
-
exclusiveMinimum?: number | undefined;
|
|
69
|
-
};
|
|
70
|
-
description?: string | undefined;
|
|
71
|
-
icon?: string | undefined;
|
|
72
|
-
}, {
|
|
73
|
-
code: string;
|
|
74
|
-
name: string;
|
|
75
|
-
type: "number";
|
|
76
|
-
rulesText: string;
|
|
77
|
-
rules: {
|
|
78
|
-
minimum?: number | undefined;
|
|
79
|
-
maximum?: number | undefined;
|
|
80
|
-
exclusiveMaximum?: number | undefined;
|
|
81
|
-
exclusiveMinimum?: number | undefined;
|
|
82
|
-
};
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
icon?: string | undefined;
|
|
85
|
-
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
}, z.core.$strip>;
|
|
86
32
|
export declare const percentageBasedCertificationDefinitionSchema: z.ZodObject<{
|
|
87
33
|
code: z.ZodString;
|
|
88
34
|
icon: z.ZodOptional<z.ZodString>;
|
|
89
35
|
name: z.ZodString;
|
|
90
36
|
description: z.ZodOptional<z.ZodString>;
|
|
91
37
|
rulesText: z.ZodString;
|
|
92
|
-
} & {
|
|
93
38
|
type: z.ZodLiteral<"percentage">;
|
|
94
39
|
rules: z.ZodObject<{
|
|
95
40
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
96
41
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
97
42
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
98
43
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
exclusiveMaximum?: number | undefined;
|
|
103
|
-
exclusiveMinimum?: number | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
minimum?: number | undefined;
|
|
106
|
-
maximum?: number | undefined;
|
|
107
|
-
exclusiveMaximum?: number | undefined;
|
|
108
|
-
exclusiveMinimum?: number | undefined;
|
|
109
|
-
}>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
code: string;
|
|
112
|
-
name: string;
|
|
113
|
-
type: "percentage";
|
|
114
|
-
rulesText: string;
|
|
115
|
-
rules: {
|
|
116
|
-
minimum?: number | undefined;
|
|
117
|
-
maximum?: number | undefined;
|
|
118
|
-
exclusiveMaximum?: number | undefined;
|
|
119
|
-
exclusiveMinimum?: number | undefined;
|
|
120
|
-
};
|
|
121
|
-
description?: string | undefined;
|
|
122
|
-
icon?: string | undefined;
|
|
123
|
-
}, {
|
|
124
|
-
code: string;
|
|
125
|
-
name: string;
|
|
126
|
-
type: "percentage";
|
|
127
|
-
rulesText: string;
|
|
128
|
-
rules: {
|
|
129
|
-
minimum?: number | undefined;
|
|
130
|
-
maximum?: number | undefined;
|
|
131
|
-
exclusiveMaximum?: number | undefined;
|
|
132
|
-
exclusiveMinimum?: number | undefined;
|
|
133
|
-
};
|
|
134
|
-
description?: string | undefined;
|
|
135
|
-
icon?: string | undefined;
|
|
136
|
-
}>;
|
|
137
|
-
export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
export declare const certificationDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
138
47
|
code: z.ZodString;
|
|
139
48
|
icon: z.ZodOptional<z.ZodString>;
|
|
140
49
|
name: z.ZodString;
|
|
141
50
|
description: z.ZodOptional<z.ZodString>;
|
|
142
51
|
rulesText: z.ZodString;
|
|
143
|
-
} & {
|
|
144
52
|
type: z.ZodLiteral<"number">;
|
|
145
53
|
rules: z.ZodObject<{
|
|
146
54
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
147
55
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
148
56
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
149
57
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
maximum?: number | undefined;
|
|
153
|
-
exclusiveMaximum?: number | undefined;
|
|
154
|
-
exclusiveMinimum?: number | undefined;
|
|
155
|
-
}, {
|
|
156
|
-
minimum?: number | undefined;
|
|
157
|
-
maximum?: number | undefined;
|
|
158
|
-
exclusiveMaximum?: number | undefined;
|
|
159
|
-
exclusiveMinimum?: number | undefined;
|
|
160
|
-
}>;
|
|
161
|
-
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
code: string;
|
|
163
|
-
name: string;
|
|
164
|
-
type: "number";
|
|
165
|
-
rulesText: string;
|
|
166
|
-
rules: {
|
|
167
|
-
minimum?: number | undefined;
|
|
168
|
-
maximum?: number | undefined;
|
|
169
|
-
exclusiveMaximum?: number | undefined;
|
|
170
|
-
exclusiveMinimum?: number | undefined;
|
|
171
|
-
};
|
|
172
|
-
description?: string | undefined;
|
|
173
|
-
icon?: string | undefined;
|
|
174
|
-
}, {
|
|
175
|
-
code: string;
|
|
176
|
-
name: string;
|
|
177
|
-
type: "number";
|
|
178
|
-
rulesText: string;
|
|
179
|
-
rules: {
|
|
180
|
-
minimum?: number | undefined;
|
|
181
|
-
maximum?: number | undefined;
|
|
182
|
-
exclusiveMaximum?: number | undefined;
|
|
183
|
-
exclusiveMinimum?: number | undefined;
|
|
184
|
-
};
|
|
185
|
-
description?: string | undefined;
|
|
186
|
-
icon?: string | undefined;
|
|
187
|
-
}>, z.ZodObject<{
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
60
|
code: z.ZodString;
|
|
189
61
|
icon: z.ZodOptional<z.ZodString>;
|
|
190
62
|
name: z.ZodString;
|
|
191
63
|
description: z.ZodOptional<z.ZodString>;
|
|
192
64
|
rulesText: z.ZodString;
|
|
193
|
-
} & {
|
|
194
65
|
type: z.ZodLiteral<"percentage">;
|
|
195
66
|
rules: z.ZodObject<{
|
|
196
67
|
minimum: z.ZodOptional<z.ZodNumber>;
|
|
197
68
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
198
69
|
maximum: z.ZodOptional<z.ZodNumber>;
|
|
199
70
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
200
|
-
},
|
|
201
|
-
|
|
202
|
-
maximum?: number | undefined;
|
|
203
|
-
exclusiveMaximum?: number | undefined;
|
|
204
|
-
exclusiveMinimum?: number | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
minimum?: number | undefined;
|
|
207
|
-
maximum?: number | undefined;
|
|
208
|
-
exclusiveMaximum?: number | undefined;
|
|
209
|
-
exclusiveMinimum?: number | undefined;
|
|
210
|
-
}>;
|
|
211
|
-
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
code: string;
|
|
213
|
-
name: string;
|
|
214
|
-
type: "percentage";
|
|
215
|
-
rulesText: string;
|
|
216
|
-
rules: {
|
|
217
|
-
minimum?: number | undefined;
|
|
218
|
-
maximum?: number | undefined;
|
|
219
|
-
exclusiveMaximum?: number | undefined;
|
|
220
|
-
exclusiveMinimum?: number | undefined;
|
|
221
|
-
};
|
|
222
|
-
description?: string | undefined;
|
|
223
|
-
icon?: string | undefined;
|
|
224
|
-
}, {
|
|
225
|
-
code: string;
|
|
226
|
-
name: string;
|
|
227
|
-
type: "percentage";
|
|
228
|
-
rulesText: string;
|
|
229
|
-
rules: {
|
|
230
|
-
minimum?: number | undefined;
|
|
231
|
-
maximum?: number | undefined;
|
|
232
|
-
exclusiveMaximum?: number | undefined;
|
|
233
|
-
exclusiveMinimum?: number | undefined;
|
|
234
|
-
};
|
|
235
|
-
description?: string | undefined;
|
|
236
|
-
icon?: string | undefined;
|
|
237
|
-
}>]>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
}, z.core.$strip>], "type">;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const colorSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2
|
+
export declare const colorSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3
3
|
red: z.ZodNumber;
|
|
4
4
|
green: z.ZodNumber;
|
|
5
5
|
blue: z.ZodNumber;
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
blue: number;
|
|
10
|
-
}, {
|
|
11
|
-
red: number;
|
|
12
|
-
green: number;
|
|
13
|
-
blue: number;
|
|
14
|
-
}>]>;
|
|
15
|
-
export declare const taskItemScalarValueSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
16
|
-
export declare const taskItemValueSchema: 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">]>;
|
|
6
|
+
}, z.core.$strip>]>;
|
|
7
|
+
export declare const taskItemScalarValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
8
|
+
export declare const taskItemValueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>]>;
|
|
17
9
|
export declare const elementDataSchema: z.ZodObject<{
|
|
18
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
number: "number";
|
|
12
|
+
boolean: "boolean";
|
|
13
|
+
percentage: "percentage";
|
|
14
|
+
}>>;
|
|
19
15
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
20
16
|
text: z.ZodOptional<z.ZodString>;
|
|
21
17
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -24,82 +20,47 @@ export declare const elementDataSchema: z.ZodObject<{
|
|
|
24
20
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
25
21
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
26
22
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
38
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
39
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
40
|
-
text: z.ZodOptional<z.ZodString>;
|
|
41
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
42
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
44
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
45
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
46
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
}, z.ZodAny, "strip">>;
|
|
48
|
-
export declare const criteriaTreeElementTypeSchema: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
|
|
23
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
24
|
+
export declare const criteriaTreeElementTypeSchema: z.ZodEnum<{
|
|
25
|
+
theme: "theme";
|
|
26
|
+
criterion: "criterion";
|
|
27
|
+
"task-group": "task-group";
|
|
28
|
+
task: "task";
|
|
29
|
+
"task-item": "task-item";
|
|
30
|
+
}>;
|
|
49
31
|
export declare const abstractElementSchema: z.ZodObject<{
|
|
50
|
-
type: z.ZodEnum<
|
|
32
|
+
type: z.ZodEnum<{
|
|
33
|
+
theme: "theme";
|
|
34
|
+
criterion: "criterion";
|
|
35
|
+
"task-group": "task-group";
|
|
36
|
+
task: "task";
|
|
37
|
+
"task-item": "task-item";
|
|
38
|
+
}>;
|
|
51
39
|
title: z.ZodString;
|
|
52
40
|
longFormTitle: z.ZodString;
|
|
53
41
|
code: z.ZodString;
|
|
54
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
55
|
-
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<
|
|
42
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
|
+
documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
44
|
label: z.ZodString;
|
|
57
45
|
text: z.ZodString;
|
|
58
|
-
} & {
|
|
59
46
|
type: z.ZodLiteral<"pdf">;
|
|
60
47
|
url: z.ZodString;
|
|
61
|
-
},
|
|
62
|
-
type: "pdf";
|
|
63
|
-
url: string;
|
|
64
|
-
label: string;
|
|
65
|
-
text: string;
|
|
66
|
-
}, {
|
|
67
|
-
type: "pdf";
|
|
68
|
-
url: string;
|
|
69
|
-
label: string;
|
|
70
|
-
text: string;
|
|
71
|
-
}>, z.ZodObject<{
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
72
49
|
label: z.ZodString;
|
|
73
50
|
text: z.ZodString;
|
|
74
|
-
} & {
|
|
75
51
|
type: z.ZodLiteral<"text">;
|
|
76
|
-
},
|
|
77
|
-
type: "text";
|
|
78
|
-
label: string;
|
|
79
|
-
text: string;
|
|
80
|
-
}, {
|
|
81
|
-
type: "text";
|
|
82
|
-
label: string;
|
|
83
|
-
text: string;
|
|
84
|
-
}>, z.ZodObject<{
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
53
|
label: z.ZodString;
|
|
86
54
|
text: z.ZodString;
|
|
87
|
-
} & {
|
|
88
55
|
type: z.ZodLiteral<"link">;
|
|
89
56
|
url: z.ZodString;
|
|
90
|
-
},
|
|
91
|
-
type: "link";
|
|
92
|
-
url: string;
|
|
93
|
-
label: string;
|
|
94
|
-
text: string;
|
|
95
|
-
}, {
|
|
96
|
-
type: "link";
|
|
97
|
-
url: string;
|
|
98
|
-
label: string;
|
|
99
|
-
text: string;
|
|
100
|
-
}>]>, "many">>;
|
|
57
|
+
}, z.core.$strip>], "type">>>;
|
|
101
58
|
data: z.ZodOptional<z.ZodObject<{
|
|
102
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
59
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
60
|
+
number: "number";
|
|
61
|
+
boolean: "boolean";
|
|
62
|
+
percentage: "percentage";
|
|
63
|
+
}>>;
|
|
103
64
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
104
65
|
text: z.ZodOptional<z.ZodString>;
|
|
105
66
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -108,169 +69,35 @@ export declare const abstractElementSchema: z.ZodObject<{
|
|
|
108
69
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
109
70
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
110
71
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
111
|
-
},
|
|
112
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
113
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
114
|
-
text: z.ZodOptional<z.ZodString>;
|
|
115
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
117
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
118
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
119
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
120
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
121
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
122
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
123
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
124
|
-
text: z.ZodOptional<z.ZodString>;
|
|
125
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
126
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
127
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
128
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
129
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
}, z.ZodAny, "strip">>>;
|
|
72
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
132
73
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
133
|
-
},
|
|
134
|
-
code: string;
|
|
135
|
-
type: "theme" | "criterion" | "task-group" | "task" | "task-item";
|
|
136
|
-
title: string;
|
|
137
|
-
longFormTitle: string;
|
|
138
|
-
data?: z.objectOutputType<{
|
|
139
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
140
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
141
|
-
text: z.ZodOptional<z.ZodString>;
|
|
142
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
143
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
144
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
145
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
148
|
-
}, z.ZodAny, "strip"> | undefined;
|
|
149
|
-
tags?: string[] | undefined;
|
|
150
|
-
documentation?: ({
|
|
151
|
-
type: "pdf";
|
|
152
|
-
url: string;
|
|
153
|
-
label: string;
|
|
154
|
-
text: string;
|
|
155
|
-
} | {
|
|
156
|
-
type: "text";
|
|
157
|
-
label: string;
|
|
158
|
-
text: string;
|
|
159
|
-
} | {
|
|
160
|
-
type: "link";
|
|
161
|
-
url: string;
|
|
162
|
-
label: string;
|
|
163
|
-
text: string;
|
|
164
|
-
})[] | undefined;
|
|
165
|
-
sortOrder?: number | undefined;
|
|
166
|
-
}, {
|
|
167
|
-
code: string;
|
|
168
|
-
type: "theme" | "criterion" | "task-group" | "task" | "task-item";
|
|
169
|
-
title: string;
|
|
170
|
-
longFormTitle: string;
|
|
171
|
-
data?: z.objectInputType<{
|
|
172
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
173
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
174
|
-
text: z.ZodOptional<z.ZodString>;
|
|
175
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
176
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
177
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
178
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
179
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
180
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
181
|
-
}, z.ZodAny, "strip"> | undefined;
|
|
182
|
-
tags?: string[] | undefined;
|
|
183
|
-
documentation?: ({
|
|
184
|
-
type: "pdf";
|
|
185
|
-
url: string;
|
|
186
|
-
label: string;
|
|
187
|
-
text: string;
|
|
188
|
-
} | {
|
|
189
|
-
type: "text";
|
|
190
|
-
label: string;
|
|
191
|
-
text: string;
|
|
192
|
-
} | {
|
|
193
|
-
type: "link";
|
|
194
|
-
url: string;
|
|
195
|
-
label: string;
|
|
196
|
-
text: string;
|
|
197
|
-
})[] | undefined;
|
|
198
|
-
sortOrder?: number | undefined;
|
|
199
|
-
}>;
|
|
74
|
+
}, z.core.$strip>;
|
|
200
75
|
export declare const breadcrumbOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
201
76
|
hideFromBreadcrumbs: z.ZodLiteral<true>;
|
|
202
77
|
breadcrumbTextFormat: z.ZodOptional<z.ZodNever>;
|
|
203
|
-
},
|
|
204
|
-
hideFromBreadcrumbs: true;
|
|
205
|
-
breadcrumbTextFormat?: undefined;
|
|
206
|
-
}, {
|
|
207
|
-
hideFromBreadcrumbs: true;
|
|
208
|
-
breadcrumbTextFormat?: undefined;
|
|
209
|
-
}>, z.ZodObject<{
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
210
79
|
hideFromBreadcrumbs: z.ZodDefault<z.ZodOptional<z.ZodLiteral<false>>>;
|
|
211
80
|
breadcrumbTextFormat: z.ZodString;
|
|
212
|
-
},
|
|
213
|
-
hideFromBreadcrumbs: false;
|
|
214
|
-
breadcrumbTextFormat: string;
|
|
215
|
-
}, {
|
|
216
|
-
breadcrumbTextFormat: string;
|
|
217
|
-
hideFromBreadcrumbs?: false | undefined;
|
|
218
|
-
}>]>;
|
|
81
|
+
}, z.core.$strip>]>;
|
|
219
82
|
export declare const documentTreeOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
220
83
|
hideFromDocumentTree: z.ZodLiteral<true>;
|
|
221
84
|
documentTreeFolderTextFormat: z.ZodOptional<z.ZodNever>;
|
|
222
|
-
},
|
|
223
|
-
hideFromDocumentTree: true;
|
|
224
|
-
documentTreeFolderTextFormat?: undefined;
|
|
225
|
-
}, {
|
|
226
|
-
hideFromDocumentTree: true;
|
|
227
|
-
documentTreeFolderTextFormat?: undefined;
|
|
228
|
-
}>, z.ZodObject<{
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
86
|
hideFromDocumentTree: z.ZodOptional<z.ZodLiteral<false>>;
|
|
230
87
|
documentTreeFolderTextFormat: z.ZodString;
|
|
231
|
-
},
|
|
232
|
-
documentTreeFolderTextFormat: string;
|
|
233
|
-
hideFromDocumentTree?: false | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
documentTreeFolderTextFormat: string;
|
|
236
|
-
hideFromDocumentTree?: false | undefined;
|
|
237
|
-
}>]>;
|
|
88
|
+
}, z.core.$strip>]>;
|
|
238
89
|
export declare const criteriaTreeOptionsSchema: z.ZodObject<{
|
|
239
90
|
criteriaTreeElementTextFormat: z.ZodString;
|
|
240
|
-
},
|
|
241
|
-
criteriaTreeElementTextFormat: string;
|
|
242
|
-
}, {
|
|
243
|
-
criteriaTreeElementTextFormat: string;
|
|
244
|
-
}>;
|
|
91
|
+
}, z.core.$strip>;
|
|
245
92
|
export declare const reportOptionsSchema: z.ZodObject<{
|
|
246
93
|
reportTitleTextFormat: z.ZodOptional<z.ZodString>;
|
|
247
|
-
},
|
|
248
|
-
reportTitleTextFormat?: string | undefined;
|
|
249
|
-
}, {
|
|
250
|
-
reportTitleTextFormat?: string | undefined;
|
|
251
|
-
}>;
|
|
94
|
+
}, z.core.$strip>;
|
|
252
95
|
export declare const treeResultSchema: z.ZodObject<{
|
|
253
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
259
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
260
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
261
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
262
|
-
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
263
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
264
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
265
|
-
text: z.ZodOptional<z.ZodString>;
|
|
266
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
267
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
268
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
269
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
270
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
271
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
272
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
273
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
96
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
number: "number";
|
|
98
|
+
boolean: "boolean";
|
|
99
|
+
percentage: "percentage";
|
|
100
|
+
}>>;
|
|
274
101
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
275
102
|
text: z.ZodOptional<z.ZodString>;
|
|
276
103
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -279,4 +106,4 @@ export declare const treeResultSchema: z.ZodObject<{
|
|
|
279
106
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
280
107
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
281
108
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
282
|
-
}, z.ZodAny
|
|
109
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const DASHBOARD_CATEGORY_LISTING_TYPES: readonly ["per-criteria", "per-task"];
|
|
3
|
-
export declare const dashboardCategoryListingTypeSchema: z.ZodEnum<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
dashboardRenderingType: "per-criteria" | "per-task";
|
|
8
|
-
}, {
|
|
9
|
-
dashboardRenderingType: "per-criteria" | "per-task";
|
|
3
|
+
export declare const dashboardCategoryListingTypeSchema: z.ZodEnum<{
|
|
4
|
+
"per-criteria": "per-criteria";
|
|
5
|
+
"per-task": "per-task";
|
|
10
6
|
}>;
|
|
7
|
+
export declare const criteriaSetOptionsSchema: z.ZodObject<{
|
|
8
|
+
dashboardRenderingType: z.ZodEnum<{
|
|
9
|
+
"per-criteria": "per-criteria";
|
|
10
|
+
"per-task": "per-task";
|
|
11
|
+
}>;
|
|
12
|
+
}, z.core.$strip>;
|