@dmptool/types 1.0.8 → 1.1.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/answers/__tests__/answers.spec.js +18 -17
- package/dist/answers/index.d.ts +50 -25
- package/dist/answers/index.js +19 -17
- package/dist/answers/{primitiveAnswers.d.ts → numberAnswers.d.ts} +0 -100
- package/dist/answers/numberAnswers.js +25 -0
- package/dist/answers/tableAnswers.d.ts +48 -48
- package/dist/answers/tableAnswers.js +9 -8
- package/dist/answers/textAnswers.d.ts +101 -0
- package/dist/answers/textAnswers.js +22 -0
- package/dist/questions/__tests__/dateQuestions.spec.js +20 -74
- package/dist/questions/__tests__/graphQLQuestions.spec.js +6 -0
- package/dist/questions/__tests__/numberQuestions.spec.js +156 -0
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +41 -54
- package/dist/questions/__tests__/tableQuestion.spec.js +2 -0
- package/dist/questions/__tests__/textQuestions.spec.d.ts +1 -0
- package/dist/questions/__tests__/textQuestions.spec.js +120 -0
- package/dist/questions/dateQuestions.d.ts +159 -178
- package/dist/questions/dateQuestions.js +9 -15
- package/dist/questions/graphQLQuestions.d.ts +67 -38
- package/dist/questions/graphQLQuestions.js +3 -2
- package/dist/questions/index.d.ts +1616 -1356
- package/dist/questions/index.js +21 -19
- package/dist/questions/numberQuestions.d.ts +343 -0
- package/dist/questions/numberQuestions.js +34 -0
- package/dist/questions/optionBasedQuestions.d.ts +136 -158
- package/dist/questions/optionBasedQuestions.js +11 -20
- package/dist/questions/question.d.ts +29 -11
- package/dist/questions/question.js +10 -4
- package/dist/questions/tableQuestions.d.ts +2377 -2030
- package/dist/questions/tableQuestions.js +12 -10
- package/dist/questions/textQuestions.d.ts +261 -0
- package/dist/questions/textQuestions.js +42 -0
- package/dist/schemas/anyQuestion.schema.json +237 -239
- package/dist/schemas/anyTableColumnQuestion.schema.json +207 -217
- package/dist/schemas/booleanQuestion.schema.json +17 -12
- package/dist/schemas/checkboxesQuestion.schema.json +24 -27
- package/dist/schemas/currencyQuestion.schema.json +23 -18
- package/dist/schemas/dateQuestion.schema.json +21 -16
- package/dist/schemas/dateRangeQuestion.schema.json +31 -56
- package/dist/schemas/emailQuestion.schema.json +24 -19
- package/dist/schemas/filteredSearchQuestion.schema.json +18 -13
- package/dist/schemas/numberQuestion.schema.json +21 -16
- package/dist/schemas/numberRangeQuestion.schema.json +31 -56
- package/dist/schemas/radioButtonsQuestion.schema.json +24 -27
- package/dist/schemas/selectBoxQuestion.schema.json +27 -36
- package/dist/schemas/tableQuestion.schema.json +233 -235
- package/dist/schemas/textAreaQuestion.schema.json +22 -16
- package/dist/schemas/textQuestion.schema.json +21 -16
- package/dist/schemas/typeaheadSearchQuestion.schema.json +15 -4
- package/dist/schemas/urlQuestion.schema.json +21 -16
- package/package.json +1 -1
- package/dist/answers/primitiveAnswers.js +0 -41
- package/dist/questions/__tests__/primitiveQuestions.spec.js +0 -281
- package/dist/questions/primitiveQuestions.d.ts +0 -555
- package/dist/questions/primitiveQuestions.js +0 -86
- /package/dist/questions/__tests__/{primitiveQuestions.spec.d.ts → numberQuestions.spec.d.ts} +0 -0
|
@@ -1,478 +1,492 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { QuestionTypesEnum } from './question';
|
|
3
|
+
import { BooleanQuestionType, CurrencyQuestionType, NumberQuestionType, NumberRangeQuestionType } from "./numberQuestions";
|
|
4
|
+
import { EmailQuestionType, TextAreaQuestionType, TextQuestionType, URLQuestionType } from "./textQuestions";
|
|
5
|
+
import { DateQuestionType, DateRangeQuestionType } from "./dateQuestions";
|
|
6
|
+
import { CheckboxesQuestionType, RadioButtonsQuestionType, SelectBoxQuestionType } from './optionBasedQuestions';
|
|
7
|
+
import { FilteredSearchQuestionType, TypeaheadSearchQuestionType } from './graphQLQuestions';
|
|
8
|
+
import { TableQuestionType } from './tableQuestions';
|
|
3
9
|
export * from './question';
|
|
4
10
|
export * from './dateQuestions';
|
|
5
11
|
export * from './graphQLQuestions';
|
|
12
|
+
export * from './numberQuestions';
|
|
6
13
|
export * from './optionBasedQuestions';
|
|
7
|
-
export * from './primitiveQuestions';
|
|
8
14
|
export * from './tableQuestions';
|
|
15
|
+
export * from './textQuestions';
|
|
9
16
|
export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10
|
-
meta: z.ZodObject<{
|
|
17
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
11
18
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
12
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
13
19
|
}, "strip", z.ZodTypeAny, {
|
|
14
20
|
schemaVersion: "1.0";
|
|
15
|
-
labelTranslationKey?: string | undefined;
|
|
16
21
|
}, {
|
|
17
22
|
schemaVersion: "1.0";
|
|
18
|
-
|
|
19
|
-
}>;
|
|
23
|
+
}>>;
|
|
20
24
|
} & {
|
|
21
25
|
type: z.ZodLiteral<"boolean">;
|
|
22
26
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
label: z.ZodOptional<z.ZodString>;
|
|
28
|
+
help: z.ZodOptional<z.ZodString>;
|
|
29
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
30
|
+
} & {
|
|
23
31
|
checked: z.ZodOptional<z.ZodBoolean>;
|
|
24
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
help?: string | undefined;
|
|
35
|
+
labelTranslationKey?: string | undefined;
|
|
25
36
|
checked?: boolean | undefined;
|
|
26
37
|
}, {
|
|
38
|
+
label?: string | undefined;
|
|
39
|
+
help?: string | undefined;
|
|
40
|
+
labelTranslationKey?: string | undefined;
|
|
27
41
|
checked?: boolean | undefined;
|
|
28
42
|
}>>;
|
|
29
43
|
}, "strip", z.ZodTypeAny, {
|
|
30
44
|
type: "boolean";
|
|
31
|
-
meta: {
|
|
32
|
-
schemaVersion: "1.0";
|
|
33
|
-
labelTranslationKey?: string | undefined;
|
|
34
|
-
};
|
|
35
45
|
attributes?: {
|
|
46
|
+
label?: string | undefined;
|
|
47
|
+
help?: string | undefined;
|
|
48
|
+
labelTranslationKey?: string | undefined;
|
|
36
49
|
checked?: boolean | undefined;
|
|
37
50
|
} | undefined;
|
|
51
|
+
meta?: {
|
|
52
|
+
schemaVersion: "1.0";
|
|
53
|
+
} | undefined;
|
|
38
54
|
}, {
|
|
39
55
|
type: "boolean";
|
|
40
|
-
meta: {
|
|
41
|
-
schemaVersion: "1.0";
|
|
42
|
-
labelTranslationKey?: string | undefined;
|
|
43
|
-
};
|
|
44
56
|
attributes?: {
|
|
57
|
+
label?: string | undefined;
|
|
58
|
+
help?: string | undefined;
|
|
59
|
+
labelTranslationKey?: string | undefined;
|
|
45
60
|
checked?: boolean | undefined;
|
|
46
61
|
} | undefined;
|
|
62
|
+
meta?: {
|
|
63
|
+
schemaVersion: "1.0";
|
|
64
|
+
} | undefined;
|
|
47
65
|
}>, z.ZodObject<{
|
|
48
|
-
|
|
49
|
-
|
|
66
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
label: z.ZodOptional<z.ZodString>;
|
|
68
|
+
help: z.ZodOptional<z.ZodString>;
|
|
50
69
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
51
70
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
|
|
71
|
+
label?: string | undefined;
|
|
72
|
+
help?: string | undefined;
|
|
53
73
|
labelTranslationKey?: string | undefined;
|
|
54
74
|
}, {
|
|
55
|
-
|
|
75
|
+
label?: string | undefined;
|
|
76
|
+
help?: string | undefined;
|
|
56
77
|
labelTranslationKey?: string | undefined;
|
|
57
|
-
}
|
|
78
|
+
}>>;
|
|
79
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
schemaVersion: "1.0";
|
|
83
|
+
}, {
|
|
84
|
+
schemaVersion: "1.0";
|
|
85
|
+
}>>;
|
|
58
86
|
} & {
|
|
59
87
|
type: z.ZodLiteral<"checkBoxes">;
|
|
60
88
|
options: z.ZodArray<z.ZodObject<{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} & {
|
|
66
|
-
checked: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
value: string;
|
|
69
|
-
label: string;
|
|
70
|
-
checked?: boolean | undefined;
|
|
71
|
-
}, {
|
|
72
|
-
value: string;
|
|
73
|
-
label: string;
|
|
74
|
-
checked?: boolean | undefined;
|
|
75
|
-
}>;
|
|
89
|
+
label: z.ZodString;
|
|
90
|
+
value: z.ZodString;
|
|
91
|
+
} & {
|
|
92
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
76
93
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
label: string;
|
|
81
|
-
checked?: boolean | undefined;
|
|
82
|
-
};
|
|
94
|
+
value: string;
|
|
95
|
+
label: string;
|
|
96
|
+
checked?: boolean | undefined;
|
|
83
97
|
}, {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
label: string;
|
|
88
|
-
checked?: boolean | undefined;
|
|
89
|
-
};
|
|
98
|
+
value: string;
|
|
99
|
+
label: string;
|
|
100
|
+
checked?: boolean | undefined;
|
|
90
101
|
}>, "many">;
|
|
91
102
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
type: "checkBoxes";
|
|
93
103
|
options: {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
label: string;
|
|
98
|
-
checked?: boolean | undefined;
|
|
99
|
-
};
|
|
104
|
+
value: string;
|
|
105
|
+
label: string;
|
|
106
|
+
checked?: boolean | undefined;
|
|
100
107
|
}[];
|
|
101
|
-
|
|
102
|
-
|
|
108
|
+
type: "checkBoxes";
|
|
109
|
+
attributes?: {
|
|
110
|
+
label?: string | undefined;
|
|
111
|
+
help?: string | undefined;
|
|
103
112
|
labelTranslationKey?: string | undefined;
|
|
104
|
-
};
|
|
113
|
+
} | undefined;
|
|
114
|
+
meta?: {
|
|
115
|
+
schemaVersion: "1.0";
|
|
116
|
+
} | undefined;
|
|
105
117
|
}, {
|
|
106
|
-
type: "checkBoxes";
|
|
107
118
|
options: {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
label: string;
|
|
112
|
-
checked?: boolean | undefined;
|
|
113
|
-
};
|
|
119
|
+
value: string;
|
|
120
|
+
label: string;
|
|
121
|
+
checked?: boolean | undefined;
|
|
114
122
|
}[];
|
|
115
|
-
|
|
116
|
-
|
|
123
|
+
type: "checkBoxes";
|
|
124
|
+
attributes?: {
|
|
125
|
+
label?: string | undefined;
|
|
126
|
+
help?: string | undefined;
|
|
117
127
|
labelTranslationKey?: string | undefined;
|
|
118
|
-
};
|
|
128
|
+
} | undefined;
|
|
129
|
+
meta?: {
|
|
130
|
+
schemaVersion: "1.0";
|
|
131
|
+
} | undefined;
|
|
119
132
|
}>, z.ZodObject<{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
123
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
124
135
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
|
|
126
|
-
min?: number | undefined;
|
|
127
|
-
step?: number | undefined;
|
|
136
|
+
schemaVersion: "1.0";
|
|
128
137
|
}, {
|
|
129
|
-
|
|
130
|
-
min?: number | undefined;
|
|
131
|
-
step?: number | undefined;
|
|
138
|
+
schemaVersion: "1.0";
|
|
132
139
|
}>>;
|
|
133
140
|
} & {
|
|
134
141
|
type: z.ZodLiteral<"currency">;
|
|
135
|
-
|
|
136
|
-
|
|
142
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
label: z.ZodOptional<z.ZodString>;
|
|
144
|
+
help: z.ZodOptional<z.ZodString>;
|
|
137
145
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
146
|
+
} & {
|
|
147
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
138
150
|
} & {
|
|
139
151
|
denomination: z.ZodOptional<z.ZodString>;
|
|
140
152
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
|
|
153
|
+
label?: string | undefined;
|
|
154
|
+
help?: string | undefined;
|
|
142
155
|
labelTranslationKey?: string | undefined;
|
|
156
|
+
max?: number | undefined;
|
|
157
|
+
min?: number | undefined;
|
|
158
|
+
step?: number | undefined;
|
|
143
159
|
denomination?: string | undefined;
|
|
144
160
|
}, {
|
|
145
|
-
|
|
161
|
+
label?: string | undefined;
|
|
162
|
+
help?: string | undefined;
|
|
146
163
|
labelTranslationKey?: string | undefined;
|
|
164
|
+
max?: number | undefined;
|
|
165
|
+
min?: number | undefined;
|
|
166
|
+
step?: number | undefined;
|
|
147
167
|
denomination?: string | undefined;
|
|
148
|
-
}
|
|
168
|
+
}>>;
|
|
149
169
|
}, "strip", z.ZodTypeAny, {
|
|
150
170
|
type: "currency";
|
|
151
|
-
meta: {
|
|
152
|
-
schemaVersion: "1.0";
|
|
153
|
-
labelTranslationKey?: string | undefined;
|
|
154
|
-
denomination?: string | undefined;
|
|
155
|
-
};
|
|
156
171
|
attributes?: {
|
|
172
|
+
label?: string | undefined;
|
|
173
|
+
help?: string | undefined;
|
|
174
|
+
labelTranslationKey?: string | undefined;
|
|
157
175
|
max?: number | undefined;
|
|
158
176
|
min?: number | undefined;
|
|
159
177
|
step?: number | undefined;
|
|
178
|
+
denomination?: string | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
meta?: {
|
|
181
|
+
schemaVersion: "1.0";
|
|
160
182
|
} | undefined;
|
|
161
183
|
}, {
|
|
162
184
|
type: "currency";
|
|
163
|
-
meta: {
|
|
164
|
-
schemaVersion: "1.0";
|
|
165
|
-
labelTranslationKey?: string | undefined;
|
|
166
|
-
denomination?: string | undefined;
|
|
167
|
-
};
|
|
168
185
|
attributes?: {
|
|
186
|
+
label?: string | undefined;
|
|
187
|
+
help?: string | undefined;
|
|
188
|
+
labelTranslationKey?: string | undefined;
|
|
169
189
|
max?: number | undefined;
|
|
170
190
|
min?: number | undefined;
|
|
171
191
|
step?: number | undefined;
|
|
192
|
+
denomination?: string | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
meta?: {
|
|
195
|
+
schemaVersion: "1.0";
|
|
172
196
|
} | undefined;
|
|
173
197
|
}>, z.ZodObject<{
|
|
174
|
-
meta: z.ZodObject<{
|
|
198
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
175
199
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
176
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
177
200
|
}, "strip", z.ZodTypeAny, {
|
|
178
201
|
schemaVersion: "1.0";
|
|
179
|
-
labelTranslationKey?: string | undefined;
|
|
180
202
|
}, {
|
|
181
203
|
schemaVersion: "1.0";
|
|
182
|
-
|
|
183
|
-
}>;
|
|
204
|
+
}>>;
|
|
184
205
|
} & {
|
|
185
206
|
type: z.ZodLiteral<"date">;
|
|
186
207
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
label: z.ZodOptional<z.ZodString>;
|
|
209
|
+
help: z.ZodOptional<z.ZodString>;
|
|
210
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
211
|
+
} & {
|
|
187
212
|
max: z.ZodOptional<z.ZodString>;
|
|
188
213
|
min: z.ZodOptional<z.ZodString>;
|
|
189
214
|
step: z.ZodOptional<z.ZodNumber>;
|
|
190
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
label?: string | undefined;
|
|
217
|
+
help?: string | undefined;
|
|
218
|
+
labelTranslationKey?: string | undefined;
|
|
191
219
|
max?: string | undefined;
|
|
192
220
|
min?: string | undefined;
|
|
193
221
|
step?: number | undefined;
|
|
194
222
|
}, {
|
|
223
|
+
label?: string | undefined;
|
|
224
|
+
help?: string | undefined;
|
|
225
|
+
labelTranslationKey?: string | undefined;
|
|
195
226
|
max?: string | undefined;
|
|
196
227
|
min?: string | undefined;
|
|
197
228
|
step?: number | undefined;
|
|
198
229
|
}>>;
|
|
199
230
|
}, "strip", z.ZodTypeAny, {
|
|
200
231
|
type: "date";
|
|
201
|
-
meta: {
|
|
202
|
-
schemaVersion: "1.0";
|
|
203
|
-
labelTranslationKey?: string | undefined;
|
|
204
|
-
};
|
|
205
232
|
attributes?: {
|
|
233
|
+
label?: string | undefined;
|
|
234
|
+
help?: string | undefined;
|
|
235
|
+
labelTranslationKey?: string | undefined;
|
|
206
236
|
max?: string | undefined;
|
|
207
237
|
min?: string | undefined;
|
|
208
238
|
step?: number | undefined;
|
|
209
239
|
} | undefined;
|
|
240
|
+
meta?: {
|
|
241
|
+
schemaVersion: "1.0";
|
|
242
|
+
} | undefined;
|
|
210
243
|
}, {
|
|
211
244
|
type: "date";
|
|
212
|
-
meta: {
|
|
213
|
-
schemaVersion: "1.0";
|
|
214
|
-
labelTranslationKey?: string | undefined;
|
|
215
|
-
};
|
|
216
245
|
attributes?: {
|
|
246
|
+
label?: string | undefined;
|
|
247
|
+
help?: string | undefined;
|
|
248
|
+
labelTranslationKey?: string | undefined;
|
|
217
249
|
max?: string | undefined;
|
|
218
250
|
min?: string | undefined;
|
|
219
251
|
step?: number | undefined;
|
|
220
252
|
} | undefined;
|
|
253
|
+
meta?: {
|
|
254
|
+
schemaVersion: "1.0";
|
|
255
|
+
} | undefined;
|
|
221
256
|
}>, z.ZodObject<{
|
|
222
|
-
|
|
223
|
-
|
|
257
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
258
|
+
label: z.ZodOptional<z.ZodString>;
|
|
259
|
+
help: z.ZodOptional<z.ZodString>;
|
|
224
260
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
225
261
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
-
|
|
262
|
+
label?: string | undefined;
|
|
263
|
+
help?: string | undefined;
|
|
227
264
|
labelTranslationKey?: string | undefined;
|
|
228
265
|
}, {
|
|
229
|
-
|
|
266
|
+
label?: string | undefined;
|
|
267
|
+
help?: string | undefined;
|
|
230
268
|
labelTranslationKey?: string | undefined;
|
|
231
|
-
}
|
|
269
|
+
}>>;
|
|
270
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
272
|
+
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
schemaVersion: "1.0";
|
|
274
|
+
}, {
|
|
275
|
+
schemaVersion: "1.0";
|
|
276
|
+
}>>;
|
|
232
277
|
} & {
|
|
233
278
|
type: z.ZodLiteral<"dateRange">;
|
|
234
279
|
columns: z.ZodObject<{
|
|
235
|
-
start: z.ZodObject<{
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
schemaVersion: "1.0";
|
|
241
|
-
labelTranslationKey?: string | undefined;
|
|
242
|
-
}, {
|
|
243
|
-
schemaVersion: "1.0";
|
|
244
|
-
labelTranslationKey?: string | undefined;
|
|
245
|
-
}>;
|
|
246
|
-
type: z.ZodLiteral<"date">;
|
|
280
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
label: z.ZodOptional<z.ZodString>;
|
|
282
|
+
help: z.ZodOptional<z.ZodString>;
|
|
283
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
247
284
|
} & {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
label: string;
|
|
252
|
-
}, {
|
|
253
|
-
label: string;
|
|
254
|
-
}>;
|
|
285
|
+
max: z.ZodOptional<z.ZodString>;
|
|
286
|
+
min: z.ZodOptional<z.ZodString>;
|
|
287
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
255
288
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
label: string;
|
|
263
|
-
};
|
|
289
|
+
label?: string | undefined;
|
|
290
|
+
help?: string | undefined;
|
|
291
|
+
labelTranslationKey?: string | undefined;
|
|
292
|
+
max?: string | undefined;
|
|
293
|
+
min?: string | undefined;
|
|
294
|
+
step?: number | undefined;
|
|
264
295
|
}, {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
277
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
278
|
-
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
schemaVersion: "1.0";
|
|
280
|
-
labelTranslationKey?: string | undefined;
|
|
281
|
-
}, {
|
|
282
|
-
schemaVersion: "1.0";
|
|
283
|
-
labelTranslationKey?: string | undefined;
|
|
284
|
-
}>;
|
|
285
|
-
type: z.ZodLiteral<"date">;
|
|
296
|
+
label?: string | undefined;
|
|
297
|
+
help?: string | undefined;
|
|
298
|
+
labelTranslationKey?: string | undefined;
|
|
299
|
+
max?: string | undefined;
|
|
300
|
+
min?: string | undefined;
|
|
301
|
+
step?: number | undefined;
|
|
302
|
+
}>>;
|
|
303
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
label: z.ZodOptional<z.ZodString>;
|
|
305
|
+
help: z.ZodOptional<z.ZodString>;
|
|
306
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
286
307
|
} & {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
label: string;
|
|
291
|
-
}, {
|
|
292
|
-
label: string;
|
|
293
|
-
}>;
|
|
308
|
+
max: z.ZodOptional<z.ZodString>;
|
|
309
|
+
min: z.ZodOptional<z.ZodString>;
|
|
310
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
294
311
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
label: string;
|
|
302
|
-
};
|
|
312
|
+
label?: string | undefined;
|
|
313
|
+
help?: string | undefined;
|
|
314
|
+
labelTranslationKey?: string | undefined;
|
|
315
|
+
max?: string | undefined;
|
|
316
|
+
min?: string | undefined;
|
|
317
|
+
step?: number | undefined;
|
|
303
318
|
}, {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
};
|
|
312
|
-
}>;
|
|
319
|
+
label?: string | undefined;
|
|
320
|
+
help?: string | undefined;
|
|
321
|
+
labelTranslationKey?: string | undefined;
|
|
322
|
+
max?: string | undefined;
|
|
323
|
+
min?: string | undefined;
|
|
324
|
+
step?: number | undefined;
|
|
325
|
+
}>>;
|
|
313
326
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
start
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
attributes: {
|
|
331
|
-
label: string;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
327
|
+
start?: {
|
|
328
|
+
label?: string | undefined;
|
|
329
|
+
help?: string | undefined;
|
|
330
|
+
labelTranslationKey?: string | undefined;
|
|
331
|
+
max?: string | undefined;
|
|
332
|
+
min?: string | undefined;
|
|
333
|
+
step?: number | undefined;
|
|
334
|
+
} | undefined;
|
|
335
|
+
end?: {
|
|
336
|
+
label?: string | undefined;
|
|
337
|
+
help?: string | undefined;
|
|
338
|
+
labelTranslationKey?: string | undefined;
|
|
339
|
+
max?: string | undefined;
|
|
340
|
+
min?: string | undefined;
|
|
341
|
+
step?: number | undefined;
|
|
342
|
+
} | undefined;
|
|
334
343
|
}, {
|
|
335
|
-
start
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
attributes: {
|
|
352
|
-
label: string;
|
|
353
|
-
};
|
|
354
|
-
};
|
|
344
|
+
start?: {
|
|
345
|
+
label?: string | undefined;
|
|
346
|
+
help?: string | undefined;
|
|
347
|
+
labelTranslationKey?: string | undefined;
|
|
348
|
+
max?: string | undefined;
|
|
349
|
+
min?: string | undefined;
|
|
350
|
+
step?: number | undefined;
|
|
351
|
+
} | undefined;
|
|
352
|
+
end?: {
|
|
353
|
+
label?: string | undefined;
|
|
354
|
+
help?: string | undefined;
|
|
355
|
+
labelTranslationKey?: string | undefined;
|
|
356
|
+
max?: string | undefined;
|
|
357
|
+
min?: string | undefined;
|
|
358
|
+
step?: number | undefined;
|
|
359
|
+
} | undefined;
|
|
355
360
|
}>;
|
|
356
361
|
}, "strip", z.ZodTypeAny, {
|
|
357
362
|
type: "dateRange";
|
|
358
|
-
meta: {
|
|
359
|
-
schemaVersion: "1.0";
|
|
360
|
-
labelTranslationKey?: string | undefined;
|
|
361
|
-
};
|
|
362
363
|
columns: {
|
|
363
|
-
start
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
attributes: {
|
|
380
|
-
label: string;
|
|
381
|
-
};
|
|
382
|
-
};
|
|
364
|
+
start?: {
|
|
365
|
+
label?: string | undefined;
|
|
366
|
+
help?: string | undefined;
|
|
367
|
+
labelTranslationKey?: string | undefined;
|
|
368
|
+
max?: string | undefined;
|
|
369
|
+
min?: string | undefined;
|
|
370
|
+
step?: number | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
end?: {
|
|
373
|
+
label?: string | undefined;
|
|
374
|
+
help?: string | undefined;
|
|
375
|
+
labelTranslationKey?: string | undefined;
|
|
376
|
+
max?: string | undefined;
|
|
377
|
+
min?: string | undefined;
|
|
378
|
+
step?: number | undefined;
|
|
379
|
+
} | undefined;
|
|
383
380
|
};
|
|
381
|
+
attributes?: {
|
|
382
|
+
label?: string | undefined;
|
|
383
|
+
help?: string | undefined;
|
|
384
|
+
labelTranslationKey?: string | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
meta?: {
|
|
387
|
+
schemaVersion: "1.0";
|
|
388
|
+
} | undefined;
|
|
384
389
|
}, {
|
|
385
390
|
type: "dateRange";
|
|
386
|
-
meta: {
|
|
387
|
-
schemaVersion: "1.0";
|
|
388
|
-
labelTranslationKey?: string | undefined;
|
|
389
|
-
};
|
|
390
391
|
columns: {
|
|
391
|
-
start
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
attributes: {
|
|
408
|
-
label: string;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
392
|
+
start?: {
|
|
393
|
+
label?: string | undefined;
|
|
394
|
+
help?: string | undefined;
|
|
395
|
+
labelTranslationKey?: string | undefined;
|
|
396
|
+
max?: string | undefined;
|
|
397
|
+
min?: string | undefined;
|
|
398
|
+
step?: number | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
end?: {
|
|
401
|
+
label?: string | undefined;
|
|
402
|
+
help?: string | undefined;
|
|
403
|
+
labelTranslationKey?: string | undefined;
|
|
404
|
+
max?: string | undefined;
|
|
405
|
+
min?: string | undefined;
|
|
406
|
+
step?: number | undefined;
|
|
407
|
+
} | undefined;
|
|
411
408
|
};
|
|
409
|
+
attributes?: {
|
|
410
|
+
label?: string | undefined;
|
|
411
|
+
help?: string | undefined;
|
|
412
|
+
labelTranslationKey?: string | undefined;
|
|
413
|
+
} | undefined;
|
|
414
|
+
meta?: {
|
|
415
|
+
schemaVersion: "1.0";
|
|
416
|
+
} | undefined;
|
|
412
417
|
}>, z.ZodObject<{
|
|
413
|
-
meta: z.ZodObject<{
|
|
418
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
414
419
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
415
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
416
420
|
}, "strip", z.ZodTypeAny, {
|
|
417
421
|
schemaVersion: "1.0";
|
|
418
|
-
labelTranslationKey?: string | undefined;
|
|
419
422
|
}, {
|
|
420
423
|
schemaVersion: "1.0";
|
|
421
|
-
|
|
422
|
-
}>;
|
|
424
|
+
}>>;
|
|
423
425
|
} & {
|
|
424
426
|
type: z.ZodLiteral<"email">;
|
|
425
427
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
428
|
+
label: z.ZodOptional<z.ZodString>;
|
|
429
|
+
help: z.ZodOptional<z.ZodString>;
|
|
430
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
431
|
+
} & {
|
|
426
432
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
427
433
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
428
|
-
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
429
434
|
pattern: z.ZodOptional<z.ZodString>;
|
|
435
|
+
} & {
|
|
436
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
430
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
label?: string | undefined;
|
|
439
|
+
help?: string | undefined;
|
|
440
|
+
labelTranslationKey?: string | undefined;
|
|
431
441
|
maxLength?: number | undefined;
|
|
432
442
|
minLength?: number | undefined;
|
|
433
|
-
multiple?: boolean | undefined;
|
|
434
443
|
pattern?: string | undefined;
|
|
444
|
+
multiple?: boolean | undefined;
|
|
435
445
|
}, {
|
|
446
|
+
label?: string | undefined;
|
|
447
|
+
help?: string | undefined;
|
|
448
|
+
labelTranslationKey?: string | undefined;
|
|
436
449
|
maxLength?: number | undefined;
|
|
437
450
|
minLength?: number | undefined;
|
|
438
|
-
multiple?: boolean | undefined;
|
|
439
451
|
pattern?: string | undefined;
|
|
452
|
+
multiple?: boolean | undefined;
|
|
440
453
|
}>>;
|
|
441
454
|
}, "strip", z.ZodTypeAny, {
|
|
442
455
|
type: "email";
|
|
443
|
-
meta: {
|
|
444
|
-
schemaVersion: "1.0";
|
|
445
|
-
labelTranslationKey?: string | undefined;
|
|
446
|
-
};
|
|
447
456
|
attributes?: {
|
|
457
|
+
label?: string | undefined;
|
|
458
|
+
help?: string | undefined;
|
|
459
|
+
labelTranslationKey?: string | undefined;
|
|
448
460
|
maxLength?: number | undefined;
|
|
449
461
|
minLength?: number | undefined;
|
|
450
|
-
multiple?: boolean | undefined;
|
|
451
462
|
pattern?: string | undefined;
|
|
463
|
+
multiple?: boolean | undefined;
|
|
464
|
+
} | undefined;
|
|
465
|
+
meta?: {
|
|
466
|
+
schemaVersion: "1.0";
|
|
452
467
|
} | undefined;
|
|
453
468
|
}, {
|
|
454
469
|
type: "email";
|
|
455
|
-
meta: {
|
|
456
|
-
schemaVersion: "1.0";
|
|
457
|
-
labelTranslationKey?: string | undefined;
|
|
458
|
-
};
|
|
459
470
|
attributes?: {
|
|
471
|
+
label?: string | undefined;
|
|
472
|
+
help?: string | undefined;
|
|
473
|
+
labelTranslationKey?: string | undefined;
|
|
460
474
|
maxLength?: number | undefined;
|
|
461
475
|
minLength?: number | undefined;
|
|
462
|
-
multiple?: boolean | undefined;
|
|
463
476
|
pattern?: string | undefined;
|
|
477
|
+
multiple?: boolean | undefined;
|
|
478
|
+
} | undefined;
|
|
479
|
+
meta?: {
|
|
480
|
+
schemaVersion: "1.0";
|
|
464
481
|
} | undefined;
|
|
465
482
|
}>, z.ZodObject<{
|
|
466
|
-
meta: z.ZodObject<{
|
|
483
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
467
484
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
468
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
469
485
|
}, "strip", z.ZodTypeAny, {
|
|
470
486
|
schemaVersion: "1.0";
|
|
471
|
-
labelTranslationKey?: string | undefined;
|
|
472
487
|
}, {
|
|
473
488
|
schemaVersion: "1.0";
|
|
474
|
-
|
|
475
|
-
}>;
|
|
489
|
+
}>>;
|
|
476
490
|
} & {
|
|
477
491
|
type: z.ZodLiteral<"filteredSearch">;
|
|
478
492
|
graphQL: z.ZodObject<{
|
|
@@ -502,15 +516,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
502
516
|
}, "strip", z.ZodTypeAny, {
|
|
503
517
|
type: string;
|
|
504
518
|
name: string;
|
|
505
|
-
labelTranslationKey?: string | undefined;
|
|
506
519
|
label?: string | undefined;
|
|
520
|
+
labelTranslationKey?: string | undefined;
|
|
507
521
|
minLength?: number | undefined;
|
|
508
522
|
defaultValue?: string | undefined;
|
|
509
523
|
}, {
|
|
510
524
|
type: string;
|
|
511
525
|
name: string;
|
|
512
|
-
labelTranslationKey?: string | undefined;
|
|
513
526
|
label?: string | undefined;
|
|
527
|
+
labelTranslationKey?: string | undefined;
|
|
514
528
|
minLength?: number | undefined;
|
|
515
529
|
defaultValue?: string | undefined;
|
|
516
530
|
}>, "many">>;
|
|
@@ -526,8 +540,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
526
540
|
variables?: {
|
|
527
541
|
type: string;
|
|
528
542
|
name: string;
|
|
529
|
-
labelTranslationKey?: string | undefined;
|
|
530
543
|
label?: string | undefined;
|
|
544
|
+
labelTranslationKey?: string | undefined;
|
|
531
545
|
minLength?: number | undefined;
|
|
532
546
|
defaultValue?: string | undefined;
|
|
533
547
|
}[] | undefined;
|
|
@@ -543,25 +557,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
543
557
|
variables?: {
|
|
544
558
|
type: string;
|
|
545
559
|
name: string;
|
|
546
|
-
labelTranslationKey?: string | undefined;
|
|
547
560
|
label?: string | undefined;
|
|
561
|
+
labelTranslationKey?: string | undefined;
|
|
548
562
|
minLength?: number | undefined;
|
|
549
563
|
defaultValue?: string | undefined;
|
|
550
564
|
}[] | undefined;
|
|
551
565
|
}>;
|
|
552
566
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
label: z.ZodOptional<z.ZodString>;
|
|
568
|
+
help: z.ZodOptional<z.ZodString>;
|
|
569
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
570
|
+
} & {
|
|
553
571
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
554
572
|
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
label?: string | undefined;
|
|
574
|
+
help?: string | undefined;
|
|
575
|
+
labelTranslationKey?: string | undefined;
|
|
555
576
|
multiple?: boolean | undefined;
|
|
556
577
|
}, {
|
|
578
|
+
label?: string | undefined;
|
|
579
|
+
help?: string | undefined;
|
|
580
|
+
labelTranslationKey?: string | undefined;
|
|
557
581
|
multiple?: boolean | undefined;
|
|
558
582
|
}>>;
|
|
559
583
|
}, "strip", z.ZodTypeAny, {
|
|
560
584
|
type: "filteredSearch";
|
|
561
|
-
meta: {
|
|
562
|
-
schemaVersion: "1.0";
|
|
563
|
-
labelTranslationKey?: string | undefined;
|
|
564
|
-
};
|
|
565
585
|
graphQL: {
|
|
566
586
|
displayFields: {
|
|
567
587
|
label: string;
|
|
@@ -574,21 +594,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
574
594
|
variables?: {
|
|
575
595
|
type: string;
|
|
576
596
|
name: string;
|
|
577
|
-
labelTranslationKey?: string | undefined;
|
|
578
597
|
label?: string | undefined;
|
|
598
|
+
labelTranslationKey?: string | undefined;
|
|
579
599
|
minLength?: number | undefined;
|
|
580
600
|
defaultValue?: string | undefined;
|
|
581
601
|
}[] | undefined;
|
|
582
602
|
};
|
|
583
603
|
attributes?: {
|
|
604
|
+
label?: string | undefined;
|
|
605
|
+
help?: string | undefined;
|
|
606
|
+
labelTranslationKey?: string | undefined;
|
|
584
607
|
multiple?: boolean | undefined;
|
|
585
608
|
} | undefined;
|
|
609
|
+
meta?: {
|
|
610
|
+
schemaVersion: "1.0";
|
|
611
|
+
} | undefined;
|
|
586
612
|
}, {
|
|
587
613
|
type: "filteredSearch";
|
|
588
|
-
meta: {
|
|
589
|
-
schemaVersion: "1.0";
|
|
590
|
-
labelTranslationKey?: string | undefined;
|
|
591
|
-
};
|
|
592
614
|
graphQL: {
|
|
593
615
|
displayFields: {
|
|
594
616
|
label: string;
|
|
@@ -601,702 +623,706 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
601
623
|
variables?: {
|
|
602
624
|
type: string;
|
|
603
625
|
name: string;
|
|
604
|
-
labelTranslationKey?: string | undefined;
|
|
605
626
|
label?: string | undefined;
|
|
627
|
+
labelTranslationKey?: string | undefined;
|
|
606
628
|
minLength?: number | undefined;
|
|
607
629
|
defaultValue?: string | undefined;
|
|
608
630
|
}[] | undefined;
|
|
609
631
|
};
|
|
610
632
|
attributes?: {
|
|
633
|
+
label?: string | undefined;
|
|
634
|
+
help?: string | undefined;
|
|
635
|
+
labelTranslationKey?: string | undefined;
|
|
611
636
|
multiple?: boolean | undefined;
|
|
612
637
|
} | undefined;
|
|
638
|
+
meta?: {
|
|
639
|
+
schemaVersion: "1.0";
|
|
640
|
+
} | undefined;
|
|
613
641
|
}>, z.ZodObject<{
|
|
614
|
-
meta: z.ZodObject<{
|
|
642
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
615
643
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
616
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
617
644
|
}, "strip", z.ZodTypeAny, {
|
|
618
645
|
schemaVersion: "1.0";
|
|
619
|
-
labelTranslationKey?: string | undefined;
|
|
620
646
|
}, {
|
|
621
647
|
schemaVersion: "1.0";
|
|
622
|
-
|
|
623
|
-
}>;
|
|
648
|
+
}>>;
|
|
624
649
|
} & {
|
|
625
650
|
type: z.ZodLiteral<"number">;
|
|
626
651
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
652
|
+
label: z.ZodOptional<z.ZodString>;
|
|
653
|
+
help: z.ZodOptional<z.ZodString>;
|
|
654
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
655
|
+
} & {
|
|
627
656
|
max: z.ZodOptional<z.ZodNumber>;
|
|
628
657
|
min: z.ZodOptional<z.ZodNumber>;
|
|
629
658
|
step: z.ZodOptional<z.ZodNumber>;
|
|
630
659
|
}, "strip", z.ZodTypeAny, {
|
|
660
|
+
label?: string | undefined;
|
|
661
|
+
help?: string | undefined;
|
|
662
|
+
labelTranslationKey?: string | undefined;
|
|
631
663
|
max?: number | undefined;
|
|
632
664
|
min?: number | undefined;
|
|
633
665
|
step?: number | undefined;
|
|
634
666
|
}, {
|
|
667
|
+
label?: string | undefined;
|
|
668
|
+
help?: string | undefined;
|
|
669
|
+
labelTranslationKey?: string | undefined;
|
|
635
670
|
max?: number | undefined;
|
|
636
671
|
min?: number | undefined;
|
|
637
672
|
step?: number | undefined;
|
|
638
673
|
}>>;
|
|
639
674
|
}, "strip", z.ZodTypeAny, {
|
|
640
675
|
type: "number";
|
|
641
|
-
meta: {
|
|
642
|
-
schemaVersion: "1.0";
|
|
643
|
-
labelTranslationKey?: string | undefined;
|
|
644
|
-
};
|
|
645
676
|
attributes?: {
|
|
677
|
+
label?: string | undefined;
|
|
678
|
+
help?: string | undefined;
|
|
679
|
+
labelTranslationKey?: string | undefined;
|
|
646
680
|
max?: number | undefined;
|
|
647
681
|
min?: number | undefined;
|
|
648
682
|
step?: number | undefined;
|
|
649
683
|
} | undefined;
|
|
684
|
+
meta?: {
|
|
685
|
+
schemaVersion: "1.0";
|
|
686
|
+
} | undefined;
|
|
650
687
|
}, {
|
|
651
688
|
type: "number";
|
|
652
|
-
meta: {
|
|
653
|
-
schemaVersion: "1.0";
|
|
654
|
-
labelTranslationKey?: string | undefined;
|
|
655
|
-
};
|
|
656
689
|
attributes?: {
|
|
690
|
+
label?: string | undefined;
|
|
691
|
+
help?: string | undefined;
|
|
692
|
+
labelTranslationKey?: string | undefined;
|
|
657
693
|
max?: number | undefined;
|
|
658
694
|
min?: number | undefined;
|
|
659
695
|
step?: number | undefined;
|
|
660
696
|
} | undefined;
|
|
697
|
+
meta?: {
|
|
698
|
+
schemaVersion: "1.0";
|
|
699
|
+
} | undefined;
|
|
661
700
|
}>, z.ZodObject<{
|
|
662
|
-
|
|
663
|
-
|
|
701
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
label: z.ZodOptional<z.ZodString>;
|
|
703
|
+
help: z.ZodOptional<z.ZodString>;
|
|
664
704
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
665
705
|
}, "strip", z.ZodTypeAny, {
|
|
666
|
-
|
|
706
|
+
label?: string | undefined;
|
|
707
|
+
help?: string | undefined;
|
|
667
708
|
labelTranslationKey?: string | undefined;
|
|
668
709
|
}, {
|
|
669
|
-
|
|
710
|
+
label?: string | undefined;
|
|
711
|
+
help?: string | undefined;
|
|
670
712
|
labelTranslationKey?: string | undefined;
|
|
671
|
-
}
|
|
713
|
+
}>>;
|
|
714
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
715
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
schemaVersion: "1.0";
|
|
718
|
+
}, {
|
|
719
|
+
schemaVersion: "1.0";
|
|
720
|
+
}>>;
|
|
672
721
|
} & {
|
|
673
722
|
type: z.ZodLiteral<"radioButtons">;
|
|
674
723
|
options: z.ZodArray<z.ZodObject<{
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
} & {
|
|
680
|
-
selected: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
-
}, "strip", z.ZodTypeAny, {
|
|
682
|
-
value: string;
|
|
683
|
-
label: string;
|
|
684
|
-
selected?: boolean | undefined;
|
|
685
|
-
}, {
|
|
686
|
-
value: string;
|
|
687
|
-
label: string;
|
|
688
|
-
selected?: boolean | undefined;
|
|
689
|
-
}>;
|
|
724
|
+
label: z.ZodString;
|
|
725
|
+
value: z.ZodString;
|
|
726
|
+
} & {
|
|
727
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
690
728
|
}, "strip", z.ZodTypeAny, {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
label: string;
|
|
695
|
-
selected?: boolean | undefined;
|
|
696
|
-
};
|
|
729
|
+
value: string;
|
|
730
|
+
label: string;
|
|
731
|
+
selected?: boolean | undefined;
|
|
697
732
|
}, {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
label: string;
|
|
702
|
-
selected?: boolean | undefined;
|
|
703
|
-
};
|
|
733
|
+
value: string;
|
|
734
|
+
label: string;
|
|
735
|
+
selected?: boolean | undefined;
|
|
704
736
|
}>, "many">;
|
|
705
737
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
type: "radioButtons";
|
|
707
738
|
options: {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
label: string;
|
|
712
|
-
selected?: boolean | undefined;
|
|
713
|
-
};
|
|
739
|
+
value: string;
|
|
740
|
+
label: string;
|
|
741
|
+
selected?: boolean | undefined;
|
|
714
742
|
}[];
|
|
715
|
-
|
|
716
|
-
|
|
743
|
+
type: "radioButtons";
|
|
744
|
+
attributes?: {
|
|
745
|
+
label?: string | undefined;
|
|
746
|
+
help?: string | undefined;
|
|
717
747
|
labelTranslationKey?: string | undefined;
|
|
718
|
-
};
|
|
748
|
+
} | undefined;
|
|
749
|
+
meta?: {
|
|
750
|
+
schemaVersion: "1.0";
|
|
751
|
+
} | undefined;
|
|
719
752
|
}, {
|
|
720
|
-
type: "radioButtons";
|
|
721
753
|
options: {
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
label: string;
|
|
726
|
-
selected?: boolean | undefined;
|
|
727
|
-
};
|
|
754
|
+
value: string;
|
|
755
|
+
label: string;
|
|
756
|
+
selected?: boolean | undefined;
|
|
728
757
|
}[];
|
|
729
|
-
|
|
730
|
-
|
|
758
|
+
type: "radioButtons";
|
|
759
|
+
attributes?: {
|
|
760
|
+
label?: string | undefined;
|
|
761
|
+
help?: string | undefined;
|
|
731
762
|
labelTranslationKey?: string | undefined;
|
|
732
|
-
};
|
|
763
|
+
} | undefined;
|
|
764
|
+
meta?: {
|
|
765
|
+
schemaVersion: "1.0";
|
|
766
|
+
} | undefined;
|
|
733
767
|
}>, z.ZodObject<{
|
|
734
|
-
meta: z.ZodObject<{
|
|
768
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
735
769
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
736
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
737
770
|
}, "strip", z.ZodTypeAny, {
|
|
738
771
|
schemaVersion: "1.0";
|
|
739
|
-
labelTranslationKey?: string | undefined;
|
|
740
772
|
}, {
|
|
741
773
|
schemaVersion: "1.0";
|
|
742
|
-
|
|
743
|
-
}>;
|
|
774
|
+
}>>;
|
|
744
775
|
} & {
|
|
745
776
|
type: z.ZodLiteral<"selectBox">;
|
|
746
777
|
options: z.ZodArray<z.ZodObject<{
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
} & {
|
|
752
|
-
selected: z.ZodOptional<z.ZodBoolean>;
|
|
753
|
-
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
value: string;
|
|
755
|
-
label: string;
|
|
756
|
-
selected?: boolean | undefined;
|
|
757
|
-
}, {
|
|
758
|
-
value: string;
|
|
759
|
-
label: string;
|
|
760
|
-
selected?: boolean | undefined;
|
|
761
|
-
}>;
|
|
778
|
+
label: z.ZodString;
|
|
779
|
+
value: z.ZodString;
|
|
780
|
+
} & {
|
|
781
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
762
782
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
label: string;
|
|
767
|
-
selected?: boolean | undefined;
|
|
768
|
-
};
|
|
783
|
+
value: string;
|
|
784
|
+
label: string;
|
|
785
|
+
selected?: boolean | undefined;
|
|
769
786
|
}, {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
label: string;
|
|
774
|
-
selected?: boolean | undefined;
|
|
775
|
-
};
|
|
787
|
+
value: string;
|
|
788
|
+
label: string;
|
|
789
|
+
selected?: boolean | undefined;
|
|
776
790
|
}>, "many">;
|
|
777
791
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
792
|
+
label: z.ZodOptional<z.ZodString>;
|
|
793
|
+
help: z.ZodOptional<z.ZodString>;
|
|
794
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
795
|
+
} & {
|
|
778
796
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
779
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
label?: string | undefined;
|
|
799
|
+
help?: string | undefined;
|
|
800
|
+
labelTranslationKey?: string | undefined;
|
|
780
801
|
multiple?: boolean | undefined;
|
|
781
802
|
}, {
|
|
803
|
+
label?: string | undefined;
|
|
804
|
+
help?: string | undefined;
|
|
805
|
+
labelTranslationKey?: string | undefined;
|
|
782
806
|
multiple?: boolean | undefined;
|
|
783
807
|
}>>;
|
|
784
808
|
}, "strip", z.ZodTypeAny, {
|
|
785
|
-
type: "selectBox";
|
|
786
809
|
options: {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
label: string;
|
|
791
|
-
selected?: boolean | undefined;
|
|
792
|
-
};
|
|
810
|
+
value: string;
|
|
811
|
+
label: string;
|
|
812
|
+
selected?: boolean | undefined;
|
|
793
813
|
}[];
|
|
794
|
-
|
|
795
|
-
schemaVersion: "1.0";
|
|
796
|
-
labelTranslationKey?: string | undefined;
|
|
797
|
-
};
|
|
814
|
+
type: "selectBox";
|
|
798
815
|
attributes?: {
|
|
816
|
+
label?: string | undefined;
|
|
817
|
+
help?: string | undefined;
|
|
818
|
+
labelTranslationKey?: string | undefined;
|
|
799
819
|
multiple?: boolean | undefined;
|
|
800
820
|
} | undefined;
|
|
821
|
+
meta?: {
|
|
822
|
+
schemaVersion: "1.0";
|
|
823
|
+
} | undefined;
|
|
801
824
|
}, {
|
|
802
|
-
type: "selectBox";
|
|
803
825
|
options: {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
label: string;
|
|
808
|
-
selected?: boolean | undefined;
|
|
809
|
-
};
|
|
826
|
+
value: string;
|
|
827
|
+
label: string;
|
|
828
|
+
selected?: boolean | undefined;
|
|
810
829
|
}[];
|
|
811
|
-
|
|
812
|
-
schemaVersion: "1.0";
|
|
813
|
-
labelTranslationKey?: string | undefined;
|
|
814
|
-
};
|
|
830
|
+
type: "selectBox";
|
|
815
831
|
attributes?: {
|
|
832
|
+
label?: string | undefined;
|
|
833
|
+
help?: string | undefined;
|
|
834
|
+
labelTranslationKey?: string | undefined;
|
|
816
835
|
multiple?: boolean | undefined;
|
|
817
836
|
} | undefined;
|
|
837
|
+
meta?: {
|
|
838
|
+
schemaVersion: "1.0";
|
|
839
|
+
} | undefined;
|
|
818
840
|
}>, z.ZodObject<{
|
|
819
|
-
meta: z.ZodObject<{
|
|
841
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
820
842
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
821
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
822
843
|
}, "strip", z.ZodTypeAny, {
|
|
823
844
|
schemaVersion: "1.0";
|
|
824
|
-
labelTranslationKey?: string | undefined;
|
|
825
845
|
}, {
|
|
826
846
|
schemaVersion: "1.0";
|
|
827
|
-
|
|
828
|
-
}>;
|
|
847
|
+
}>>;
|
|
829
848
|
} & {
|
|
830
849
|
type: z.ZodLiteral<"table">;
|
|
831
850
|
columns: z.ZodArray<z.ZodObject<{
|
|
832
851
|
heading: z.ZodOptional<z.ZodString>;
|
|
833
852
|
content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
834
|
-
meta: z.ZodObject<{
|
|
853
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
835
854
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
836
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
837
855
|
}, "strip", z.ZodTypeAny, {
|
|
838
856
|
schemaVersion: "1.0";
|
|
839
|
-
labelTranslationKey?: string | undefined;
|
|
840
857
|
}, {
|
|
841
858
|
schemaVersion: "1.0";
|
|
842
|
-
|
|
843
|
-
}>;
|
|
859
|
+
}>>;
|
|
844
860
|
} & {
|
|
845
861
|
type: z.ZodLiteral<"boolean">;
|
|
846
862
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
863
|
+
label: z.ZodOptional<z.ZodString>;
|
|
864
|
+
help: z.ZodOptional<z.ZodString>;
|
|
865
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
866
|
+
} & {
|
|
847
867
|
checked: z.ZodOptional<z.ZodBoolean>;
|
|
848
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
|
+
label?: string | undefined;
|
|
870
|
+
help?: string | undefined;
|
|
871
|
+
labelTranslationKey?: string | undefined;
|
|
849
872
|
checked?: boolean | undefined;
|
|
850
873
|
}, {
|
|
874
|
+
label?: string | undefined;
|
|
875
|
+
help?: string | undefined;
|
|
876
|
+
labelTranslationKey?: string | undefined;
|
|
851
877
|
checked?: boolean | undefined;
|
|
852
878
|
}>>;
|
|
853
879
|
}, "strip", z.ZodTypeAny, {
|
|
854
880
|
type: "boolean";
|
|
855
|
-
meta: {
|
|
856
|
-
schemaVersion: "1.0";
|
|
857
|
-
labelTranslationKey?: string | undefined;
|
|
858
|
-
};
|
|
859
881
|
attributes?: {
|
|
882
|
+
label?: string | undefined;
|
|
883
|
+
help?: string | undefined;
|
|
884
|
+
labelTranslationKey?: string | undefined;
|
|
860
885
|
checked?: boolean | undefined;
|
|
861
886
|
} | undefined;
|
|
887
|
+
meta?: {
|
|
888
|
+
schemaVersion: "1.0";
|
|
889
|
+
} | undefined;
|
|
862
890
|
}, {
|
|
863
891
|
type: "boolean";
|
|
864
|
-
meta: {
|
|
865
|
-
schemaVersion: "1.0";
|
|
866
|
-
labelTranslationKey?: string | undefined;
|
|
867
|
-
};
|
|
868
892
|
attributes?: {
|
|
893
|
+
label?: string | undefined;
|
|
894
|
+
help?: string | undefined;
|
|
895
|
+
labelTranslationKey?: string | undefined;
|
|
869
896
|
checked?: boolean | undefined;
|
|
870
897
|
} | undefined;
|
|
898
|
+
meta?: {
|
|
899
|
+
schemaVersion: "1.0";
|
|
900
|
+
} | undefined;
|
|
871
901
|
}>, z.ZodObject<{
|
|
872
|
-
|
|
873
|
-
|
|
902
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
label: z.ZodOptional<z.ZodString>;
|
|
904
|
+
help: z.ZodOptional<z.ZodString>;
|
|
874
905
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
875
906
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
|
|
907
|
+
label?: string | undefined;
|
|
908
|
+
help?: string | undefined;
|
|
877
909
|
labelTranslationKey?: string | undefined;
|
|
878
910
|
}, {
|
|
879
|
-
|
|
911
|
+
label?: string | undefined;
|
|
912
|
+
help?: string | undefined;
|
|
880
913
|
labelTranslationKey?: string | undefined;
|
|
881
|
-
}
|
|
914
|
+
}>>;
|
|
915
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
916
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
917
|
+
}, "strip", z.ZodTypeAny, {
|
|
918
|
+
schemaVersion: "1.0";
|
|
919
|
+
}, {
|
|
920
|
+
schemaVersion: "1.0";
|
|
921
|
+
}>>;
|
|
882
922
|
} & {
|
|
883
923
|
type: z.ZodLiteral<"checkBoxes">;
|
|
884
924
|
options: z.ZodArray<z.ZodObject<{
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
} & {
|
|
890
|
-
checked: z.ZodOptional<z.ZodBoolean>;
|
|
891
|
-
}, "strip", z.ZodTypeAny, {
|
|
892
|
-
value: string;
|
|
893
|
-
label: string;
|
|
894
|
-
checked?: boolean | undefined;
|
|
895
|
-
}, {
|
|
896
|
-
value: string;
|
|
897
|
-
label: string;
|
|
898
|
-
checked?: boolean | undefined;
|
|
899
|
-
}>;
|
|
925
|
+
label: z.ZodString;
|
|
926
|
+
value: z.ZodString;
|
|
927
|
+
} & {
|
|
928
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
900
929
|
}, "strip", z.ZodTypeAny, {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
label: string;
|
|
905
|
-
checked?: boolean | undefined;
|
|
906
|
-
};
|
|
930
|
+
value: string;
|
|
931
|
+
label: string;
|
|
932
|
+
checked?: boolean | undefined;
|
|
907
933
|
}, {
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
label: string;
|
|
912
|
-
checked?: boolean | undefined;
|
|
913
|
-
};
|
|
934
|
+
value: string;
|
|
935
|
+
label: string;
|
|
936
|
+
checked?: boolean | undefined;
|
|
914
937
|
}>, "many">;
|
|
915
938
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
type: "checkBoxes";
|
|
917
939
|
options: {
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
label: string;
|
|
922
|
-
checked?: boolean | undefined;
|
|
923
|
-
};
|
|
940
|
+
value: string;
|
|
941
|
+
label: string;
|
|
942
|
+
checked?: boolean | undefined;
|
|
924
943
|
}[];
|
|
925
|
-
|
|
926
|
-
|
|
944
|
+
type: "checkBoxes";
|
|
945
|
+
attributes?: {
|
|
946
|
+
label?: string | undefined;
|
|
947
|
+
help?: string | undefined;
|
|
927
948
|
labelTranslationKey?: string | undefined;
|
|
928
|
-
};
|
|
949
|
+
} | undefined;
|
|
950
|
+
meta?: {
|
|
951
|
+
schemaVersion: "1.0";
|
|
952
|
+
} | undefined;
|
|
929
953
|
}, {
|
|
930
|
-
type: "checkBoxes";
|
|
931
954
|
options: {
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
label: string;
|
|
936
|
-
checked?: boolean | undefined;
|
|
937
|
-
};
|
|
955
|
+
value: string;
|
|
956
|
+
label: string;
|
|
957
|
+
checked?: boolean | undefined;
|
|
938
958
|
}[];
|
|
939
|
-
|
|
940
|
-
|
|
959
|
+
type: "checkBoxes";
|
|
960
|
+
attributes?: {
|
|
961
|
+
label?: string | undefined;
|
|
962
|
+
help?: string | undefined;
|
|
941
963
|
labelTranslationKey?: string | undefined;
|
|
942
|
-
};
|
|
964
|
+
} | undefined;
|
|
965
|
+
meta?: {
|
|
966
|
+
schemaVersion: "1.0";
|
|
967
|
+
} | undefined;
|
|
943
968
|
}>, z.ZodObject<{
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
947
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
970
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
948
971
|
}, "strip", z.ZodTypeAny, {
|
|
949
|
-
|
|
950
|
-
min?: number | undefined;
|
|
951
|
-
step?: number | undefined;
|
|
972
|
+
schemaVersion: "1.0";
|
|
952
973
|
}, {
|
|
953
|
-
|
|
954
|
-
min?: number | undefined;
|
|
955
|
-
step?: number | undefined;
|
|
974
|
+
schemaVersion: "1.0";
|
|
956
975
|
}>>;
|
|
957
976
|
} & {
|
|
958
977
|
type: z.ZodLiteral<"currency">;
|
|
959
|
-
|
|
960
|
-
|
|
978
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
979
|
+
label: z.ZodOptional<z.ZodString>;
|
|
980
|
+
help: z.ZodOptional<z.ZodString>;
|
|
961
981
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
982
|
+
} & {
|
|
983
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
984
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
985
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
962
986
|
} & {
|
|
963
987
|
denomination: z.ZodOptional<z.ZodString>;
|
|
964
988
|
}, "strip", z.ZodTypeAny, {
|
|
965
|
-
|
|
989
|
+
label?: string | undefined;
|
|
990
|
+
help?: string | undefined;
|
|
966
991
|
labelTranslationKey?: string | undefined;
|
|
992
|
+
max?: number | undefined;
|
|
993
|
+
min?: number | undefined;
|
|
994
|
+
step?: number | undefined;
|
|
967
995
|
denomination?: string | undefined;
|
|
968
996
|
}, {
|
|
969
|
-
|
|
997
|
+
label?: string | undefined;
|
|
998
|
+
help?: string | undefined;
|
|
970
999
|
labelTranslationKey?: string | undefined;
|
|
1000
|
+
max?: number | undefined;
|
|
1001
|
+
min?: number | undefined;
|
|
1002
|
+
step?: number | undefined;
|
|
971
1003
|
denomination?: string | undefined;
|
|
972
|
-
}
|
|
1004
|
+
}>>;
|
|
973
1005
|
}, "strip", z.ZodTypeAny, {
|
|
974
1006
|
type: "currency";
|
|
975
|
-
meta: {
|
|
976
|
-
schemaVersion: "1.0";
|
|
977
|
-
labelTranslationKey?: string | undefined;
|
|
978
|
-
denomination?: string | undefined;
|
|
979
|
-
};
|
|
980
1007
|
attributes?: {
|
|
1008
|
+
label?: string | undefined;
|
|
1009
|
+
help?: string | undefined;
|
|
1010
|
+
labelTranslationKey?: string | undefined;
|
|
981
1011
|
max?: number | undefined;
|
|
982
1012
|
min?: number | undefined;
|
|
983
1013
|
step?: number | undefined;
|
|
1014
|
+
denomination?: string | undefined;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
meta?: {
|
|
1017
|
+
schemaVersion: "1.0";
|
|
984
1018
|
} | undefined;
|
|
985
1019
|
}, {
|
|
986
1020
|
type: "currency";
|
|
987
|
-
meta: {
|
|
988
|
-
schemaVersion: "1.0";
|
|
989
|
-
labelTranslationKey?: string | undefined;
|
|
990
|
-
denomination?: string | undefined;
|
|
991
|
-
};
|
|
992
1021
|
attributes?: {
|
|
1022
|
+
label?: string | undefined;
|
|
1023
|
+
help?: string | undefined;
|
|
1024
|
+
labelTranslationKey?: string | undefined;
|
|
993
1025
|
max?: number | undefined;
|
|
994
1026
|
min?: number | undefined;
|
|
995
1027
|
step?: number | undefined;
|
|
1028
|
+
denomination?: string | undefined;
|
|
1029
|
+
} | undefined;
|
|
1030
|
+
meta?: {
|
|
1031
|
+
schemaVersion: "1.0";
|
|
996
1032
|
} | undefined;
|
|
997
1033
|
}>, z.ZodObject<{
|
|
998
|
-
meta: z.ZodObject<{
|
|
1034
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
999
1035
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1000
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1001
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1002
1037
|
schemaVersion: "1.0";
|
|
1003
|
-
labelTranslationKey?: string | undefined;
|
|
1004
1038
|
}, {
|
|
1005
1039
|
schemaVersion: "1.0";
|
|
1006
|
-
|
|
1007
|
-
}>;
|
|
1040
|
+
}>>;
|
|
1008
1041
|
} & {
|
|
1009
1042
|
type: z.ZodLiteral<"date">;
|
|
1010
1043
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1044
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
} & {
|
|
1011
1048
|
max: z.ZodOptional<z.ZodString>;
|
|
1012
1049
|
min: z.ZodOptional<z.ZodString>;
|
|
1013
1050
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1014
1051
|
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
label?: string | undefined;
|
|
1053
|
+
help?: string | undefined;
|
|
1054
|
+
labelTranslationKey?: string | undefined;
|
|
1015
1055
|
max?: string | undefined;
|
|
1016
1056
|
min?: string | undefined;
|
|
1017
1057
|
step?: number | undefined;
|
|
1018
1058
|
}, {
|
|
1059
|
+
label?: string | undefined;
|
|
1060
|
+
help?: string | undefined;
|
|
1061
|
+
labelTranslationKey?: string | undefined;
|
|
1019
1062
|
max?: string | undefined;
|
|
1020
1063
|
min?: string | undefined;
|
|
1021
1064
|
step?: number | undefined;
|
|
1022
1065
|
}>>;
|
|
1023
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1024
1067
|
type: "date";
|
|
1025
|
-
meta: {
|
|
1026
|
-
schemaVersion: "1.0";
|
|
1027
|
-
labelTranslationKey?: string | undefined;
|
|
1028
|
-
};
|
|
1029
1068
|
attributes?: {
|
|
1069
|
+
label?: string | undefined;
|
|
1070
|
+
help?: string | undefined;
|
|
1071
|
+
labelTranslationKey?: string | undefined;
|
|
1030
1072
|
max?: string | undefined;
|
|
1031
1073
|
min?: string | undefined;
|
|
1032
1074
|
step?: number | undefined;
|
|
1033
1075
|
} | undefined;
|
|
1076
|
+
meta?: {
|
|
1077
|
+
schemaVersion: "1.0";
|
|
1078
|
+
} | undefined;
|
|
1034
1079
|
}, {
|
|
1035
1080
|
type: "date";
|
|
1036
|
-
meta: {
|
|
1037
|
-
schemaVersion: "1.0";
|
|
1038
|
-
labelTranslationKey?: string | undefined;
|
|
1039
|
-
};
|
|
1040
1081
|
attributes?: {
|
|
1082
|
+
label?: string | undefined;
|
|
1083
|
+
help?: string | undefined;
|
|
1084
|
+
labelTranslationKey?: string | undefined;
|
|
1041
1085
|
max?: string | undefined;
|
|
1042
1086
|
min?: string | undefined;
|
|
1043
1087
|
step?: number | undefined;
|
|
1044
1088
|
} | undefined;
|
|
1089
|
+
meta?: {
|
|
1090
|
+
schemaVersion: "1.0";
|
|
1091
|
+
} | undefined;
|
|
1045
1092
|
}>, z.ZodObject<{
|
|
1046
|
-
|
|
1047
|
-
|
|
1093
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1094
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1048
1096
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1049
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1050
|
-
|
|
1098
|
+
label?: string | undefined;
|
|
1099
|
+
help?: string | undefined;
|
|
1051
1100
|
labelTranslationKey?: string | undefined;
|
|
1052
1101
|
}, {
|
|
1053
|
-
|
|
1102
|
+
label?: string | undefined;
|
|
1103
|
+
help?: string | undefined;
|
|
1054
1104
|
labelTranslationKey?: string | undefined;
|
|
1055
|
-
}
|
|
1105
|
+
}>>;
|
|
1106
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1107
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1108
|
+
}, "strip", z.ZodTypeAny, {
|
|
1109
|
+
schemaVersion: "1.0";
|
|
1110
|
+
}, {
|
|
1111
|
+
schemaVersion: "1.0";
|
|
1112
|
+
}>>;
|
|
1056
1113
|
} & {
|
|
1057
1114
|
type: z.ZodLiteral<"dateRange">;
|
|
1058
1115
|
columns: z.ZodObject<{
|
|
1059
|
-
start: z.ZodObject<{
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
}, "strip", z.ZodTypeAny, {
|
|
1064
|
-
schemaVersion: "1.0";
|
|
1065
|
-
labelTranslationKey?: string | undefined;
|
|
1066
|
-
}, {
|
|
1067
|
-
schemaVersion: "1.0";
|
|
1068
|
-
labelTranslationKey?: string | undefined;
|
|
1069
|
-
}>;
|
|
1070
|
-
type: z.ZodLiteral<"date">;
|
|
1116
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
1117
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1071
1120
|
} & {
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
label: string;
|
|
1076
|
-
}, {
|
|
1077
|
-
label: string;
|
|
1078
|
-
}>;
|
|
1121
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
1079
1124
|
}, "strip", z.ZodTypeAny, {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
label: string;
|
|
1087
|
-
};
|
|
1125
|
+
label?: string | undefined;
|
|
1126
|
+
help?: string | undefined;
|
|
1127
|
+
labelTranslationKey?: string | undefined;
|
|
1128
|
+
max?: string | undefined;
|
|
1129
|
+
min?: string | undefined;
|
|
1130
|
+
step?: number | undefined;
|
|
1088
1131
|
}, {
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1101
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1102
|
-
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
schemaVersion: "1.0";
|
|
1104
|
-
labelTranslationKey?: string | undefined;
|
|
1105
|
-
}, {
|
|
1106
|
-
schemaVersion: "1.0";
|
|
1107
|
-
labelTranslationKey?: string | undefined;
|
|
1108
|
-
}>;
|
|
1109
|
-
type: z.ZodLiteral<"date">;
|
|
1132
|
+
label?: string | undefined;
|
|
1133
|
+
help?: string | undefined;
|
|
1134
|
+
labelTranslationKey?: string | undefined;
|
|
1135
|
+
max?: string | undefined;
|
|
1136
|
+
min?: string | undefined;
|
|
1137
|
+
step?: number | undefined;
|
|
1138
|
+
}>>;
|
|
1139
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
1140
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1110
1143
|
} & {
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
label: string;
|
|
1115
|
-
}, {
|
|
1116
|
-
label: string;
|
|
1117
|
-
}>;
|
|
1144
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
1118
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
label: string;
|
|
1126
|
-
};
|
|
1148
|
+
label?: string | undefined;
|
|
1149
|
+
help?: string | undefined;
|
|
1150
|
+
labelTranslationKey?: string | undefined;
|
|
1151
|
+
max?: string | undefined;
|
|
1152
|
+
min?: string | undefined;
|
|
1153
|
+
step?: number | undefined;
|
|
1127
1154
|
}, {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
};
|
|
1136
|
-
}>;
|
|
1155
|
+
label?: string | undefined;
|
|
1156
|
+
help?: string | undefined;
|
|
1157
|
+
labelTranslationKey?: string | undefined;
|
|
1158
|
+
max?: string | undefined;
|
|
1159
|
+
min?: string | undefined;
|
|
1160
|
+
step?: number | undefined;
|
|
1161
|
+
}>>;
|
|
1137
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1138
|
-
start
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
attributes: {
|
|
1155
|
-
label: string;
|
|
1156
|
-
};
|
|
1157
|
-
};
|
|
1163
|
+
start?: {
|
|
1164
|
+
label?: string | undefined;
|
|
1165
|
+
help?: string | undefined;
|
|
1166
|
+
labelTranslationKey?: string | undefined;
|
|
1167
|
+
max?: string | undefined;
|
|
1168
|
+
min?: string | undefined;
|
|
1169
|
+
step?: number | undefined;
|
|
1170
|
+
} | undefined;
|
|
1171
|
+
end?: {
|
|
1172
|
+
label?: string | undefined;
|
|
1173
|
+
help?: string | undefined;
|
|
1174
|
+
labelTranslationKey?: string | undefined;
|
|
1175
|
+
max?: string | undefined;
|
|
1176
|
+
min?: string | undefined;
|
|
1177
|
+
step?: number | undefined;
|
|
1178
|
+
} | undefined;
|
|
1158
1179
|
}, {
|
|
1159
|
-
start
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
attributes: {
|
|
1176
|
-
label: string;
|
|
1177
|
-
};
|
|
1178
|
-
};
|
|
1180
|
+
start?: {
|
|
1181
|
+
label?: string | undefined;
|
|
1182
|
+
help?: string | undefined;
|
|
1183
|
+
labelTranslationKey?: string | undefined;
|
|
1184
|
+
max?: string | undefined;
|
|
1185
|
+
min?: string | undefined;
|
|
1186
|
+
step?: number | undefined;
|
|
1187
|
+
} | undefined;
|
|
1188
|
+
end?: {
|
|
1189
|
+
label?: string | undefined;
|
|
1190
|
+
help?: string | undefined;
|
|
1191
|
+
labelTranslationKey?: string | undefined;
|
|
1192
|
+
max?: string | undefined;
|
|
1193
|
+
min?: string | undefined;
|
|
1194
|
+
step?: number | undefined;
|
|
1195
|
+
} | undefined;
|
|
1179
1196
|
}>;
|
|
1180
1197
|
}, "strip", z.ZodTypeAny, {
|
|
1181
1198
|
type: "dateRange";
|
|
1182
|
-
meta: {
|
|
1183
|
-
schemaVersion: "1.0";
|
|
1184
|
-
labelTranslationKey?: string | undefined;
|
|
1185
|
-
};
|
|
1186
1199
|
columns: {
|
|
1187
|
-
start
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
attributes: {
|
|
1204
|
-
label: string;
|
|
1205
|
-
};
|
|
1206
|
-
};
|
|
1200
|
+
start?: {
|
|
1201
|
+
label?: string | undefined;
|
|
1202
|
+
help?: string | undefined;
|
|
1203
|
+
labelTranslationKey?: string | undefined;
|
|
1204
|
+
max?: string | undefined;
|
|
1205
|
+
min?: string | undefined;
|
|
1206
|
+
step?: number | undefined;
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
end?: {
|
|
1209
|
+
label?: string | undefined;
|
|
1210
|
+
help?: string | undefined;
|
|
1211
|
+
labelTranslationKey?: string | undefined;
|
|
1212
|
+
max?: string | undefined;
|
|
1213
|
+
min?: string | undefined;
|
|
1214
|
+
step?: number | undefined;
|
|
1215
|
+
} | undefined;
|
|
1207
1216
|
};
|
|
1217
|
+
attributes?: {
|
|
1218
|
+
label?: string | undefined;
|
|
1219
|
+
help?: string | undefined;
|
|
1220
|
+
labelTranslationKey?: string | undefined;
|
|
1221
|
+
} | undefined;
|
|
1222
|
+
meta?: {
|
|
1223
|
+
schemaVersion: "1.0";
|
|
1224
|
+
} | undefined;
|
|
1208
1225
|
}, {
|
|
1209
1226
|
type: "dateRange";
|
|
1210
|
-
meta: {
|
|
1211
|
-
schemaVersion: "1.0";
|
|
1212
|
-
labelTranslationKey?: string | undefined;
|
|
1213
|
-
};
|
|
1214
1227
|
columns: {
|
|
1215
|
-
start
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
attributes: {
|
|
1232
|
-
label: string;
|
|
1233
|
-
};
|
|
1234
|
-
};
|
|
1228
|
+
start?: {
|
|
1229
|
+
label?: string | undefined;
|
|
1230
|
+
help?: string | undefined;
|
|
1231
|
+
labelTranslationKey?: string | undefined;
|
|
1232
|
+
max?: string | undefined;
|
|
1233
|
+
min?: string | undefined;
|
|
1234
|
+
step?: number | undefined;
|
|
1235
|
+
} | undefined;
|
|
1236
|
+
end?: {
|
|
1237
|
+
label?: string | undefined;
|
|
1238
|
+
help?: string | undefined;
|
|
1239
|
+
labelTranslationKey?: string | undefined;
|
|
1240
|
+
max?: string | undefined;
|
|
1241
|
+
min?: string | undefined;
|
|
1242
|
+
step?: number | undefined;
|
|
1243
|
+
} | undefined;
|
|
1235
1244
|
};
|
|
1245
|
+
attributes?: {
|
|
1246
|
+
label?: string | undefined;
|
|
1247
|
+
help?: string | undefined;
|
|
1248
|
+
labelTranslationKey?: string | undefined;
|
|
1249
|
+
} | undefined;
|
|
1250
|
+
meta?: {
|
|
1251
|
+
schemaVersion: "1.0";
|
|
1252
|
+
} | undefined;
|
|
1236
1253
|
}>, z.ZodObject<{
|
|
1237
|
-
meta: z.ZodObject<{
|
|
1254
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1238
1255
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1239
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1240
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1241
1257
|
schemaVersion: "1.0";
|
|
1242
|
-
labelTranslationKey?: string | undefined;
|
|
1243
1258
|
}, {
|
|
1244
1259
|
schemaVersion: "1.0";
|
|
1245
|
-
|
|
1246
|
-
}>;
|
|
1260
|
+
}>>;
|
|
1247
1261
|
} & {
|
|
1248
1262
|
type: z.ZodLiteral<"email">;
|
|
1249
1263
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1264
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
} & {
|
|
1250
1268
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1251
1269
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1252
|
-
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1253
1270
|
pattern: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
} & {
|
|
1272
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1254
1273
|
}, "strip", z.ZodTypeAny, {
|
|
1274
|
+
label?: string | undefined;
|
|
1275
|
+
help?: string | undefined;
|
|
1276
|
+
labelTranslationKey?: string | undefined;
|
|
1255
1277
|
maxLength?: number | undefined;
|
|
1256
1278
|
minLength?: number | undefined;
|
|
1257
|
-
multiple?: boolean | undefined;
|
|
1258
1279
|
pattern?: string | undefined;
|
|
1280
|
+
multiple?: boolean | undefined;
|
|
1259
1281
|
}, {
|
|
1282
|
+
label?: string | undefined;
|
|
1283
|
+
help?: string | undefined;
|
|
1284
|
+
labelTranslationKey?: string | undefined;
|
|
1260
1285
|
maxLength?: number | undefined;
|
|
1261
1286
|
minLength?: number | undefined;
|
|
1262
|
-
multiple?: boolean | undefined;
|
|
1263
1287
|
pattern?: string | undefined;
|
|
1288
|
+
multiple?: boolean | undefined;
|
|
1264
1289
|
}>>;
|
|
1265
1290
|
}, "strip", z.ZodTypeAny, {
|
|
1266
1291
|
type: "email";
|
|
1267
|
-
meta: {
|
|
1268
|
-
schemaVersion: "1.0";
|
|
1269
|
-
labelTranslationKey?: string | undefined;
|
|
1270
|
-
};
|
|
1271
1292
|
attributes?: {
|
|
1293
|
+
label?: string | undefined;
|
|
1294
|
+
help?: string | undefined;
|
|
1295
|
+
labelTranslationKey?: string | undefined;
|
|
1272
1296
|
maxLength?: number | undefined;
|
|
1273
1297
|
minLength?: number | undefined;
|
|
1274
|
-
multiple?: boolean | undefined;
|
|
1275
1298
|
pattern?: string | undefined;
|
|
1299
|
+
multiple?: boolean | undefined;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
meta?: {
|
|
1302
|
+
schemaVersion: "1.0";
|
|
1276
1303
|
} | undefined;
|
|
1277
1304
|
}, {
|
|
1278
1305
|
type: "email";
|
|
1279
|
-
meta: {
|
|
1280
|
-
schemaVersion: "1.0";
|
|
1281
|
-
labelTranslationKey?: string | undefined;
|
|
1282
|
-
};
|
|
1283
1306
|
attributes?: {
|
|
1307
|
+
label?: string | undefined;
|
|
1308
|
+
help?: string | undefined;
|
|
1309
|
+
labelTranslationKey?: string | undefined;
|
|
1284
1310
|
maxLength?: number | undefined;
|
|
1285
1311
|
minLength?: number | undefined;
|
|
1286
|
-
multiple?: boolean | undefined;
|
|
1287
1312
|
pattern?: string | undefined;
|
|
1313
|
+
multiple?: boolean | undefined;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
meta?: {
|
|
1316
|
+
schemaVersion: "1.0";
|
|
1288
1317
|
} | undefined;
|
|
1289
1318
|
}>, z.ZodObject<{
|
|
1290
|
-
meta: z.ZodObject<{
|
|
1319
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1291
1320
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1292
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1293
1321
|
}, "strip", z.ZodTypeAny, {
|
|
1294
1322
|
schemaVersion: "1.0";
|
|
1295
|
-
labelTranslationKey?: string | undefined;
|
|
1296
1323
|
}, {
|
|
1297
1324
|
schemaVersion: "1.0";
|
|
1298
|
-
|
|
1299
|
-
}>;
|
|
1325
|
+
}>>;
|
|
1300
1326
|
} & {
|
|
1301
1327
|
type: z.ZodLiteral<"filteredSearch">;
|
|
1302
1328
|
graphQL: z.ZodObject<{
|
|
@@ -1326,15 +1352,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1326
1352
|
}, "strip", z.ZodTypeAny, {
|
|
1327
1353
|
type: string;
|
|
1328
1354
|
name: string;
|
|
1329
|
-
labelTranslationKey?: string | undefined;
|
|
1330
1355
|
label?: string | undefined;
|
|
1356
|
+
labelTranslationKey?: string | undefined;
|
|
1331
1357
|
minLength?: number | undefined;
|
|
1332
1358
|
defaultValue?: string | undefined;
|
|
1333
1359
|
}, {
|
|
1334
1360
|
type: string;
|
|
1335
1361
|
name: string;
|
|
1336
|
-
labelTranslationKey?: string | undefined;
|
|
1337
1362
|
label?: string | undefined;
|
|
1363
|
+
labelTranslationKey?: string | undefined;
|
|
1338
1364
|
minLength?: number | undefined;
|
|
1339
1365
|
defaultValue?: string | undefined;
|
|
1340
1366
|
}>, "many">>;
|
|
@@ -1350,8 +1376,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1350
1376
|
variables?: {
|
|
1351
1377
|
type: string;
|
|
1352
1378
|
name: string;
|
|
1353
|
-
labelTranslationKey?: string | undefined;
|
|
1354
1379
|
label?: string | undefined;
|
|
1380
|
+
labelTranslationKey?: string | undefined;
|
|
1355
1381
|
minLength?: number | undefined;
|
|
1356
1382
|
defaultValue?: string | undefined;
|
|
1357
1383
|
}[] | undefined;
|
|
@@ -1367,25 +1393,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1367
1393
|
variables?: {
|
|
1368
1394
|
type: string;
|
|
1369
1395
|
name: string;
|
|
1370
|
-
labelTranslationKey?: string | undefined;
|
|
1371
1396
|
label?: string | undefined;
|
|
1397
|
+
labelTranslationKey?: string | undefined;
|
|
1372
1398
|
minLength?: number | undefined;
|
|
1373
1399
|
defaultValue?: string | undefined;
|
|
1374
1400
|
}[] | undefined;
|
|
1375
1401
|
}>;
|
|
1376
1402
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1403
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
} & {
|
|
1377
1407
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1378
1408
|
}, "strip", z.ZodTypeAny, {
|
|
1409
|
+
label?: string | undefined;
|
|
1410
|
+
help?: string | undefined;
|
|
1411
|
+
labelTranslationKey?: string | undefined;
|
|
1379
1412
|
multiple?: boolean | undefined;
|
|
1380
1413
|
}, {
|
|
1414
|
+
label?: string | undefined;
|
|
1415
|
+
help?: string | undefined;
|
|
1416
|
+
labelTranslationKey?: string | undefined;
|
|
1381
1417
|
multiple?: boolean | undefined;
|
|
1382
1418
|
}>>;
|
|
1383
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1384
1420
|
type: "filteredSearch";
|
|
1385
|
-
meta: {
|
|
1386
|
-
schemaVersion: "1.0";
|
|
1387
|
-
labelTranslationKey?: string | undefined;
|
|
1388
|
-
};
|
|
1389
1421
|
graphQL: {
|
|
1390
1422
|
displayFields: {
|
|
1391
1423
|
label: string;
|
|
@@ -1398,21 +1430,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1398
1430
|
variables?: {
|
|
1399
1431
|
type: string;
|
|
1400
1432
|
name: string;
|
|
1401
|
-
labelTranslationKey?: string | undefined;
|
|
1402
1433
|
label?: string | undefined;
|
|
1434
|
+
labelTranslationKey?: string | undefined;
|
|
1403
1435
|
minLength?: number | undefined;
|
|
1404
1436
|
defaultValue?: string | undefined;
|
|
1405
1437
|
}[] | undefined;
|
|
1406
1438
|
};
|
|
1407
1439
|
attributes?: {
|
|
1440
|
+
label?: string | undefined;
|
|
1441
|
+
help?: string | undefined;
|
|
1442
|
+
labelTranslationKey?: string | undefined;
|
|
1408
1443
|
multiple?: boolean | undefined;
|
|
1409
1444
|
} | undefined;
|
|
1445
|
+
meta?: {
|
|
1446
|
+
schemaVersion: "1.0";
|
|
1447
|
+
} | undefined;
|
|
1410
1448
|
}, {
|
|
1411
1449
|
type: "filteredSearch";
|
|
1412
|
-
meta: {
|
|
1413
|
-
schemaVersion: "1.0";
|
|
1414
|
-
labelTranslationKey?: string | undefined;
|
|
1415
|
-
};
|
|
1416
1450
|
graphQL: {
|
|
1417
1451
|
displayFields: {
|
|
1418
1452
|
label: string;
|
|
@@ -1425,233 +1459,243 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1425
1459
|
variables?: {
|
|
1426
1460
|
type: string;
|
|
1427
1461
|
name: string;
|
|
1428
|
-
labelTranslationKey?: string | undefined;
|
|
1429
1462
|
label?: string | undefined;
|
|
1463
|
+
labelTranslationKey?: string | undefined;
|
|
1430
1464
|
minLength?: number | undefined;
|
|
1431
1465
|
defaultValue?: string | undefined;
|
|
1432
1466
|
}[] | undefined;
|
|
1433
1467
|
};
|
|
1434
1468
|
attributes?: {
|
|
1469
|
+
label?: string | undefined;
|
|
1470
|
+
help?: string | undefined;
|
|
1471
|
+
labelTranslationKey?: string | undefined;
|
|
1435
1472
|
multiple?: boolean | undefined;
|
|
1436
1473
|
} | undefined;
|
|
1474
|
+
meta?: {
|
|
1475
|
+
schemaVersion: "1.0";
|
|
1476
|
+
} | undefined;
|
|
1437
1477
|
}>, z.ZodObject<{
|
|
1438
|
-
meta: z.ZodObject<{
|
|
1478
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1439
1479
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1440
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1441
1480
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1481
|
schemaVersion: "1.0";
|
|
1443
|
-
labelTranslationKey?: string | undefined;
|
|
1444
1482
|
}, {
|
|
1445
1483
|
schemaVersion: "1.0";
|
|
1446
|
-
|
|
1447
|
-
}>;
|
|
1484
|
+
}>>;
|
|
1448
1485
|
} & {
|
|
1449
1486
|
type: z.ZodLiteral<"number">;
|
|
1450
1487
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1488
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
} & {
|
|
1451
1492
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1452
1493
|
min: z.ZodOptional<z.ZodNumber>;
|
|
1453
1494
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1454
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1496
|
+
label?: string | undefined;
|
|
1497
|
+
help?: string | undefined;
|
|
1498
|
+
labelTranslationKey?: string | undefined;
|
|
1455
1499
|
max?: number | undefined;
|
|
1456
1500
|
min?: number | undefined;
|
|
1457
1501
|
step?: number | undefined;
|
|
1458
1502
|
}, {
|
|
1503
|
+
label?: string | undefined;
|
|
1504
|
+
help?: string | undefined;
|
|
1505
|
+
labelTranslationKey?: string | undefined;
|
|
1459
1506
|
max?: number | undefined;
|
|
1460
1507
|
min?: number | undefined;
|
|
1461
1508
|
step?: number | undefined;
|
|
1462
1509
|
}>>;
|
|
1463
1510
|
}, "strip", z.ZodTypeAny, {
|
|
1464
1511
|
type: "number";
|
|
1465
|
-
meta: {
|
|
1466
|
-
schemaVersion: "1.0";
|
|
1467
|
-
labelTranslationKey?: string | undefined;
|
|
1468
|
-
};
|
|
1469
1512
|
attributes?: {
|
|
1513
|
+
label?: string | undefined;
|
|
1514
|
+
help?: string | undefined;
|
|
1515
|
+
labelTranslationKey?: string | undefined;
|
|
1470
1516
|
max?: number | undefined;
|
|
1471
1517
|
min?: number | undefined;
|
|
1472
1518
|
step?: number | undefined;
|
|
1473
1519
|
} | undefined;
|
|
1520
|
+
meta?: {
|
|
1521
|
+
schemaVersion: "1.0";
|
|
1522
|
+
} | undefined;
|
|
1474
1523
|
}, {
|
|
1475
1524
|
type: "number";
|
|
1476
|
-
meta: {
|
|
1477
|
-
schemaVersion: "1.0";
|
|
1478
|
-
labelTranslationKey?: string | undefined;
|
|
1479
|
-
};
|
|
1480
1525
|
attributes?: {
|
|
1526
|
+
label?: string | undefined;
|
|
1527
|
+
help?: string | undefined;
|
|
1528
|
+
labelTranslationKey?: string | undefined;
|
|
1481
1529
|
max?: number | undefined;
|
|
1482
1530
|
min?: number | undefined;
|
|
1483
1531
|
step?: number | undefined;
|
|
1484
1532
|
} | undefined;
|
|
1533
|
+
meta?: {
|
|
1534
|
+
schemaVersion: "1.0";
|
|
1535
|
+
} | undefined;
|
|
1485
1536
|
}>, z.ZodObject<{
|
|
1486
|
-
|
|
1487
|
-
|
|
1537
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1538
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1539
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1488
1540
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1489
1541
|
}, "strip", z.ZodTypeAny, {
|
|
1490
|
-
|
|
1542
|
+
label?: string | undefined;
|
|
1543
|
+
help?: string | undefined;
|
|
1491
1544
|
labelTranslationKey?: string | undefined;
|
|
1492
1545
|
}, {
|
|
1493
|
-
|
|
1546
|
+
label?: string | undefined;
|
|
1547
|
+
help?: string | undefined;
|
|
1494
1548
|
labelTranslationKey?: string | undefined;
|
|
1495
|
-
}
|
|
1549
|
+
}>>;
|
|
1550
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1551
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1552
|
+
}, "strip", z.ZodTypeAny, {
|
|
1553
|
+
schemaVersion: "1.0";
|
|
1554
|
+
}, {
|
|
1555
|
+
schemaVersion: "1.0";
|
|
1556
|
+
}>>;
|
|
1496
1557
|
} & {
|
|
1497
1558
|
type: z.ZodLiteral<"radioButtons">;
|
|
1498
1559
|
options: z.ZodArray<z.ZodObject<{
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
} & {
|
|
1504
|
-
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1505
|
-
}, "strip", z.ZodTypeAny, {
|
|
1506
|
-
value: string;
|
|
1507
|
-
label: string;
|
|
1508
|
-
selected?: boolean | undefined;
|
|
1509
|
-
}, {
|
|
1510
|
-
value: string;
|
|
1511
|
-
label: string;
|
|
1512
|
-
selected?: boolean | undefined;
|
|
1513
|
-
}>;
|
|
1560
|
+
label: z.ZodString;
|
|
1561
|
+
value: z.ZodString;
|
|
1562
|
+
} & {
|
|
1563
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1514
1564
|
}, "strip", z.ZodTypeAny, {
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
label: string;
|
|
1519
|
-
selected?: boolean | undefined;
|
|
1520
|
-
};
|
|
1565
|
+
value: string;
|
|
1566
|
+
label: string;
|
|
1567
|
+
selected?: boolean | undefined;
|
|
1521
1568
|
}, {
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
label: string;
|
|
1526
|
-
selected?: boolean | undefined;
|
|
1527
|
-
};
|
|
1569
|
+
value: string;
|
|
1570
|
+
label: string;
|
|
1571
|
+
selected?: boolean | undefined;
|
|
1528
1572
|
}>, "many">;
|
|
1529
1573
|
}, "strip", z.ZodTypeAny, {
|
|
1530
|
-
type: "radioButtons";
|
|
1531
1574
|
options: {
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
label: string;
|
|
1536
|
-
selected?: boolean | undefined;
|
|
1537
|
-
};
|
|
1575
|
+
value: string;
|
|
1576
|
+
label: string;
|
|
1577
|
+
selected?: boolean | undefined;
|
|
1538
1578
|
}[];
|
|
1539
|
-
|
|
1540
|
-
|
|
1579
|
+
type: "radioButtons";
|
|
1580
|
+
attributes?: {
|
|
1581
|
+
label?: string | undefined;
|
|
1582
|
+
help?: string | undefined;
|
|
1541
1583
|
labelTranslationKey?: string | undefined;
|
|
1542
|
-
};
|
|
1584
|
+
} | undefined;
|
|
1585
|
+
meta?: {
|
|
1586
|
+
schemaVersion: "1.0";
|
|
1587
|
+
} | undefined;
|
|
1543
1588
|
}, {
|
|
1544
|
-
type: "radioButtons";
|
|
1545
1589
|
options: {
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
label: string;
|
|
1550
|
-
selected?: boolean | undefined;
|
|
1551
|
-
};
|
|
1590
|
+
value: string;
|
|
1591
|
+
label: string;
|
|
1592
|
+
selected?: boolean | undefined;
|
|
1552
1593
|
}[];
|
|
1553
|
-
|
|
1554
|
-
|
|
1594
|
+
type: "radioButtons";
|
|
1595
|
+
attributes?: {
|
|
1596
|
+
label?: string | undefined;
|
|
1597
|
+
help?: string | undefined;
|
|
1555
1598
|
labelTranslationKey?: string | undefined;
|
|
1556
|
-
};
|
|
1599
|
+
} | undefined;
|
|
1600
|
+
meta?: {
|
|
1601
|
+
schemaVersion: "1.0";
|
|
1602
|
+
} | undefined;
|
|
1557
1603
|
}>, z.ZodObject<{
|
|
1558
|
-
meta: z.ZodObject<{
|
|
1604
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1559
1605
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1560
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1561
1606
|
}, "strip", z.ZodTypeAny, {
|
|
1562
1607
|
schemaVersion: "1.0";
|
|
1563
|
-
labelTranslationKey?: string | undefined;
|
|
1564
1608
|
}, {
|
|
1565
|
-
schemaVersion: "1.0";
|
|
1566
|
-
|
|
1567
|
-
}>;
|
|
1609
|
+
schemaVersion: "1.0";
|
|
1610
|
+
}>>;
|
|
1568
1611
|
} & {
|
|
1569
1612
|
type: z.ZodLiteral<"selectBox">;
|
|
1570
1613
|
options: z.ZodArray<z.ZodObject<{
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
} & {
|
|
1576
|
-
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1577
|
-
}, "strip", z.ZodTypeAny, {
|
|
1578
|
-
value: string;
|
|
1579
|
-
label: string;
|
|
1580
|
-
selected?: boolean | undefined;
|
|
1581
|
-
}, {
|
|
1582
|
-
value: string;
|
|
1583
|
-
label: string;
|
|
1584
|
-
selected?: boolean | undefined;
|
|
1585
|
-
}>;
|
|
1614
|
+
label: z.ZodString;
|
|
1615
|
+
value: z.ZodString;
|
|
1616
|
+
} & {
|
|
1617
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
1586
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
label: string;
|
|
1591
|
-
selected?: boolean | undefined;
|
|
1592
|
-
};
|
|
1619
|
+
value: string;
|
|
1620
|
+
label: string;
|
|
1621
|
+
selected?: boolean | undefined;
|
|
1593
1622
|
}, {
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
label: string;
|
|
1598
|
-
selected?: boolean | undefined;
|
|
1599
|
-
};
|
|
1623
|
+
value: string;
|
|
1624
|
+
label: string;
|
|
1625
|
+
selected?: boolean | undefined;
|
|
1600
1626
|
}>, "many">;
|
|
1601
1627
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1628
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1630
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
} & {
|
|
1602
1632
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1603
1633
|
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
label?: string | undefined;
|
|
1635
|
+
help?: string | undefined;
|
|
1636
|
+
labelTranslationKey?: string | undefined;
|
|
1604
1637
|
multiple?: boolean | undefined;
|
|
1605
1638
|
}, {
|
|
1639
|
+
label?: string | undefined;
|
|
1640
|
+
help?: string | undefined;
|
|
1641
|
+
labelTranslationKey?: string | undefined;
|
|
1606
1642
|
multiple?: boolean | undefined;
|
|
1607
1643
|
}>>;
|
|
1608
1644
|
}, "strip", z.ZodTypeAny, {
|
|
1609
|
-
type: "selectBox";
|
|
1610
1645
|
options: {
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
label: string;
|
|
1615
|
-
selected?: boolean | undefined;
|
|
1616
|
-
};
|
|
1646
|
+
value: string;
|
|
1647
|
+
label: string;
|
|
1648
|
+
selected?: boolean | undefined;
|
|
1617
1649
|
}[];
|
|
1618
|
-
|
|
1619
|
-
schemaVersion: "1.0";
|
|
1620
|
-
labelTranslationKey?: string | undefined;
|
|
1621
|
-
};
|
|
1650
|
+
type: "selectBox";
|
|
1622
1651
|
attributes?: {
|
|
1652
|
+
label?: string | undefined;
|
|
1653
|
+
help?: string | undefined;
|
|
1654
|
+
labelTranslationKey?: string | undefined;
|
|
1623
1655
|
multiple?: boolean | undefined;
|
|
1624
1656
|
} | undefined;
|
|
1657
|
+
meta?: {
|
|
1658
|
+
schemaVersion: "1.0";
|
|
1659
|
+
} | undefined;
|
|
1625
1660
|
}, {
|
|
1626
|
-
type: "selectBox";
|
|
1627
1661
|
options: {
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
label: string;
|
|
1632
|
-
selected?: boolean | undefined;
|
|
1633
|
-
};
|
|
1662
|
+
value: string;
|
|
1663
|
+
label: string;
|
|
1664
|
+
selected?: boolean | undefined;
|
|
1634
1665
|
}[];
|
|
1635
|
-
|
|
1636
|
-
schemaVersion: "1.0";
|
|
1637
|
-
labelTranslationKey?: string | undefined;
|
|
1638
|
-
};
|
|
1666
|
+
type: "selectBox";
|
|
1639
1667
|
attributes?: {
|
|
1668
|
+
label?: string | undefined;
|
|
1669
|
+
help?: string | undefined;
|
|
1670
|
+
labelTranslationKey?: string | undefined;
|
|
1640
1671
|
multiple?: boolean | undefined;
|
|
1641
1672
|
} | undefined;
|
|
1673
|
+
meta?: {
|
|
1674
|
+
schemaVersion: "1.0";
|
|
1675
|
+
} | undefined;
|
|
1642
1676
|
}>, z.ZodObject<{} & {
|
|
1643
1677
|
type: z.ZodLiteral<"textArea">;
|
|
1644
1678
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1679
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1681
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
} & {
|
|
1645
1683
|
cols: z.ZodOptional<z.ZodNumber>;
|
|
1646
1684
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1647
1685
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1648
1686
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
1649
1687
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
+
label?: string | undefined;
|
|
1689
|
+
help?: string | undefined;
|
|
1690
|
+
labelTranslationKey?: string | undefined;
|
|
1650
1691
|
maxLength?: number | undefined;
|
|
1651
1692
|
minLength?: number | undefined;
|
|
1652
1693
|
cols?: number | undefined;
|
|
1653
1694
|
rows?: number | undefined;
|
|
1654
1695
|
}, {
|
|
1696
|
+
label?: string | undefined;
|
|
1697
|
+
help?: string | undefined;
|
|
1698
|
+
labelTranslationKey?: string | undefined;
|
|
1655
1699
|
maxLength?: number | undefined;
|
|
1656
1700
|
minLength?: number | undefined;
|
|
1657
1701
|
cols?: number | undefined;
|
|
@@ -1659,26 +1703,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1659
1703
|
}>>;
|
|
1660
1704
|
meta: z.ZodObject<{
|
|
1661
1705
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1662
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1663
1706
|
} & {
|
|
1664
1707
|
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
1665
1708
|
}, "strip", z.ZodTypeAny, {
|
|
1666
1709
|
schemaVersion: "1.0";
|
|
1667
|
-
labelTranslationKey?: string | undefined;
|
|
1668
1710
|
asRichText?: boolean | undefined;
|
|
1669
1711
|
}, {
|
|
1670
1712
|
schemaVersion: "1.0";
|
|
1671
|
-
labelTranslationKey?: string | undefined;
|
|
1672
1713
|
asRichText?: boolean | undefined;
|
|
1673
1714
|
}>;
|
|
1674
1715
|
}, "strip", z.ZodTypeAny, {
|
|
1675
1716
|
type: "textArea";
|
|
1676
1717
|
meta: {
|
|
1677
1718
|
schemaVersion: "1.0";
|
|
1678
|
-
labelTranslationKey?: string | undefined;
|
|
1679
1719
|
asRichText?: boolean | undefined;
|
|
1680
1720
|
};
|
|
1681
1721
|
attributes?: {
|
|
1722
|
+
label?: string | undefined;
|
|
1723
|
+
help?: string | undefined;
|
|
1724
|
+
labelTranslationKey?: string | undefined;
|
|
1682
1725
|
maxLength?: number | undefined;
|
|
1683
1726
|
minLength?: number | undefined;
|
|
1684
1727
|
cols?: number | undefined;
|
|
@@ -1688,74 +1731,97 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1688
1731
|
type: "textArea";
|
|
1689
1732
|
meta: {
|
|
1690
1733
|
schemaVersion: "1.0";
|
|
1691
|
-
labelTranslationKey?: string | undefined;
|
|
1692
1734
|
asRichText?: boolean | undefined;
|
|
1693
1735
|
};
|
|
1694
1736
|
attributes?: {
|
|
1737
|
+
label?: string | undefined;
|
|
1738
|
+
help?: string | undefined;
|
|
1739
|
+
labelTranslationKey?: string | undefined;
|
|
1695
1740
|
maxLength?: number | undefined;
|
|
1696
1741
|
minLength?: number | undefined;
|
|
1697
1742
|
cols?: number | undefined;
|
|
1698
1743
|
rows?: number | undefined;
|
|
1699
1744
|
} | undefined;
|
|
1700
1745
|
}>, z.ZodObject<{
|
|
1701
|
-
meta: z.ZodObject<{
|
|
1746
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1702
1747
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1703
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1704
1748
|
}, "strip", z.ZodTypeAny, {
|
|
1705
1749
|
schemaVersion: "1.0";
|
|
1706
|
-
labelTranslationKey?: string | undefined;
|
|
1707
1750
|
}, {
|
|
1708
1751
|
schemaVersion: "1.0";
|
|
1709
|
-
|
|
1710
|
-
}>;
|
|
1752
|
+
}>>;
|
|
1711
1753
|
} & {
|
|
1712
1754
|
type: z.ZodLiteral<"text">;
|
|
1713
1755
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1756
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
} & {
|
|
1714
1760
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1715
1761
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1716
1762
|
pattern: z.ZodOptional<z.ZodString>;
|
|
1717
1763
|
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
label?: string | undefined;
|
|
1765
|
+
help?: string | undefined;
|
|
1766
|
+
labelTranslationKey?: string | undefined;
|
|
1718
1767
|
maxLength?: number | undefined;
|
|
1719
1768
|
minLength?: number | undefined;
|
|
1720
1769
|
pattern?: string | undefined;
|
|
1721
1770
|
}, {
|
|
1771
|
+
label?: string | undefined;
|
|
1772
|
+
help?: string | undefined;
|
|
1773
|
+
labelTranslationKey?: string | undefined;
|
|
1722
1774
|
maxLength?: number | undefined;
|
|
1723
1775
|
minLength?: number | undefined;
|
|
1724
1776
|
pattern?: string | undefined;
|
|
1725
1777
|
}>>;
|
|
1726
1778
|
}, "strip", z.ZodTypeAny, {
|
|
1727
1779
|
type: "text";
|
|
1728
|
-
meta: {
|
|
1729
|
-
schemaVersion: "1.0";
|
|
1730
|
-
labelTranslationKey?: string | undefined;
|
|
1731
|
-
};
|
|
1732
1780
|
attributes?: {
|
|
1781
|
+
label?: string | undefined;
|
|
1782
|
+
help?: string | undefined;
|
|
1783
|
+
labelTranslationKey?: string | undefined;
|
|
1733
1784
|
maxLength?: number | undefined;
|
|
1734
1785
|
minLength?: number | undefined;
|
|
1735
1786
|
pattern?: string | undefined;
|
|
1736
1787
|
} | undefined;
|
|
1788
|
+
meta?: {
|
|
1789
|
+
schemaVersion: "1.0";
|
|
1790
|
+
} | undefined;
|
|
1737
1791
|
}, {
|
|
1738
1792
|
type: "text";
|
|
1739
|
-
meta: {
|
|
1740
|
-
schemaVersion: "1.0";
|
|
1741
|
-
labelTranslationKey?: string | undefined;
|
|
1742
|
-
};
|
|
1743
1793
|
attributes?: {
|
|
1794
|
+
label?: string | undefined;
|
|
1795
|
+
help?: string | undefined;
|
|
1796
|
+
labelTranslationKey?: string | undefined;
|
|
1744
1797
|
maxLength?: number | undefined;
|
|
1745
1798
|
minLength?: number | undefined;
|
|
1746
1799
|
pattern?: string | undefined;
|
|
1747
1800
|
} | undefined;
|
|
1801
|
+
meta?: {
|
|
1802
|
+
schemaVersion: "1.0";
|
|
1803
|
+
} | undefined;
|
|
1748
1804
|
}>, z.ZodObject<{
|
|
1749
|
-
|
|
1750
|
-
|
|
1805
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1806
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1807
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1751
1808
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1752
1809
|
}, "strip", z.ZodTypeAny, {
|
|
1753
|
-
|
|
1810
|
+
label?: string | undefined;
|
|
1811
|
+
help?: string | undefined;
|
|
1754
1812
|
labelTranslationKey?: string | undefined;
|
|
1755
1813
|
}, {
|
|
1756
|
-
|
|
1814
|
+
label?: string | undefined;
|
|
1815
|
+
help?: string | undefined;
|
|
1757
1816
|
labelTranslationKey?: string | undefined;
|
|
1758
|
-
}
|
|
1817
|
+
}>>;
|
|
1818
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1820
|
+
}, "strip", z.ZodTypeAny, {
|
|
1821
|
+
schemaVersion: "1.0";
|
|
1822
|
+
}, {
|
|
1823
|
+
schemaVersion: "1.0";
|
|
1824
|
+
}>>;
|
|
1759
1825
|
} & {
|
|
1760
1826
|
type: z.ZodLiteral<"typeaheadSearch">;
|
|
1761
1827
|
graphQL: z.ZodObject<{
|
|
@@ -1785,15 +1851,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1785
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1786
1852
|
type: string;
|
|
1787
1853
|
name: string;
|
|
1788
|
-
labelTranslationKey?: string | undefined;
|
|
1789
1854
|
label?: string | undefined;
|
|
1855
|
+
labelTranslationKey?: string | undefined;
|
|
1790
1856
|
minLength?: number | undefined;
|
|
1791
1857
|
defaultValue?: string | undefined;
|
|
1792
1858
|
}, {
|
|
1793
1859
|
type: string;
|
|
1794
1860
|
name: string;
|
|
1795
|
-
labelTranslationKey?: string | undefined;
|
|
1796
1861
|
label?: string | undefined;
|
|
1862
|
+
labelTranslationKey?: string | undefined;
|
|
1797
1863
|
minLength?: number | undefined;
|
|
1798
1864
|
defaultValue?: string | undefined;
|
|
1799
1865
|
}>, "many">>;
|
|
@@ -1809,8 +1875,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1809
1875
|
variables?: {
|
|
1810
1876
|
type: string;
|
|
1811
1877
|
name: string;
|
|
1812
|
-
labelTranslationKey?: string | undefined;
|
|
1813
1878
|
label?: string | undefined;
|
|
1879
|
+
labelTranslationKey?: string | undefined;
|
|
1814
1880
|
minLength?: number | undefined;
|
|
1815
1881
|
defaultValue?: string | undefined;
|
|
1816
1882
|
}[] | undefined;
|
|
@@ -1826,18 +1892,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1826
1892
|
variables?: {
|
|
1827
1893
|
type: string;
|
|
1828
1894
|
name: string;
|
|
1829
|
-
labelTranslationKey?: string | undefined;
|
|
1830
1895
|
label?: string | undefined;
|
|
1896
|
+
labelTranslationKey?: string | undefined;
|
|
1831
1897
|
minLength?: number | undefined;
|
|
1832
1898
|
defaultValue?: string | undefined;
|
|
1833
1899
|
}[] | undefined;
|
|
1834
1900
|
}>;
|
|
1835
1901
|
}, "strip", z.ZodTypeAny, {
|
|
1836
1902
|
type: "typeaheadSearch";
|
|
1837
|
-
meta: {
|
|
1838
|
-
schemaVersion: "1.0";
|
|
1839
|
-
labelTranslationKey?: string | undefined;
|
|
1840
|
-
};
|
|
1841
1903
|
graphQL: {
|
|
1842
1904
|
displayFields: {
|
|
1843
1905
|
label: string;
|
|
@@ -1850,18 +1912,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1850
1912
|
variables?: {
|
|
1851
1913
|
type: string;
|
|
1852
1914
|
name: string;
|
|
1853
|
-
labelTranslationKey?: string | undefined;
|
|
1854
1915
|
label?: string | undefined;
|
|
1916
|
+
labelTranslationKey?: string | undefined;
|
|
1855
1917
|
minLength?: number | undefined;
|
|
1856
1918
|
defaultValue?: string | undefined;
|
|
1857
1919
|
}[] | undefined;
|
|
1858
1920
|
};
|
|
1921
|
+
attributes?: {
|
|
1922
|
+
label?: string | undefined;
|
|
1923
|
+
help?: string | undefined;
|
|
1924
|
+
labelTranslationKey?: string | undefined;
|
|
1925
|
+
} | undefined;
|
|
1926
|
+
meta?: {
|
|
1927
|
+
schemaVersion: "1.0";
|
|
1928
|
+
} | undefined;
|
|
1859
1929
|
}, {
|
|
1860
1930
|
type: "typeaheadSearch";
|
|
1861
|
-
meta: {
|
|
1862
|
-
schemaVersion: "1.0";
|
|
1863
|
-
labelTranslationKey?: string | undefined;
|
|
1864
|
-
};
|
|
1865
1931
|
graphQL: {
|
|
1866
1932
|
displayFields: {
|
|
1867
1933
|
label: string;
|
|
@@ -1874,114 +1940,143 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1874
1940
|
variables?: {
|
|
1875
1941
|
type: string;
|
|
1876
1942
|
name: string;
|
|
1877
|
-
labelTranslationKey?: string | undefined;
|
|
1878
1943
|
label?: string | undefined;
|
|
1944
|
+
labelTranslationKey?: string | undefined;
|
|
1879
1945
|
minLength?: number | undefined;
|
|
1880
1946
|
defaultValue?: string | undefined;
|
|
1881
1947
|
}[] | undefined;
|
|
1882
1948
|
};
|
|
1949
|
+
attributes?: {
|
|
1950
|
+
label?: string | undefined;
|
|
1951
|
+
help?: string | undefined;
|
|
1952
|
+
labelTranslationKey?: string | undefined;
|
|
1953
|
+
} | undefined;
|
|
1954
|
+
meta?: {
|
|
1955
|
+
schemaVersion: "1.0";
|
|
1956
|
+
} | undefined;
|
|
1883
1957
|
}>, z.ZodObject<{
|
|
1884
|
-
meta: z.ZodObject<{
|
|
1958
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1885
1959
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1886
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1887
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1888
1961
|
schemaVersion: "1.0";
|
|
1889
|
-
labelTranslationKey?: string | undefined;
|
|
1890
1962
|
}, {
|
|
1891
1963
|
schemaVersion: "1.0";
|
|
1892
|
-
|
|
1893
|
-
}>;
|
|
1964
|
+
}>>;
|
|
1894
1965
|
} & {
|
|
1895
1966
|
type: z.ZodLiteral<"url">;
|
|
1896
1967
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1968
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1969
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
} & {
|
|
1897
1972
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1898
1973
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1899
1974
|
pattern: z.ZodOptional<z.ZodString>;
|
|
1900
1975
|
}, "strip", z.ZodTypeAny, {
|
|
1976
|
+
label?: string | undefined;
|
|
1977
|
+
help?: string | undefined;
|
|
1978
|
+
labelTranslationKey?: string | undefined;
|
|
1901
1979
|
maxLength?: number | undefined;
|
|
1902
1980
|
minLength?: number | undefined;
|
|
1903
1981
|
pattern?: string | undefined;
|
|
1904
1982
|
}, {
|
|
1983
|
+
label?: string | undefined;
|
|
1984
|
+
help?: string | undefined;
|
|
1985
|
+
labelTranslationKey?: string | undefined;
|
|
1905
1986
|
maxLength?: number | undefined;
|
|
1906
1987
|
minLength?: number | undefined;
|
|
1907
1988
|
pattern?: string | undefined;
|
|
1908
1989
|
}>>;
|
|
1909
1990
|
}, "strip", z.ZodTypeAny, {
|
|
1910
1991
|
type: "url";
|
|
1911
|
-
meta: {
|
|
1912
|
-
schemaVersion: "1.0";
|
|
1913
|
-
labelTranslationKey?: string | undefined;
|
|
1914
|
-
};
|
|
1915
1992
|
attributes?: {
|
|
1993
|
+
label?: string | undefined;
|
|
1994
|
+
help?: string | undefined;
|
|
1995
|
+
labelTranslationKey?: string | undefined;
|
|
1916
1996
|
maxLength?: number | undefined;
|
|
1917
1997
|
minLength?: number | undefined;
|
|
1918
1998
|
pattern?: string | undefined;
|
|
1919
1999
|
} | undefined;
|
|
2000
|
+
meta?: {
|
|
2001
|
+
schemaVersion: "1.0";
|
|
2002
|
+
} | undefined;
|
|
1920
2003
|
}, {
|
|
1921
2004
|
type: "url";
|
|
1922
|
-
meta: {
|
|
1923
|
-
schemaVersion: "1.0";
|
|
1924
|
-
labelTranslationKey?: string | undefined;
|
|
1925
|
-
};
|
|
1926
2005
|
attributes?: {
|
|
2006
|
+
label?: string | undefined;
|
|
2007
|
+
help?: string | undefined;
|
|
2008
|
+
labelTranslationKey?: string | undefined;
|
|
1927
2009
|
maxLength?: number | undefined;
|
|
1928
2010
|
minLength?: number | undefined;
|
|
1929
2011
|
pattern?: string | undefined;
|
|
1930
2012
|
} | undefined;
|
|
2013
|
+
meta?: {
|
|
2014
|
+
schemaVersion: "1.0";
|
|
2015
|
+
} | undefined;
|
|
1931
2016
|
}>]>;
|
|
1932
2017
|
}, "strip", z.ZodTypeAny, {
|
|
1933
2018
|
content: {
|
|
1934
2019
|
type: "boolean";
|
|
1935
|
-
meta: {
|
|
1936
|
-
schemaVersion: "1.0";
|
|
1937
|
-
labelTranslationKey?: string | undefined;
|
|
1938
|
-
};
|
|
1939
2020
|
attributes?: {
|
|
2021
|
+
label?: string | undefined;
|
|
2022
|
+
help?: string | undefined;
|
|
2023
|
+
labelTranslationKey?: string | undefined;
|
|
1940
2024
|
checked?: boolean | undefined;
|
|
1941
2025
|
} | undefined;
|
|
1942
|
-
|
|
1943
|
-
type: "number";
|
|
1944
|
-
meta: {
|
|
2026
|
+
meta?: {
|
|
1945
2027
|
schemaVersion: "1.0";
|
|
1946
|
-
|
|
1947
|
-
|
|
2028
|
+
} | undefined;
|
|
2029
|
+
} | {
|
|
2030
|
+
type: "currency";
|
|
1948
2031
|
attributes?: {
|
|
2032
|
+
label?: string | undefined;
|
|
2033
|
+
help?: string | undefined;
|
|
2034
|
+
labelTranslationKey?: string | undefined;
|
|
1949
2035
|
max?: number | undefined;
|
|
1950
2036
|
min?: number | undefined;
|
|
1951
2037
|
step?: number | undefined;
|
|
2038
|
+
denomination?: string | undefined;
|
|
1952
2039
|
} | undefined;
|
|
1953
|
-
|
|
1954
|
-
type: "currency";
|
|
1955
|
-
meta: {
|
|
2040
|
+
meta?: {
|
|
1956
2041
|
schemaVersion: "1.0";
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2042
|
+
} | undefined;
|
|
2043
|
+
} | {
|
|
2044
|
+
type: "number";
|
|
1960
2045
|
attributes?: {
|
|
2046
|
+
label?: string | undefined;
|
|
2047
|
+
help?: string | undefined;
|
|
2048
|
+
labelTranslationKey?: string | undefined;
|
|
1961
2049
|
max?: number | undefined;
|
|
1962
2050
|
min?: number | undefined;
|
|
1963
2051
|
step?: number | undefined;
|
|
1964
2052
|
} | undefined;
|
|
2053
|
+
meta?: {
|
|
2054
|
+
schemaVersion: "1.0";
|
|
2055
|
+
} | undefined;
|
|
1965
2056
|
} | {
|
|
1966
2057
|
type: "email";
|
|
1967
|
-
meta: {
|
|
1968
|
-
schemaVersion: "1.0";
|
|
1969
|
-
labelTranslationKey?: string | undefined;
|
|
1970
|
-
};
|
|
1971
2058
|
attributes?: {
|
|
2059
|
+
label?: string | undefined;
|
|
2060
|
+
help?: string | undefined;
|
|
2061
|
+
labelTranslationKey?: string | undefined;
|
|
1972
2062
|
maxLength?: number | undefined;
|
|
1973
2063
|
minLength?: number | undefined;
|
|
1974
|
-
multiple?: boolean | undefined;
|
|
1975
2064
|
pattern?: string | undefined;
|
|
2065
|
+
multiple?: boolean | undefined;
|
|
2066
|
+
} | undefined;
|
|
2067
|
+
meta?: {
|
|
2068
|
+
schemaVersion: "1.0";
|
|
1976
2069
|
} | undefined;
|
|
1977
2070
|
} | {
|
|
1978
2071
|
type: "textArea";
|
|
1979
2072
|
meta: {
|
|
1980
2073
|
schemaVersion: "1.0";
|
|
1981
|
-
labelTranslationKey?: string | undefined;
|
|
1982
2074
|
asRichText?: boolean | undefined;
|
|
1983
2075
|
};
|
|
1984
2076
|
attributes?: {
|
|
2077
|
+
label?: string | undefined;
|
|
2078
|
+
help?: string | undefined;
|
|
2079
|
+
labelTranslationKey?: string | undefined;
|
|
1985
2080
|
maxLength?: number | undefined;
|
|
1986
2081
|
minLength?: number | undefined;
|
|
1987
2082
|
cols?: number | undefined;
|
|
@@ -1989,116 +2084,119 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1989
2084
|
} | undefined;
|
|
1990
2085
|
} | {
|
|
1991
2086
|
type: "text";
|
|
1992
|
-
meta: {
|
|
1993
|
-
schemaVersion: "1.0";
|
|
1994
|
-
labelTranslationKey?: string | undefined;
|
|
1995
|
-
};
|
|
1996
2087
|
attributes?: {
|
|
2088
|
+
label?: string | undefined;
|
|
2089
|
+
help?: string | undefined;
|
|
2090
|
+
labelTranslationKey?: string | undefined;
|
|
1997
2091
|
maxLength?: number | undefined;
|
|
1998
2092
|
minLength?: number | undefined;
|
|
1999
2093
|
pattern?: string | undefined;
|
|
2000
2094
|
} | undefined;
|
|
2095
|
+
meta?: {
|
|
2096
|
+
schemaVersion: "1.0";
|
|
2097
|
+
} | undefined;
|
|
2001
2098
|
} | {
|
|
2002
2099
|
type: "url";
|
|
2003
|
-
meta: {
|
|
2004
|
-
schemaVersion: "1.0";
|
|
2005
|
-
labelTranslationKey?: string | undefined;
|
|
2006
|
-
};
|
|
2007
2100
|
attributes?: {
|
|
2101
|
+
label?: string | undefined;
|
|
2102
|
+
help?: string | undefined;
|
|
2103
|
+
labelTranslationKey?: string | undefined;
|
|
2008
2104
|
maxLength?: number | undefined;
|
|
2009
2105
|
minLength?: number | undefined;
|
|
2010
2106
|
pattern?: string | undefined;
|
|
2011
2107
|
} | undefined;
|
|
2108
|
+
meta?: {
|
|
2109
|
+
schemaVersion: "1.0";
|
|
2110
|
+
} | undefined;
|
|
2012
2111
|
} | {
|
|
2013
2112
|
type: "date";
|
|
2014
|
-
meta: {
|
|
2015
|
-
schemaVersion: "1.0";
|
|
2016
|
-
labelTranslationKey?: string | undefined;
|
|
2017
|
-
};
|
|
2018
2113
|
attributes?: {
|
|
2114
|
+
label?: string | undefined;
|
|
2115
|
+
help?: string | undefined;
|
|
2116
|
+
labelTranslationKey?: string | undefined;
|
|
2019
2117
|
max?: string | undefined;
|
|
2020
2118
|
min?: string | undefined;
|
|
2021
2119
|
step?: number | undefined;
|
|
2022
2120
|
} | undefined;
|
|
2121
|
+
meta?: {
|
|
2122
|
+
schemaVersion: "1.0";
|
|
2123
|
+
} | undefined;
|
|
2023
2124
|
} | {
|
|
2024
2125
|
type: "dateRange";
|
|
2025
|
-
meta: {
|
|
2026
|
-
schemaVersion: "1.0";
|
|
2027
|
-
labelTranslationKey?: string | undefined;
|
|
2028
|
-
};
|
|
2029
2126
|
columns: {
|
|
2030
|
-
start
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
attributes: {
|
|
2047
|
-
label: string;
|
|
2048
|
-
};
|
|
2049
|
-
};
|
|
2127
|
+
start?: {
|
|
2128
|
+
label?: string | undefined;
|
|
2129
|
+
help?: string | undefined;
|
|
2130
|
+
labelTranslationKey?: string | undefined;
|
|
2131
|
+
max?: string | undefined;
|
|
2132
|
+
min?: string | undefined;
|
|
2133
|
+
step?: number | undefined;
|
|
2134
|
+
} | undefined;
|
|
2135
|
+
end?: {
|
|
2136
|
+
label?: string | undefined;
|
|
2137
|
+
help?: string | undefined;
|
|
2138
|
+
labelTranslationKey?: string | undefined;
|
|
2139
|
+
max?: string | undefined;
|
|
2140
|
+
min?: string | undefined;
|
|
2141
|
+
step?: number | undefined;
|
|
2142
|
+
} | undefined;
|
|
2050
2143
|
};
|
|
2144
|
+
attributes?: {
|
|
2145
|
+
label?: string | undefined;
|
|
2146
|
+
help?: string | undefined;
|
|
2147
|
+
labelTranslationKey?: string | undefined;
|
|
2148
|
+
} | undefined;
|
|
2149
|
+
meta?: {
|
|
2150
|
+
schemaVersion: "1.0";
|
|
2151
|
+
} | undefined;
|
|
2051
2152
|
} | {
|
|
2052
|
-
type: "checkBoxes";
|
|
2053
2153
|
options: {
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
label: string;
|
|
2058
|
-
checked?: boolean | undefined;
|
|
2059
|
-
};
|
|
2154
|
+
value: string;
|
|
2155
|
+
label: string;
|
|
2156
|
+
checked?: boolean | undefined;
|
|
2060
2157
|
}[];
|
|
2061
|
-
|
|
2062
|
-
|
|
2158
|
+
type: "checkBoxes";
|
|
2159
|
+
attributes?: {
|
|
2160
|
+
label?: string | undefined;
|
|
2161
|
+
help?: string | undefined;
|
|
2063
2162
|
labelTranslationKey?: string | undefined;
|
|
2064
|
-
};
|
|
2163
|
+
} | undefined;
|
|
2164
|
+
meta?: {
|
|
2165
|
+
schemaVersion: "1.0";
|
|
2166
|
+
} | undefined;
|
|
2065
2167
|
} | {
|
|
2066
|
-
type: "radioButtons";
|
|
2067
2168
|
options: {
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
label: string;
|
|
2072
|
-
selected?: boolean | undefined;
|
|
2073
|
-
};
|
|
2169
|
+
value: string;
|
|
2170
|
+
label: string;
|
|
2171
|
+
selected?: boolean | undefined;
|
|
2074
2172
|
}[];
|
|
2075
|
-
|
|
2076
|
-
|
|
2173
|
+
type: "radioButtons";
|
|
2174
|
+
attributes?: {
|
|
2175
|
+
label?: string | undefined;
|
|
2176
|
+
help?: string | undefined;
|
|
2077
2177
|
labelTranslationKey?: string | undefined;
|
|
2078
|
-
};
|
|
2178
|
+
} | undefined;
|
|
2179
|
+
meta?: {
|
|
2180
|
+
schemaVersion: "1.0";
|
|
2181
|
+
} | undefined;
|
|
2079
2182
|
} | {
|
|
2080
|
-
type: "selectBox";
|
|
2081
2183
|
options: {
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
label: string;
|
|
2086
|
-
selected?: boolean | undefined;
|
|
2087
|
-
};
|
|
2184
|
+
value: string;
|
|
2185
|
+
label: string;
|
|
2186
|
+
selected?: boolean | undefined;
|
|
2088
2187
|
}[];
|
|
2089
|
-
|
|
2090
|
-
schemaVersion: "1.0";
|
|
2091
|
-
labelTranslationKey?: string | undefined;
|
|
2092
|
-
};
|
|
2188
|
+
type: "selectBox";
|
|
2093
2189
|
attributes?: {
|
|
2190
|
+
label?: string | undefined;
|
|
2191
|
+
help?: string | undefined;
|
|
2192
|
+
labelTranslationKey?: string | undefined;
|
|
2094
2193
|
multiple?: boolean | undefined;
|
|
2095
2194
|
} | undefined;
|
|
2195
|
+
meta?: {
|
|
2196
|
+
schemaVersion: "1.0";
|
|
2197
|
+
} | undefined;
|
|
2096
2198
|
} | {
|
|
2097
2199
|
type: "filteredSearch";
|
|
2098
|
-
meta: {
|
|
2099
|
-
schemaVersion: "1.0";
|
|
2100
|
-
labelTranslationKey?: string | undefined;
|
|
2101
|
-
};
|
|
2102
2200
|
graphQL: {
|
|
2103
2201
|
displayFields: {
|
|
2104
2202
|
label: string;
|
|
@@ -2111,21 +2209,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2111
2209
|
variables?: {
|
|
2112
2210
|
type: string;
|
|
2113
2211
|
name: string;
|
|
2114
|
-
labelTranslationKey?: string | undefined;
|
|
2115
2212
|
label?: string | undefined;
|
|
2213
|
+
labelTranslationKey?: string | undefined;
|
|
2116
2214
|
minLength?: number | undefined;
|
|
2117
2215
|
defaultValue?: string | undefined;
|
|
2118
2216
|
}[] | undefined;
|
|
2119
2217
|
};
|
|
2120
2218
|
attributes?: {
|
|
2219
|
+
label?: string | undefined;
|
|
2220
|
+
help?: string | undefined;
|
|
2221
|
+
labelTranslationKey?: string | undefined;
|
|
2121
2222
|
multiple?: boolean | undefined;
|
|
2122
2223
|
} | undefined;
|
|
2224
|
+
meta?: {
|
|
2225
|
+
schemaVersion: "1.0";
|
|
2226
|
+
} | undefined;
|
|
2123
2227
|
} | {
|
|
2124
2228
|
type: "typeaheadSearch";
|
|
2125
|
-
meta: {
|
|
2126
|
-
schemaVersion: "1.0";
|
|
2127
|
-
labelTranslationKey?: string | undefined;
|
|
2128
|
-
};
|
|
2129
2229
|
graphQL: {
|
|
2130
2230
|
displayFields: {
|
|
2131
2231
|
label: string;
|
|
@@ -2138,67 +2238,85 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2138
2238
|
variables?: {
|
|
2139
2239
|
type: string;
|
|
2140
2240
|
name: string;
|
|
2141
|
-
labelTranslationKey?: string | undefined;
|
|
2142
2241
|
label?: string | undefined;
|
|
2242
|
+
labelTranslationKey?: string | undefined;
|
|
2143
2243
|
minLength?: number | undefined;
|
|
2144
2244
|
defaultValue?: string | undefined;
|
|
2145
2245
|
}[] | undefined;
|
|
2146
2246
|
};
|
|
2247
|
+
attributes?: {
|
|
2248
|
+
label?: string | undefined;
|
|
2249
|
+
help?: string | undefined;
|
|
2250
|
+
labelTranslationKey?: string | undefined;
|
|
2251
|
+
} | undefined;
|
|
2252
|
+
meta?: {
|
|
2253
|
+
schemaVersion: "1.0";
|
|
2254
|
+
} | undefined;
|
|
2147
2255
|
};
|
|
2148
2256
|
heading?: string | undefined;
|
|
2149
2257
|
}, {
|
|
2150
2258
|
content: {
|
|
2151
2259
|
type: "boolean";
|
|
2152
|
-
meta: {
|
|
2153
|
-
schemaVersion: "1.0";
|
|
2154
|
-
labelTranslationKey?: string | undefined;
|
|
2155
|
-
};
|
|
2156
2260
|
attributes?: {
|
|
2261
|
+
label?: string | undefined;
|
|
2262
|
+
help?: string | undefined;
|
|
2263
|
+
labelTranslationKey?: string | undefined;
|
|
2157
2264
|
checked?: boolean | undefined;
|
|
2158
2265
|
} | undefined;
|
|
2159
|
-
|
|
2160
|
-
type: "number";
|
|
2161
|
-
meta: {
|
|
2266
|
+
meta?: {
|
|
2162
2267
|
schemaVersion: "1.0";
|
|
2163
|
-
|
|
2164
|
-
|
|
2268
|
+
} | undefined;
|
|
2269
|
+
} | {
|
|
2270
|
+
type: "currency";
|
|
2165
2271
|
attributes?: {
|
|
2272
|
+
label?: string | undefined;
|
|
2273
|
+
help?: string | undefined;
|
|
2274
|
+
labelTranslationKey?: string | undefined;
|
|
2166
2275
|
max?: number | undefined;
|
|
2167
2276
|
min?: number | undefined;
|
|
2168
2277
|
step?: number | undefined;
|
|
2278
|
+
denomination?: string | undefined;
|
|
2169
2279
|
} | undefined;
|
|
2170
|
-
|
|
2171
|
-
type: "currency";
|
|
2172
|
-
meta: {
|
|
2280
|
+
meta?: {
|
|
2173
2281
|
schemaVersion: "1.0";
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2282
|
+
} | undefined;
|
|
2283
|
+
} | {
|
|
2284
|
+
type: "number";
|
|
2177
2285
|
attributes?: {
|
|
2286
|
+
label?: string | undefined;
|
|
2287
|
+
help?: string | undefined;
|
|
2288
|
+
labelTranslationKey?: string | undefined;
|
|
2178
2289
|
max?: number | undefined;
|
|
2179
2290
|
min?: number | undefined;
|
|
2180
2291
|
step?: number | undefined;
|
|
2181
2292
|
} | undefined;
|
|
2293
|
+
meta?: {
|
|
2294
|
+
schemaVersion: "1.0";
|
|
2295
|
+
} | undefined;
|
|
2182
2296
|
} | {
|
|
2183
2297
|
type: "email";
|
|
2184
|
-
meta: {
|
|
2185
|
-
schemaVersion: "1.0";
|
|
2186
|
-
labelTranslationKey?: string | undefined;
|
|
2187
|
-
};
|
|
2188
2298
|
attributes?: {
|
|
2299
|
+
label?: string | undefined;
|
|
2300
|
+
help?: string | undefined;
|
|
2301
|
+
labelTranslationKey?: string | undefined;
|
|
2189
2302
|
maxLength?: number | undefined;
|
|
2190
2303
|
minLength?: number | undefined;
|
|
2191
|
-
multiple?: boolean | undefined;
|
|
2192
2304
|
pattern?: string | undefined;
|
|
2305
|
+
multiple?: boolean | undefined;
|
|
2306
|
+
} | undefined;
|
|
2307
|
+
meta?: {
|
|
2308
|
+
schemaVersion: "1.0";
|
|
2193
2309
|
} | undefined;
|
|
2194
2310
|
} | {
|
|
2195
2311
|
type: "textArea";
|
|
2196
2312
|
meta: {
|
|
2197
2313
|
schemaVersion: "1.0";
|
|
2198
|
-
labelTranslationKey?: string | undefined;
|
|
2199
2314
|
asRichText?: boolean | undefined;
|
|
2200
2315
|
};
|
|
2201
2316
|
attributes?: {
|
|
2317
|
+
label?: string | undefined;
|
|
2318
|
+
help?: string | undefined;
|
|
2319
|
+
labelTranslationKey?: string | undefined;
|
|
2202
2320
|
maxLength?: number | undefined;
|
|
2203
2321
|
minLength?: number | undefined;
|
|
2204
2322
|
cols?: number | undefined;
|
|
@@ -2206,116 +2324,119 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2206
2324
|
} | undefined;
|
|
2207
2325
|
} | {
|
|
2208
2326
|
type: "text";
|
|
2209
|
-
meta: {
|
|
2210
|
-
schemaVersion: "1.0";
|
|
2211
|
-
labelTranslationKey?: string | undefined;
|
|
2212
|
-
};
|
|
2213
2327
|
attributes?: {
|
|
2328
|
+
label?: string | undefined;
|
|
2329
|
+
help?: string | undefined;
|
|
2330
|
+
labelTranslationKey?: string | undefined;
|
|
2214
2331
|
maxLength?: number | undefined;
|
|
2215
2332
|
minLength?: number | undefined;
|
|
2216
2333
|
pattern?: string | undefined;
|
|
2217
2334
|
} | undefined;
|
|
2335
|
+
meta?: {
|
|
2336
|
+
schemaVersion: "1.0";
|
|
2337
|
+
} | undefined;
|
|
2218
2338
|
} | {
|
|
2219
2339
|
type: "url";
|
|
2220
|
-
meta: {
|
|
2221
|
-
schemaVersion: "1.0";
|
|
2222
|
-
labelTranslationKey?: string | undefined;
|
|
2223
|
-
};
|
|
2224
2340
|
attributes?: {
|
|
2341
|
+
label?: string | undefined;
|
|
2342
|
+
help?: string | undefined;
|
|
2343
|
+
labelTranslationKey?: string | undefined;
|
|
2225
2344
|
maxLength?: number | undefined;
|
|
2226
2345
|
minLength?: number | undefined;
|
|
2227
2346
|
pattern?: string | undefined;
|
|
2228
2347
|
} | undefined;
|
|
2348
|
+
meta?: {
|
|
2349
|
+
schemaVersion: "1.0";
|
|
2350
|
+
} | undefined;
|
|
2229
2351
|
} | {
|
|
2230
2352
|
type: "date";
|
|
2231
|
-
meta: {
|
|
2232
|
-
schemaVersion: "1.0";
|
|
2233
|
-
labelTranslationKey?: string | undefined;
|
|
2234
|
-
};
|
|
2235
2353
|
attributes?: {
|
|
2354
|
+
label?: string | undefined;
|
|
2355
|
+
help?: string | undefined;
|
|
2356
|
+
labelTranslationKey?: string | undefined;
|
|
2236
2357
|
max?: string | undefined;
|
|
2237
2358
|
min?: string | undefined;
|
|
2238
2359
|
step?: number | undefined;
|
|
2239
2360
|
} | undefined;
|
|
2361
|
+
meta?: {
|
|
2362
|
+
schemaVersion: "1.0";
|
|
2363
|
+
} | undefined;
|
|
2240
2364
|
} | {
|
|
2241
2365
|
type: "dateRange";
|
|
2242
|
-
meta: {
|
|
2243
|
-
schemaVersion: "1.0";
|
|
2244
|
-
labelTranslationKey?: string | undefined;
|
|
2245
|
-
};
|
|
2246
2366
|
columns: {
|
|
2247
|
-
start
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
attributes: {
|
|
2264
|
-
label: string;
|
|
2265
|
-
};
|
|
2266
|
-
};
|
|
2367
|
+
start?: {
|
|
2368
|
+
label?: string | undefined;
|
|
2369
|
+
help?: string | undefined;
|
|
2370
|
+
labelTranslationKey?: string | undefined;
|
|
2371
|
+
max?: string | undefined;
|
|
2372
|
+
min?: string | undefined;
|
|
2373
|
+
step?: number | undefined;
|
|
2374
|
+
} | undefined;
|
|
2375
|
+
end?: {
|
|
2376
|
+
label?: string | undefined;
|
|
2377
|
+
help?: string | undefined;
|
|
2378
|
+
labelTranslationKey?: string | undefined;
|
|
2379
|
+
max?: string | undefined;
|
|
2380
|
+
min?: string | undefined;
|
|
2381
|
+
step?: number | undefined;
|
|
2382
|
+
} | undefined;
|
|
2267
2383
|
};
|
|
2384
|
+
attributes?: {
|
|
2385
|
+
label?: string | undefined;
|
|
2386
|
+
help?: string | undefined;
|
|
2387
|
+
labelTranslationKey?: string | undefined;
|
|
2388
|
+
} | undefined;
|
|
2389
|
+
meta?: {
|
|
2390
|
+
schemaVersion: "1.0";
|
|
2391
|
+
} | undefined;
|
|
2268
2392
|
} | {
|
|
2269
|
-
type: "checkBoxes";
|
|
2270
2393
|
options: {
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
label: string;
|
|
2275
|
-
checked?: boolean | undefined;
|
|
2276
|
-
};
|
|
2394
|
+
value: string;
|
|
2395
|
+
label: string;
|
|
2396
|
+
checked?: boolean | undefined;
|
|
2277
2397
|
}[];
|
|
2278
|
-
|
|
2279
|
-
|
|
2398
|
+
type: "checkBoxes";
|
|
2399
|
+
attributes?: {
|
|
2400
|
+
label?: string | undefined;
|
|
2401
|
+
help?: string | undefined;
|
|
2280
2402
|
labelTranslationKey?: string | undefined;
|
|
2281
|
-
};
|
|
2403
|
+
} | undefined;
|
|
2404
|
+
meta?: {
|
|
2405
|
+
schemaVersion: "1.0";
|
|
2406
|
+
} | undefined;
|
|
2282
2407
|
} | {
|
|
2283
|
-
type: "radioButtons";
|
|
2284
2408
|
options: {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
label: string;
|
|
2289
|
-
selected?: boolean | undefined;
|
|
2290
|
-
};
|
|
2409
|
+
value: string;
|
|
2410
|
+
label: string;
|
|
2411
|
+
selected?: boolean | undefined;
|
|
2291
2412
|
}[];
|
|
2292
|
-
|
|
2293
|
-
|
|
2413
|
+
type: "radioButtons";
|
|
2414
|
+
attributes?: {
|
|
2415
|
+
label?: string | undefined;
|
|
2416
|
+
help?: string | undefined;
|
|
2294
2417
|
labelTranslationKey?: string | undefined;
|
|
2295
|
-
};
|
|
2418
|
+
} | undefined;
|
|
2419
|
+
meta?: {
|
|
2420
|
+
schemaVersion: "1.0";
|
|
2421
|
+
} | undefined;
|
|
2296
2422
|
} | {
|
|
2297
|
-
type: "selectBox";
|
|
2298
2423
|
options: {
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
label: string;
|
|
2303
|
-
selected?: boolean | undefined;
|
|
2304
|
-
};
|
|
2424
|
+
value: string;
|
|
2425
|
+
label: string;
|
|
2426
|
+
selected?: boolean | undefined;
|
|
2305
2427
|
}[];
|
|
2306
|
-
|
|
2307
|
-
schemaVersion: "1.0";
|
|
2308
|
-
labelTranslationKey?: string | undefined;
|
|
2309
|
-
};
|
|
2428
|
+
type: "selectBox";
|
|
2310
2429
|
attributes?: {
|
|
2430
|
+
label?: string | undefined;
|
|
2431
|
+
help?: string | undefined;
|
|
2432
|
+
labelTranslationKey?: string | undefined;
|
|
2311
2433
|
multiple?: boolean | undefined;
|
|
2312
2434
|
} | undefined;
|
|
2435
|
+
meta?: {
|
|
2436
|
+
schemaVersion: "1.0";
|
|
2437
|
+
} | undefined;
|
|
2313
2438
|
} | {
|
|
2314
2439
|
type: "filteredSearch";
|
|
2315
|
-
meta: {
|
|
2316
|
-
schemaVersion: "1.0";
|
|
2317
|
-
labelTranslationKey?: string | undefined;
|
|
2318
|
-
};
|
|
2319
2440
|
graphQL: {
|
|
2320
2441
|
displayFields: {
|
|
2321
2442
|
label: string;
|
|
@@ -2328,21 +2449,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2328
2449
|
variables?: {
|
|
2329
2450
|
type: string;
|
|
2330
2451
|
name: string;
|
|
2331
|
-
labelTranslationKey?: string | undefined;
|
|
2332
2452
|
label?: string | undefined;
|
|
2453
|
+
labelTranslationKey?: string | undefined;
|
|
2333
2454
|
minLength?: number | undefined;
|
|
2334
2455
|
defaultValue?: string | undefined;
|
|
2335
2456
|
}[] | undefined;
|
|
2336
2457
|
};
|
|
2337
2458
|
attributes?: {
|
|
2459
|
+
label?: string | undefined;
|
|
2460
|
+
help?: string | undefined;
|
|
2461
|
+
labelTranslationKey?: string | undefined;
|
|
2338
2462
|
multiple?: boolean | undefined;
|
|
2339
2463
|
} | undefined;
|
|
2464
|
+
meta?: {
|
|
2465
|
+
schemaVersion: "1.0";
|
|
2466
|
+
} | undefined;
|
|
2340
2467
|
} | {
|
|
2341
2468
|
type: "typeaheadSearch";
|
|
2342
|
-
meta: {
|
|
2343
|
-
schemaVersion: "1.0";
|
|
2344
|
-
labelTranslationKey?: string | undefined;
|
|
2345
|
-
};
|
|
2346
2469
|
graphQL: {
|
|
2347
2470
|
displayFields: {
|
|
2348
2471
|
label: string;
|
|
@@ -2355,28 +2478,46 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2355
2478
|
variables?: {
|
|
2356
2479
|
type: string;
|
|
2357
2480
|
name: string;
|
|
2358
|
-
labelTranslationKey?: string | undefined;
|
|
2359
2481
|
label?: string | undefined;
|
|
2482
|
+
labelTranslationKey?: string | undefined;
|
|
2360
2483
|
minLength?: number | undefined;
|
|
2361
2484
|
defaultValue?: string | undefined;
|
|
2362
2485
|
}[] | undefined;
|
|
2363
2486
|
};
|
|
2487
|
+
attributes?: {
|
|
2488
|
+
label?: string | undefined;
|
|
2489
|
+
help?: string | undefined;
|
|
2490
|
+
labelTranslationKey?: string | undefined;
|
|
2491
|
+
} | undefined;
|
|
2492
|
+
meta?: {
|
|
2493
|
+
schemaVersion: "1.0";
|
|
2494
|
+
} | undefined;
|
|
2364
2495
|
};
|
|
2365
2496
|
heading?: string | undefined;
|
|
2366
2497
|
}>, "many">;
|
|
2367
2498
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
2499
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2500
|
+
help: z.ZodOptional<z.ZodString>;
|
|
2501
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2502
|
+
} & {
|
|
2368
2503
|
canAddRows: z.ZodOptional<z.ZodBoolean>;
|
|
2369
2504
|
canRemoveRows: z.ZodOptional<z.ZodBoolean>;
|
|
2370
2505
|
initialRows: z.ZodOptional<z.ZodNumber>;
|
|
2371
2506
|
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
2372
2507
|
minRows: z.ZodOptional<z.ZodNumber>;
|
|
2373
2508
|
}, "strip", z.ZodTypeAny, {
|
|
2509
|
+
label?: string | undefined;
|
|
2510
|
+
help?: string | undefined;
|
|
2511
|
+
labelTranslationKey?: string | undefined;
|
|
2374
2512
|
canAddRows?: boolean | undefined;
|
|
2375
2513
|
canRemoveRows?: boolean | undefined;
|
|
2376
2514
|
initialRows?: number | undefined;
|
|
2377
2515
|
maxRows?: number | undefined;
|
|
2378
2516
|
minRows?: number | undefined;
|
|
2379
2517
|
}, {
|
|
2518
|
+
label?: string | undefined;
|
|
2519
|
+
help?: string | undefined;
|
|
2520
|
+
labelTranslationKey?: string | undefined;
|
|
2380
2521
|
canAddRows?: boolean | undefined;
|
|
2381
2522
|
canRemoveRows?: boolean | undefined;
|
|
2382
2523
|
initialRows?: number | undefined;
|
|
@@ -2385,63 +2526,69 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2385
2526
|
}>>;
|
|
2386
2527
|
}, "strip", z.ZodTypeAny, {
|
|
2387
2528
|
type: "table";
|
|
2388
|
-
meta: {
|
|
2389
|
-
schemaVersion: "1.0";
|
|
2390
|
-
labelTranslationKey?: string | undefined;
|
|
2391
|
-
};
|
|
2392
2529
|
columns: {
|
|
2393
2530
|
content: {
|
|
2394
2531
|
type: "boolean";
|
|
2395
|
-
meta: {
|
|
2396
|
-
schemaVersion: "1.0";
|
|
2397
|
-
labelTranslationKey?: string | undefined;
|
|
2398
|
-
};
|
|
2399
2532
|
attributes?: {
|
|
2533
|
+
label?: string | undefined;
|
|
2534
|
+
help?: string | undefined;
|
|
2535
|
+
labelTranslationKey?: string | undefined;
|
|
2400
2536
|
checked?: boolean | undefined;
|
|
2401
2537
|
} | undefined;
|
|
2402
|
-
|
|
2403
|
-
type: "number";
|
|
2404
|
-
meta: {
|
|
2538
|
+
meta?: {
|
|
2405
2539
|
schemaVersion: "1.0";
|
|
2406
|
-
|
|
2407
|
-
|
|
2540
|
+
} | undefined;
|
|
2541
|
+
} | {
|
|
2542
|
+
type: "currency";
|
|
2408
2543
|
attributes?: {
|
|
2544
|
+
label?: string | undefined;
|
|
2545
|
+
help?: string | undefined;
|
|
2546
|
+
labelTranslationKey?: string | undefined;
|
|
2409
2547
|
max?: number | undefined;
|
|
2410
2548
|
min?: number | undefined;
|
|
2411
2549
|
step?: number | undefined;
|
|
2550
|
+
denomination?: string | undefined;
|
|
2412
2551
|
} | undefined;
|
|
2413
|
-
|
|
2414
|
-
type: "currency";
|
|
2415
|
-
meta: {
|
|
2552
|
+
meta?: {
|
|
2416
2553
|
schemaVersion: "1.0";
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2554
|
+
} | undefined;
|
|
2555
|
+
} | {
|
|
2556
|
+
type: "number";
|
|
2420
2557
|
attributes?: {
|
|
2558
|
+
label?: string | undefined;
|
|
2559
|
+
help?: string | undefined;
|
|
2560
|
+
labelTranslationKey?: string | undefined;
|
|
2421
2561
|
max?: number | undefined;
|
|
2422
2562
|
min?: number | undefined;
|
|
2423
2563
|
step?: number | undefined;
|
|
2424
2564
|
} | undefined;
|
|
2565
|
+
meta?: {
|
|
2566
|
+
schemaVersion: "1.0";
|
|
2567
|
+
} | undefined;
|
|
2425
2568
|
} | {
|
|
2426
2569
|
type: "email";
|
|
2427
|
-
meta: {
|
|
2428
|
-
schemaVersion: "1.0";
|
|
2429
|
-
labelTranslationKey?: string | undefined;
|
|
2430
|
-
};
|
|
2431
2570
|
attributes?: {
|
|
2571
|
+
label?: string | undefined;
|
|
2572
|
+
help?: string | undefined;
|
|
2573
|
+
labelTranslationKey?: string | undefined;
|
|
2432
2574
|
maxLength?: number | undefined;
|
|
2433
2575
|
minLength?: number | undefined;
|
|
2434
|
-
multiple?: boolean | undefined;
|
|
2435
2576
|
pattern?: string | undefined;
|
|
2577
|
+
multiple?: boolean | undefined;
|
|
2578
|
+
} | undefined;
|
|
2579
|
+
meta?: {
|
|
2580
|
+
schemaVersion: "1.0";
|
|
2436
2581
|
} | undefined;
|
|
2437
2582
|
} | {
|
|
2438
2583
|
type: "textArea";
|
|
2439
2584
|
meta: {
|
|
2440
2585
|
schemaVersion: "1.0";
|
|
2441
|
-
labelTranslationKey?: string | undefined;
|
|
2442
2586
|
asRichText?: boolean | undefined;
|
|
2443
2587
|
};
|
|
2444
2588
|
attributes?: {
|
|
2589
|
+
label?: string | undefined;
|
|
2590
|
+
help?: string | undefined;
|
|
2591
|
+
labelTranslationKey?: string | undefined;
|
|
2445
2592
|
maxLength?: number | undefined;
|
|
2446
2593
|
minLength?: number | undefined;
|
|
2447
2594
|
cols?: number | undefined;
|
|
@@ -2449,116 +2596,119 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2449
2596
|
} | undefined;
|
|
2450
2597
|
} | {
|
|
2451
2598
|
type: "text";
|
|
2452
|
-
meta: {
|
|
2453
|
-
schemaVersion: "1.0";
|
|
2454
|
-
labelTranslationKey?: string | undefined;
|
|
2455
|
-
};
|
|
2456
2599
|
attributes?: {
|
|
2600
|
+
label?: string | undefined;
|
|
2601
|
+
help?: string | undefined;
|
|
2602
|
+
labelTranslationKey?: string | undefined;
|
|
2457
2603
|
maxLength?: number | undefined;
|
|
2458
2604
|
minLength?: number | undefined;
|
|
2459
2605
|
pattern?: string | undefined;
|
|
2460
2606
|
} | undefined;
|
|
2607
|
+
meta?: {
|
|
2608
|
+
schemaVersion: "1.0";
|
|
2609
|
+
} | undefined;
|
|
2461
2610
|
} | {
|
|
2462
2611
|
type: "url";
|
|
2463
|
-
meta: {
|
|
2464
|
-
schemaVersion: "1.0";
|
|
2465
|
-
labelTranslationKey?: string | undefined;
|
|
2466
|
-
};
|
|
2467
2612
|
attributes?: {
|
|
2613
|
+
label?: string | undefined;
|
|
2614
|
+
help?: string | undefined;
|
|
2615
|
+
labelTranslationKey?: string | undefined;
|
|
2468
2616
|
maxLength?: number | undefined;
|
|
2469
2617
|
minLength?: number | undefined;
|
|
2470
2618
|
pattern?: string | undefined;
|
|
2471
2619
|
} | undefined;
|
|
2620
|
+
meta?: {
|
|
2621
|
+
schemaVersion: "1.0";
|
|
2622
|
+
} | undefined;
|
|
2472
2623
|
} | {
|
|
2473
2624
|
type: "date";
|
|
2474
|
-
meta: {
|
|
2475
|
-
schemaVersion: "1.0";
|
|
2476
|
-
labelTranslationKey?: string | undefined;
|
|
2477
|
-
};
|
|
2478
2625
|
attributes?: {
|
|
2626
|
+
label?: string | undefined;
|
|
2627
|
+
help?: string | undefined;
|
|
2628
|
+
labelTranslationKey?: string | undefined;
|
|
2479
2629
|
max?: string | undefined;
|
|
2480
2630
|
min?: string | undefined;
|
|
2481
2631
|
step?: number | undefined;
|
|
2482
2632
|
} | undefined;
|
|
2633
|
+
meta?: {
|
|
2634
|
+
schemaVersion: "1.0";
|
|
2635
|
+
} | undefined;
|
|
2483
2636
|
} | {
|
|
2484
2637
|
type: "dateRange";
|
|
2485
|
-
meta: {
|
|
2486
|
-
schemaVersion: "1.0";
|
|
2487
|
-
labelTranslationKey?: string | undefined;
|
|
2488
|
-
};
|
|
2489
2638
|
columns: {
|
|
2490
|
-
start
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
attributes: {
|
|
2507
|
-
label: string;
|
|
2508
|
-
};
|
|
2509
|
-
};
|
|
2639
|
+
start?: {
|
|
2640
|
+
label?: string | undefined;
|
|
2641
|
+
help?: string | undefined;
|
|
2642
|
+
labelTranslationKey?: string | undefined;
|
|
2643
|
+
max?: string | undefined;
|
|
2644
|
+
min?: string | undefined;
|
|
2645
|
+
step?: number | undefined;
|
|
2646
|
+
} | undefined;
|
|
2647
|
+
end?: {
|
|
2648
|
+
label?: string | undefined;
|
|
2649
|
+
help?: string | undefined;
|
|
2650
|
+
labelTranslationKey?: string | undefined;
|
|
2651
|
+
max?: string | undefined;
|
|
2652
|
+
min?: string | undefined;
|
|
2653
|
+
step?: number | undefined;
|
|
2654
|
+
} | undefined;
|
|
2510
2655
|
};
|
|
2656
|
+
attributes?: {
|
|
2657
|
+
label?: string | undefined;
|
|
2658
|
+
help?: string | undefined;
|
|
2659
|
+
labelTranslationKey?: string | undefined;
|
|
2660
|
+
} | undefined;
|
|
2661
|
+
meta?: {
|
|
2662
|
+
schemaVersion: "1.0";
|
|
2663
|
+
} | undefined;
|
|
2511
2664
|
} | {
|
|
2512
|
-
type: "checkBoxes";
|
|
2513
2665
|
options: {
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
label: string;
|
|
2518
|
-
checked?: boolean | undefined;
|
|
2519
|
-
};
|
|
2666
|
+
value: string;
|
|
2667
|
+
label: string;
|
|
2668
|
+
checked?: boolean | undefined;
|
|
2520
2669
|
}[];
|
|
2521
|
-
|
|
2522
|
-
|
|
2670
|
+
type: "checkBoxes";
|
|
2671
|
+
attributes?: {
|
|
2672
|
+
label?: string | undefined;
|
|
2673
|
+
help?: string | undefined;
|
|
2523
2674
|
labelTranslationKey?: string | undefined;
|
|
2524
|
-
};
|
|
2675
|
+
} | undefined;
|
|
2676
|
+
meta?: {
|
|
2677
|
+
schemaVersion: "1.0";
|
|
2678
|
+
} | undefined;
|
|
2525
2679
|
} | {
|
|
2526
|
-
type: "radioButtons";
|
|
2527
2680
|
options: {
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
label: string;
|
|
2532
|
-
selected?: boolean | undefined;
|
|
2533
|
-
};
|
|
2681
|
+
value: string;
|
|
2682
|
+
label: string;
|
|
2683
|
+
selected?: boolean | undefined;
|
|
2534
2684
|
}[];
|
|
2535
|
-
|
|
2536
|
-
|
|
2685
|
+
type: "radioButtons";
|
|
2686
|
+
attributes?: {
|
|
2687
|
+
label?: string | undefined;
|
|
2688
|
+
help?: string | undefined;
|
|
2537
2689
|
labelTranslationKey?: string | undefined;
|
|
2538
|
-
};
|
|
2690
|
+
} | undefined;
|
|
2691
|
+
meta?: {
|
|
2692
|
+
schemaVersion: "1.0";
|
|
2693
|
+
} | undefined;
|
|
2539
2694
|
} | {
|
|
2540
|
-
type: "selectBox";
|
|
2541
2695
|
options: {
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
label: string;
|
|
2546
|
-
selected?: boolean | undefined;
|
|
2547
|
-
};
|
|
2696
|
+
value: string;
|
|
2697
|
+
label: string;
|
|
2698
|
+
selected?: boolean | undefined;
|
|
2548
2699
|
}[];
|
|
2549
|
-
|
|
2550
|
-
schemaVersion: "1.0";
|
|
2551
|
-
labelTranslationKey?: string | undefined;
|
|
2552
|
-
};
|
|
2700
|
+
type: "selectBox";
|
|
2553
2701
|
attributes?: {
|
|
2702
|
+
label?: string | undefined;
|
|
2703
|
+
help?: string | undefined;
|
|
2704
|
+
labelTranslationKey?: string | undefined;
|
|
2554
2705
|
multiple?: boolean | undefined;
|
|
2555
2706
|
} | undefined;
|
|
2556
|
-
|
|
2557
|
-
type: "filteredSearch";
|
|
2558
|
-
meta: {
|
|
2707
|
+
meta?: {
|
|
2559
2708
|
schemaVersion: "1.0";
|
|
2560
|
-
|
|
2561
|
-
|
|
2709
|
+
} | undefined;
|
|
2710
|
+
} | {
|
|
2711
|
+
type: "filteredSearch";
|
|
2562
2712
|
graphQL: {
|
|
2563
2713
|
displayFields: {
|
|
2564
2714
|
label: string;
|
|
@@ -2571,21 +2721,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2571
2721
|
variables?: {
|
|
2572
2722
|
type: string;
|
|
2573
2723
|
name: string;
|
|
2574
|
-
labelTranslationKey?: string | undefined;
|
|
2575
2724
|
label?: string | undefined;
|
|
2725
|
+
labelTranslationKey?: string | undefined;
|
|
2576
2726
|
minLength?: number | undefined;
|
|
2577
2727
|
defaultValue?: string | undefined;
|
|
2578
2728
|
}[] | undefined;
|
|
2579
2729
|
};
|
|
2580
2730
|
attributes?: {
|
|
2731
|
+
label?: string | undefined;
|
|
2732
|
+
help?: string | undefined;
|
|
2733
|
+
labelTranslationKey?: string | undefined;
|
|
2581
2734
|
multiple?: boolean | undefined;
|
|
2582
2735
|
} | undefined;
|
|
2736
|
+
meta?: {
|
|
2737
|
+
schemaVersion: "1.0";
|
|
2738
|
+
} | undefined;
|
|
2583
2739
|
} | {
|
|
2584
2740
|
type: "typeaheadSearch";
|
|
2585
|
-
meta: {
|
|
2586
|
-
schemaVersion: "1.0";
|
|
2587
|
-
labelTranslationKey?: string | undefined;
|
|
2588
|
-
};
|
|
2589
2741
|
graphQL: {
|
|
2590
2742
|
displayFields: {
|
|
2591
2743
|
label: string;
|
|
@@ -2598,81 +2750,101 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2598
2750
|
variables?: {
|
|
2599
2751
|
type: string;
|
|
2600
2752
|
name: string;
|
|
2601
|
-
labelTranslationKey?: string | undefined;
|
|
2602
2753
|
label?: string | undefined;
|
|
2754
|
+
labelTranslationKey?: string | undefined;
|
|
2603
2755
|
minLength?: number | undefined;
|
|
2604
2756
|
defaultValue?: string | undefined;
|
|
2605
2757
|
}[] | undefined;
|
|
2606
2758
|
};
|
|
2759
|
+
attributes?: {
|
|
2760
|
+
label?: string | undefined;
|
|
2761
|
+
help?: string | undefined;
|
|
2762
|
+
labelTranslationKey?: string | undefined;
|
|
2763
|
+
} | undefined;
|
|
2764
|
+
meta?: {
|
|
2765
|
+
schemaVersion: "1.0";
|
|
2766
|
+
} | undefined;
|
|
2607
2767
|
};
|
|
2608
2768
|
heading?: string | undefined;
|
|
2609
2769
|
}[];
|
|
2610
2770
|
attributes?: {
|
|
2771
|
+
label?: string | undefined;
|
|
2772
|
+
help?: string | undefined;
|
|
2773
|
+
labelTranslationKey?: string | undefined;
|
|
2611
2774
|
canAddRows?: boolean | undefined;
|
|
2612
2775
|
canRemoveRows?: boolean | undefined;
|
|
2613
2776
|
initialRows?: number | undefined;
|
|
2614
2777
|
maxRows?: number | undefined;
|
|
2615
2778
|
minRows?: number | undefined;
|
|
2616
2779
|
} | undefined;
|
|
2780
|
+
meta?: {
|
|
2781
|
+
schemaVersion: "1.0";
|
|
2782
|
+
} | undefined;
|
|
2617
2783
|
}, {
|
|
2618
2784
|
type: "table";
|
|
2619
|
-
meta: {
|
|
2620
|
-
schemaVersion: "1.0";
|
|
2621
|
-
labelTranslationKey?: string | undefined;
|
|
2622
|
-
};
|
|
2623
2785
|
columns: {
|
|
2624
2786
|
content: {
|
|
2625
2787
|
type: "boolean";
|
|
2626
|
-
meta: {
|
|
2627
|
-
schemaVersion: "1.0";
|
|
2628
|
-
labelTranslationKey?: string | undefined;
|
|
2629
|
-
};
|
|
2630
2788
|
attributes?: {
|
|
2789
|
+
label?: string | undefined;
|
|
2790
|
+
help?: string | undefined;
|
|
2791
|
+
labelTranslationKey?: string | undefined;
|
|
2631
2792
|
checked?: boolean | undefined;
|
|
2632
2793
|
} | undefined;
|
|
2633
|
-
|
|
2634
|
-
type: "number";
|
|
2635
|
-
meta: {
|
|
2794
|
+
meta?: {
|
|
2636
2795
|
schemaVersion: "1.0";
|
|
2637
|
-
|
|
2638
|
-
|
|
2796
|
+
} | undefined;
|
|
2797
|
+
} | {
|
|
2798
|
+
type: "currency";
|
|
2639
2799
|
attributes?: {
|
|
2800
|
+
label?: string | undefined;
|
|
2801
|
+
help?: string | undefined;
|
|
2802
|
+
labelTranslationKey?: string | undefined;
|
|
2640
2803
|
max?: number | undefined;
|
|
2641
2804
|
min?: number | undefined;
|
|
2642
2805
|
step?: number | undefined;
|
|
2806
|
+
denomination?: string | undefined;
|
|
2643
2807
|
} | undefined;
|
|
2644
|
-
|
|
2645
|
-
type: "currency";
|
|
2646
|
-
meta: {
|
|
2808
|
+
meta?: {
|
|
2647
2809
|
schemaVersion: "1.0";
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2810
|
+
} | undefined;
|
|
2811
|
+
} | {
|
|
2812
|
+
type: "number";
|
|
2651
2813
|
attributes?: {
|
|
2814
|
+
label?: string | undefined;
|
|
2815
|
+
help?: string | undefined;
|
|
2816
|
+
labelTranslationKey?: string | undefined;
|
|
2652
2817
|
max?: number | undefined;
|
|
2653
2818
|
min?: number | undefined;
|
|
2654
2819
|
step?: number | undefined;
|
|
2655
2820
|
} | undefined;
|
|
2821
|
+
meta?: {
|
|
2822
|
+
schemaVersion: "1.0";
|
|
2823
|
+
} | undefined;
|
|
2656
2824
|
} | {
|
|
2657
2825
|
type: "email";
|
|
2658
|
-
meta: {
|
|
2659
|
-
schemaVersion: "1.0";
|
|
2660
|
-
labelTranslationKey?: string | undefined;
|
|
2661
|
-
};
|
|
2662
2826
|
attributes?: {
|
|
2827
|
+
label?: string | undefined;
|
|
2828
|
+
help?: string | undefined;
|
|
2829
|
+
labelTranslationKey?: string | undefined;
|
|
2663
2830
|
maxLength?: number | undefined;
|
|
2664
2831
|
minLength?: number | undefined;
|
|
2665
|
-
multiple?: boolean | undefined;
|
|
2666
2832
|
pattern?: string | undefined;
|
|
2833
|
+
multiple?: boolean | undefined;
|
|
2834
|
+
} | undefined;
|
|
2835
|
+
meta?: {
|
|
2836
|
+
schemaVersion: "1.0";
|
|
2667
2837
|
} | undefined;
|
|
2668
2838
|
} | {
|
|
2669
2839
|
type: "textArea";
|
|
2670
2840
|
meta: {
|
|
2671
2841
|
schemaVersion: "1.0";
|
|
2672
|
-
labelTranslationKey?: string | undefined;
|
|
2673
2842
|
asRichText?: boolean | undefined;
|
|
2674
2843
|
};
|
|
2675
2844
|
attributes?: {
|
|
2845
|
+
label?: string | undefined;
|
|
2846
|
+
help?: string | undefined;
|
|
2847
|
+
labelTranslationKey?: string | undefined;
|
|
2676
2848
|
maxLength?: number | undefined;
|
|
2677
2849
|
minLength?: number | undefined;
|
|
2678
2850
|
cols?: number | undefined;
|
|
@@ -2680,116 +2852,119 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2680
2852
|
} | undefined;
|
|
2681
2853
|
} | {
|
|
2682
2854
|
type: "text";
|
|
2683
|
-
meta: {
|
|
2684
|
-
schemaVersion: "1.0";
|
|
2685
|
-
labelTranslationKey?: string | undefined;
|
|
2686
|
-
};
|
|
2687
2855
|
attributes?: {
|
|
2856
|
+
label?: string | undefined;
|
|
2857
|
+
help?: string | undefined;
|
|
2858
|
+
labelTranslationKey?: string | undefined;
|
|
2688
2859
|
maxLength?: number | undefined;
|
|
2689
2860
|
minLength?: number | undefined;
|
|
2690
2861
|
pattern?: string | undefined;
|
|
2691
2862
|
} | undefined;
|
|
2863
|
+
meta?: {
|
|
2864
|
+
schemaVersion: "1.0";
|
|
2865
|
+
} | undefined;
|
|
2692
2866
|
} | {
|
|
2693
2867
|
type: "url";
|
|
2694
|
-
meta: {
|
|
2695
|
-
schemaVersion: "1.0";
|
|
2696
|
-
labelTranslationKey?: string | undefined;
|
|
2697
|
-
};
|
|
2698
2868
|
attributes?: {
|
|
2869
|
+
label?: string | undefined;
|
|
2870
|
+
help?: string | undefined;
|
|
2871
|
+
labelTranslationKey?: string | undefined;
|
|
2699
2872
|
maxLength?: number | undefined;
|
|
2700
2873
|
minLength?: number | undefined;
|
|
2701
2874
|
pattern?: string | undefined;
|
|
2702
2875
|
} | undefined;
|
|
2876
|
+
meta?: {
|
|
2877
|
+
schemaVersion: "1.0";
|
|
2878
|
+
} | undefined;
|
|
2703
2879
|
} | {
|
|
2704
2880
|
type: "date";
|
|
2705
|
-
meta: {
|
|
2706
|
-
schemaVersion: "1.0";
|
|
2707
|
-
labelTranslationKey?: string | undefined;
|
|
2708
|
-
};
|
|
2709
2881
|
attributes?: {
|
|
2882
|
+
label?: string | undefined;
|
|
2883
|
+
help?: string | undefined;
|
|
2884
|
+
labelTranslationKey?: string | undefined;
|
|
2710
2885
|
max?: string | undefined;
|
|
2711
2886
|
min?: string | undefined;
|
|
2712
2887
|
step?: number | undefined;
|
|
2713
2888
|
} | undefined;
|
|
2889
|
+
meta?: {
|
|
2890
|
+
schemaVersion: "1.0";
|
|
2891
|
+
} | undefined;
|
|
2714
2892
|
} | {
|
|
2715
2893
|
type: "dateRange";
|
|
2716
|
-
meta: {
|
|
2717
|
-
schemaVersion: "1.0";
|
|
2718
|
-
labelTranslationKey?: string | undefined;
|
|
2719
|
-
};
|
|
2720
2894
|
columns: {
|
|
2721
|
-
start
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
attributes: {
|
|
2738
|
-
label: string;
|
|
2739
|
-
};
|
|
2740
|
-
};
|
|
2895
|
+
start?: {
|
|
2896
|
+
label?: string | undefined;
|
|
2897
|
+
help?: string | undefined;
|
|
2898
|
+
labelTranslationKey?: string | undefined;
|
|
2899
|
+
max?: string | undefined;
|
|
2900
|
+
min?: string | undefined;
|
|
2901
|
+
step?: number | undefined;
|
|
2902
|
+
} | undefined;
|
|
2903
|
+
end?: {
|
|
2904
|
+
label?: string | undefined;
|
|
2905
|
+
help?: string | undefined;
|
|
2906
|
+
labelTranslationKey?: string | undefined;
|
|
2907
|
+
max?: string | undefined;
|
|
2908
|
+
min?: string | undefined;
|
|
2909
|
+
step?: number | undefined;
|
|
2910
|
+
} | undefined;
|
|
2741
2911
|
};
|
|
2912
|
+
attributes?: {
|
|
2913
|
+
label?: string | undefined;
|
|
2914
|
+
help?: string | undefined;
|
|
2915
|
+
labelTranslationKey?: string | undefined;
|
|
2916
|
+
} | undefined;
|
|
2917
|
+
meta?: {
|
|
2918
|
+
schemaVersion: "1.0";
|
|
2919
|
+
} | undefined;
|
|
2742
2920
|
} | {
|
|
2743
|
-
type: "checkBoxes";
|
|
2744
2921
|
options: {
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
label: string;
|
|
2749
|
-
checked?: boolean | undefined;
|
|
2750
|
-
};
|
|
2922
|
+
value: string;
|
|
2923
|
+
label: string;
|
|
2924
|
+
checked?: boolean | undefined;
|
|
2751
2925
|
}[];
|
|
2752
|
-
|
|
2753
|
-
|
|
2926
|
+
type: "checkBoxes";
|
|
2927
|
+
attributes?: {
|
|
2928
|
+
label?: string | undefined;
|
|
2929
|
+
help?: string | undefined;
|
|
2754
2930
|
labelTranslationKey?: string | undefined;
|
|
2755
|
-
};
|
|
2931
|
+
} | undefined;
|
|
2932
|
+
meta?: {
|
|
2933
|
+
schemaVersion: "1.0";
|
|
2934
|
+
} | undefined;
|
|
2756
2935
|
} | {
|
|
2757
|
-
type: "radioButtons";
|
|
2758
2936
|
options: {
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
label: string;
|
|
2763
|
-
selected?: boolean | undefined;
|
|
2764
|
-
};
|
|
2937
|
+
value: string;
|
|
2938
|
+
label: string;
|
|
2939
|
+
selected?: boolean | undefined;
|
|
2765
2940
|
}[];
|
|
2766
|
-
|
|
2767
|
-
|
|
2941
|
+
type: "radioButtons";
|
|
2942
|
+
attributes?: {
|
|
2943
|
+
label?: string | undefined;
|
|
2944
|
+
help?: string | undefined;
|
|
2768
2945
|
labelTranslationKey?: string | undefined;
|
|
2769
|
-
};
|
|
2946
|
+
} | undefined;
|
|
2947
|
+
meta?: {
|
|
2948
|
+
schemaVersion: "1.0";
|
|
2949
|
+
} | undefined;
|
|
2770
2950
|
} | {
|
|
2771
|
-
type: "selectBox";
|
|
2772
2951
|
options: {
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
label: string;
|
|
2777
|
-
selected?: boolean | undefined;
|
|
2778
|
-
};
|
|
2952
|
+
value: string;
|
|
2953
|
+
label: string;
|
|
2954
|
+
selected?: boolean | undefined;
|
|
2779
2955
|
}[];
|
|
2780
|
-
|
|
2781
|
-
schemaVersion: "1.0";
|
|
2782
|
-
labelTranslationKey?: string | undefined;
|
|
2783
|
-
};
|
|
2956
|
+
type: "selectBox";
|
|
2784
2957
|
attributes?: {
|
|
2958
|
+
label?: string | undefined;
|
|
2959
|
+
help?: string | undefined;
|
|
2960
|
+
labelTranslationKey?: string | undefined;
|
|
2785
2961
|
multiple?: boolean | undefined;
|
|
2786
2962
|
} | undefined;
|
|
2963
|
+
meta?: {
|
|
2964
|
+
schemaVersion: "1.0";
|
|
2965
|
+
} | undefined;
|
|
2787
2966
|
} | {
|
|
2788
2967
|
type: "filteredSearch";
|
|
2789
|
-
meta: {
|
|
2790
|
-
schemaVersion: "1.0";
|
|
2791
|
-
labelTranslationKey?: string | undefined;
|
|
2792
|
-
};
|
|
2793
2968
|
graphQL: {
|
|
2794
2969
|
displayFields: {
|
|
2795
2970
|
label: string;
|
|
@@ -2802,21 +2977,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2802
2977
|
variables?: {
|
|
2803
2978
|
type: string;
|
|
2804
2979
|
name: string;
|
|
2805
|
-
labelTranslationKey?: string | undefined;
|
|
2806
2980
|
label?: string | undefined;
|
|
2981
|
+
labelTranslationKey?: string | undefined;
|
|
2807
2982
|
minLength?: number | undefined;
|
|
2808
2983
|
defaultValue?: string | undefined;
|
|
2809
2984
|
}[] | undefined;
|
|
2810
2985
|
};
|
|
2811
2986
|
attributes?: {
|
|
2987
|
+
label?: string | undefined;
|
|
2988
|
+
help?: string | undefined;
|
|
2989
|
+
labelTranslationKey?: string | undefined;
|
|
2812
2990
|
multiple?: boolean | undefined;
|
|
2813
2991
|
} | undefined;
|
|
2992
|
+
meta?: {
|
|
2993
|
+
schemaVersion: "1.0";
|
|
2994
|
+
} | undefined;
|
|
2814
2995
|
} | {
|
|
2815
2996
|
type: "typeaheadSearch";
|
|
2816
|
-
meta: {
|
|
2817
|
-
schemaVersion: "1.0";
|
|
2818
|
-
labelTranslationKey?: string | undefined;
|
|
2819
|
-
};
|
|
2820
2997
|
graphQL: {
|
|
2821
2998
|
displayFields: {
|
|
2822
2999
|
label: string;
|
|
@@ -2829,35 +3006,59 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2829
3006
|
variables?: {
|
|
2830
3007
|
type: string;
|
|
2831
3008
|
name: string;
|
|
2832
|
-
labelTranslationKey?: string | undefined;
|
|
2833
3009
|
label?: string | undefined;
|
|
3010
|
+
labelTranslationKey?: string | undefined;
|
|
2834
3011
|
minLength?: number | undefined;
|
|
2835
3012
|
defaultValue?: string | undefined;
|
|
2836
3013
|
}[] | undefined;
|
|
2837
3014
|
};
|
|
3015
|
+
attributes?: {
|
|
3016
|
+
label?: string | undefined;
|
|
3017
|
+
help?: string | undefined;
|
|
3018
|
+
labelTranslationKey?: string | undefined;
|
|
3019
|
+
} | undefined;
|
|
3020
|
+
meta?: {
|
|
3021
|
+
schemaVersion: "1.0";
|
|
3022
|
+
} | undefined;
|
|
2838
3023
|
};
|
|
2839
3024
|
heading?: string | undefined;
|
|
2840
3025
|
}[];
|
|
2841
3026
|
attributes?: {
|
|
3027
|
+
label?: string | undefined;
|
|
3028
|
+
help?: string | undefined;
|
|
3029
|
+
labelTranslationKey?: string | undefined;
|
|
2842
3030
|
canAddRows?: boolean | undefined;
|
|
2843
3031
|
canRemoveRows?: boolean | undefined;
|
|
2844
3032
|
initialRows?: number | undefined;
|
|
2845
3033
|
maxRows?: number | undefined;
|
|
2846
3034
|
minRows?: number | undefined;
|
|
2847
3035
|
} | undefined;
|
|
3036
|
+
meta?: {
|
|
3037
|
+
schemaVersion: "1.0";
|
|
3038
|
+
} | undefined;
|
|
2848
3039
|
}>, z.ZodObject<{} & {
|
|
2849
3040
|
type: z.ZodLiteral<"textArea">;
|
|
2850
3041
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3042
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
help: z.ZodOptional<z.ZodString>;
|
|
3044
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3045
|
+
} & {
|
|
2851
3046
|
cols: z.ZodOptional<z.ZodNumber>;
|
|
2852
3047
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2853
3048
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2854
3049
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
2855
3050
|
}, "strip", z.ZodTypeAny, {
|
|
3051
|
+
label?: string | undefined;
|
|
3052
|
+
help?: string | undefined;
|
|
3053
|
+
labelTranslationKey?: string | undefined;
|
|
2856
3054
|
maxLength?: number | undefined;
|
|
2857
3055
|
minLength?: number | undefined;
|
|
2858
3056
|
cols?: number | undefined;
|
|
2859
3057
|
rows?: number | undefined;
|
|
2860
3058
|
}, {
|
|
3059
|
+
label?: string | undefined;
|
|
3060
|
+
help?: string | undefined;
|
|
3061
|
+
labelTranslationKey?: string | undefined;
|
|
2861
3062
|
maxLength?: number | undefined;
|
|
2862
3063
|
minLength?: number | undefined;
|
|
2863
3064
|
cols?: number | undefined;
|
|
@@ -2865,26 +3066,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2865
3066
|
}>>;
|
|
2866
3067
|
meta: z.ZodObject<{
|
|
2867
3068
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2868
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2869
3069
|
} & {
|
|
2870
3070
|
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
2871
3071
|
}, "strip", z.ZodTypeAny, {
|
|
2872
3072
|
schemaVersion: "1.0";
|
|
2873
|
-
labelTranslationKey?: string | undefined;
|
|
2874
3073
|
asRichText?: boolean | undefined;
|
|
2875
3074
|
}, {
|
|
2876
3075
|
schemaVersion: "1.0";
|
|
2877
|
-
labelTranslationKey?: string | undefined;
|
|
2878
3076
|
asRichText?: boolean | undefined;
|
|
2879
3077
|
}>;
|
|
2880
3078
|
}, "strip", z.ZodTypeAny, {
|
|
2881
3079
|
type: "textArea";
|
|
2882
3080
|
meta: {
|
|
2883
3081
|
schemaVersion: "1.0";
|
|
2884
|
-
labelTranslationKey?: string | undefined;
|
|
2885
3082
|
asRichText?: boolean | undefined;
|
|
2886
3083
|
};
|
|
2887
3084
|
attributes?: {
|
|
3085
|
+
label?: string | undefined;
|
|
3086
|
+
help?: string | undefined;
|
|
3087
|
+
labelTranslationKey?: string | undefined;
|
|
2888
3088
|
maxLength?: number | undefined;
|
|
2889
3089
|
minLength?: number | undefined;
|
|
2890
3090
|
cols?: number | undefined;
|
|
@@ -2894,74 +3094,97 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2894
3094
|
type: "textArea";
|
|
2895
3095
|
meta: {
|
|
2896
3096
|
schemaVersion: "1.0";
|
|
2897
|
-
labelTranslationKey?: string | undefined;
|
|
2898
3097
|
asRichText?: boolean | undefined;
|
|
2899
3098
|
};
|
|
2900
3099
|
attributes?: {
|
|
3100
|
+
label?: string | undefined;
|
|
3101
|
+
help?: string | undefined;
|
|
3102
|
+
labelTranslationKey?: string | undefined;
|
|
2901
3103
|
maxLength?: number | undefined;
|
|
2902
3104
|
minLength?: number | undefined;
|
|
2903
3105
|
cols?: number | undefined;
|
|
2904
3106
|
rows?: number | undefined;
|
|
2905
3107
|
} | undefined;
|
|
2906
3108
|
}>, z.ZodObject<{
|
|
2907
|
-
meta: z.ZodObject<{
|
|
3109
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2908
3110
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2909
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2910
3111
|
}, "strip", z.ZodTypeAny, {
|
|
2911
3112
|
schemaVersion: "1.0";
|
|
2912
|
-
labelTranslationKey?: string | undefined;
|
|
2913
3113
|
}, {
|
|
2914
3114
|
schemaVersion: "1.0";
|
|
2915
|
-
|
|
2916
|
-
}>;
|
|
3115
|
+
}>>;
|
|
2917
3116
|
} & {
|
|
2918
3117
|
type: z.ZodLiteral<"text">;
|
|
2919
3118
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3119
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
help: z.ZodOptional<z.ZodString>;
|
|
3121
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3122
|
+
} & {
|
|
2920
3123
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2921
3124
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2922
3125
|
pattern: z.ZodOptional<z.ZodString>;
|
|
2923
3126
|
}, "strip", z.ZodTypeAny, {
|
|
3127
|
+
label?: string | undefined;
|
|
3128
|
+
help?: string | undefined;
|
|
3129
|
+
labelTranslationKey?: string | undefined;
|
|
2924
3130
|
maxLength?: number | undefined;
|
|
2925
3131
|
minLength?: number | undefined;
|
|
2926
3132
|
pattern?: string | undefined;
|
|
2927
3133
|
}, {
|
|
3134
|
+
label?: string | undefined;
|
|
3135
|
+
help?: string | undefined;
|
|
3136
|
+
labelTranslationKey?: string | undefined;
|
|
2928
3137
|
maxLength?: number | undefined;
|
|
2929
3138
|
minLength?: number | undefined;
|
|
2930
3139
|
pattern?: string | undefined;
|
|
2931
3140
|
}>>;
|
|
2932
3141
|
}, "strip", z.ZodTypeAny, {
|
|
2933
3142
|
type: "text";
|
|
2934
|
-
meta: {
|
|
2935
|
-
schemaVersion: "1.0";
|
|
2936
|
-
labelTranslationKey?: string | undefined;
|
|
2937
|
-
};
|
|
2938
3143
|
attributes?: {
|
|
3144
|
+
label?: string | undefined;
|
|
3145
|
+
help?: string | undefined;
|
|
3146
|
+
labelTranslationKey?: string | undefined;
|
|
2939
3147
|
maxLength?: number | undefined;
|
|
2940
3148
|
minLength?: number | undefined;
|
|
2941
3149
|
pattern?: string | undefined;
|
|
2942
3150
|
} | undefined;
|
|
3151
|
+
meta?: {
|
|
3152
|
+
schemaVersion: "1.0";
|
|
3153
|
+
} | undefined;
|
|
2943
3154
|
}, {
|
|
2944
3155
|
type: "text";
|
|
2945
|
-
meta: {
|
|
2946
|
-
schemaVersion: "1.0";
|
|
2947
|
-
labelTranslationKey?: string | undefined;
|
|
2948
|
-
};
|
|
2949
3156
|
attributes?: {
|
|
3157
|
+
label?: string | undefined;
|
|
3158
|
+
help?: string | undefined;
|
|
3159
|
+
labelTranslationKey?: string | undefined;
|
|
2950
3160
|
maxLength?: number | undefined;
|
|
2951
3161
|
minLength?: number | undefined;
|
|
2952
3162
|
pattern?: string | undefined;
|
|
2953
3163
|
} | undefined;
|
|
3164
|
+
meta?: {
|
|
3165
|
+
schemaVersion: "1.0";
|
|
3166
|
+
} | undefined;
|
|
2954
3167
|
}>, z.ZodObject<{
|
|
2955
|
-
|
|
2956
|
-
|
|
3168
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
3169
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3170
|
+
help: z.ZodOptional<z.ZodString>;
|
|
2957
3171
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2958
3172
|
}, "strip", z.ZodTypeAny, {
|
|
2959
|
-
|
|
3173
|
+
label?: string | undefined;
|
|
3174
|
+
help?: string | undefined;
|
|
2960
3175
|
labelTranslationKey?: string | undefined;
|
|
2961
3176
|
}, {
|
|
2962
|
-
|
|
3177
|
+
label?: string | undefined;
|
|
3178
|
+
help?: string | undefined;
|
|
2963
3179
|
labelTranslationKey?: string | undefined;
|
|
2964
|
-
}
|
|
3180
|
+
}>>;
|
|
3181
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3182
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3183
|
+
}, "strip", z.ZodTypeAny, {
|
|
3184
|
+
schemaVersion: "1.0";
|
|
3185
|
+
}, {
|
|
3186
|
+
schemaVersion: "1.0";
|
|
3187
|
+
}>>;
|
|
2965
3188
|
} & {
|
|
2966
3189
|
type: z.ZodLiteral<"typeaheadSearch">;
|
|
2967
3190
|
graphQL: z.ZodObject<{
|
|
@@ -2991,15 +3214,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2991
3214
|
}, "strip", z.ZodTypeAny, {
|
|
2992
3215
|
type: string;
|
|
2993
3216
|
name: string;
|
|
2994
|
-
labelTranslationKey?: string | undefined;
|
|
2995
3217
|
label?: string | undefined;
|
|
3218
|
+
labelTranslationKey?: string | undefined;
|
|
2996
3219
|
minLength?: number | undefined;
|
|
2997
3220
|
defaultValue?: string | undefined;
|
|
2998
3221
|
}, {
|
|
2999
3222
|
type: string;
|
|
3000
3223
|
name: string;
|
|
3001
|
-
labelTranslationKey?: string | undefined;
|
|
3002
3224
|
label?: string | undefined;
|
|
3225
|
+
labelTranslationKey?: string | undefined;
|
|
3003
3226
|
minLength?: number | undefined;
|
|
3004
3227
|
defaultValue?: string | undefined;
|
|
3005
3228
|
}>, "many">>;
|
|
@@ -3015,8 +3238,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3015
3238
|
variables?: {
|
|
3016
3239
|
type: string;
|
|
3017
3240
|
name: string;
|
|
3018
|
-
labelTranslationKey?: string | undefined;
|
|
3019
3241
|
label?: string | undefined;
|
|
3242
|
+
labelTranslationKey?: string | undefined;
|
|
3020
3243
|
minLength?: number | undefined;
|
|
3021
3244
|
defaultValue?: string | undefined;
|
|
3022
3245
|
}[] | undefined;
|
|
@@ -3032,18 +3255,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3032
3255
|
variables?: {
|
|
3033
3256
|
type: string;
|
|
3034
3257
|
name: string;
|
|
3035
|
-
labelTranslationKey?: string | undefined;
|
|
3036
3258
|
label?: string | undefined;
|
|
3259
|
+
labelTranslationKey?: string | undefined;
|
|
3037
3260
|
minLength?: number | undefined;
|
|
3038
3261
|
defaultValue?: string | undefined;
|
|
3039
3262
|
}[] | undefined;
|
|
3040
3263
|
}>;
|
|
3041
3264
|
}, "strip", z.ZodTypeAny, {
|
|
3042
3265
|
type: "typeaheadSearch";
|
|
3043
|
-
meta: {
|
|
3044
|
-
schemaVersion: "1.0";
|
|
3045
|
-
labelTranslationKey?: string | undefined;
|
|
3046
|
-
};
|
|
3047
3266
|
graphQL: {
|
|
3048
3267
|
displayFields: {
|
|
3049
3268
|
label: string;
|
|
@@ -3056,18 +3275,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3056
3275
|
variables?: {
|
|
3057
3276
|
type: string;
|
|
3058
3277
|
name: string;
|
|
3059
|
-
labelTranslationKey?: string | undefined;
|
|
3060
3278
|
label?: string | undefined;
|
|
3279
|
+
labelTranslationKey?: string | undefined;
|
|
3061
3280
|
minLength?: number | undefined;
|
|
3062
3281
|
defaultValue?: string | undefined;
|
|
3063
3282
|
}[] | undefined;
|
|
3064
3283
|
};
|
|
3284
|
+
attributes?: {
|
|
3285
|
+
label?: string | undefined;
|
|
3286
|
+
help?: string | undefined;
|
|
3287
|
+
labelTranslationKey?: string | undefined;
|
|
3288
|
+
} | undefined;
|
|
3289
|
+
meta?: {
|
|
3290
|
+
schemaVersion: "1.0";
|
|
3291
|
+
} | undefined;
|
|
3065
3292
|
}, {
|
|
3066
3293
|
type: "typeaheadSearch";
|
|
3067
|
-
meta: {
|
|
3068
|
-
schemaVersion: "1.0";
|
|
3069
|
-
labelTranslationKey?: string | undefined;
|
|
3070
|
-
};
|
|
3071
3294
|
graphQL: {
|
|
3072
3295
|
displayFields: {
|
|
3073
3296
|
label: string;
|
|
@@ -3080,60 +3303,97 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3080
3303
|
variables?: {
|
|
3081
3304
|
type: string;
|
|
3082
3305
|
name: string;
|
|
3083
|
-
labelTranslationKey?: string | undefined;
|
|
3084
3306
|
label?: string | undefined;
|
|
3307
|
+
labelTranslationKey?: string | undefined;
|
|
3085
3308
|
minLength?: number | undefined;
|
|
3086
3309
|
defaultValue?: string | undefined;
|
|
3087
3310
|
}[] | undefined;
|
|
3088
3311
|
};
|
|
3312
|
+
attributes?: {
|
|
3313
|
+
label?: string | undefined;
|
|
3314
|
+
help?: string | undefined;
|
|
3315
|
+
labelTranslationKey?: string | undefined;
|
|
3316
|
+
} | undefined;
|
|
3317
|
+
meta?: {
|
|
3318
|
+
schemaVersion: "1.0";
|
|
3319
|
+
} | undefined;
|
|
3089
3320
|
}>, z.ZodObject<{
|
|
3090
|
-
meta: z.ZodObject<{
|
|
3321
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3091
3322
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3092
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3093
3323
|
}, "strip", z.ZodTypeAny, {
|
|
3094
3324
|
schemaVersion: "1.0";
|
|
3095
|
-
labelTranslationKey?: string | undefined;
|
|
3096
3325
|
}, {
|
|
3097
3326
|
schemaVersion: "1.0";
|
|
3098
|
-
|
|
3099
|
-
}>;
|
|
3327
|
+
}>>;
|
|
3100
3328
|
} & {
|
|
3101
3329
|
type: z.ZodLiteral<"url">;
|
|
3102
3330
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3331
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
help: z.ZodOptional<z.ZodString>;
|
|
3333
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3334
|
+
} & {
|
|
3103
3335
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3104
3336
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3105
3337
|
pattern: z.ZodOptional<z.ZodString>;
|
|
3106
3338
|
}, "strip", z.ZodTypeAny, {
|
|
3339
|
+
label?: string | undefined;
|
|
3340
|
+
help?: string | undefined;
|
|
3341
|
+
labelTranslationKey?: string | undefined;
|
|
3107
3342
|
maxLength?: number | undefined;
|
|
3108
3343
|
minLength?: number | undefined;
|
|
3109
3344
|
pattern?: string | undefined;
|
|
3110
3345
|
}, {
|
|
3346
|
+
label?: string | undefined;
|
|
3347
|
+
help?: string | undefined;
|
|
3348
|
+
labelTranslationKey?: string | undefined;
|
|
3111
3349
|
maxLength?: number | undefined;
|
|
3112
3350
|
minLength?: number | undefined;
|
|
3113
3351
|
pattern?: string | undefined;
|
|
3114
3352
|
}>>;
|
|
3115
3353
|
}, "strip", z.ZodTypeAny, {
|
|
3116
3354
|
type: "url";
|
|
3117
|
-
meta: {
|
|
3118
|
-
schemaVersion: "1.0";
|
|
3119
|
-
labelTranslationKey?: string | undefined;
|
|
3120
|
-
};
|
|
3121
3355
|
attributes?: {
|
|
3356
|
+
label?: string | undefined;
|
|
3357
|
+
help?: string | undefined;
|
|
3358
|
+
labelTranslationKey?: string | undefined;
|
|
3122
3359
|
maxLength?: number | undefined;
|
|
3123
3360
|
minLength?: number | undefined;
|
|
3124
3361
|
pattern?: string | undefined;
|
|
3125
3362
|
} | undefined;
|
|
3363
|
+
meta?: {
|
|
3364
|
+
schemaVersion: "1.0";
|
|
3365
|
+
} | undefined;
|
|
3126
3366
|
}, {
|
|
3127
3367
|
type: "url";
|
|
3128
|
-
meta: {
|
|
3129
|
-
schemaVersion: "1.0";
|
|
3130
|
-
labelTranslationKey?: string | undefined;
|
|
3131
|
-
};
|
|
3132
3368
|
attributes?: {
|
|
3369
|
+
label?: string | undefined;
|
|
3370
|
+
help?: string | undefined;
|
|
3371
|
+
labelTranslationKey?: string | undefined;
|
|
3133
3372
|
maxLength?: number | undefined;
|
|
3134
3373
|
minLength?: number | undefined;
|
|
3135
3374
|
pattern?: string | undefined;
|
|
3136
3375
|
} | undefined;
|
|
3376
|
+
meta?: {
|
|
3377
|
+
schemaVersion: "1.0";
|
|
3378
|
+
} | undefined;
|
|
3137
3379
|
}>]>;
|
|
3138
3380
|
export declare const QuestionSchemaMap: Record<z.infer<typeof QuestionTypesEnum>, z.ZodTypeAny>;
|
|
3381
|
+
export interface QuestionTypeMap {
|
|
3382
|
+
boolean: BooleanQuestionType;
|
|
3383
|
+
checkBoxes: CheckboxesQuestionType;
|
|
3384
|
+
currency: CurrencyQuestionType;
|
|
3385
|
+
date: DateQuestionType;
|
|
3386
|
+
dateRange: DateRangeQuestionType;
|
|
3387
|
+
email: EmailQuestionType;
|
|
3388
|
+
filteredSearch: FilteredSearchQuestionType;
|
|
3389
|
+
number: NumberQuestionType;
|
|
3390
|
+
numberRange: NumberRangeQuestionType;
|
|
3391
|
+
radioButtons: RadioButtonsQuestionType;
|
|
3392
|
+
selectBox: SelectBoxQuestionType;
|
|
3393
|
+
table: TableQuestionType;
|
|
3394
|
+
text: TextQuestionType;
|
|
3395
|
+
textArea: TextAreaQuestionType;
|
|
3396
|
+
typeaheadSearch: TypeaheadSearchQuestionType;
|
|
3397
|
+
url: URLQuestionType;
|
|
3398
|
+
}
|
|
3139
3399
|
export type AnyQuestionType = z.infer<typeof AnyQuestionSchema>;
|