@openframe-org/criteria-set-protocol 2.4.2 → 2.5.0-alpha.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,6 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const elementDataMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
3
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
3
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4
|
+
number: "number";
|
|
5
|
+
boolean: "boolean";
|
|
6
|
+
percentage: "percentage";
|
|
7
|
+
}>>;
|
|
4
8
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
5
9
|
text: z.ZodOptional<z.ZodString>;
|
|
6
10
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9,8 +13,12 @@ export declare const elementDataMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[
|
|
|
9
13
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
10
14
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
11
15
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
12
|
-
},
|
|
13
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
16
|
+
}, z.core.$catchall<z.ZodAny>>, z.ZodIntersection<z.ZodObject<{
|
|
17
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
number: "number";
|
|
19
|
+
boolean: "boolean";
|
|
20
|
+
percentage: "percentage";
|
|
21
|
+
}>>;
|
|
14
22
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
15
23
|
text: z.ZodOptional<z.ZodString>;
|
|
16
24
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -19,81 +27,19 @@ export declare const elementDataMapSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[
|
|
|
19
27
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
20
28
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
21
29
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
22
|
-
}, z.ZodAny
|
|
23
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
24
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
25
|
-
text: z.ZodOptional<z.ZodString>;
|
|
26
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
31
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
32
|
-
}, z.ZodAny, "strip">>, z.ZodIntersection<z.ZodObject<{
|
|
33
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
34
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
35
|
-
text: z.ZodOptional<z.ZodString>;
|
|
36
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
41
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
42
|
-
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
43
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
44
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
45
|
-
text: z.ZodOptional<z.ZodString>;
|
|
46
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
49
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
50
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
52
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
53
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
54
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
55
|
-
text: z.ZodOptional<z.ZodString>;
|
|
56
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
59
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
60
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
61
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
62
|
-
}, z.ZodAny, "strip">>, z.ZodObject<{
|
|
30
|
+
}, z.core.$catchall<z.ZodAny>>, z.ZodObject<{
|
|
63
31
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
-
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]
|
|
65
|
-
},
|
|
66
|
-
readOnly?: boolean | undefined;
|
|
67
|
-
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
readOnly?: boolean | undefined;
|
|
70
|
-
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
71
|
-
}>>]>>;
|
|
32
|
+
valueReference: z.ZodOptional<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]>>]>>;
|
|
33
|
+
}, z.core.$strip>>]>>;
|
|
72
34
|
export declare const dataMapSchema: z.ZodObject<{
|
|
73
35
|
version: z.ZodString;
|
|
74
36
|
revision: z.ZodString;
|
|
75
37
|
elements: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
76
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
82
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
83
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
84
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
85
|
-
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
86
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
87
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
88
|
-
text: z.ZodOptional<z.ZodString>;
|
|
89
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
90
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
91
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
92
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
93
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
94
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
95
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
96
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
38
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
number: "number";
|
|
40
|
+
boolean: "boolean";
|
|
41
|
+
percentage: "percentage";
|
|
42
|
+
}>>;
|
|
97
43
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
98
44
|
text: z.ZodOptional<z.ZodString>;
|
|
99
45
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -102,8 +48,12 @@ export declare const dataMapSchema: z.ZodObject<{
|
|
|
102
48
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
103
49
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
104
50
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
105
|
-
}, z.ZodAny
|
|
106
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
51
|
+
}, z.core.$catchall<z.ZodAny>>, z.ZodIntersection<z.ZodObject<{
|
|
52
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
number: "number";
|
|
54
|
+
boolean: "boolean";
|
|
55
|
+
percentage: "percentage";
|
|
56
|
+
}>>;
|
|
107
57
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
108
58
|
text: z.ZodOptional<z.ZodString>;
|
|
109
59
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -112,114 +62,16 @@ export declare const dataMapSchema: z.ZodObject<{
|
|
|
112
62
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
113
63
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
114
64
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
115
|
-
},
|
|
116
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
117
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
118
|
-
text: z.ZodOptional<z.ZodString>;
|
|
119
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
120
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
121
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
122
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
123
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
124
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
125
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
126
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
127
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
128
|
-
text: z.ZodOptional<z.ZodString>;
|
|
129
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
133
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
134
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
}, z.ZodAny, "strip">>, z.ZodObject<{
|
|
65
|
+
}, z.core.$catchall<z.ZodAny>>, z.ZodObject<{
|
|
136
66
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
-
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]
|
|
138
|
-
},
|
|
139
|
-
readOnly?: boolean | undefined;
|
|
140
|
-
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
readOnly?: boolean | undefined;
|
|
143
|
-
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
144
|
-
}>>]>>;
|
|
67
|
+
valueReference: z.ZodOptional<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]>>]>>;
|
|
68
|
+
}, z.core.$strip>>]>>;
|
|
145
69
|
result: z.ZodObject<{
|
|
146
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
152
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
153
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
154
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
155
|
-
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
156
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
157
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
158
|
-
text: z.ZodOptional<z.ZodString>;
|
|
159
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
160
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
161
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
162
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
163
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
164
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
165
|
-
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
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
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
175
|
-
}, z.ZodAny, "strip">>;
|
|
176
|
-
certifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
elements: Record<string, z.objectOutputType<{
|
|
179
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
180
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
181
|
-
text: z.ZodOptional<z.ZodString>;
|
|
182
|
-
total: z.ZodOptional<z.ZodNumber>;
|
|
183
|
-
maximumValue: z.ZodOptional<z.ZodNumber>;
|
|
184
|
-
minimumValue: z.ZodOptional<z.ZodNumber>;
|
|
185
|
-
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
186
|
-
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
187
|
-
weight: z.ZodOptional<z.ZodNumber>;
|
|
188
|
-
}, z.ZodAny, "strip"> | ({
|
|
189
|
-
type?: "number" | "boolean" | "percentage" | undefined;
|
|
190
|
-
total?: number | undefined;
|
|
191
|
-
value?: number | boolean | undefined;
|
|
192
|
-
text?: string | undefined;
|
|
193
|
-
maximumValue?: number | undefined;
|
|
194
|
-
minimumValue?: number | undefined;
|
|
195
|
-
exclusiveMaximum?: number | undefined;
|
|
196
|
-
exclusiveMinimum?: number | undefined;
|
|
197
|
-
weight?: number | undefined;
|
|
198
|
-
} & {
|
|
199
|
-
[k: string]: any;
|
|
200
|
-
} & {
|
|
201
|
-
readOnly?: boolean | undefined;
|
|
202
|
-
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
203
|
-
})>;
|
|
204
|
-
version: string;
|
|
205
|
-
revision: string;
|
|
206
|
-
result: {
|
|
207
|
-
type?: "number" | "boolean" | "percentage" | undefined;
|
|
208
|
-
total?: number | undefined;
|
|
209
|
-
value?: number | boolean | undefined;
|
|
210
|
-
text?: string | undefined;
|
|
211
|
-
maximumValue?: number | undefined;
|
|
212
|
-
minimumValue?: number | undefined;
|
|
213
|
-
exclusiveMaximum?: number | undefined;
|
|
214
|
-
exclusiveMinimum?: number | undefined;
|
|
215
|
-
weight?: number | undefined;
|
|
216
|
-
} & {
|
|
217
|
-
[k: string]: any;
|
|
218
|
-
};
|
|
219
|
-
certifications?: string[] | undefined;
|
|
220
|
-
}, {
|
|
221
|
-
elements: Record<string, z.objectInputType<{
|
|
222
|
-
type: z.ZodOptional<z.ZodEnum<["number", "percentage", "boolean"]>>;
|
|
70
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
number: "number";
|
|
72
|
+
boolean: "boolean";
|
|
73
|
+
percentage: "percentage";
|
|
74
|
+
}>>;
|
|
223
75
|
value: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
|
|
224
76
|
text: z.ZodOptional<z.ZodString>;
|
|
225
77
|
total: z.ZodOptional<z.ZodNumber>;
|
|
@@ -228,36 +80,6 @@ export declare const dataMapSchema: z.ZodObject<{
|
|
|
228
80
|
exclusiveMaximum: z.ZodOptional<z.ZodNumber>;
|
|
229
81
|
exclusiveMinimum: z.ZodOptional<z.ZodNumber>;
|
|
230
82
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
231
|
-
}, z.ZodAny
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
value?: number | boolean | undefined;
|
|
235
|
-
text?: string | undefined;
|
|
236
|
-
maximumValue?: number | undefined;
|
|
237
|
-
minimumValue?: number | undefined;
|
|
238
|
-
exclusiveMaximum?: number | undefined;
|
|
239
|
-
exclusiveMinimum?: number | undefined;
|
|
240
|
-
weight?: number | undefined;
|
|
241
|
-
} & {
|
|
242
|
-
[k: string]: any;
|
|
243
|
-
} & {
|
|
244
|
-
readOnly?: boolean | undefined;
|
|
245
|
-
valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
|
|
246
|
-
})>;
|
|
247
|
-
version: string;
|
|
248
|
-
revision: string;
|
|
249
|
-
result: {
|
|
250
|
-
type?: "number" | "boolean" | "percentage" | undefined;
|
|
251
|
-
total?: number | undefined;
|
|
252
|
-
value?: number | boolean | undefined;
|
|
253
|
-
text?: string | undefined;
|
|
254
|
-
maximumValue?: number | undefined;
|
|
255
|
-
minimumValue?: number | undefined;
|
|
256
|
-
exclusiveMaximum?: number | undefined;
|
|
257
|
-
exclusiveMinimum?: number | undefined;
|
|
258
|
-
weight?: number | undefined;
|
|
259
|
-
} & {
|
|
260
|
-
[k: string]: any;
|
|
261
|
-
};
|
|
262
|
-
certifications?: string[] | undefined;
|
|
263
|
-
}>;
|
|
83
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
84
|
+
certifications: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
|
+
}, z.core.$strip>;
|
|
@@ -2,94 +2,32 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const pdfDocumentationItemSchema: z.ZodObject<{
|
|
3
3
|
label: z.ZodString;
|
|
4
4
|
text: z.ZodString;
|
|
5
|
-
} & {
|
|
6
5
|
type: z.ZodLiteral<"pdf">;
|
|
7
6
|
url: z.ZodString;
|
|
8
|
-
},
|
|
9
|
-
type: "pdf";
|
|
10
|
-
url: string;
|
|
11
|
-
label: string;
|
|
12
|
-
text: string;
|
|
13
|
-
}, {
|
|
14
|
-
type: "pdf";
|
|
15
|
-
url: string;
|
|
16
|
-
label: string;
|
|
17
|
-
text: string;
|
|
18
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
19
8
|
export declare const inlineDocumentationItemSchema: z.ZodObject<{
|
|
20
9
|
label: z.ZodString;
|
|
21
10
|
text: z.ZodString;
|
|
22
|
-
} & {
|
|
23
11
|
type: z.ZodLiteral<"text">;
|
|
24
|
-
},
|
|
25
|
-
type: "text";
|
|
26
|
-
label: string;
|
|
27
|
-
text: string;
|
|
28
|
-
}, {
|
|
29
|
-
type: "text";
|
|
30
|
-
label: string;
|
|
31
|
-
text: string;
|
|
32
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
33
13
|
export declare const linkDocumentationItemSchema: z.ZodObject<{
|
|
34
14
|
label: z.ZodString;
|
|
35
15
|
text: z.ZodString;
|
|
36
|
-
} & {
|
|
37
16
|
type: z.ZodLiteral<"link">;
|
|
38
17
|
url: z.ZodString;
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
url: string;
|
|
42
|
-
label: string;
|
|
43
|
-
text: string;
|
|
44
|
-
}, {
|
|
45
|
-
type: "link";
|
|
46
|
-
url: string;
|
|
47
|
-
label: string;
|
|
48
|
-
text: string;
|
|
49
|
-
}>;
|
|
50
|
-
export declare const documentationItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const documentationItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
51
20
|
label: z.ZodString;
|
|
52
21
|
text: z.ZodString;
|
|
53
|
-
} & {
|
|
54
22
|
type: z.ZodLiteral<"pdf">;
|
|
55
23
|
url: z.ZodString;
|
|
56
|
-
},
|
|
57
|
-
type: "pdf";
|
|
58
|
-
url: string;
|
|
59
|
-
label: string;
|
|
60
|
-
text: string;
|
|
61
|
-
}, {
|
|
62
|
-
type: "pdf";
|
|
63
|
-
url: string;
|
|
64
|
-
label: string;
|
|
65
|
-
text: string;
|
|
66
|
-
}>, z.ZodObject<{
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
25
|
label: z.ZodString;
|
|
68
26
|
text: z.ZodString;
|
|
69
|
-
} & {
|
|
70
27
|
type: z.ZodLiteral<"text">;
|
|
71
|
-
},
|
|
72
|
-
type: "text";
|
|
73
|
-
label: string;
|
|
74
|
-
text: string;
|
|
75
|
-
}, {
|
|
76
|
-
type: "text";
|
|
77
|
-
label: string;
|
|
78
|
-
text: string;
|
|
79
|
-
}>, z.ZodObject<{
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
80
29
|
label: z.ZodString;
|
|
81
30
|
text: z.ZodString;
|
|
82
|
-
} & {
|
|
83
31
|
type: z.ZodLiteral<"link">;
|
|
84
32
|
url: z.ZodString;
|
|
85
|
-
},
|
|
86
|
-
type: "link";
|
|
87
|
-
url: string;
|
|
88
|
-
label: string;
|
|
89
|
-
text: string;
|
|
90
|
-
}, {
|
|
91
|
-
type: "link";
|
|
92
|
-
url: string;
|
|
93
|
-
label: string;
|
|
94
|
-
text: string;
|
|
95
|
-
}>]>;
|
|
33
|
+
}, z.core.$strip>], "type">;
|
|
@@ -4,15 +4,7 @@ export declare const schemaDefinitionsSchema: z.ZodObject<{
|
|
|
4
4
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5
5
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6
6
|
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
|
-
},
|
|
8
|
-
parameters?: Record<string, any> | undefined;
|
|
9
|
-
result?: Record<string, any> | undefined;
|
|
10
|
-
properties?: Record<string, any> | undefined;
|
|
11
|
-
}, {
|
|
12
|
-
parameters?: Record<string, any> | undefined;
|
|
13
|
-
result?: Record<string, any> | undefined;
|
|
14
|
-
properties?: Record<string, any> | undefined;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
export declare const metadataSchema: z.ZodObject<{
|
|
17
9
|
id: z.ZodString;
|
|
18
10
|
version: z.ZodString;
|
|
@@ -23,53 +15,11 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
23
15
|
group: z.ZodString;
|
|
24
16
|
description: z.ZodString;
|
|
25
17
|
documentation: z.ZodOptional<z.ZodString>;
|
|
26
|
-
locales: z.ZodOptional<z.ZodArray<z.ZodString
|
|
18
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
19
|
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
28
20
|
schemas: z.ZodOptional<z.ZodObject<{
|
|
29
21
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30
22
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
31
23
|
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
result?: Record<string, any> | undefined;
|
|
35
|
-
properties?: Record<string, any> | undefined;
|
|
36
|
-
}, {
|
|
37
|
-
parameters?: Record<string, any> | undefined;
|
|
38
|
-
result?: Record<string, any> | undefined;
|
|
39
|
-
properties?: Record<string, any> | undefined;
|
|
40
|
-
}>>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
name: string;
|
|
43
|
-
id: string;
|
|
44
|
-
description: string;
|
|
45
|
-
group: string;
|
|
46
|
-
date: Date;
|
|
47
|
-
version: string;
|
|
48
|
-
revision: string;
|
|
49
|
-
shortName: string;
|
|
50
|
-
documentation?: string | undefined;
|
|
51
|
-
locales?: string[] | undefined;
|
|
52
|
-
defaultLocale?: string | undefined;
|
|
53
|
-
schemas?: {
|
|
54
|
-
parameters?: Record<string, any> | undefined;
|
|
55
|
-
result?: Record<string, any> | undefined;
|
|
56
|
-
properties?: Record<string, any> | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
name: string;
|
|
60
|
-
id: string;
|
|
61
|
-
description: string;
|
|
62
|
-
group: string;
|
|
63
|
-
date: Date;
|
|
64
|
-
version: string;
|
|
65
|
-
revision: string;
|
|
66
|
-
shortName: string;
|
|
67
|
-
documentation?: string | undefined;
|
|
68
|
-
locales?: string[] | undefined;
|
|
69
|
-
defaultLocale?: string | undefined;
|
|
70
|
-
schemas?: {
|
|
71
|
-
parameters?: Record<string, any> | undefined;
|
|
72
|
-
result?: Record<string, any> | undefined;
|
|
73
|
-
properties?: Record<string, any> | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
}>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
@@ -5,16 +5,6 @@ import { z } from "zod";
|
|
|
5
5
|
export declare const matrixRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
locale: z.ZodOptional<z.ZodString>;
|
|
7
7
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
|
-
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]
|
|
8
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, 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]>>]>>>;
|
|
9
9
|
additional: z.ZodOptional<z.ZodAny>;
|
|
10
|
-
},
|
|
11
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
12
|
-
locale?: string | undefined;
|
|
13
|
-
parameters?: Record<string, any> | undefined;
|
|
14
|
-
additional?: any;
|
|
15
|
-
}, {
|
|
16
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
17
|
-
locale?: string | undefined;
|
|
18
|
-
parameters?: Record<string, any> | undefined;
|
|
19
|
-
additional?: any;
|
|
20
|
-
}>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
@@ -5,13 +5,5 @@ import { z } from "zod";
|
|
|
5
5
|
export declare const treeAndDataRequestBodySchema: z.ZodOptional<z.ZodObject<{
|
|
6
6
|
locale: z.ZodOptional<z.ZodString>;
|
|
7
7
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
|
-
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]
|
|
9
|
-
},
|
|
10
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
11
|
-
locale?: string | undefined;
|
|
12
|
-
parameters?: Record<string, any> | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
values?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
|
|
15
|
-
locale?: string | undefined;
|
|
16
|
-
parameters?: Record<string, any> | undefined;
|
|
17
|
-
}>>;
|
|
8
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, 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]>>]>>>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
@@ -9,66 +9,16 @@ export declare const criteriaSetsAndVersionsSchema: z.ZodRecord<z.ZodString, z.Z
|
|
|
9
9
|
group: z.ZodString;
|
|
10
10
|
description: z.ZodString;
|
|
11
11
|
documentation: z.ZodOptional<z.ZodString>;
|
|
12
|
-
locales: z.ZodOptional<z.ZodArray<z.ZodString
|
|
12
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
13
|
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
14
14
|
schemas: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
16
16
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
17
17
|
result: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
result?: Record<string, any> | undefined;
|
|
21
|
-
properties?: Record<string, any> | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
parameters?: Record<string, any> | undefined;
|
|
24
|
-
result?: Record<string, any> | undefined;
|
|
25
|
-
properties?: Record<string, any> | undefined;
|
|
26
|
-
}>>;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
name: string;
|
|
29
|
-
id: string;
|
|
30
|
-
description: string;
|
|
31
|
-
group: string;
|
|
32
|
-
date: Date;
|
|
33
|
-
version: string;
|
|
34
|
-
revision: string;
|
|
35
|
-
shortName: string;
|
|
36
|
-
documentation?: string | undefined;
|
|
37
|
-
locales?: string[] | undefined;
|
|
38
|
-
defaultLocale?: string | undefined;
|
|
39
|
-
schemas?: {
|
|
40
|
-
parameters?: Record<string, any> | undefined;
|
|
41
|
-
result?: Record<string, any> | undefined;
|
|
42
|
-
properties?: Record<string, any> | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
}, {
|
|
45
|
-
name: string;
|
|
46
|
-
id: string;
|
|
47
|
-
description: string;
|
|
48
|
-
group: string;
|
|
49
|
-
date: Date;
|
|
50
|
-
version: string;
|
|
51
|
-
revision: string;
|
|
52
|
-
shortName: string;
|
|
53
|
-
documentation?: string | undefined;
|
|
54
|
-
locales?: string[] | undefined;
|
|
55
|
-
defaultLocale?: string | undefined;
|
|
56
|
-
schemas?: {
|
|
57
|
-
parameters?: Record<string, any> | undefined;
|
|
58
|
-
result?: Record<string, any> | undefined;
|
|
59
|
-
properties?: Record<string, any> | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
}>, "many">>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
62
20
|
export declare const streamMatrixResponseSchema: z.ZodObject<{
|
|
63
21
|
filename: z.ZodString;
|
|
64
22
|
contentType: z.ZodString;
|
|
65
23
|
stream: z.ZodAny;
|
|
66
|
-
},
|
|
67
|
-
filename: string;
|
|
68
|
-
contentType: string;
|
|
69
|
-
stream?: any;
|
|
70
|
-
}, {
|
|
71
|
-
filename: string;
|
|
72
|
-
contentType: string;
|
|
73
|
-
stream?: any;
|
|
74
|
-
}>;
|
|
24
|
+
}, z.core.$strip>;
|