@dmptool/types 1.1.3 → 1.2.1
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/README.md +119 -47
- package/dist/answers/__tests__/answers.spec.js +27 -28
- package/dist/answers/__tests__/usage.spec.d.ts +1 -0
- package/dist/answers/__tests__/usage.spec.js +178 -0
- package/dist/answers/answer.d.ts +12 -15
- package/dist/answers/answer.js +3 -4
- package/dist/answers/dateAnswers.d.ts +30 -30
- package/dist/answers/dateAnswers.js +6 -5
- package/dist/answers/graphQLAnswers.d.ts +41 -26
- package/dist/answers/graphQLAnswers.js +7 -4
- package/dist/answers/index.d.ts +887 -1088
- package/dist/answers/index.js +2 -2
- package/dist/answers/numberAnswers.d.ts +41 -41
- package/dist/answers/numberAnswers.js +8 -8
- package/dist/answers/optionBasedAnswers.d.ts +55 -55
- package/dist/answers/optionBasedAnswers.js +10 -10
- package/dist/answers/tableAnswers.d.ts +880 -1778
- package/dist/answers/tableAnswers.js +12 -8
- package/dist/answers/textAnswers.d.ts +44 -44
- package/dist/answers/textAnswers.js +8 -8
- package/dist/questions/__tests__/graphQLQuestions.spec.js +1 -1
- package/dist/questions/__tests__/usage.spec.d.ts +8 -0
- package/dist/questions/__tests__/usage.spec.js +312 -0
- package/dist/questions/dateQuestions.d.ts +81 -82
- package/dist/questions/dateQuestions.js +12 -16
- package/dist/questions/graphQLQuestions.d.ts +142 -142
- package/dist/questions/graphQLQuestions.js +35 -30
- package/dist/questions/index.d.ts +1492 -1672
- package/dist/questions/index.js +2 -2
- package/dist/questions/numberQuestions.d.ts +97 -98
- package/dist/questions/numberQuestions.js +7 -19
- package/dist/questions/optionBasedQuestions.d.ts +163 -166
- package/dist/questions/optionBasedQuestions.js +20 -36
- package/dist/questions/question.d.ts +24 -48
- package/dist/questions/question.js +78 -17
- package/dist/questions/tableQuestions.d.ts +2215 -2227
- package/dist/questions/tableQuestions.js +6 -11
- package/dist/questions/textQuestions.d.ts +104 -104
- package/dist/questions/textQuestions.js +6 -23
- package/dist/schemas/affiliationSearchAnswer.schema.json +20 -12
- package/dist/schemas/affiliationSearchQuestion.schema.json +30 -36
- package/dist/schemas/anyAnswer.schema.json +235 -233
- package/dist/schemas/anyQuestion.schema.json +292 -493
- package/dist/schemas/anyTableColumnAnswer.schema.json +104 -106
- package/dist/schemas/anyTableColumnQuestion.schema.json +164 -325
- package/dist/schemas/booleanAnswer.schema.json +8 -11
- package/dist/schemas/booleanQuestion.schema.json +7 -10
- package/dist/schemas/checkboxesAnswer.schema.json +13 -14
- package/dist/schemas/checkboxesQuestion.schema.json +12 -13
- package/dist/schemas/currencyAnswer.schema.json +8 -11
- package/dist/schemas/currencyQuestion.schema.json +7 -10
- package/dist/schemas/dateAnswer.schema.json +8 -11
- package/dist/schemas/dateQuestion.schema.json +7 -10
- package/dist/schemas/dateRangeAnswer.schema.json +16 -21
- package/dist/schemas/dateRangeQuestion.schema.json +38 -20
- package/dist/schemas/emailAnswer.schema.json +8 -11
- package/dist/schemas/emailQuestion.schema.json +7 -10
- package/dist/schemas/multiselectBoxAnswer.schema.json +13 -14
- package/dist/schemas/multiselectBoxQuestion.schema.json +14 -14
- package/dist/schemas/numberAnswer.schema.json +8 -11
- package/dist/schemas/numberQuestion.schema.json +7 -10
- package/dist/schemas/numberRangeAnswer.schema.json +17 -22
- package/dist/schemas/numberRangeQuestion.schema.json +18 -19
- package/dist/schemas/radioButtonsAnswer.schema.json +8 -11
- package/dist/schemas/radioButtonsQuestion.schema.json +12 -13
- package/dist/schemas/selectBoxAnswer.schema.json +8 -11
- package/dist/schemas/selectBoxQuestion.schema.json +18 -15
- package/dist/schemas/tableAnswer.schema.json +343 -338
- package/dist/schemas/tableQuestion.schema.json +178 -352
- package/dist/schemas/textAnswer.schema.json +8 -11
- package/dist/schemas/textAreaAnswer.schema.json +8 -11
- package/dist/schemas/textAreaQuestion.schema.json +7 -10
- package/dist/schemas/textQuestion.schema.json +7 -10
- package/dist/schemas/urlAnswer.schema.json +8 -11
- package/dist/schemas/urlQuestion.schema.json +7 -10
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { QuestionFormatsEnum } from './question';
|
|
3
3
|
import { CurrencyQuestionType, NumberQuestionType, NumberRangeQuestionType } from "./numberQuestions";
|
|
4
4
|
import { EmailQuestionType, TextAreaQuestionType, TextQuestionType, URLQuestionType } from "./textQuestions";
|
|
5
5
|
import { DateQuestionType, DateRangeQuestionType } from "./dateQuestions";
|
|
6
6
|
import { BooleanQuestionType, CheckboxesQuestionType, RadioButtonsQuestionType, SelectBoxQuestionType, MultiselectBoxQuestionType } from './optionBasedQuestions';
|
|
7
|
-
import {
|
|
7
|
+
import { AffiliationSearchQuestionType } from './graphQLQuestions';
|
|
8
8
|
import { TableQuestionType } from './tableQuestions';
|
|
9
9
|
export * from './question';
|
|
10
10
|
export * from './dateQuestions';
|
|
@@ -14,7 +14,22 @@ export * from './optionBasedQuestions';
|
|
|
14
14
|
export * from './tableQuestions';
|
|
15
15
|
export * from './textQuestions';
|
|
16
16
|
export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
17
|
-
|
|
17
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
18
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
19
|
+
title: z.ZodOptional<z.ZodString>;
|
|
20
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
schemaVersion: string;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
usageDescription?: string | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
schemaVersion?: string | undefined;
|
|
27
|
+
title?: string | undefined;
|
|
28
|
+
usageDescription?: string | undefined;
|
|
29
|
+
}>>;
|
|
30
|
+
} & {
|
|
31
|
+
type: z.ZodLiteral<"affiliationSearch">;
|
|
32
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
18
33
|
label: z.ZodOptional<z.ZodString>;
|
|
19
34
|
help: z.ZodOptional<z.ZodString>;
|
|
20
35
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -27,18 +42,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
27
42
|
help?: string | undefined;
|
|
28
43
|
labelTranslationKey?: string | undefined;
|
|
29
44
|
}>>;
|
|
30
|
-
|
|
31
|
-
type: z.ZodLiteral<"affiliationSearch">;
|
|
32
|
-
graphQL: z.ZodObject<{
|
|
45
|
+
graphQL: z.ZodDefault<z.ZodObject<{
|
|
33
46
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
34
47
|
} & {
|
|
35
|
-
query: z.ZodLiteral<
|
|
48
|
+
query: z.ZodDefault<z.ZodLiteral<string>>;
|
|
36
49
|
queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
37
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
38
|
-
name: z.ZodLiteral<"name"
|
|
50
|
+
variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
51
|
+
name: z.ZodDefault<z.ZodLiteral<"name">>;
|
|
39
52
|
type: z.ZodDefault<z.ZodString>;
|
|
40
53
|
label: z.ZodDefault<z.ZodString>;
|
|
41
|
-
minLength: z.ZodLiteral<3
|
|
54
|
+
minLength: z.ZodDefault<z.ZodLiteral<3>>;
|
|
42
55
|
labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
43
56
|
}, "strip", z.ZodTypeAny, {
|
|
44
57
|
type: string;
|
|
@@ -47,15 +60,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
47
60
|
name: "name";
|
|
48
61
|
labelTranslationKey?: string | undefined;
|
|
49
62
|
}, {
|
|
50
|
-
minLength: 3;
|
|
51
|
-
name: "name";
|
|
52
63
|
type?: string | undefined;
|
|
53
64
|
label?: string | undefined;
|
|
54
65
|
labelTranslationKey?: string | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
minLength?: 3 | undefined;
|
|
67
|
+
name?: "name" | undefined;
|
|
68
|
+
}>, "many">>;
|
|
69
|
+
answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
|
|
70
|
+
displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
71
|
+
propertyName: z.ZodDefault<z.ZodLiteral<"displayName">>;
|
|
59
72
|
label: z.ZodDefault<z.ZodString>;
|
|
60
73
|
labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
61
74
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -63,18 +76,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
63
76
|
propertyName: "displayName";
|
|
64
77
|
labelTranslationKey?: string | undefined;
|
|
65
78
|
}, {
|
|
66
|
-
propertyName: "displayName";
|
|
67
79
|
label?: string | undefined;
|
|
68
80
|
labelTranslationKey?: string | undefined;
|
|
69
|
-
|
|
70
|
-
|
|
81
|
+
propertyName?: "displayName" | undefined;
|
|
82
|
+
}>, "many">>;
|
|
83
|
+
responseField: z.ZodDefault<z.ZodLiteral<"affiliations.items">>;
|
|
71
84
|
}, "strip", z.ZodTypeAny, {
|
|
72
85
|
displayFields: {
|
|
73
86
|
label: string;
|
|
74
87
|
propertyName: "displayName";
|
|
75
88
|
labelTranslationKey?: string | undefined;
|
|
76
89
|
}[];
|
|
77
|
-
query:
|
|
90
|
+
query: string;
|
|
78
91
|
responseField: "affiliations.items";
|
|
79
92
|
variables: {
|
|
80
93
|
type: string;
|
|
@@ -87,44 +100,35 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
87
100
|
localQueryId?: string | undefined;
|
|
88
101
|
queryId?: string | undefined;
|
|
89
102
|
}, {
|
|
90
|
-
displayFields
|
|
91
|
-
propertyName: "displayName";
|
|
103
|
+
displayFields?: {
|
|
92
104
|
label?: string | undefined;
|
|
93
105
|
labelTranslationKey?: string | undefined;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
106
|
+
propertyName?: "displayName" | undefined;
|
|
107
|
+
}[] | undefined;
|
|
108
|
+
localQueryId?: string | undefined;
|
|
109
|
+
query?: string | undefined;
|
|
110
|
+
responseField?: "affiliations.items" | undefined;
|
|
111
|
+
variables?: {
|
|
100
112
|
type?: string | undefined;
|
|
101
113
|
label?: string | undefined;
|
|
102
114
|
labelTranslationKey?: string | undefined;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
115
|
+
minLength?: 3 | undefined;
|
|
116
|
+
name?: "name" | undefined;
|
|
117
|
+
}[] | undefined;
|
|
106
118
|
queryId?: string | undefined;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
110
|
-
} & {
|
|
111
|
-
title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
|
|
112
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
|
|
113
|
-
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
schemaVersion: "1.0";
|
|
115
|
-
title?: "Affiliation Search" | undefined;
|
|
116
|
-
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
117
|
-
}, {
|
|
118
|
-
schemaVersion: "1.0";
|
|
119
|
-
title?: "Affiliation Search" | undefined;
|
|
120
|
-
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
121
|
-
}>;
|
|
119
|
+
answerField?: "uri" | undefined;
|
|
120
|
+
}>>;
|
|
122
121
|
}, "strip", z.ZodTypeAny, {
|
|
123
122
|
type: "affiliationSearch";
|
|
123
|
+
attributes: {
|
|
124
|
+
label?: string | undefined;
|
|
125
|
+
help?: string | undefined;
|
|
126
|
+
labelTranslationKey?: string | undefined;
|
|
127
|
+
};
|
|
124
128
|
meta: {
|
|
125
|
-
schemaVersion:
|
|
126
|
-
title?:
|
|
127
|
-
usageDescription?:
|
|
129
|
+
schemaVersion: string;
|
|
130
|
+
title?: string | undefined;
|
|
131
|
+
usageDescription?: string | undefined;
|
|
128
132
|
};
|
|
129
133
|
graphQL: {
|
|
130
134
|
displayFields: {
|
|
@@ -132,7 +136,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
132
136
|
propertyName: "displayName";
|
|
133
137
|
labelTranslationKey?: string | undefined;
|
|
134
138
|
}[];
|
|
135
|
-
query:
|
|
139
|
+
query: string;
|
|
136
140
|
responseField: "affiliations.items";
|
|
137
141
|
variables: {
|
|
138
142
|
type: string;
|
|
@@ -145,45 +149,54 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
145
149
|
localQueryId?: string | undefined;
|
|
146
150
|
queryId?: string | undefined;
|
|
147
151
|
};
|
|
152
|
+
}, {
|
|
153
|
+
type: "affiliationSearch";
|
|
148
154
|
attributes?: {
|
|
149
155
|
label?: string | undefined;
|
|
150
156
|
help?: string | undefined;
|
|
151
157
|
labelTranslationKey?: string | undefined;
|
|
152
158
|
} | undefined;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
graphQL: {
|
|
161
|
-
displayFields: {
|
|
162
|
-
propertyName: "displayName";
|
|
159
|
+
meta?: {
|
|
160
|
+
schemaVersion?: string | undefined;
|
|
161
|
+
title?: string | undefined;
|
|
162
|
+
usageDescription?: string | undefined;
|
|
163
|
+
} | undefined;
|
|
164
|
+
graphQL?: {
|
|
165
|
+
displayFields?: {
|
|
163
166
|
label?: string | undefined;
|
|
164
167
|
labelTranslationKey?: string | undefined;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
propertyName?: "displayName" | undefined;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
localQueryId?: string | undefined;
|
|
171
|
+
query?: string | undefined;
|
|
172
|
+
responseField?: "affiliations.items" | undefined;
|
|
173
|
+
variables?: {
|
|
171
174
|
type?: string | undefined;
|
|
172
175
|
label?: string | undefined;
|
|
173
176
|
labelTranslationKey?: string | undefined;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
+
minLength?: 3 | undefined;
|
|
178
|
+
name?: "name" | undefined;
|
|
179
|
+
}[] | undefined;
|
|
177
180
|
queryId?: string | undefined;
|
|
178
|
-
|
|
179
|
-
attributes?: {
|
|
180
|
-
label?: string | undefined;
|
|
181
|
-
help?: string | undefined;
|
|
182
|
-
labelTranslationKey?: string | undefined;
|
|
181
|
+
answerField?: "uri" | undefined;
|
|
183
182
|
} | undefined;
|
|
184
|
-
}>, z.ZodObject<{
|
|
183
|
+
}>, z.ZodObject<{
|
|
184
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
185
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
186
|
+
title: z.ZodOptional<z.ZodString>;
|
|
187
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
schemaVersion: string;
|
|
190
|
+
title?: string | undefined;
|
|
191
|
+
usageDescription?: string | undefined;
|
|
192
|
+
}, {
|
|
193
|
+
schemaVersion?: string | undefined;
|
|
194
|
+
title?: string | undefined;
|
|
195
|
+
usageDescription?: string | undefined;
|
|
196
|
+
}>>;
|
|
197
|
+
} & {
|
|
185
198
|
type: z.ZodLiteral<"boolean">;
|
|
186
|
-
attributes: z.
|
|
199
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
187
200
|
label: z.ZodOptional<z.ZodString>;
|
|
188
201
|
help: z.ZodOptional<z.ZodString>;
|
|
189
202
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -200,33 +213,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
200
213
|
labelTranslationKey?: string | undefined;
|
|
201
214
|
checked?: boolean | undefined;
|
|
202
215
|
}>>;
|
|
203
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
204
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
205
|
-
} & {
|
|
206
|
-
title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
|
|
207
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
|
|
208
|
-
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
schemaVersion: "1.0";
|
|
210
|
-
title?: "Yes/No Field" | undefined;
|
|
211
|
-
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
schemaVersion: "1.0";
|
|
214
|
-
title?: "Yes/No Field" | undefined;
|
|
215
|
-
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
216
|
-
}>>;
|
|
217
216
|
}, "strip", z.ZodTypeAny, {
|
|
218
217
|
type: "boolean";
|
|
219
|
-
attributes
|
|
218
|
+
attributes: {
|
|
220
219
|
checked: boolean;
|
|
221
220
|
label?: string | undefined;
|
|
222
221
|
help?: string | undefined;
|
|
223
222
|
labelTranslationKey?: string | undefined;
|
|
224
|
-
}
|
|
225
|
-
meta
|
|
226
|
-
schemaVersion:
|
|
227
|
-
title?:
|
|
228
|
-
usageDescription?:
|
|
229
|
-
}
|
|
223
|
+
};
|
|
224
|
+
meta: {
|
|
225
|
+
schemaVersion: string;
|
|
226
|
+
title?: string | undefined;
|
|
227
|
+
usageDescription?: string | undefined;
|
|
228
|
+
};
|
|
230
229
|
}, {
|
|
231
230
|
type: "boolean";
|
|
232
231
|
attributes?: {
|
|
@@ -236,27 +235,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
236
235
|
checked?: boolean | undefined;
|
|
237
236
|
} | undefined;
|
|
238
237
|
meta?: {
|
|
239
|
-
schemaVersion
|
|
240
|
-
title?:
|
|
241
|
-
usageDescription?:
|
|
238
|
+
schemaVersion?: string | undefined;
|
|
239
|
+
title?: string | undefined;
|
|
240
|
+
usageDescription?: string | undefined;
|
|
242
241
|
} | undefined;
|
|
243
242
|
}>, z.ZodObject<{
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
243
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
244
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
245
|
+
title: z.ZodOptional<z.ZodString>;
|
|
246
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
248
247
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
248
|
+
schemaVersion: string;
|
|
249
|
+
title?: string | undefined;
|
|
250
|
+
usageDescription?: string | undefined;
|
|
252
251
|
}, {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
schemaVersion?: string | undefined;
|
|
253
|
+
title?: string | undefined;
|
|
254
|
+
usageDescription?: string | undefined;
|
|
256
255
|
}>>;
|
|
257
256
|
} & {
|
|
258
257
|
type: z.ZodLiteral<"checkBoxes">;
|
|
259
|
-
options: z.ZodArray<z.ZodObject<{
|
|
258
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
260
259
|
label: z.ZodDefault<z.ZodString>;
|
|
261
260
|
value: z.ZodDefault<z.ZodString>;
|
|
262
261
|
} & {
|
|
@@ -269,20 +268,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
269
268
|
value?: string | undefined;
|
|
270
269
|
label?: string | undefined;
|
|
271
270
|
checked?: boolean | undefined;
|
|
272
|
-
}>, "many"
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
|
|
271
|
+
}>, "many">>;
|
|
272
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
273
|
+
label: z.ZodOptional<z.ZodString>;
|
|
274
|
+
help: z.ZodOptional<z.ZodString>;
|
|
275
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
278
276
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
277
|
+
label?: string | undefined;
|
|
278
|
+
help?: string | undefined;
|
|
279
|
+
labelTranslationKey?: string | undefined;
|
|
282
280
|
}, {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
281
|
+
label?: string | undefined;
|
|
282
|
+
help?: string | undefined;
|
|
283
|
+
labelTranslationKey?: string | undefined;
|
|
286
284
|
}>>;
|
|
287
285
|
}, "strip", z.ZodTypeAny, {
|
|
288
286
|
options: {
|
|
@@ -291,36 +289,50 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
291
289
|
checked: boolean;
|
|
292
290
|
}[];
|
|
293
291
|
type: "checkBoxes";
|
|
294
|
-
attributes
|
|
292
|
+
attributes: {
|
|
295
293
|
label?: string | undefined;
|
|
296
294
|
help?: string | undefined;
|
|
297
295
|
labelTranslationKey?: string | undefined;
|
|
298
|
-
}
|
|
299
|
-
meta
|
|
300
|
-
schemaVersion:
|
|
301
|
-
title?:
|
|
302
|
-
usageDescription?:
|
|
303
|
-
}
|
|
296
|
+
};
|
|
297
|
+
meta: {
|
|
298
|
+
schemaVersion: string;
|
|
299
|
+
title?: string | undefined;
|
|
300
|
+
usageDescription?: string | undefined;
|
|
301
|
+
};
|
|
304
302
|
}, {
|
|
305
|
-
|
|
303
|
+
type: "checkBoxes";
|
|
304
|
+
options?: {
|
|
306
305
|
value?: string | undefined;
|
|
307
306
|
label?: string | undefined;
|
|
308
307
|
checked?: boolean | undefined;
|
|
309
|
-
}[];
|
|
310
|
-
type: "checkBoxes";
|
|
308
|
+
}[] | undefined;
|
|
311
309
|
attributes?: {
|
|
312
310
|
label?: string | undefined;
|
|
313
311
|
help?: string | undefined;
|
|
314
312
|
labelTranslationKey?: string | undefined;
|
|
315
313
|
} | undefined;
|
|
316
314
|
meta?: {
|
|
317
|
-
schemaVersion
|
|
318
|
-
title?:
|
|
319
|
-
usageDescription?:
|
|
315
|
+
schemaVersion?: string | undefined;
|
|
316
|
+
title?: string | undefined;
|
|
317
|
+
usageDescription?: string | undefined;
|
|
320
318
|
} | undefined;
|
|
321
|
-
}>, z.ZodObject<{
|
|
319
|
+
}>, z.ZodObject<{
|
|
320
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
321
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
322
|
+
title: z.ZodOptional<z.ZodString>;
|
|
323
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
schemaVersion: string;
|
|
326
|
+
title?: string | undefined;
|
|
327
|
+
usageDescription?: string | undefined;
|
|
328
|
+
}, {
|
|
329
|
+
schemaVersion?: string | undefined;
|
|
330
|
+
title?: string | undefined;
|
|
331
|
+
usageDescription?: string | undefined;
|
|
332
|
+
}>>;
|
|
333
|
+
} & {
|
|
322
334
|
type: z.ZodLiteral<"currency">;
|
|
323
|
-
attributes: z.
|
|
335
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
324
336
|
label: z.ZodOptional<z.ZodString>;
|
|
325
337
|
help: z.ZodOptional<z.ZodString>;
|
|
326
338
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -347,23 +359,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
347
359
|
step?: number | undefined;
|
|
348
360
|
denomination?: string | undefined;
|
|
349
361
|
}>>;
|
|
350
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
351
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
352
|
-
} & {
|
|
353
|
-
title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
|
|
354
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
|
|
355
|
-
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
schemaVersion: "1.0";
|
|
357
|
-
title?: "Currency Field" | undefined;
|
|
358
|
-
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
359
|
-
}, {
|
|
360
|
-
schemaVersion: "1.0";
|
|
361
|
-
title?: "Currency Field" | undefined;
|
|
362
|
-
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
363
|
-
}>>;
|
|
364
362
|
}, "strip", z.ZodTypeAny, {
|
|
365
363
|
type: "currency";
|
|
366
|
-
attributes
|
|
364
|
+
attributes: {
|
|
367
365
|
min: number;
|
|
368
366
|
step: number;
|
|
369
367
|
denomination: string;
|
|
@@ -371,12 +369,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
371
369
|
help?: string | undefined;
|
|
372
370
|
labelTranslationKey?: string | undefined;
|
|
373
371
|
max?: number | undefined;
|
|
374
|
-
}
|
|
375
|
-
meta
|
|
376
|
-
schemaVersion:
|
|
377
|
-
title?:
|
|
378
|
-
usageDescription?:
|
|
379
|
-
}
|
|
372
|
+
};
|
|
373
|
+
meta: {
|
|
374
|
+
schemaVersion: string;
|
|
375
|
+
title?: string | undefined;
|
|
376
|
+
usageDescription?: string | undefined;
|
|
377
|
+
};
|
|
380
378
|
}, {
|
|
381
379
|
type: "currency";
|
|
382
380
|
attributes?: {
|
|
@@ -389,13 +387,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
389
387
|
denomination?: string | undefined;
|
|
390
388
|
} | undefined;
|
|
391
389
|
meta?: {
|
|
392
|
-
schemaVersion
|
|
393
|
-
title?:
|
|
394
|
-
usageDescription?:
|
|
390
|
+
schemaVersion?: string | undefined;
|
|
391
|
+
title?: string | undefined;
|
|
392
|
+
usageDescription?: string | undefined;
|
|
395
393
|
} | undefined;
|
|
396
|
-
}>, z.ZodObject<{
|
|
394
|
+
}>, z.ZodObject<{
|
|
395
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
396
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
397
|
+
title: z.ZodOptional<z.ZodString>;
|
|
398
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
399
|
+
}, "strip", z.ZodTypeAny, {
|
|
400
|
+
schemaVersion: string;
|
|
401
|
+
title?: string | undefined;
|
|
402
|
+
usageDescription?: string | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
schemaVersion?: string | undefined;
|
|
405
|
+
title?: string | undefined;
|
|
406
|
+
usageDescription?: string | undefined;
|
|
407
|
+
}>>;
|
|
408
|
+
} & {
|
|
397
409
|
type: z.ZodLiteral<"date">;
|
|
398
|
-
attributes: z.
|
|
410
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
399
411
|
label: z.ZodOptional<z.ZodString>;
|
|
400
412
|
help: z.ZodOptional<z.ZodString>;
|
|
401
413
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -418,35 +430,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
418
430
|
min?: string | undefined;
|
|
419
431
|
step?: number | undefined;
|
|
420
432
|
}>>;
|
|
421
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
422
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
423
|
-
} & {
|
|
424
|
-
title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
|
|
425
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
|
|
426
|
-
}, "strip", z.ZodTypeAny, {
|
|
427
|
-
schemaVersion: "1.0";
|
|
428
|
-
title?: "Date Field" | undefined;
|
|
429
|
-
usageDescription?: "For questions that require a date." | undefined;
|
|
430
|
-
}, {
|
|
431
|
-
schemaVersion: "1.0";
|
|
432
|
-
title?: "Date Field" | undefined;
|
|
433
|
-
usageDescription?: "For questions that require a date." | undefined;
|
|
434
|
-
}>>;
|
|
435
433
|
}, "strip", z.ZodTypeAny, {
|
|
436
434
|
type: "date";
|
|
437
|
-
attributes
|
|
435
|
+
attributes: {
|
|
438
436
|
step: number;
|
|
439
437
|
label?: string | undefined;
|
|
440
438
|
help?: string | undefined;
|
|
441
439
|
labelTranslationKey?: string | undefined;
|
|
442
440
|
max?: string | undefined;
|
|
443
441
|
min?: string | undefined;
|
|
444
|
-
}
|
|
445
|
-
meta
|
|
446
|
-
schemaVersion:
|
|
447
|
-
title?:
|
|
448
|
-
usageDescription?:
|
|
449
|
-
}
|
|
442
|
+
};
|
|
443
|
+
meta: {
|
|
444
|
+
schemaVersion: string;
|
|
445
|
+
title?: string | undefined;
|
|
446
|
+
usageDescription?: string | undefined;
|
|
447
|
+
};
|
|
450
448
|
}, {
|
|
451
449
|
type: "date";
|
|
452
450
|
attributes?: {
|
|
@@ -458,12 +456,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
458
456
|
step?: number | undefined;
|
|
459
457
|
} | undefined;
|
|
460
458
|
meta?: {
|
|
461
|
-
schemaVersion
|
|
462
|
-
title?:
|
|
463
|
-
usageDescription?:
|
|
459
|
+
schemaVersion?: string | undefined;
|
|
460
|
+
title?: string | undefined;
|
|
461
|
+
usageDescription?: string | undefined;
|
|
464
462
|
} | undefined;
|
|
465
463
|
}>, z.ZodObject<{
|
|
466
|
-
|
|
464
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
465
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
466
|
+
title: z.ZodOptional<z.ZodString>;
|
|
467
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
468
|
+
}, "strip", z.ZodTypeAny, {
|
|
469
|
+
schemaVersion: string;
|
|
470
|
+
title?: string | undefined;
|
|
471
|
+
usageDescription?: string | undefined;
|
|
472
|
+
}, {
|
|
473
|
+
schemaVersion?: string | undefined;
|
|
474
|
+
title?: string | undefined;
|
|
475
|
+
usageDescription?: string | undefined;
|
|
476
|
+
}>>;
|
|
477
|
+
} & {
|
|
478
|
+
type: z.ZodLiteral<"dateRange">;
|
|
479
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
467
480
|
label: z.ZodOptional<z.ZodString>;
|
|
468
481
|
help: z.ZodOptional<z.ZodString>;
|
|
469
482
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -476,20 +489,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
476
489
|
help?: string | undefined;
|
|
477
490
|
labelTranslationKey?: string | undefined;
|
|
478
491
|
}>>;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
columns: z.ZodObject<{
|
|
482
|
-
start: z.ZodObject<{
|
|
483
|
-
label: z.ZodOptional<z.ZodString>;
|
|
492
|
+
columns: z.ZodDefault<z.ZodObject<{
|
|
493
|
+
start: z.ZodDefault<z.ZodObject<{
|
|
484
494
|
help: z.ZodOptional<z.ZodString>;
|
|
485
495
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
486
|
-
} & {
|
|
487
496
|
max: z.ZodOptional<z.ZodString>;
|
|
488
497
|
min: z.ZodOptional<z.ZodString>;
|
|
489
498
|
step: z.ZodDefault<z.ZodNumber>;
|
|
499
|
+
} & {
|
|
500
|
+
label: z.ZodDefault<z.ZodString>;
|
|
490
501
|
}, "strip", z.ZodTypeAny, {
|
|
502
|
+
label: string;
|
|
491
503
|
step: number;
|
|
492
|
-
label?: string | undefined;
|
|
493
504
|
help?: string | undefined;
|
|
494
505
|
labelTranslationKey?: string | undefined;
|
|
495
506
|
max?: string | undefined;
|
|
@@ -501,18 +512,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
501
512
|
max?: string | undefined;
|
|
502
513
|
min?: string | undefined;
|
|
503
514
|
step?: number | undefined;
|
|
504
|
-
}
|
|
505
|
-
end: z.ZodObject<{
|
|
506
|
-
label: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}>>;
|
|
516
|
+
end: z.ZodDefault<z.ZodObject<{
|
|
507
517
|
help: z.ZodOptional<z.ZodString>;
|
|
508
518
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
509
|
-
} & {
|
|
510
519
|
max: z.ZodOptional<z.ZodString>;
|
|
511
520
|
min: z.ZodOptional<z.ZodString>;
|
|
512
521
|
step: z.ZodDefault<z.ZodNumber>;
|
|
522
|
+
} & {
|
|
523
|
+
label: z.ZodDefault<z.ZodString>;
|
|
513
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
+
label: string;
|
|
514
526
|
step: number;
|
|
515
|
-
label?: string | undefined;
|
|
516
527
|
help?: string | undefined;
|
|
517
528
|
labelTranslationKey?: string | undefined;
|
|
518
529
|
max?: string | undefined;
|
|
@@ -524,119 +535,119 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
524
535
|
max?: string | undefined;
|
|
525
536
|
min?: string | undefined;
|
|
526
537
|
step?: number | undefined;
|
|
527
|
-
}
|
|
538
|
+
}>>;
|
|
528
539
|
}, "strip", z.ZodTypeAny, {
|
|
529
540
|
start: {
|
|
541
|
+
label: string;
|
|
530
542
|
step: number;
|
|
531
|
-
label?: string | undefined;
|
|
532
543
|
help?: string | undefined;
|
|
533
544
|
labelTranslationKey?: string | undefined;
|
|
534
545
|
max?: string | undefined;
|
|
535
546
|
min?: string | undefined;
|
|
536
547
|
};
|
|
537
548
|
end: {
|
|
549
|
+
label: string;
|
|
538
550
|
step: number;
|
|
539
|
-
label?: string | undefined;
|
|
540
551
|
help?: string | undefined;
|
|
541
552
|
labelTranslationKey?: string | undefined;
|
|
542
553
|
max?: string | undefined;
|
|
543
554
|
min?: string | undefined;
|
|
544
555
|
};
|
|
545
556
|
}, {
|
|
546
|
-
start
|
|
557
|
+
start?: {
|
|
547
558
|
label?: string | undefined;
|
|
548
559
|
help?: string | undefined;
|
|
549
560
|
labelTranslationKey?: string | undefined;
|
|
550
561
|
max?: string | undefined;
|
|
551
562
|
min?: string | undefined;
|
|
552
563
|
step?: number | undefined;
|
|
553
|
-
};
|
|
554
|
-
end
|
|
564
|
+
} | undefined;
|
|
565
|
+
end?: {
|
|
555
566
|
label?: string | undefined;
|
|
556
567
|
help?: string | undefined;
|
|
557
568
|
labelTranslationKey?: string | undefined;
|
|
558
569
|
max?: string | undefined;
|
|
559
570
|
min?: string | undefined;
|
|
560
571
|
step?: number | undefined;
|
|
561
|
-
};
|
|
562
|
-
}>;
|
|
563
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
564
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
565
|
-
} & {
|
|
566
|
-
title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
|
|
567
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
|
|
568
|
-
}, "strip", z.ZodTypeAny, {
|
|
569
|
-
schemaVersion: "1.0";
|
|
570
|
-
title?: "Date Range" | undefined;
|
|
571
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
572
|
-
}, {
|
|
573
|
-
schemaVersion: "1.0";
|
|
574
|
-
title?: "Date Range" | undefined;
|
|
575
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
572
|
+
} | undefined;
|
|
576
573
|
}>>;
|
|
577
574
|
}, "strip", z.ZodTypeAny, {
|
|
578
575
|
type: "dateRange";
|
|
576
|
+
attributes: {
|
|
577
|
+
label?: string | undefined;
|
|
578
|
+
help?: string | undefined;
|
|
579
|
+
labelTranslationKey?: string | undefined;
|
|
580
|
+
};
|
|
581
|
+
meta: {
|
|
582
|
+
schemaVersion: string;
|
|
583
|
+
title?: string | undefined;
|
|
584
|
+
usageDescription?: string | undefined;
|
|
585
|
+
};
|
|
579
586
|
columns: {
|
|
580
587
|
start: {
|
|
588
|
+
label: string;
|
|
581
589
|
step: number;
|
|
582
|
-
label?: string | undefined;
|
|
583
590
|
help?: string | undefined;
|
|
584
591
|
labelTranslationKey?: string | undefined;
|
|
585
592
|
max?: string | undefined;
|
|
586
593
|
min?: string | undefined;
|
|
587
594
|
};
|
|
588
595
|
end: {
|
|
596
|
+
label: string;
|
|
589
597
|
step: number;
|
|
590
|
-
label?: string | undefined;
|
|
591
598
|
help?: string | undefined;
|
|
592
599
|
labelTranslationKey?: string | undefined;
|
|
593
600
|
max?: string | undefined;
|
|
594
601
|
min?: string | undefined;
|
|
595
602
|
};
|
|
596
603
|
};
|
|
604
|
+
}, {
|
|
605
|
+
type: "dateRange";
|
|
597
606
|
attributes?: {
|
|
598
607
|
label?: string | undefined;
|
|
599
608
|
help?: string | undefined;
|
|
600
609
|
labelTranslationKey?: string | undefined;
|
|
601
610
|
} | undefined;
|
|
602
611
|
meta?: {
|
|
603
|
-
schemaVersion
|
|
604
|
-
title?:
|
|
605
|
-
usageDescription?:
|
|
612
|
+
schemaVersion?: string | undefined;
|
|
613
|
+
title?: string | undefined;
|
|
614
|
+
usageDescription?: string | undefined;
|
|
606
615
|
} | undefined;
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
columns: {
|
|
610
|
-
start: {
|
|
616
|
+
columns?: {
|
|
617
|
+
start?: {
|
|
611
618
|
label?: string | undefined;
|
|
612
619
|
help?: string | undefined;
|
|
613
620
|
labelTranslationKey?: string | undefined;
|
|
614
621
|
max?: string | undefined;
|
|
615
622
|
min?: string | undefined;
|
|
616
623
|
step?: number | undefined;
|
|
617
|
-
};
|
|
618
|
-
end
|
|
624
|
+
} | undefined;
|
|
625
|
+
end?: {
|
|
619
626
|
label?: string | undefined;
|
|
620
627
|
help?: string | undefined;
|
|
621
628
|
labelTranslationKey?: string | undefined;
|
|
622
629
|
max?: string | undefined;
|
|
623
630
|
min?: string | undefined;
|
|
624
631
|
step?: number | undefined;
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
attributes?: {
|
|
628
|
-
label?: string | undefined;
|
|
629
|
-
help?: string | undefined;
|
|
630
|
-
labelTranslationKey?: string | undefined;
|
|
632
|
+
} | undefined;
|
|
631
633
|
} | undefined;
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
634
|
+
}>, z.ZodObject<{
|
|
635
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
636
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
637
|
+
title: z.ZodOptional<z.ZodString>;
|
|
638
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
639
|
+
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
schemaVersion: string;
|
|
641
|
+
title?: string | undefined;
|
|
642
|
+
usageDescription?: string | undefined;
|
|
643
|
+
}, {
|
|
644
|
+
schemaVersion?: string | undefined;
|
|
645
|
+
title?: string | undefined;
|
|
646
|
+
usageDescription?: string | undefined;
|
|
647
|
+
}>>;
|
|
648
|
+
} & {
|
|
638
649
|
type: z.ZodLiteral<"email">;
|
|
639
|
-
attributes: z.
|
|
650
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
640
651
|
label: z.ZodOptional<z.ZodString>;
|
|
641
652
|
help: z.ZodOptional<z.ZodString>;
|
|
642
653
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -663,23 +674,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
663
674
|
pattern?: string | undefined;
|
|
664
675
|
multiple?: boolean | undefined;
|
|
665
676
|
}>>;
|
|
666
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
667
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
668
|
-
} & {
|
|
669
|
-
title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
|
|
670
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
|
|
671
|
-
}, "strip", z.ZodTypeAny, {
|
|
672
|
-
schemaVersion: "1.0";
|
|
673
|
-
title?: "Email Field" | undefined;
|
|
674
|
-
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
675
|
-
}, {
|
|
676
|
-
schemaVersion: "1.0";
|
|
677
|
-
title?: "Email Field" | undefined;
|
|
678
|
-
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
679
|
-
}>>;
|
|
680
677
|
}, "strip", z.ZodTypeAny, {
|
|
681
678
|
type: "email";
|
|
682
|
-
attributes
|
|
679
|
+
attributes: {
|
|
683
680
|
maxLength: number;
|
|
684
681
|
multiple: boolean;
|
|
685
682
|
label?: string | undefined;
|
|
@@ -687,12 +684,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
687
684
|
labelTranslationKey?: string | undefined;
|
|
688
685
|
minLength?: number | undefined;
|
|
689
686
|
pattern?: string | undefined;
|
|
690
|
-
}
|
|
691
|
-
meta
|
|
692
|
-
schemaVersion:
|
|
693
|
-
title?:
|
|
694
|
-
usageDescription?:
|
|
695
|
-
}
|
|
687
|
+
};
|
|
688
|
+
meta: {
|
|
689
|
+
schemaVersion: string;
|
|
690
|
+
title?: string | undefined;
|
|
691
|
+
usageDescription?: string | undefined;
|
|
692
|
+
};
|
|
696
693
|
}, {
|
|
697
694
|
type: "email";
|
|
698
695
|
attributes?: {
|
|
@@ -705,181 +702,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
705
702
|
multiple?: boolean | undefined;
|
|
706
703
|
} | undefined;
|
|
707
704
|
meta?: {
|
|
708
|
-
schemaVersion
|
|
709
|
-
title?:
|
|
710
|
-
usageDescription?:
|
|
705
|
+
schemaVersion?: string | undefined;
|
|
706
|
+
title?: string | undefined;
|
|
707
|
+
usageDescription?: string | undefined;
|
|
711
708
|
} | undefined;
|
|
712
|
-
}>, z.ZodObject<{
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
propertyName: z.ZodString;
|
|
717
|
-
label: z.ZodString;
|
|
718
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
719
|
-
}, "strip", z.ZodTypeAny, {
|
|
720
|
-
label: string;
|
|
721
|
-
propertyName: string;
|
|
722
|
-
labelTranslationKey?: string | undefined;
|
|
723
|
-
}, {
|
|
724
|
-
label: string;
|
|
725
|
-
propertyName: string;
|
|
726
|
-
labelTranslationKey?: string | undefined;
|
|
727
|
-
}>, "many">;
|
|
728
|
-
localQueryId: z.ZodOptional<z.ZodString>;
|
|
729
|
-
query: z.ZodOptional<z.ZodString>;
|
|
730
|
-
responseField: z.ZodString;
|
|
731
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
732
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
733
|
-
label: z.ZodOptional<z.ZodString>;
|
|
734
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
735
|
-
name: z.ZodString;
|
|
736
|
-
type: z.ZodString;
|
|
737
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
738
|
-
}, "strip", z.ZodTypeAny, {
|
|
739
|
-
type: string;
|
|
740
|
-
name: string;
|
|
741
|
-
label?: string | undefined;
|
|
742
|
-
labelTranslationKey?: string | undefined;
|
|
743
|
-
minLength?: number | undefined;
|
|
744
|
-
defaultValue?: string | undefined;
|
|
745
|
-
}, {
|
|
746
|
-
type: string;
|
|
747
|
-
name: string;
|
|
748
|
-
label?: string | undefined;
|
|
749
|
-
labelTranslationKey?: string | undefined;
|
|
750
|
-
minLength?: number | undefined;
|
|
751
|
-
defaultValue?: string | undefined;
|
|
752
|
-
}>, "many">>;
|
|
753
|
-
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
displayFields: {
|
|
755
|
-
label: string;
|
|
756
|
-
propertyName: string;
|
|
757
|
-
labelTranslationKey?: string | undefined;
|
|
758
|
-
}[];
|
|
759
|
-
responseField: string;
|
|
760
|
-
localQueryId?: string | undefined;
|
|
761
|
-
query?: string | undefined;
|
|
762
|
-
variables?: {
|
|
763
|
-
type: string;
|
|
764
|
-
name: string;
|
|
765
|
-
label?: string | undefined;
|
|
766
|
-
labelTranslationKey?: string | undefined;
|
|
767
|
-
minLength?: number | undefined;
|
|
768
|
-
defaultValue?: string | undefined;
|
|
769
|
-
}[] | undefined;
|
|
770
|
-
}, {
|
|
771
|
-
displayFields: {
|
|
772
|
-
label: string;
|
|
773
|
-
propertyName: string;
|
|
774
|
-
labelTranslationKey?: string | undefined;
|
|
775
|
-
}[];
|
|
776
|
-
responseField: string;
|
|
777
|
-
localQueryId?: string | undefined;
|
|
778
|
-
query?: string | undefined;
|
|
779
|
-
variables?: {
|
|
780
|
-
type: string;
|
|
781
|
-
name: string;
|
|
782
|
-
label?: string | undefined;
|
|
783
|
-
labelTranslationKey?: string | undefined;
|
|
784
|
-
minLength?: number | undefined;
|
|
785
|
-
defaultValue?: string | undefined;
|
|
786
|
-
}[] | undefined;
|
|
787
|
-
}>;
|
|
788
|
-
attributes: z.ZodOptional<z.ZodObject<{
|
|
789
|
-
label: z.ZodOptional<z.ZodString>;
|
|
790
|
-
help: z.ZodOptional<z.ZodString>;
|
|
791
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
792
|
-
} & {
|
|
793
|
-
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
794
|
-
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
label?: string | undefined;
|
|
796
|
-
help?: string | undefined;
|
|
797
|
-
labelTranslationKey?: string | undefined;
|
|
798
|
-
multiple?: boolean | undefined;
|
|
799
|
-
}, {
|
|
800
|
-
label?: string | undefined;
|
|
801
|
-
help?: string | undefined;
|
|
802
|
-
labelTranslationKey?: string | undefined;
|
|
803
|
-
multiple?: boolean | undefined;
|
|
804
|
-
}>>;
|
|
805
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
806
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
709
|
+
}>, z.ZodObject<{
|
|
710
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
711
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
712
|
+
title: z.ZodOptional<z.ZodString>;
|
|
807
713
|
usageDescription: z.ZodOptional<z.ZodString>;
|
|
808
|
-
} & {
|
|
809
|
-
title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
|
|
810
714
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
schemaVersion:
|
|
812
|
-
title?:
|
|
715
|
+
schemaVersion: string;
|
|
716
|
+
title?: string | undefined;
|
|
813
717
|
usageDescription?: string | undefined;
|
|
814
718
|
}, {
|
|
815
|
-
schemaVersion
|
|
816
|
-
title?:
|
|
719
|
+
schemaVersion?: string | undefined;
|
|
720
|
+
title?: string | undefined;
|
|
817
721
|
usageDescription?: string | undefined;
|
|
818
722
|
}>>;
|
|
819
|
-
}
|
|
820
|
-
type: "
|
|
821
|
-
|
|
822
|
-
displayFields: {
|
|
823
|
-
label: string;
|
|
824
|
-
propertyName: string;
|
|
825
|
-
labelTranslationKey?: string | undefined;
|
|
826
|
-
}[];
|
|
827
|
-
responseField: string;
|
|
828
|
-
localQueryId?: string | undefined;
|
|
829
|
-
query?: string | undefined;
|
|
830
|
-
variables?: {
|
|
831
|
-
type: string;
|
|
832
|
-
name: string;
|
|
833
|
-
label?: string | undefined;
|
|
834
|
-
labelTranslationKey?: string | undefined;
|
|
835
|
-
minLength?: number | undefined;
|
|
836
|
-
defaultValue?: string | undefined;
|
|
837
|
-
}[] | undefined;
|
|
838
|
-
};
|
|
839
|
-
attributes?: {
|
|
840
|
-
label?: string | undefined;
|
|
841
|
-
help?: string | undefined;
|
|
842
|
-
labelTranslationKey?: string | undefined;
|
|
843
|
-
multiple?: boolean | undefined;
|
|
844
|
-
} | undefined;
|
|
845
|
-
meta?: {
|
|
846
|
-
schemaVersion: "1.0";
|
|
847
|
-
title?: "Not yet implemented" | undefined;
|
|
848
|
-
usageDescription?: string | undefined;
|
|
849
|
-
} | undefined;
|
|
850
|
-
}, {
|
|
851
|
-
type: "filteredSearch";
|
|
852
|
-
graphQL: {
|
|
853
|
-
displayFields: {
|
|
854
|
-
label: string;
|
|
855
|
-
propertyName: string;
|
|
856
|
-
labelTranslationKey?: string | undefined;
|
|
857
|
-
}[];
|
|
858
|
-
responseField: string;
|
|
859
|
-
localQueryId?: string | undefined;
|
|
860
|
-
query?: string | undefined;
|
|
861
|
-
variables?: {
|
|
862
|
-
type: string;
|
|
863
|
-
name: string;
|
|
864
|
-
label?: string | undefined;
|
|
865
|
-
labelTranslationKey?: string | undefined;
|
|
866
|
-
minLength?: number | undefined;
|
|
867
|
-
defaultValue?: string | undefined;
|
|
868
|
-
}[] | undefined;
|
|
869
|
-
};
|
|
870
|
-
attributes?: {
|
|
871
|
-
label?: string | undefined;
|
|
872
|
-
help?: string | undefined;
|
|
873
|
-
labelTranslationKey?: string | undefined;
|
|
874
|
-
multiple?: boolean | undefined;
|
|
875
|
-
} | undefined;
|
|
876
|
-
meta?: {
|
|
877
|
-
schemaVersion: "1.0";
|
|
878
|
-
title?: "Not yet implemented" | undefined;
|
|
879
|
-
usageDescription?: string | undefined;
|
|
880
|
-
} | undefined;
|
|
881
|
-
}>, z.ZodObject<{
|
|
882
|
-
options: z.ZodArray<z.ZodObject<{
|
|
723
|
+
} & {
|
|
724
|
+
type: z.ZodLiteral<"multiselectBox">;
|
|
725
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
883
726
|
label: z.ZodDefault<z.ZodString>;
|
|
884
727
|
value: z.ZodDefault<z.ZodString>;
|
|
885
728
|
} & {
|
|
@@ -892,10 +735,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
892
735
|
value?: string | undefined;
|
|
893
736
|
label?: string | undefined;
|
|
894
737
|
selected?: boolean | undefined;
|
|
895
|
-
}>, "many"
|
|
896
|
-
|
|
897
|
-
type: z.ZodLiteral<"multiselectBox">;
|
|
898
|
-
attributes: z.ZodObject<{
|
|
738
|
+
}>, "many">>;
|
|
739
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
899
740
|
label: z.ZodOptional<z.ZodString>;
|
|
900
741
|
help: z.ZodOptional<z.ZodString>;
|
|
901
742
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -911,20 +752,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
911
752
|
label?: string | undefined;
|
|
912
753
|
help?: string | undefined;
|
|
913
754
|
labelTranslationKey?: string | undefined;
|
|
914
|
-
}>;
|
|
915
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
916
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
917
|
-
} & {
|
|
918
|
-
title: z.ZodOptional<z.ZodLiteral<"Multi-select Box">>;
|
|
919
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses.">>;
|
|
920
|
-
}, "strip", z.ZodTypeAny, {
|
|
921
|
-
schemaVersion: "1.0";
|
|
922
|
-
title?: "Multi-select Box" | undefined;
|
|
923
|
-
usageDescription?: "For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses." | undefined;
|
|
924
|
-
}, {
|
|
925
|
-
schemaVersion: "1.0";
|
|
926
|
-
title?: "Multi-select Box" | undefined;
|
|
927
|
-
usageDescription?: "For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses." | undefined;
|
|
928
755
|
}>>;
|
|
929
756
|
}, "strip", z.ZodTypeAny, {
|
|
930
757
|
options: {
|
|
@@ -939,32 +766,46 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
939
766
|
help?: string | undefined;
|
|
940
767
|
labelTranslationKey?: string | undefined;
|
|
941
768
|
};
|
|
942
|
-
meta
|
|
943
|
-
schemaVersion:
|
|
944
|
-
title?:
|
|
945
|
-
usageDescription?:
|
|
946
|
-
}
|
|
769
|
+
meta: {
|
|
770
|
+
schemaVersion: string;
|
|
771
|
+
title?: string | undefined;
|
|
772
|
+
usageDescription?: string | undefined;
|
|
773
|
+
};
|
|
947
774
|
}, {
|
|
948
|
-
|
|
775
|
+
type: "multiselectBox";
|
|
776
|
+
options?: {
|
|
949
777
|
value?: string | undefined;
|
|
950
778
|
label?: string | undefined;
|
|
951
779
|
selected?: boolean | undefined;
|
|
952
|
-
}[];
|
|
953
|
-
|
|
954
|
-
attributes: {
|
|
780
|
+
}[] | undefined;
|
|
781
|
+
attributes?: {
|
|
955
782
|
multiple: true;
|
|
956
783
|
label?: string | undefined;
|
|
957
784
|
help?: string | undefined;
|
|
958
785
|
labelTranslationKey?: string | undefined;
|
|
959
|
-
};
|
|
786
|
+
} | undefined;
|
|
960
787
|
meta?: {
|
|
961
|
-
schemaVersion
|
|
962
|
-
title?:
|
|
963
|
-
usageDescription?:
|
|
788
|
+
schemaVersion?: string | undefined;
|
|
789
|
+
title?: string | undefined;
|
|
790
|
+
usageDescription?: string | undefined;
|
|
964
791
|
} | undefined;
|
|
965
|
-
}>, z.ZodObject<{
|
|
792
|
+
}>, z.ZodObject<{
|
|
793
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
794
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
795
|
+
title: z.ZodOptional<z.ZodString>;
|
|
796
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
schemaVersion: string;
|
|
799
|
+
title?: string | undefined;
|
|
800
|
+
usageDescription?: string | undefined;
|
|
801
|
+
}, {
|
|
802
|
+
schemaVersion?: string | undefined;
|
|
803
|
+
title?: string | undefined;
|
|
804
|
+
usageDescription?: string | undefined;
|
|
805
|
+
}>>;
|
|
806
|
+
} & {
|
|
966
807
|
type: z.ZodLiteral<"number">;
|
|
967
|
-
attributes: z.
|
|
808
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
968
809
|
label: z.ZodOptional<z.ZodString>;
|
|
969
810
|
help: z.ZodOptional<z.ZodString>;
|
|
970
811
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -987,35 +828,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
987
828
|
min?: number | undefined;
|
|
988
829
|
step?: number | undefined;
|
|
989
830
|
}>>;
|
|
990
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
991
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
992
|
-
} & {
|
|
993
|
-
title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
|
|
994
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
|
|
995
|
-
}, "strip", z.ZodTypeAny, {
|
|
996
|
-
schemaVersion: "1.0";
|
|
997
|
-
title?: "Number Field" | undefined;
|
|
998
|
-
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
999
|
-
}, {
|
|
1000
|
-
schemaVersion: "1.0";
|
|
1001
|
-
title?: "Number Field" | undefined;
|
|
1002
|
-
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
1003
|
-
}>>;
|
|
1004
831
|
}, "strip", z.ZodTypeAny, {
|
|
1005
832
|
type: "number";
|
|
1006
|
-
attributes
|
|
833
|
+
attributes: {
|
|
1007
834
|
min: number;
|
|
1008
835
|
step: number;
|
|
1009
836
|
label?: string | undefined;
|
|
1010
837
|
help?: string | undefined;
|
|
1011
838
|
labelTranslationKey?: string | undefined;
|
|
1012
839
|
max?: number | undefined;
|
|
1013
|
-
}
|
|
1014
|
-
meta
|
|
1015
|
-
schemaVersion:
|
|
1016
|
-
title?:
|
|
1017
|
-
usageDescription?:
|
|
1018
|
-
}
|
|
840
|
+
};
|
|
841
|
+
meta: {
|
|
842
|
+
schemaVersion: string;
|
|
843
|
+
title?: string | undefined;
|
|
844
|
+
usageDescription?: string | undefined;
|
|
845
|
+
};
|
|
1019
846
|
}, {
|
|
1020
847
|
type: "number";
|
|
1021
848
|
attributes?: {
|
|
@@ -1027,12 +854,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1027
854
|
step?: number | undefined;
|
|
1028
855
|
} | undefined;
|
|
1029
856
|
meta?: {
|
|
1030
|
-
schemaVersion
|
|
1031
|
-
title?:
|
|
1032
|
-
usageDescription?:
|
|
857
|
+
schemaVersion?: string | undefined;
|
|
858
|
+
title?: string | undefined;
|
|
859
|
+
usageDescription?: string | undefined;
|
|
1033
860
|
} | undefined;
|
|
1034
861
|
}>, z.ZodObject<{
|
|
1035
|
-
|
|
862
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
863
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
864
|
+
title: z.ZodOptional<z.ZodString>;
|
|
865
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
866
|
+
}, "strip", z.ZodTypeAny, {
|
|
867
|
+
schemaVersion: string;
|
|
868
|
+
title?: string | undefined;
|
|
869
|
+
usageDescription?: string | undefined;
|
|
870
|
+
}, {
|
|
871
|
+
schemaVersion?: string | undefined;
|
|
872
|
+
title?: string | undefined;
|
|
873
|
+
usageDescription?: string | undefined;
|
|
874
|
+
}>>;
|
|
875
|
+
} & {
|
|
876
|
+
type: z.ZodLiteral<"numberRange">;
|
|
877
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1036
878
|
label: z.ZodOptional<z.ZodString>;
|
|
1037
879
|
help: z.ZodOptional<z.ZodString>;
|
|
1038
880
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1045,10 +887,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1045
887
|
help?: string | undefined;
|
|
1046
888
|
labelTranslationKey?: string | undefined;
|
|
1047
889
|
}>>;
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
columns: z.ZodObject<{
|
|
1051
|
-
start: z.ZodObject<{
|
|
890
|
+
columns: z.ZodDefault<z.ZodObject<{
|
|
891
|
+
start: z.ZodDefault<z.ZodObject<{
|
|
1052
892
|
label: z.ZodOptional<z.ZodString>;
|
|
1053
893
|
help: z.ZodOptional<z.ZodString>;
|
|
1054
894
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1070,8 +910,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1070
910
|
max?: number | undefined;
|
|
1071
911
|
min?: number | undefined;
|
|
1072
912
|
step?: number | undefined;
|
|
1073
|
-
}
|
|
1074
|
-
end: z.ZodObject<{
|
|
913
|
+
}>>;
|
|
914
|
+
end: z.ZodDefault<z.ZodObject<{
|
|
1075
915
|
label: z.ZodOptional<z.ZodString>;
|
|
1076
916
|
help: z.ZodOptional<z.ZodString>;
|
|
1077
917
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1093,7 +933,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1093
933
|
max?: number | undefined;
|
|
1094
934
|
min?: number | undefined;
|
|
1095
935
|
step?: number | undefined;
|
|
1096
|
-
}
|
|
936
|
+
}>>;
|
|
1097
937
|
}, "strip", z.ZodTypeAny, {
|
|
1098
938
|
start: {
|
|
1099
939
|
min: number;
|
|
@@ -1112,39 +952,35 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1112
952
|
max?: number | undefined;
|
|
1113
953
|
};
|
|
1114
954
|
}, {
|
|
1115
|
-
start
|
|
955
|
+
start?: {
|
|
1116
956
|
label?: string | undefined;
|
|
1117
957
|
help?: string | undefined;
|
|
1118
958
|
labelTranslationKey?: string | undefined;
|
|
1119
959
|
max?: number | undefined;
|
|
1120
960
|
min?: number | undefined;
|
|
1121
961
|
step?: number | undefined;
|
|
1122
|
-
};
|
|
1123
|
-
end
|
|
962
|
+
} | undefined;
|
|
963
|
+
end?: {
|
|
1124
964
|
label?: string | undefined;
|
|
1125
965
|
help?: string | undefined;
|
|
1126
966
|
labelTranslationKey?: string | undefined;
|
|
1127
967
|
max?: number | undefined;
|
|
1128
968
|
min?: number | undefined;
|
|
1129
969
|
step?: number | undefined;
|
|
1130
|
-
};
|
|
1131
|
-
}>;
|
|
1132
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1133
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1134
|
-
} & {
|
|
1135
|
-
title: z.ZodOptional<z.ZodLiteral<"Number Range">>;
|
|
1136
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a numerical range (e.g. From/To, Min/Max).">>;
|
|
1137
|
-
}, "strip", z.ZodTypeAny, {
|
|
1138
|
-
schemaVersion: "1.0";
|
|
1139
|
-
title?: "Number Range" | undefined;
|
|
1140
|
-
usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
|
|
1141
|
-
}, {
|
|
1142
|
-
schemaVersion: "1.0";
|
|
1143
|
-
title?: "Number Range" | undefined;
|
|
1144
|
-
usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
|
|
970
|
+
} | undefined;
|
|
1145
971
|
}>>;
|
|
1146
972
|
}, "strip", z.ZodTypeAny, {
|
|
1147
973
|
type: "numberRange";
|
|
974
|
+
attributes: {
|
|
975
|
+
label?: string | undefined;
|
|
976
|
+
help?: string | undefined;
|
|
977
|
+
labelTranslationKey?: string | undefined;
|
|
978
|
+
};
|
|
979
|
+
meta: {
|
|
980
|
+
schemaVersion: string;
|
|
981
|
+
title?: string | undefined;
|
|
982
|
+
usageDescription?: string | undefined;
|
|
983
|
+
};
|
|
1148
984
|
columns: {
|
|
1149
985
|
start: {
|
|
1150
986
|
min: number;
|
|
@@ -1163,63 +999,53 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1163
999
|
max?: number | undefined;
|
|
1164
1000
|
};
|
|
1165
1001
|
};
|
|
1002
|
+
}, {
|
|
1003
|
+
type: "numberRange";
|
|
1166
1004
|
attributes?: {
|
|
1167
1005
|
label?: string | undefined;
|
|
1168
1006
|
help?: string | undefined;
|
|
1169
1007
|
labelTranslationKey?: string | undefined;
|
|
1170
1008
|
} | undefined;
|
|
1171
1009
|
meta?: {
|
|
1172
|
-
schemaVersion
|
|
1173
|
-
title?:
|
|
1174
|
-
usageDescription?:
|
|
1010
|
+
schemaVersion?: string | undefined;
|
|
1011
|
+
title?: string | undefined;
|
|
1012
|
+
usageDescription?: string | undefined;
|
|
1175
1013
|
} | undefined;
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
columns: {
|
|
1179
|
-
start: {
|
|
1014
|
+
columns?: {
|
|
1015
|
+
start?: {
|
|
1180
1016
|
label?: string | undefined;
|
|
1181
1017
|
help?: string | undefined;
|
|
1182
1018
|
labelTranslationKey?: string | undefined;
|
|
1183
1019
|
max?: number | undefined;
|
|
1184
1020
|
min?: number | undefined;
|
|
1185
1021
|
step?: number | undefined;
|
|
1186
|
-
};
|
|
1187
|
-
end
|
|
1022
|
+
} | undefined;
|
|
1023
|
+
end?: {
|
|
1188
1024
|
label?: string | undefined;
|
|
1189
1025
|
help?: string | undefined;
|
|
1190
1026
|
labelTranslationKey?: string | undefined;
|
|
1191
1027
|
max?: number | undefined;
|
|
1192
1028
|
min?: number | undefined;
|
|
1193
1029
|
step?: number | undefined;
|
|
1194
|
-
};
|
|
1195
|
-
};
|
|
1196
|
-
attributes?: {
|
|
1197
|
-
label?: string | undefined;
|
|
1198
|
-
help?: string | undefined;
|
|
1199
|
-
labelTranslationKey?: string | undefined;
|
|
1200
|
-
} | undefined;
|
|
1201
|
-
meta?: {
|
|
1202
|
-
schemaVersion: "1.0";
|
|
1203
|
-
title?: "Number Range" | undefined;
|
|
1204
|
-
usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
|
|
1030
|
+
} | undefined;
|
|
1205
1031
|
} | undefined;
|
|
1206
1032
|
}>, z.ZodObject<{
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1033
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1034
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1035
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1211
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1038
|
+
schemaVersion: string;
|
|
1039
|
+
title?: string | undefined;
|
|
1040
|
+
usageDescription?: string | undefined;
|
|
1215
1041
|
}, {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1042
|
+
schemaVersion?: string | undefined;
|
|
1043
|
+
title?: string | undefined;
|
|
1044
|
+
usageDescription?: string | undefined;
|
|
1219
1045
|
}>>;
|
|
1220
1046
|
} & {
|
|
1221
1047
|
type: z.ZodLiteral<"radioButtons">;
|
|
1222
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1048
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1223
1049
|
label: z.ZodDefault<z.ZodString>;
|
|
1224
1050
|
value: z.ZodDefault<z.ZodString>;
|
|
1225
1051
|
} & {
|
|
@@ -1232,20 +1058,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1232
1058
|
value?: string | undefined;
|
|
1233
1059
|
label?: string | undefined;
|
|
1234
1060
|
selected?: boolean | undefined;
|
|
1235
|
-
}>, "many"
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
|
|
1061
|
+
}>, "many">>;
|
|
1062
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1063
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1241
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1067
|
+
label?: string | undefined;
|
|
1068
|
+
help?: string | undefined;
|
|
1069
|
+
labelTranslationKey?: string | undefined;
|
|
1245
1070
|
}, {
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1071
|
+
label?: string | undefined;
|
|
1072
|
+
help?: string | undefined;
|
|
1073
|
+
labelTranslationKey?: string | undefined;
|
|
1249
1074
|
}>>;
|
|
1250
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1251
1076
|
options: {
|
|
@@ -1254,36 +1079,50 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1254
1079
|
selected: boolean;
|
|
1255
1080
|
}[];
|
|
1256
1081
|
type: "radioButtons";
|
|
1257
|
-
attributes
|
|
1082
|
+
attributes: {
|
|
1258
1083
|
label?: string | undefined;
|
|
1259
1084
|
help?: string | undefined;
|
|
1260
1085
|
labelTranslationKey?: string | undefined;
|
|
1261
|
-
}
|
|
1262
|
-
meta
|
|
1263
|
-
schemaVersion:
|
|
1264
|
-
title?:
|
|
1265
|
-
usageDescription?:
|
|
1266
|
-
}
|
|
1086
|
+
};
|
|
1087
|
+
meta: {
|
|
1088
|
+
schemaVersion: string;
|
|
1089
|
+
title?: string | undefined;
|
|
1090
|
+
usageDescription?: string | undefined;
|
|
1091
|
+
};
|
|
1267
1092
|
}, {
|
|
1268
|
-
|
|
1093
|
+
type: "radioButtons";
|
|
1094
|
+
options?: {
|
|
1269
1095
|
value?: string | undefined;
|
|
1270
1096
|
label?: string | undefined;
|
|
1271
1097
|
selected?: boolean | undefined;
|
|
1272
|
-
}[];
|
|
1273
|
-
type: "radioButtons";
|
|
1098
|
+
}[] | undefined;
|
|
1274
1099
|
attributes?: {
|
|
1275
1100
|
label?: string | undefined;
|
|
1276
1101
|
help?: string | undefined;
|
|
1277
1102
|
labelTranslationKey?: string | undefined;
|
|
1278
1103
|
} | undefined;
|
|
1279
1104
|
meta?: {
|
|
1280
|
-
schemaVersion
|
|
1281
|
-
title?:
|
|
1282
|
-
usageDescription?:
|
|
1105
|
+
schemaVersion?: string | undefined;
|
|
1106
|
+
title?: string | undefined;
|
|
1107
|
+
usageDescription?: string | undefined;
|
|
1283
1108
|
} | undefined;
|
|
1284
|
-
}>, z.ZodObject<{
|
|
1109
|
+
}>, z.ZodObject<{
|
|
1110
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1111
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1112
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
}, "strip", z.ZodTypeAny, {
|
|
1115
|
+
schemaVersion: string;
|
|
1116
|
+
title?: string | undefined;
|
|
1117
|
+
usageDescription?: string | undefined;
|
|
1118
|
+
}, {
|
|
1119
|
+
schemaVersion?: string | undefined;
|
|
1120
|
+
title?: string | undefined;
|
|
1121
|
+
usageDescription?: string | undefined;
|
|
1122
|
+
}>>;
|
|
1123
|
+
} & {
|
|
1285
1124
|
type: z.ZodLiteral<"selectBox">;
|
|
1286
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1125
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1287
1126
|
label: z.ZodDefault<z.ZodString>;
|
|
1288
1127
|
value: z.ZodDefault<z.ZodString>;
|
|
1289
1128
|
} & {
|
|
@@ -1296,37 +1135,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1296
1135
|
value?: string | undefined;
|
|
1297
1136
|
label?: string | undefined;
|
|
1298
1137
|
selected?: boolean | undefined;
|
|
1299
|
-
}>, "many"
|
|
1300
|
-
attributes: z.ZodObject<{
|
|
1138
|
+
}>, "many">>;
|
|
1139
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1301
1140
|
label: z.ZodOptional<z.ZodString>;
|
|
1302
1141
|
help: z.ZodOptional<z.ZodString>;
|
|
1303
1142
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1304
1143
|
} & {
|
|
1305
|
-
multiple: z.
|
|
1144
|
+
multiple: z.ZodLiteral<false>;
|
|
1306
1145
|
}, "strip", z.ZodTypeAny, {
|
|
1307
|
-
multiple:
|
|
1146
|
+
multiple: false;
|
|
1308
1147
|
label?: string | undefined;
|
|
1309
1148
|
help?: string | undefined;
|
|
1310
1149
|
labelTranslationKey?: string | undefined;
|
|
1311
1150
|
}, {
|
|
1151
|
+
multiple: false;
|
|
1312
1152
|
label?: string | undefined;
|
|
1313
1153
|
help?: string | undefined;
|
|
1314
1154
|
labelTranslationKey?: string | undefined;
|
|
1315
|
-
multiple?: boolean | undefined;
|
|
1316
|
-
}>;
|
|
1317
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1318
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1319
|
-
} & {
|
|
1320
|
-
title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
|
|
1321
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
|
|
1322
|
-
}, "strip", z.ZodTypeAny, {
|
|
1323
|
-
schemaVersion: "1.0";
|
|
1324
|
-
title?: "Select Box" | undefined;
|
|
1325
|
-
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
1326
|
-
}, {
|
|
1327
|
-
schemaVersion: "1.0";
|
|
1328
|
-
title?: "Select Box" | undefined;
|
|
1329
|
-
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
1330
1155
|
}>>;
|
|
1331
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1332
1157
|
options: {
|
|
@@ -1336,40 +1161,69 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1336
1161
|
}[];
|
|
1337
1162
|
type: "selectBox";
|
|
1338
1163
|
attributes: {
|
|
1339
|
-
multiple:
|
|
1164
|
+
multiple: false;
|
|
1340
1165
|
label?: string | undefined;
|
|
1341
1166
|
help?: string | undefined;
|
|
1342
1167
|
labelTranslationKey?: string | undefined;
|
|
1343
1168
|
};
|
|
1344
|
-
meta
|
|
1345
|
-
schemaVersion:
|
|
1346
|
-
title?:
|
|
1347
|
-
usageDescription?:
|
|
1348
|
-
}
|
|
1169
|
+
meta: {
|
|
1170
|
+
schemaVersion: string;
|
|
1171
|
+
title?: string | undefined;
|
|
1172
|
+
usageDescription?: string | undefined;
|
|
1173
|
+
};
|
|
1349
1174
|
}, {
|
|
1350
|
-
|
|
1175
|
+
type: "selectBox";
|
|
1176
|
+
options?: {
|
|
1351
1177
|
value?: string | undefined;
|
|
1352
1178
|
label?: string | undefined;
|
|
1353
1179
|
selected?: boolean | undefined;
|
|
1354
|
-
}[];
|
|
1355
|
-
|
|
1356
|
-
|
|
1180
|
+
}[] | undefined;
|
|
1181
|
+
attributes?: {
|
|
1182
|
+
multiple: false;
|
|
1357
1183
|
label?: string | undefined;
|
|
1358
1184
|
help?: string | undefined;
|
|
1359
1185
|
labelTranslationKey?: string | undefined;
|
|
1360
|
-
|
|
1361
|
-
};
|
|
1186
|
+
} | undefined;
|
|
1362
1187
|
meta?: {
|
|
1363
|
-
schemaVersion
|
|
1364
|
-
title?:
|
|
1365
|
-
usageDescription?:
|
|
1188
|
+
schemaVersion?: string | undefined;
|
|
1189
|
+
title?: string | undefined;
|
|
1190
|
+
usageDescription?: string | undefined;
|
|
1366
1191
|
} | undefined;
|
|
1367
|
-
}>, z.ZodObject<{
|
|
1192
|
+
}>, z.ZodObject<{
|
|
1193
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1194
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1195
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
}, "strip", z.ZodTypeAny, {
|
|
1198
|
+
schemaVersion: string;
|
|
1199
|
+
title?: string | undefined;
|
|
1200
|
+
usageDescription?: string | undefined;
|
|
1201
|
+
}, {
|
|
1202
|
+
schemaVersion?: string | undefined;
|
|
1203
|
+
title?: string | undefined;
|
|
1204
|
+
usageDescription?: string | undefined;
|
|
1205
|
+
}>>;
|
|
1206
|
+
} & {
|
|
1368
1207
|
type: z.ZodLiteral<"table">;
|
|
1369
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
1370
|
-
heading: z.
|
|
1371
|
-
content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1372
|
-
|
|
1208
|
+
columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1209
|
+
heading: z.ZodDefault<z.ZodString>;
|
|
1210
|
+
content: z.ZodDefault<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1211
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1212
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1213
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
}, "strip", z.ZodTypeAny, {
|
|
1216
|
+
schemaVersion: string;
|
|
1217
|
+
title?: string | undefined;
|
|
1218
|
+
usageDescription?: string | undefined;
|
|
1219
|
+
}, {
|
|
1220
|
+
schemaVersion?: string | undefined;
|
|
1221
|
+
title?: string | undefined;
|
|
1222
|
+
usageDescription?: string | undefined;
|
|
1223
|
+
}>>;
|
|
1224
|
+
} & {
|
|
1225
|
+
type: z.ZodLiteral<"affiliationSearch">;
|
|
1226
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1373
1227
|
label: z.ZodOptional<z.ZodString>;
|
|
1374
1228
|
help: z.ZodOptional<z.ZodString>;
|
|
1375
1229
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1382,18 +1236,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1382
1236
|
help?: string | undefined;
|
|
1383
1237
|
labelTranslationKey?: string | undefined;
|
|
1384
1238
|
}>>;
|
|
1385
|
-
|
|
1386
|
-
type: z.ZodLiteral<"affiliationSearch">;
|
|
1387
|
-
graphQL: z.ZodObject<{
|
|
1239
|
+
graphQL: z.ZodDefault<z.ZodObject<{
|
|
1388
1240
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
1389
1241
|
} & {
|
|
1390
|
-
query: z.ZodLiteral<
|
|
1242
|
+
query: z.ZodDefault<z.ZodLiteral<string>>;
|
|
1391
1243
|
queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1392
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
1393
|
-
name: z.ZodLiteral<"name"
|
|
1244
|
+
variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1245
|
+
name: z.ZodDefault<z.ZodLiteral<"name">>;
|
|
1394
1246
|
type: z.ZodDefault<z.ZodString>;
|
|
1395
1247
|
label: z.ZodDefault<z.ZodString>;
|
|
1396
|
-
minLength: z.ZodLiteral<3
|
|
1248
|
+
minLength: z.ZodDefault<z.ZodLiteral<3>>;
|
|
1397
1249
|
labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1398
1250
|
}, "strip", z.ZodTypeAny, {
|
|
1399
1251
|
type: string;
|
|
@@ -1402,15 +1254,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1402
1254
|
name: "name";
|
|
1403
1255
|
labelTranslationKey?: string | undefined;
|
|
1404
1256
|
}, {
|
|
1405
|
-
minLength: 3;
|
|
1406
|
-
name: "name";
|
|
1407
1257
|
type?: string | undefined;
|
|
1408
1258
|
label?: string | undefined;
|
|
1409
1259
|
labelTranslationKey?: string | undefined;
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1260
|
+
minLength?: 3 | undefined;
|
|
1261
|
+
name?: "name" | undefined;
|
|
1262
|
+
}>, "many">>;
|
|
1263
|
+
answerField: z.ZodDefault<z.ZodLiteral<"uri">>;
|
|
1264
|
+
displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1265
|
+
propertyName: z.ZodDefault<z.ZodLiteral<"displayName">>;
|
|
1414
1266
|
label: z.ZodDefault<z.ZodString>;
|
|
1415
1267
|
labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1416
1268
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1418,18 +1270,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1418
1270
|
propertyName: "displayName";
|
|
1419
1271
|
labelTranslationKey?: string | undefined;
|
|
1420
1272
|
}, {
|
|
1421
|
-
propertyName: "displayName";
|
|
1422
1273
|
label?: string | undefined;
|
|
1423
1274
|
labelTranslationKey?: string | undefined;
|
|
1424
|
-
|
|
1425
|
-
|
|
1275
|
+
propertyName?: "displayName" | undefined;
|
|
1276
|
+
}>, "many">>;
|
|
1277
|
+
responseField: z.ZodDefault<z.ZodLiteral<"affiliations.items">>;
|
|
1426
1278
|
}, "strip", z.ZodTypeAny, {
|
|
1427
1279
|
displayFields: {
|
|
1428
1280
|
label: string;
|
|
1429
1281
|
propertyName: "displayName";
|
|
1430
1282
|
labelTranslationKey?: string | undefined;
|
|
1431
1283
|
}[];
|
|
1432
|
-
query:
|
|
1284
|
+
query: string;
|
|
1433
1285
|
responseField: "affiliations.items";
|
|
1434
1286
|
variables: {
|
|
1435
1287
|
type: string;
|
|
@@ -1442,44 +1294,35 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1442
1294
|
localQueryId?: string | undefined;
|
|
1443
1295
|
queryId?: string | undefined;
|
|
1444
1296
|
}, {
|
|
1445
|
-
displayFields
|
|
1446
|
-
propertyName: "displayName";
|
|
1297
|
+
displayFields?: {
|
|
1447
1298
|
label?: string | undefined;
|
|
1448
1299
|
labelTranslationKey?: string | undefined;
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1300
|
+
propertyName?: "displayName" | undefined;
|
|
1301
|
+
}[] | undefined;
|
|
1302
|
+
localQueryId?: string | undefined;
|
|
1303
|
+
query?: string | undefined;
|
|
1304
|
+
responseField?: "affiliations.items" | undefined;
|
|
1305
|
+
variables?: {
|
|
1455
1306
|
type?: string | undefined;
|
|
1456
1307
|
label?: string | undefined;
|
|
1457
1308
|
labelTranslationKey?: string | undefined;
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1309
|
+
minLength?: 3 | undefined;
|
|
1310
|
+
name?: "name" | undefined;
|
|
1311
|
+
}[] | undefined;
|
|
1461
1312
|
queryId?: string | undefined;
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1465
|
-
} & {
|
|
1466
|
-
title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
|
|
1467
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
|
|
1468
|
-
}, "strip", z.ZodTypeAny, {
|
|
1469
|
-
schemaVersion: "1.0";
|
|
1470
|
-
title?: "Affiliation Search" | undefined;
|
|
1471
|
-
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
1472
|
-
}, {
|
|
1473
|
-
schemaVersion: "1.0";
|
|
1474
|
-
title?: "Affiliation Search" | undefined;
|
|
1475
|
-
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
1476
|
-
}>;
|
|
1313
|
+
answerField?: "uri" | undefined;
|
|
1314
|
+
}>>;
|
|
1477
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1478
1316
|
type: "affiliationSearch";
|
|
1317
|
+
attributes: {
|
|
1318
|
+
label?: string | undefined;
|
|
1319
|
+
help?: string | undefined;
|
|
1320
|
+
labelTranslationKey?: string | undefined;
|
|
1321
|
+
};
|
|
1479
1322
|
meta: {
|
|
1480
|
-
schemaVersion:
|
|
1481
|
-
title?:
|
|
1482
|
-
usageDescription?:
|
|
1323
|
+
schemaVersion: string;
|
|
1324
|
+
title?: string | undefined;
|
|
1325
|
+
usageDescription?: string | undefined;
|
|
1483
1326
|
};
|
|
1484
1327
|
graphQL: {
|
|
1485
1328
|
displayFields: {
|
|
@@ -1487,7 +1330,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1487
1330
|
propertyName: "displayName";
|
|
1488
1331
|
labelTranslationKey?: string | undefined;
|
|
1489
1332
|
}[];
|
|
1490
|
-
query:
|
|
1333
|
+
query: string;
|
|
1491
1334
|
responseField: "affiliations.items";
|
|
1492
1335
|
variables: {
|
|
1493
1336
|
type: string;
|
|
@@ -1500,45 +1343,54 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1500
1343
|
localQueryId?: string | undefined;
|
|
1501
1344
|
queryId?: string | undefined;
|
|
1502
1345
|
};
|
|
1346
|
+
}, {
|
|
1347
|
+
type: "affiliationSearch";
|
|
1503
1348
|
attributes?: {
|
|
1504
1349
|
label?: string | undefined;
|
|
1505
1350
|
help?: string | undefined;
|
|
1506
1351
|
labelTranslationKey?: string | undefined;
|
|
1507
1352
|
} | undefined;
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
graphQL: {
|
|
1516
|
-
displayFields: {
|
|
1517
|
-
propertyName: "displayName";
|
|
1353
|
+
meta?: {
|
|
1354
|
+
schemaVersion?: string | undefined;
|
|
1355
|
+
title?: string | undefined;
|
|
1356
|
+
usageDescription?: string | undefined;
|
|
1357
|
+
} | undefined;
|
|
1358
|
+
graphQL?: {
|
|
1359
|
+
displayFields?: {
|
|
1518
1360
|
label?: string | undefined;
|
|
1519
1361
|
labelTranslationKey?: string | undefined;
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1362
|
+
propertyName?: "displayName" | undefined;
|
|
1363
|
+
}[] | undefined;
|
|
1364
|
+
localQueryId?: string | undefined;
|
|
1365
|
+
query?: string | undefined;
|
|
1366
|
+
responseField?: "affiliations.items" | undefined;
|
|
1367
|
+
variables?: {
|
|
1526
1368
|
type?: string | undefined;
|
|
1527
1369
|
label?: string | undefined;
|
|
1528
1370
|
labelTranslationKey?: string | undefined;
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1371
|
+
minLength?: 3 | undefined;
|
|
1372
|
+
name?: "name" | undefined;
|
|
1373
|
+
}[] | undefined;
|
|
1532
1374
|
queryId?: string | undefined;
|
|
1533
|
-
|
|
1534
|
-
attributes?: {
|
|
1535
|
-
label?: string | undefined;
|
|
1536
|
-
help?: string | undefined;
|
|
1537
|
-
labelTranslationKey?: string | undefined;
|
|
1375
|
+
answerField?: "uri" | undefined;
|
|
1538
1376
|
} | undefined;
|
|
1539
|
-
}>, z.ZodObject<{
|
|
1377
|
+
}>, z.ZodObject<{
|
|
1378
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1379
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1380
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
}, "strip", z.ZodTypeAny, {
|
|
1383
|
+
schemaVersion: string;
|
|
1384
|
+
title?: string | undefined;
|
|
1385
|
+
usageDescription?: string | undefined;
|
|
1386
|
+
}, {
|
|
1387
|
+
schemaVersion?: string | undefined;
|
|
1388
|
+
title?: string | undefined;
|
|
1389
|
+
usageDescription?: string | undefined;
|
|
1390
|
+
}>>;
|
|
1391
|
+
} & {
|
|
1540
1392
|
type: z.ZodLiteral<"boolean">;
|
|
1541
|
-
attributes: z.
|
|
1393
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1542
1394
|
label: z.ZodOptional<z.ZodString>;
|
|
1543
1395
|
help: z.ZodOptional<z.ZodString>;
|
|
1544
1396
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1555,33 +1407,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1555
1407
|
labelTranslationKey?: string | undefined;
|
|
1556
1408
|
checked?: boolean | undefined;
|
|
1557
1409
|
}>>;
|
|
1558
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1559
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1560
|
-
} & {
|
|
1561
|
-
title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
|
|
1562
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
|
|
1563
|
-
}, "strip", z.ZodTypeAny, {
|
|
1564
|
-
schemaVersion: "1.0";
|
|
1565
|
-
title?: "Yes/No Field" | undefined;
|
|
1566
|
-
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
1567
|
-
}, {
|
|
1568
|
-
schemaVersion: "1.0";
|
|
1569
|
-
title?: "Yes/No Field" | undefined;
|
|
1570
|
-
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
1571
|
-
}>>;
|
|
1572
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1573
1411
|
type: "boolean";
|
|
1574
|
-
attributes
|
|
1412
|
+
attributes: {
|
|
1575
1413
|
checked: boolean;
|
|
1576
1414
|
label?: string | undefined;
|
|
1577
1415
|
help?: string | undefined;
|
|
1578
1416
|
labelTranslationKey?: string | undefined;
|
|
1579
|
-
}
|
|
1580
|
-
meta
|
|
1581
|
-
schemaVersion:
|
|
1582
|
-
title?:
|
|
1583
|
-
usageDescription?:
|
|
1584
|
-
}
|
|
1417
|
+
};
|
|
1418
|
+
meta: {
|
|
1419
|
+
schemaVersion: string;
|
|
1420
|
+
title?: string | undefined;
|
|
1421
|
+
usageDescription?: string | undefined;
|
|
1422
|
+
};
|
|
1585
1423
|
}, {
|
|
1586
1424
|
type: "boolean";
|
|
1587
1425
|
attributes?: {
|
|
@@ -1591,27 +1429,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1591
1429
|
checked?: boolean | undefined;
|
|
1592
1430
|
} | undefined;
|
|
1593
1431
|
meta?: {
|
|
1594
|
-
schemaVersion
|
|
1595
|
-
title?:
|
|
1596
|
-
usageDescription?:
|
|
1432
|
+
schemaVersion?: string | undefined;
|
|
1433
|
+
title?: string | undefined;
|
|
1434
|
+
usageDescription?: string | undefined;
|
|
1597
1435
|
} | undefined;
|
|
1598
1436
|
}>, z.ZodObject<{
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1437
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1438
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1439
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1603
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1442
|
+
schemaVersion: string;
|
|
1443
|
+
title?: string | undefined;
|
|
1444
|
+
usageDescription?: string | undefined;
|
|
1607
1445
|
}, {
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1446
|
+
schemaVersion?: string | undefined;
|
|
1447
|
+
title?: string | undefined;
|
|
1448
|
+
usageDescription?: string | undefined;
|
|
1611
1449
|
}>>;
|
|
1612
1450
|
} & {
|
|
1613
1451
|
type: z.ZodLiteral<"checkBoxes">;
|
|
1614
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1452
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1615
1453
|
label: z.ZodDefault<z.ZodString>;
|
|
1616
1454
|
value: z.ZodDefault<z.ZodString>;
|
|
1617
1455
|
} & {
|
|
@@ -1624,20 +1462,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1624
1462
|
value?: string | undefined;
|
|
1625
1463
|
label?: string | undefined;
|
|
1626
1464
|
checked?: boolean | undefined;
|
|
1627
|
-
}>, "many"
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
|
|
1465
|
+
}>, "many">>;
|
|
1466
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1467
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1633
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1471
|
+
label?: string | undefined;
|
|
1472
|
+
help?: string | undefined;
|
|
1473
|
+
labelTranslationKey?: string | undefined;
|
|
1637
1474
|
}, {
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1475
|
+
label?: string | undefined;
|
|
1476
|
+
help?: string | undefined;
|
|
1477
|
+
labelTranslationKey?: string | undefined;
|
|
1641
1478
|
}>>;
|
|
1642
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1643
1480
|
options: {
|
|
@@ -1646,36 +1483,50 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1646
1483
|
checked: boolean;
|
|
1647
1484
|
}[];
|
|
1648
1485
|
type: "checkBoxes";
|
|
1649
|
-
attributes
|
|
1486
|
+
attributes: {
|
|
1650
1487
|
label?: string | undefined;
|
|
1651
1488
|
help?: string | undefined;
|
|
1652
1489
|
labelTranslationKey?: string | undefined;
|
|
1653
|
-
}
|
|
1654
|
-
meta
|
|
1655
|
-
schemaVersion:
|
|
1656
|
-
title?:
|
|
1657
|
-
usageDescription?:
|
|
1658
|
-
}
|
|
1490
|
+
};
|
|
1491
|
+
meta: {
|
|
1492
|
+
schemaVersion: string;
|
|
1493
|
+
title?: string | undefined;
|
|
1494
|
+
usageDescription?: string | undefined;
|
|
1495
|
+
};
|
|
1659
1496
|
}, {
|
|
1660
|
-
|
|
1497
|
+
type: "checkBoxes";
|
|
1498
|
+
options?: {
|
|
1661
1499
|
value?: string | undefined;
|
|
1662
1500
|
label?: string | undefined;
|
|
1663
1501
|
checked?: boolean | undefined;
|
|
1664
|
-
}[];
|
|
1665
|
-
type: "checkBoxes";
|
|
1502
|
+
}[] | undefined;
|
|
1666
1503
|
attributes?: {
|
|
1667
1504
|
label?: string | undefined;
|
|
1668
1505
|
help?: string | undefined;
|
|
1669
1506
|
labelTranslationKey?: string | undefined;
|
|
1670
1507
|
} | undefined;
|
|
1671
1508
|
meta?: {
|
|
1672
|
-
schemaVersion
|
|
1673
|
-
title?:
|
|
1674
|
-
usageDescription?:
|
|
1509
|
+
schemaVersion?: string | undefined;
|
|
1510
|
+
title?: string | undefined;
|
|
1511
|
+
usageDescription?: string | undefined;
|
|
1675
1512
|
} | undefined;
|
|
1676
|
-
}>, z.ZodObject<{
|
|
1513
|
+
}>, z.ZodObject<{
|
|
1514
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1515
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1516
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
}, "strip", z.ZodTypeAny, {
|
|
1519
|
+
schemaVersion: string;
|
|
1520
|
+
title?: string | undefined;
|
|
1521
|
+
usageDescription?: string | undefined;
|
|
1522
|
+
}, {
|
|
1523
|
+
schemaVersion?: string | undefined;
|
|
1524
|
+
title?: string | undefined;
|
|
1525
|
+
usageDescription?: string | undefined;
|
|
1526
|
+
}>>;
|
|
1527
|
+
} & {
|
|
1677
1528
|
type: z.ZodLiteral<"currency">;
|
|
1678
|
-
attributes: z.
|
|
1529
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1679
1530
|
label: z.ZodOptional<z.ZodString>;
|
|
1680
1531
|
help: z.ZodOptional<z.ZodString>;
|
|
1681
1532
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1702,23 +1553,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1702
1553
|
step?: number | undefined;
|
|
1703
1554
|
denomination?: string | undefined;
|
|
1704
1555
|
}>>;
|
|
1705
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1706
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1707
|
-
} & {
|
|
1708
|
-
title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
|
|
1709
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
|
|
1710
|
-
}, "strip", z.ZodTypeAny, {
|
|
1711
|
-
schemaVersion: "1.0";
|
|
1712
|
-
title?: "Currency Field" | undefined;
|
|
1713
|
-
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
1714
|
-
}, {
|
|
1715
|
-
schemaVersion: "1.0";
|
|
1716
|
-
title?: "Currency Field" | undefined;
|
|
1717
|
-
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
1718
|
-
}>>;
|
|
1719
1556
|
}, "strip", z.ZodTypeAny, {
|
|
1720
1557
|
type: "currency";
|
|
1721
|
-
attributes
|
|
1558
|
+
attributes: {
|
|
1722
1559
|
min: number;
|
|
1723
1560
|
step: number;
|
|
1724
1561
|
denomination: string;
|
|
@@ -1726,12 +1563,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1726
1563
|
help?: string | undefined;
|
|
1727
1564
|
labelTranslationKey?: string | undefined;
|
|
1728
1565
|
max?: number | undefined;
|
|
1729
|
-
}
|
|
1730
|
-
meta
|
|
1731
|
-
schemaVersion:
|
|
1732
|
-
title?:
|
|
1733
|
-
usageDescription?:
|
|
1734
|
-
}
|
|
1566
|
+
};
|
|
1567
|
+
meta: {
|
|
1568
|
+
schemaVersion: string;
|
|
1569
|
+
title?: string | undefined;
|
|
1570
|
+
usageDescription?: string | undefined;
|
|
1571
|
+
};
|
|
1735
1572
|
}, {
|
|
1736
1573
|
type: "currency";
|
|
1737
1574
|
attributes?: {
|
|
@@ -1744,13 +1581,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1744
1581
|
denomination?: string | undefined;
|
|
1745
1582
|
} | undefined;
|
|
1746
1583
|
meta?: {
|
|
1747
|
-
schemaVersion
|
|
1748
|
-
title?:
|
|
1749
|
-
usageDescription?:
|
|
1584
|
+
schemaVersion?: string | undefined;
|
|
1585
|
+
title?: string | undefined;
|
|
1586
|
+
usageDescription?: string | undefined;
|
|
1750
1587
|
} | undefined;
|
|
1751
|
-
}>, z.ZodObject<{
|
|
1588
|
+
}>, z.ZodObject<{
|
|
1589
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1590
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1591
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
}, "strip", z.ZodTypeAny, {
|
|
1594
|
+
schemaVersion: string;
|
|
1595
|
+
title?: string | undefined;
|
|
1596
|
+
usageDescription?: string | undefined;
|
|
1597
|
+
}, {
|
|
1598
|
+
schemaVersion?: string | undefined;
|
|
1599
|
+
title?: string | undefined;
|
|
1600
|
+
usageDescription?: string | undefined;
|
|
1601
|
+
}>>;
|
|
1602
|
+
} & {
|
|
1752
1603
|
type: z.ZodLiteral<"date">;
|
|
1753
|
-
attributes: z.
|
|
1604
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1754
1605
|
label: z.ZodOptional<z.ZodString>;
|
|
1755
1606
|
help: z.ZodOptional<z.ZodString>;
|
|
1756
1607
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1773,35 +1624,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1773
1624
|
min?: string | undefined;
|
|
1774
1625
|
step?: number | undefined;
|
|
1775
1626
|
}>>;
|
|
1776
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1777
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1778
|
-
} & {
|
|
1779
|
-
title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
|
|
1780
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
|
|
1781
|
-
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
schemaVersion: "1.0";
|
|
1783
|
-
title?: "Date Field" | undefined;
|
|
1784
|
-
usageDescription?: "For questions that require a date." | undefined;
|
|
1785
|
-
}, {
|
|
1786
|
-
schemaVersion: "1.0";
|
|
1787
|
-
title?: "Date Field" | undefined;
|
|
1788
|
-
usageDescription?: "For questions that require a date." | undefined;
|
|
1789
|
-
}>>;
|
|
1790
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1791
1628
|
type: "date";
|
|
1792
|
-
attributes
|
|
1629
|
+
attributes: {
|
|
1793
1630
|
step: number;
|
|
1794
1631
|
label?: string | undefined;
|
|
1795
1632
|
help?: string | undefined;
|
|
1796
1633
|
labelTranslationKey?: string | undefined;
|
|
1797
1634
|
max?: string | undefined;
|
|
1798
1635
|
min?: string | undefined;
|
|
1799
|
-
}
|
|
1800
|
-
meta
|
|
1801
|
-
schemaVersion:
|
|
1802
|
-
title?:
|
|
1803
|
-
usageDescription?:
|
|
1804
|
-
}
|
|
1636
|
+
};
|
|
1637
|
+
meta: {
|
|
1638
|
+
schemaVersion: string;
|
|
1639
|
+
title?: string | undefined;
|
|
1640
|
+
usageDescription?: string | undefined;
|
|
1641
|
+
};
|
|
1805
1642
|
}, {
|
|
1806
1643
|
type: "date";
|
|
1807
1644
|
attributes?: {
|
|
@@ -1813,12 +1650,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1813
1650
|
step?: number | undefined;
|
|
1814
1651
|
} | undefined;
|
|
1815
1652
|
meta?: {
|
|
1816
|
-
schemaVersion
|
|
1817
|
-
title?:
|
|
1818
|
-
usageDescription?:
|
|
1653
|
+
schemaVersion?: string | undefined;
|
|
1654
|
+
title?: string | undefined;
|
|
1655
|
+
usageDescription?: string | undefined;
|
|
1819
1656
|
} | undefined;
|
|
1820
1657
|
}>, z.ZodObject<{
|
|
1821
|
-
|
|
1658
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1659
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1660
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
}, "strip", z.ZodTypeAny, {
|
|
1663
|
+
schemaVersion: string;
|
|
1664
|
+
title?: string | undefined;
|
|
1665
|
+
usageDescription?: string | undefined;
|
|
1666
|
+
}, {
|
|
1667
|
+
schemaVersion?: string | undefined;
|
|
1668
|
+
title?: string | undefined;
|
|
1669
|
+
usageDescription?: string | undefined;
|
|
1670
|
+
}>>;
|
|
1671
|
+
} & {
|
|
1672
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1673
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1822
1674
|
label: z.ZodOptional<z.ZodString>;
|
|
1823
1675
|
help: z.ZodOptional<z.ZodString>;
|
|
1824
1676
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1831,20 +1683,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1831
1683
|
help?: string | undefined;
|
|
1832
1684
|
labelTranslationKey?: string | undefined;
|
|
1833
1685
|
}>>;
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
columns: z.ZodObject<{
|
|
1837
|
-
start: z.ZodObject<{
|
|
1838
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
columns: z.ZodDefault<z.ZodObject<{
|
|
1687
|
+
start: z.ZodDefault<z.ZodObject<{
|
|
1839
1688
|
help: z.ZodOptional<z.ZodString>;
|
|
1840
1689
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1841
|
-
} & {
|
|
1842
1690
|
max: z.ZodOptional<z.ZodString>;
|
|
1843
1691
|
min: z.ZodOptional<z.ZodString>;
|
|
1844
1692
|
step: z.ZodDefault<z.ZodNumber>;
|
|
1693
|
+
} & {
|
|
1694
|
+
label: z.ZodDefault<z.ZodString>;
|
|
1845
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
+
label: string;
|
|
1846
1697
|
step: number;
|
|
1847
|
-
label?: string | undefined;
|
|
1848
1698
|
help?: string | undefined;
|
|
1849
1699
|
labelTranslationKey?: string | undefined;
|
|
1850
1700
|
max?: string | undefined;
|
|
@@ -1856,18 +1706,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1856
1706
|
max?: string | undefined;
|
|
1857
1707
|
min?: string | undefined;
|
|
1858
1708
|
step?: number | undefined;
|
|
1859
|
-
}
|
|
1860
|
-
end: z.ZodObject<{
|
|
1861
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
}>>;
|
|
1710
|
+
end: z.ZodDefault<z.ZodObject<{
|
|
1862
1711
|
help: z.ZodOptional<z.ZodString>;
|
|
1863
1712
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1864
|
-
} & {
|
|
1865
1713
|
max: z.ZodOptional<z.ZodString>;
|
|
1866
1714
|
min: z.ZodOptional<z.ZodString>;
|
|
1867
1715
|
step: z.ZodDefault<z.ZodNumber>;
|
|
1716
|
+
} & {
|
|
1717
|
+
label: z.ZodDefault<z.ZodString>;
|
|
1868
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
label: string;
|
|
1869
1720
|
step: number;
|
|
1870
|
-
label?: string | undefined;
|
|
1871
1721
|
help?: string | undefined;
|
|
1872
1722
|
labelTranslationKey?: string | undefined;
|
|
1873
1723
|
max?: string | undefined;
|
|
@@ -1879,119 +1729,119 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1879
1729
|
max?: string | undefined;
|
|
1880
1730
|
min?: string | undefined;
|
|
1881
1731
|
step?: number | undefined;
|
|
1882
|
-
}
|
|
1732
|
+
}>>;
|
|
1883
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1884
1734
|
start: {
|
|
1735
|
+
label: string;
|
|
1885
1736
|
step: number;
|
|
1886
|
-
label?: string | undefined;
|
|
1887
1737
|
help?: string | undefined;
|
|
1888
1738
|
labelTranslationKey?: string | undefined;
|
|
1889
1739
|
max?: string | undefined;
|
|
1890
1740
|
min?: string | undefined;
|
|
1891
1741
|
};
|
|
1892
1742
|
end: {
|
|
1743
|
+
label: string;
|
|
1893
1744
|
step: number;
|
|
1894
|
-
label?: string | undefined;
|
|
1895
1745
|
help?: string | undefined;
|
|
1896
1746
|
labelTranslationKey?: string | undefined;
|
|
1897
1747
|
max?: string | undefined;
|
|
1898
1748
|
min?: string | undefined;
|
|
1899
1749
|
};
|
|
1900
1750
|
}, {
|
|
1901
|
-
start
|
|
1751
|
+
start?: {
|
|
1902
1752
|
label?: string | undefined;
|
|
1903
1753
|
help?: string | undefined;
|
|
1904
1754
|
labelTranslationKey?: string | undefined;
|
|
1905
1755
|
max?: string | undefined;
|
|
1906
1756
|
min?: string | undefined;
|
|
1907
1757
|
step?: number | undefined;
|
|
1908
|
-
};
|
|
1909
|
-
end
|
|
1758
|
+
} | undefined;
|
|
1759
|
+
end?: {
|
|
1910
1760
|
label?: string | undefined;
|
|
1911
1761
|
help?: string | undefined;
|
|
1912
1762
|
labelTranslationKey?: string | undefined;
|
|
1913
1763
|
max?: string | undefined;
|
|
1914
1764
|
min?: string | undefined;
|
|
1915
1765
|
step?: number | undefined;
|
|
1916
|
-
};
|
|
1917
|
-
}>;
|
|
1918
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1919
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1920
|
-
} & {
|
|
1921
|
-
title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
|
|
1922
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
|
|
1923
|
-
}, "strip", z.ZodTypeAny, {
|
|
1924
|
-
schemaVersion: "1.0";
|
|
1925
|
-
title?: "Date Range" | undefined;
|
|
1926
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
1927
|
-
}, {
|
|
1928
|
-
schemaVersion: "1.0";
|
|
1929
|
-
title?: "Date Range" | undefined;
|
|
1930
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
1766
|
+
} | undefined;
|
|
1931
1767
|
}>>;
|
|
1932
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1933
1769
|
type: "dateRange";
|
|
1770
|
+
attributes: {
|
|
1771
|
+
label?: string | undefined;
|
|
1772
|
+
help?: string | undefined;
|
|
1773
|
+
labelTranslationKey?: string | undefined;
|
|
1774
|
+
};
|
|
1775
|
+
meta: {
|
|
1776
|
+
schemaVersion: string;
|
|
1777
|
+
title?: string | undefined;
|
|
1778
|
+
usageDescription?: string | undefined;
|
|
1779
|
+
};
|
|
1934
1780
|
columns: {
|
|
1935
1781
|
start: {
|
|
1782
|
+
label: string;
|
|
1936
1783
|
step: number;
|
|
1937
|
-
label?: string | undefined;
|
|
1938
1784
|
help?: string | undefined;
|
|
1939
1785
|
labelTranslationKey?: string | undefined;
|
|
1940
1786
|
max?: string | undefined;
|
|
1941
1787
|
min?: string | undefined;
|
|
1942
1788
|
};
|
|
1943
1789
|
end: {
|
|
1790
|
+
label: string;
|
|
1944
1791
|
step: number;
|
|
1945
|
-
label?: string | undefined;
|
|
1946
1792
|
help?: string | undefined;
|
|
1947
1793
|
labelTranslationKey?: string | undefined;
|
|
1948
1794
|
max?: string | undefined;
|
|
1949
1795
|
min?: string | undefined;
|
|
1950
1796
|
};
|
|
1951
1797
|
};
|
|
1798
|
+
}, {
|
|
1799
|
+
type: "dateRange";
|
|
1952
1800
|
attributes?: {
|
|
1953
1801
|
label?: string | undefined;
|
|
1954
1802
|
help?: string | undefined;
|
|
1955
1803
|
labelTranslationKey?: string | undefined;
|
|
1956
1804
|
} | undefined;
|
|
1957
1805
|
meta?: {
|
|
1958
|
-
schemaVersion
|
|
1959
|
-
title?:
|
|
1960
|
-
usageDescription?:
|
|
1806
|
+
schemaVersion?: string | undefined;
|
|
1807
|
+
title?: string | undefined;
|
|
1808
|
+
usageDescription?: string | undefined;
|
|
1961
1809
|
} | undefined;
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
columns: {
|
|
1965
|
-
start: {
|
|
1810
|
+
columns?: {
|
|
1811
|
+
start?: {
|
|
1966
1812
|
label?: string | undefined;
|
|
1967
1813
|
help?: string | undefined;
|
|
1968
1814
|
labelTranslationKey?: string | undefined;
|
|
1969
1815
|
max?: string | undefined;
|
|
1970
1816
|
min?: string | undefined;
|
|
1971
1817
|
step?: number | undefined;
|
|
1972
|
-
};
|
|
1973
|
-
end
|
|
1818
|
+
} | undefined;
|
|
1819
|
+
end?: {
|
|
1974
1820
|
label?: string | undefined;
|
|
1975
1821
|
help?: string | undefined;
|
|
1976
1822
|
labelTranslationKey?: string | undefined;
|
|
1977
1823
|
max?: string | undefined;
|
|
1978
1824
|
min?: string | undefined;
|
|
1979
1825
|
step?: number | undefined;
|
|
1980
|
-
};
|
|
1981
|
-
};
|
|
1982
|
-
attributes?: {
|
|
1983
|
-
label?: string | undefined;
|
|
1984
|
-
help?: string | undefined;
|
|
1985
|
-
labelTranslationKey?: string | undefined;
|
|
1986
|
-
} | undefined;
|
|
1987
|
-
meta?: {
|
|
1988
|
-
schemaVersion: "1.0";
|
|
1989
|
-
title?: "Date Range" | undefined;
|
|
1990
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
1826
|
+
} | undefined;
|
|
1991
1827
|
} | undefined;
|
|
1992
|
-
}>, z.ZodObject<{
|
|
1828
|
+
}>, z.ZodObject<{
|
|
1829
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1830
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1831
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1832
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1833
|
+
}, "strip", z.ZodTypeAny, {
|
|
1834
|
+
schemaVersion: string;
|
|
1835
|
+
title?: string | undefined;
|
|
1836
|
+
usageDescription?: string | undefined;
|
|
1837
|
+
}, {
|
|
1838
|
+
schemaVersion?: string | undefined;
|
|
1839
|
+
title?: string | undefined;
|
|
1840
|
+
usageDescription?: string | undefined;
|
|
1841
|
+
}>>;
|
|
1842
|
+
} & {
|
|
1993
1843
|
type: z.ZodLiteral<"email">;
|
|
1994
|
-
attributes: z.
|
|
1844
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
1995
1845
|
label: z.ZodOptional<z.ZodString>;
|
|
1996
1846
|
help: z.ZodOptional<z.ZodString>;
|
|
1997
1847
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2018,23 +1868,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2018
1868
|
pattern?: string | undefined;
|
|
2019
1869
|
multiple?: boolean | undefined;
|
|
2020
1870
|
}>>;
|
|
2021
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2022
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2023
|
-
} & {
|
|
2024
|
-
title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
|
|
2025
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
|
|
2026
|
-
}, "strip", z.ZodTypeAny, {
|
|
2027
|
-
schemaVersion: "1.0";
|
|
2028
|
-
title?: "Email Field" | undefined;
|
|
2029
|
-
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2030
|
-
}, {
|
|
2031
|
-
schemaVersion: "1.0";
|
|
2032
|
-
title?: "Email Field" | undefined;
|
|
2033
|
-
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2034
|
-
}>>;
|
|
2035
1871
|
}, "strip", z.ZodTypeAny, {
|
|
2036
1872
|
type: "email";
|
|
2037
|
-
attributes
|
|
1873
|
+
attributes: {
|
|
2038
1874
|
maxLength: number;
|
|
2039
1875
|
multiple: boolean;
|
|
2040
1876
|
label?: string | undefined;
|
|
@@ -2042,12 +1878,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2042
1878
|
labelTranslationKey?: string | undefined;
|
|
2043
1879
|
minLength?: number | undefined;
|
|
2044
1880
|
pattern?: string | undefined;
|
|
2045
|
-
}
|
|
2046
|
-
meta
|
|
2047
|
-
schemaVersion:
|
|
2048
|
-
title?:
|
|
2049
|
-
usageDescription?:
|
|
2050
|
-
}
|
|
1881
|
+
};
|
|
1882
|
+
meta: {
|
|
1883
|
+
schemaVersion: string;
|
|
1884
|
+
title?: string | undefined;
|
|
1885
|
+
usageDescription?: string | undefined;
|
|
1886
|
+
};
|
|
2051
1887
|
}, {
|
|
2052
1888
|
type: "email";
|
|
2053
1889
|
attributes?: {
|
|
@@ -2060,35 +1896,49 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2060
1896
|
multiple?: boolean | undefined;
|
|
2061
1897
|
} | undefined;
|
|
2062
1898
|
meta?: {
|
|
2063
|
-
schemaVersion
|
|
2064
|
-
title?:
|
|
2065
|
-
usageDescription?:
|
|
1899
|
+
schemaVersion?: string | undefined;
|
|
1900
|
+
title?: string | undefined;
|
|
1901
|
+
usageDescription?: string | undefined;
|
|
2066
1902
|
} | undefined;
|
|
2067
|
-
}>, z.ZodObject<{
|
|
1903
|
+
}>, z.ZodObject<{
|
|
1904
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
1905
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
1906
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
}, "strip", z.ZodTypeAny, {
|
|
1909
|
+
schemaVersion: string;
|
|
1910
|
+
title?: string | undefined;
|
|
1911
|
+
usageDescription?: string | undefined;
|
|
1912
|
+
}, {
|
|
1913
|
+
schemaVersion?: string | undefined;
|
|
1914
|
+
title?: string | undefined;
|
|
1915
|
+
usageDescription?: string | undefined;
|
|
1916
|
+
}>>;
|
|
1917
|
+
} & {
|
|
2068
1918
|
type: z.ZodLiteral<"filteredSearch">;
|
|
2069
|
-
graphQL: z.ZodObject<{
|
|
2070
|
-
displayFields: z.ZodArray<z.ZodObject<{
|
|
2071
|
-
propertyName: z.ZodString
|
|
2072
|
-
label: z.ZodString
|
|
1919
|
+
graphQL: z.ZodDefault<z.ZodObject<{
|
|
1920
|
+
displayFields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1921
|
+
propertyName: z.ZodDefault<z.ZodString>;
|
|
1922
|
+
label: z.ZodDefault<z.ZodString>;
|
|
2073
1923
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2074
1924
|
}, "strip", z.ZodTypeAny, {
|
|
2075
1925
|
label: string;
|
|
2076
1926
|
propertyName: string;
|
|
2077
1927
|
labelTranslationKey?: string | undefined;
|
|
2078
1928
|
}, {
|
|
2079
|
-
label
|
|
2080
|
-
propertyName: string;
|
|
1929
|
+
label?: string | undefined;
|
|
2081
1930
|
labelTranslationKey?: string | undefined;
|
|
2082
|
-
|
|
1931
|
+
propertyName?: string | undefined;
|
|
1932
|
+
}>, "many">>;
|
|
2083
1933
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
2084
1934
|
query: z.ZodOptional<z.ZodString>;
|
|
2085
|
-
responseField: z.ZodString
|
|
2086
|
-
variables: z.
|
|
1935
|
+
responseField: z.ZodDefault<z.ZodString>;
|
|
1936
|
+
variables: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2087
1937
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2088
1938
|
label: z.ZodOptional<z.ZodString>;
|
|
2089
1939
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2090
|
-
name: z.ZodString
|
|
2091
|
-
type: z.ZodString
|
|
1940
|
+
name: z.ZodDefault<z.ZodString>;
|
|
1941
|
+
type: z.ZodDefault<z.ZodString>;
|
|
2092
1942
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2093
1943
|
}, "strip", z.ZodTypeAny, {
|
|
2094
1944
|
type: string;
|
|
@@ -2098,11 +1948,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2098
1948
|
minLength?: number | undefined;
|
|
2099
1949
|
defaultValue?: string | undefined;
|
|
2100
1950
|
}, {
|
|
2101
|
-
type
|
|
2102
|
-
name: string;
|
|
1951
|
+
type?: string | undefined;
|
|
2103
1952
|
label?: string | undefined;
|
|
2104
1953
|
labelTranslationKey?: string | undefined;
|
|
2105
1954
|
minLength?: number | undefined;
|
|
1955
|
+
name?: string | undefined;
|
|
2106
1956
|
defaultValue?: string | undefined;
|
|
2107
1957
|
}>, "many">>;
|
|
2108
1958
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2112,67 +1962,64 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2112
1962
|
labelTranslationKey?: string | undefined;
|
|
2113
1963
|
}[];
|
|
2114
1964
|
responseField: string;
|
|
2115
|
-
|
|
2116
|
-
query?: string | undefined;
|
|
2117
|
-
variables?: {
|
|
1965
|
+
variables: {
|
|
2118
1966
|
type: string;
|
|
2119
1967
|
name: string;
|
|
2120
1968
|
label?: string | undefined;
|
|
2121
1969
|
labelTranslationKey?: string | undefined;
|
|
2122
1970
|
minLength?: number | undefined;
|
|
2123
1971
|
defaultValue?: string | undefined;
|
|
2124
|
-
}[]
|
|
1972
|
+
}[];
|
|
1973
|
+
localQueryId?: string | undefined;
|
|
1974
|
+
query?: string | undefined;
|
|
2125
1975
|
}, {
|
|
2126
|
-
displayFields
|
|
2127
|
-
label
|
|
2128
|
-
propertyName: string;
|
|
1976
|
+
displayFields?: {
|
|
1977
|
+
label?: string | undefined;
|
|
2129
1978
|
labelTranslationKey?: string | undefined;
|
|
2130
|
-
|
|
2131
|
-
|
|
1979
|
+
propertyName?: string | undefined;
|
|
1980
|
+
}[] | undefined;
|
|
2132
1981
|
localQueryId?: string | undefined;
|
|
2133
1982
|
query?: string | undefined;
|
|
1983
|
+
responseField?: string | undefined;
|
|
2134
1984
|
variables?: {
|
|
2135
|
-
type
|
|
2136
|
-
name: string;
|
|
1985
|
+
type?: string | undefined;
|
|
2137
1986
|
label?: string | undefined;
|
|
2138
1987
|
labelTranslationKey?: string | undefined;
|
|
2139
1988
|
minLength?: number | undefined;
|
|
1989
|
+
name?: string | undefined;
|
|
2140
1990
|
defaultValue?: string | undefined;
|
|
2141
1991
|
}[] | undefined;
|
|
2142
|
-
}
|
|
2143
|
-
attributes: z.
|
|
1992
|
+
}>>;
|
|
1993
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2144
1994
|
label: z.ZodOptional<z.ZodString>;
|
|
2145
1995
|
help: z.ZodOptional<z.ZodString>;
|
|
2146
1996
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2147
1997
|
} & {
|
|
2148
|
-
multiple: z.
|
|
1998
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
2149
1999
|
}, "strip", z.ZodTypeAny, {
|
|
2000
|
+
multiple: boolean;
|
|
2150
2001
|
label?: string | undefined;
|
|
2151
2002
|
help?: string | undefined;
|
|
2152
2003
|
labelTranslationKey?: string | undefined;
|
|
2153
|
-
multiple?: boolean | undefined;
|
|
2154
2004
|
}, {
|
|
2155
2005
|
label?: string | undefined;
|
|
2156
2006
|
help?: string | undefined;
|
|
2157
2007
|
labelTranslationKey?: string | undefined;
|
|
2158
2008
|
multiple?: boolean | undefined;
|
|
2159
2009
|
}>>;
|
|
2160
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2161
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2162
|
-
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2163
|
-
} & {
|
|
2164
|
-
title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
|
|
2165
|
-
}, "strip", z.ZodTypeAny, {
|
|
2166
|
-
schemaVersion: "1.0";
|
|
2167
|
-
title?: "Not yet implemented" | undefined;
|
|
2168
|
-
usageDescription?: string | undefined;
|
|
2169
|
-
}, {
|
|
2170
|
-
schemaVersion: "1.0";
|
|
2171
|
-
title?: "Not yet implemented" | undefined;
|
|
2172
|
-
usageDescription?: string | undefined;
|
|
2173
|
-
}>>;
|
|
2174
2010
|
}, "strip", z.ZodTypeAny, {
|
|
2175
2011
|
type: "filteredSearch";
|
|
2012
|
+
attributes: {
|
|
2013
|
+
multiple: boolean;
|
|
2014
|
+
label?: string | undefined;
|
|
2015
|
+
help?: string | undefined;
|
|
2016
|
+
labelTranslationKey?: string | undefined;
|
|
2017
|
+
};
|
|
2018
|
+
meta: {
|
|
2019
|
+
schemaVersion: string;
|
|
2020
|
+
title?: string | undefined;
|
|
2021
|
+
usageDescription?: string | undefined;
|
|
2022
|
+
};
|
|
2176
2023
|
graphQL: {
|
|
2177
2024
|
displayFields: {
|
|
2178
2025
|
label: string;
|
|
@@ -2180,17 +2027,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2180
2027
|
labelTranslationKey?: string | undefined;
|
|
2181
2028
|
}[];
|
|
2182
2029
|
responseField: string;
|
|
2183
|
-
|
|
2184
|
-
query?: string | undefined;
|
|
2185
|
-
variables?: {
|
|
2030
|
+
variables: {
|
|
2186
2031
|
type: string;
|
|
2187
2032
|
name: string;
|
|
2188
2033
|
label?: string | undefined;
|
|
2189
2034
|
labelTranslationKey?: string | undefined;
|
|
2190
2035
|
minLength?: number | undefined;
|
|
2191
2036
|
defaultValue?: string | undefined;
|
|
2192
|
-
}[]
|
|
2037
|
+
}[];
|
|
2038
|
+
localQueryId?: string | undefined;
|
|
2039
|
+
query?: string | undefined;
|
|
2193
2040
|
};
|
|
2041
|
+
}, {
|
|
2042
|
+
type: "filteredSearch";
|
|
2194
2043
|
attributes?: {
|
|
2195
2044
|
label?: string | undefined;
|
|
2196
2045
|
help?: string | undefined;
|
|
@@ -2198,44 +2047,45 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2198
2047
|
multiple?: boolean | undefined;
|
|
2199
2048
|
} | undefined;
|
|
2200
2049
|
meta?: {
|
|
2201
|
-
schemaVersion
|
|
2202
|
-
title?:
|
|
2050
|
+
schemaVersion?: string | undefined;
|
|
2051
|
+
title?: string | undefined;
|
|
2203
2052
|
usageDescription?: string | undefined;
|
|
2204
2053
|
} | undefined;
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
displayFields: {
|
|
2209
|
-
label: string;
|
|
2210
|
-
propertyName: string;
|
|
2054
|
+
graphQL?: {
|
|
2055
|
+
displayFields?: {
|
|
2056
|
+
label?: string | undefined;
|
|
2211
2057
|
labelTranslationKey?: string | undefined;
|
|
2212
|
-
|
|
2213
|
-
|
|
2058
|
+
propertyName?: string | undefined;
|
|
2059
|
+
}[] | undefined;
|
|
2214
2060
|
localQueryId?: string | undefined;
|
|
2215
2061
|
query?: string | undefined;
|
|
2062
|
+
responseField?: string | undefined;
|
|
2216
2063
|
variables?: {
|
|
2217
|
-
type
|
|
2218
|
-
name: string;
|
|
2064
|
+
type?: string | undefined;
|
|
2219
2065
|
label?: string | undefined;
|
|
2220
2066
|
labelTranslationKey?: string | undefined;
|
|
2221
2067
|
minLength?: number | undefined;
|
|
2068
|
+
name?: string | undefined;
|
|
2222
2069
|
defaultValue?: string | undefined;
|
|
2223
2070
|
}[] | undefined;
|
|
2224
|
-
};
|
|
2225
|
-
attributes?: {
|
|
2226
|
-
label?: string | undefined;
|
|
2227
|
-
help?: string | undefined;
|
|
2228
|
-
labelTranslationKey?: string | undefined;
|
|
2229
|
-
multiple?: boolean | undefined;
|
|
2230
|
-
} | undefined;
|
|
2231
|
-
meta?: {
|
|
2232
|
-
schemaVersion: "1.0";
|
|
2233
|
-
title?: "Not yet implemented" | undefined;
|
|
2234
|
-
usageDescription?: string | undefined;
|
|
2235
2071
|
} | undefined;
|
|
2236
|
-
}>, z.ZodObject<{
|
|
2072
|
+
}>, z.ZodObject<{
|
|
2073
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
2074
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
2075
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
schemaVersion: string;
|
|
2079
|
+
title?: string | undefined;
|
|
2080
|
+
usageDescription?: string | undefined;
|
|
2081
|
+
}, {
|
|
2082
|
+
schemaVersion?: string | undefined;
|
|
2083
|
+
title?: string | undefined;
|
|
2084
|
+
usageDescription?: string | undefined;
|
|
2085
|
+
}>>;
|
|
2086
|
+
} & {
|
|
2237
2087
|
type: z.ZodLiteral<"number">;
|
|
2238
|
-
attributes: z.
|
|
2088
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2239
2089
|
label: z.ZodOptional<z.ZodString>;
|
|
2240
2090
|
help: z.ZodOptional<z.ZodString>;
|
|
2241
2091
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2258,35 +2108,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2258
2108
|
min?: number | undefined;
|
|
2259
2109
|
step?: number | undefined;
|
|
2260
2110
|
}>>;
|
|
2261
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2262
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2263
|
-
} & {
|
|
2264
|
-
title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
|
|
2265
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
|
|
2266
|
-
}, "strip", z.ZodTypeAny, {
|
|
2267
|
-
schemaVersion: "1.0";
|
|
2268
|
-
title?: "Number Field" | undefined;
|
|
2269
|
-
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2270
|
-
}, {
|
|
2271
|
-
schemaVersion: "1.0";
|
|
2272
|
-
title?: "Number Field" | undefined;
|
|
2273
|
-
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2274
|
-
}>>;
|
|
2275
2111
|
}, "strip", z.ZodTypeAny, {
|
|
2276
2112
|
type: "number";
|
|
2277
|
-
attributes
|
|
2113
|
+
attributes: {
|
|
2278
2114
|
min: number;
|
|
2279
2115
|
step: number;
|
|
2280
2116
|
label?: string | undefined;
|
|
2281
2117
|
help?: string | undefined;
|
|
2282
2118
|
labelTranslationKey?: string | undefined;
|
|
2283
2119
|
max?: number | undefined;
|
|
2284
|
-
}
|
|
2285
|
-
meta
|
|
2286
|
-
schemaVersion:
|
|
2287
|
-
title?:
|
|
2288
|
-
usageDescription?:
|
|
2289
|
-
}
|
|
2120
|
+
};
|
|
2121
|
+
meta: {
|
|
2122
|
+
schemaVersion: string;
|
|
2123
|
+
title?: string | undefined;
|
|
2124
|
+
usageDescription?: string | undefined;
|
|
2125
|
+
};
|
|
2290
2126
|
}, {
|
|
2291
2127
|
type: "number";
|
|
2292
2128
|
attributes?: {
|
|
@@ -2298,27 +2134,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2298
2134
|
step?: number | undefined;
|
|
2299
2135
|
} | undefined;
|
|
2300
2136
|
meta?: {
|
|
2301
|
-
schemaVersion
|
|
2302
|
-
title?:
|
|
2303
|
-
usageDescription?:
|
|
2137
|
+
schemaVersion?: string | undefined;
|
|
2138
|
+
title?: string | undefined;
|
|
2139
|
+
usageDescription?: string | undefined;
|
|
2304
2140
|
} | undefined;
|
|
2305
2141
|
}>, z.ZodObject<{
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2142
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
2143
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
2144
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2145
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2310
2146
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2147
|
+
schemaVersion: string;
|
|
2148
|
+
title?: string | undefined;
|
|
2149
|
+
usageDescription?: string | undefined;
|
|
2314
2150
|
}, {
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2151
|
+
schemaVersion?: string | undefined;
|
|
2152
|
+
title?: string | undefined;
|
|
2153
|
+
usageDescription?: string | undefined;
|
|
2318
2154
|
}>>;
|
|
2319
2155
|
} & {
|
|
2320
2156
|
type: z.ZodLiteral<"radioButtons">;
|
|
2321
|
-
options: z.ZodArray<z.ZodObject<{
|
|
2157
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2322
2158
|
label: z.ZodDefault<z.ZodString>;
|
|
2323
2159
|
value: z.ZodDefault<z.ZodString>;
|
|
2324
2160
|
} & {
|
|
@@ -2331,20 +2167,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2331
2167
|
value?: string | undefined;
|
|
2332
2168
|
label?: string | undefined;
|
|
2333
2169
|
selected?: boolean | undefined;
|
|
2334
|
-
}>, "many"
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
|
|
2170
|
+
}>, "many">>;
|
|
2171
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2172
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
help: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2340
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2176
|
+
label?: string | undefined;
|
|
2177
|
+
help?: string | undefined;
|
|
2178
|
+
labelTranslationKey?: string | undefined;
|
|
2344
2179
|
}, {
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2180
|
+
label?: string | undefined;
|
|
2181
|
+
help?: string | undefined;
|
|
2182
|
+
labelTranslationKey?: string | undefined;
|
|
2348
2183
|
}>>;
|
|
2349
2184
|
}, "strip", z.ZodTypeAny, {
|
|
2350
2185
|
options: {
|
|
@@ -2353,36 +2188,50 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2353
2188
|
selected: boolean;
|
|
2354
2189
|
}[];
|
|
2355
2190
|
type: "radioButtons";
|
|
2356
|
-
attributes
|
|
2191
|
+
attributes: {
|
|
2357
2192
|
label?: string | undefined;
|
|
2358
2193
|
help?: string | undefined;
|
|
2359
2194
|
labelTranslationKey?: string | undefined;
|
|
2360
|
-
}
|
|
2361
|
-
meta
|
|
2362
|
-
schemaVersion:
|
|
2363
|
-
title?:
|
|
2364
|
-
usageDescription?:
|
|
2365
|
-
}
|
|
2195
|
+
};
|
|
2196
|
+
meta: {
|
|
2197
|
+
schemaVersion: string;
|
|
2198
|
+
title?: string | undefined;
|
|
2199
|
+
usageDescription?: string | undefined;
|
|
2200
|
+
};
|
|
2366
2201
|
}, {
|
|
2367
|
-
|
|
2202
|
+
type: "radioButtons";
|
|
2203
|
+
options?: {
|
|
2368
2204
|
value?: string | undefined;
|
|
2369
2205
|
label?: string | undefined;
|
|
2370
2206
|
selected?: boolean | undefined;
|
|
2371
|
-
}[];
|
|
2372
|
-
type: "radioButtons";
|
|
2207
|
+
}[] | undefined;
|
|
2373
2208
|
attributes?: {
|
|
2374
2209
|
label?: string | undefined;
|
|
2375
2210
|
help?: string | undefined;
|
|
2376
2211
|
labelTranslationKey?: string | undefined;
|
|
2377
2212
|
} | undefined;
|
|
2378
2213
|
meta?: {
|
|
2379
|
-
schemaVersion
|
|
2380
|
-
title?:
|
|
2381
|
-
usageDescription?:
|
|
2214
|
+
schemaVersion?: string | undefined;
|
|
2215
|
+
title?: string | undefined;
|
|
2216
|
+
usageDescription?: string | undefined;
|
|
2382
2217
|
} | undefined;
|
|
2383
|
-
}>, z.ZodObject<{
|
|
2218
|
+
}>, z.ZodObject<{
|
|
2219
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
2220
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
2221
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2222
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2223
|
+
}, "strip", z.ZodTypeAny, {
|
|
2224
|
+
schemaVersion: string;
|
|
2225
|
+
title?: string | undefined;
|
|
2226
|
+
usageDescription?: string | undefined;
|
|
2227
|
+
}, {
|
|
2228
|
+
schemaVersion?: string | undefined;
|
|
2229
|
+
title?: string | undefined;
|
|
2230
|
+
usageDescription?: string | undefined;
|
|
2231
|
+
}>>;
|
|
2232
|
+
} & {
|
|
2384
2233
|
type: z.ZodLiteral<"selectBox">;
|
|
2385
|
-
options: z.ZodArray<z.ZodObject<{
|
|
2234
|
+
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2386
2235
|
label: z.ZodDefault<z.ZodString>;
|
|
2387
2236
|
value: z.ZodDefault<z.ZodString>;
|
|
2388
2237
|
} & {
|
|
@@ -2395,37 +2244,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2395
2244
|
value?: string | undefined;
|
|
2396
2245
|
label?: string | undefined;
|
|
2397
2246
|
selected?: boolean | undefined;
|
|
2398
|
-
}>, "many"
|
|
2399
|
-
attributes: z.ZodObject<{
|
|
2247
|
+
}>, "many">>;
|
|
2248
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2400
2249
|
label: z.ZodOptional<z.ZodString>;
|
|
2401
2250
|
help: z.ZodOptional<z.ZodString>;
|
|
2402
2251
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2403
2252
|
} & {
|
|
2404
|
-
multiple: z.
|
|
2253
|
+
multiple: z.ZodLiteral<false>;
|
|
2405
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2406
|
-
multiple:
|
|
2255
|
+
multiple: false;
|
|
2407
2256
|
label?: string | undefined;
|
|
2408
2257
|
help?: string | undefined;
|
|
2409
2258
|
labelTranslationKey?: string | undefined;
|
|
2410
2259
|
}, {
|
|
2260
|
+
multiple: false;
|
|
2411
2261
|
label?: string | undefined;
|
|
2412
2262
|
help?: string | undefined;
|
|
2413
2263
|
labelTranslationKey?: string | undefined;
|
|
2414
|
-
multiple?: boolean | undefined;
|
|
2415
|
-
}>;
|
|
2416
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2417
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2418
|
-
} & {
|
|
2419
|
-
title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
|
|
2420
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
|
|
2421
|
-
}, "strip", z.ZodTypeAny, {
|
|
2422
|
-
schemaVersion: "1.0";
|
|
2423
|
-
title?: "Select Box" | undefined;
|
|
2424
|
-
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2425
|
-
}, {
|
|
2426
|
-
schemaVersion: "1.0";
|
|
2427
|
-
title?: "Select Box" | undefined;
|
|
2428
|
-
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2429
2264
|
}>>;
|
|
2430
2265
|
}, "strip", z.ZodTypeAny, {
|
|
2431
2266
|
options: {
|
|
@@ -2435,37 +2270,51 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2435
2270
|
}[];
|
|
2436
2271
|
type: "selectBox";
|
|
2437
2272
|
attributes: {
|
|
2438
|
-
multiple:
|
|
2273
|
+
multiple: false;
|
|
2439
2274
|
label?: string | undefined;
|
|
2440
2275
|
help?: string | undefined;
|
|
2441
2276
|
labelTranslationKey?: string | undefined;
|
|
2442
2277
|
};
|
|
2443
|
-
meta
|
|
2444
|
-
schemaVersion:
|
|
2445
|
-
title?:
|
|
2446
|
-
usageDescription?:
|
|
2447
|
-
}
|
|
2278
|
+
meta: {
|
|
2279
|
+
schemaVersion: string;
|
|
2280
|
+
title?: string | undefined;
|
|
2281
|
+
usageDescription?: string | undefined;
|
|
2282
|
+
};
|
|
2448
2283
|
}, {
|
|
2449
|
-
|
|
2284
|
+
type: "selectBox";
|
|
2285
|
+
options?: {
|
|
2450
2286
|
value?: string | undefined;
|
|
2451
2287
|
label?: string | undefined;
|
|
2452
2288
|
selected?: boolean | undefined;
|
|
2453
|
-
}[];
|
|
2454
|
-
|
|
2455
|
-
|
|
2289
|
+
}[] | undefined;
|
|
2290
|
+
attributes?: {
|
|
2291
|
+
multiple: false;
|
|
2456
2292
|
label?: string | undefined;
|
|
2457
2293
|
help?: string | undefined;
|
|
2458
2294
|
labelTranslationKey?: string | undefined;
|
|
2459
|
-
|
|
2460
|
-
};
|
|
2295
|
+
} | undefined;
|
|
2461
2296
|
meta?: {
|
|
2462
|
-
schemaVersion
|
|
2463
|
-
title?:
|
|
2464
|
-
usageDescription?:
|
|
2297
|
+
schemaVersion?: string | undefined;
|
|
2298
|
+
title?: string | undefined;
|
|
2299
|
+
usageDescription?: string | undefined;
|
|
2465
2300
|
} | undefined;
|
|
2466
|
-
}>, z.ZodObject<{
|
|
2301
|
+
}>, z.ZodObject<{
|
|
2302
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
2303
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
2304
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2305
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2306
|
+
}, "strip", z.ZodTypeAny, {
|
|
2307
|
+
schemaVersion: string;
|
|
2308
|
+
title?: string | undefined;
|
|
2309
|
+
usageDescription?: string | undefined;
|
|
2310
|
+
}, {
|
|
2311
|
+
schemaVersion?: string | undefined;
|
|
2312
|
+
title?: string | undefined;
|
|
2313
|
+
usageDescription?: string | undefined;
|
|
2314
|
+
}>>;
|
|
2315
|
+
} & {
|
|
2467
2316
|
type: z.ZodLiteral<"textArea">;
|
|
2468
|
-
attributes: z.
|
|
2317
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2469
2318
|
label: z.ZodOptional<z.ZodString>;
|
|
2470
2319
|
help: z.ZodOptional<z.ZodString>;
|
|
2471
2320
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2494,23 +2343,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2494
2343
|
rows?: number | undefined;
|
|
2495
2344
|
asRichText?: boolean | undefined;
|
|
2496
2345
|
}>>;
|
|
2497
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2498
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2499
|
-
} & {
|
|
2500
|
-
title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
|
|
2501
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
|
|
2502
|
-
}, "strip", z.ZodTypeAny, {
|
|
2503
|
-
schemaVersion: "1.0";
|
|
2504
|
-
title?: "Text Area" | undefined;
|
|
2505
|
-
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2506
|
-
}, {
|
|
2507
|
-
schemaVersion: "1.0";
|
|
2508
|
-
title?: "Text Area" | undefined;
|
|
2509
|
-
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2510
|
-
}>>;
|
|
2511
2346
|
}, "strip", z.ZodTypeAny, {
|
|
2512
2347
|
type: "textArea";
|
|
2513
|
-
attributes
|
|
2348
|
+
attributes: {
|
|
2514
2349
|
cols: number;
|
|
2515
2350
|
rows: number;
|
|
2516
2351
|
asRichText: boolean;
|
|
@@ -2519,12 +2354,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2519
2354
|
labelTranslationKey?: string | undefined;
|
|
2520
2355
|
maxLength?: number | undefined;
|
|
2521
2356
|
minLength?: number | undefined;
|
|
2522
|
-
}
|
|
2523
|
-
meta
|
|
2524
|
-
schemaVersion:
|
|
2525
|
-
title?:
|
|
2526
|
-
usageDescription?:
|
|
2527
|
-
}
|
|
2357
|
+
};
|
|
2358
|
+
meta: {
|
|
2359
|
+
schemaVersion: string;
|
|
2360
|
+
title?: string | undefined;
|
|
2361
|
+
usageDescription?: string | undefined;
|
|
2362
|
+
};
|
|
2528
2363
|
}, {
|
|
2529
2364
|
type: "textArea";
|
|
2530
2365
|
attributes?: {
|
|
@@ -2538,13 +2373,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2538
2373
|
asRichText?: boolean | undefined;
|
|
2539
2374
|
} | undefined;
|
|
2540
2375
|
meta?: {
|
|
2541
|
-
schemaVersion
|
|
2542
|
-
title?:
|
|
2543
|
-
usageDescription?:
|
|
2376
|
+
schemaVersion?: string | undefined;
|
|
2377
|
+
title?: string | undefined;
|
|
2378
|
+
usageDescription?: string | undefined;
|
|
2544
2379
|
} | undefined;
|
|
2545
|
-
}>, z.ZodObject<{
|
|
2380
|
+
}>, z.ZodObject<{
|
|
2381
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
2382
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
2383
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2384
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
}, "strip", z.ZodTypeAny, {
|
|
2386
|
+
schemaVersion: string;
|
|
2387
|
+
title?: string | undefined;
|
|
2388
|
+
usageDescription?: string | undefined;
|
|
2389
|
+
}, {
|
|
2390
|
+
schemaVersion?: string | undefined;
|
|
2391
|
+
title?: string | undefined;
|
|
2392
|
+
usageDescription?: string | undefined;
|
|
2393
|
+
}>>;
|
|
2394
|
+
} & {
|
|
2546
2395
|
type: z.ZodLiteral<"text">;
|
|
2547
|
-
attributes: z.
|
|
2396
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2548
2397
|
label: z.ZodOptional<z.ZodString>;
|
|
2549
2398
|
help: z.ZodOptional<z.ZodString>;
|
|
2550
2399
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2567,35 +2416,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2567
2416
|
minLength?: number | undefined;
|
|
2568
2417
|
pattern?: string | undefined;
|
|
2569
2418
|
}>>;
|
|
2570
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2571
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2572
|
-
} & {
|
|
2573
|
-
title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
|
|
2574
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
|
|
2575
|
-
}, "strip", z.ZodTypeAny, {
|
|
2576
|
-
schemaVersion: "1.0";
|
|
2577
|
-
title?: "Text Field" | undefined;
|
|
2578
|
-
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2579
|
-
}, {
|
|
2580
|
-
schemaVersion: "1.0";
|
|
2581
|
-
title?: "Text Field" | undefined;
|
|
2582
|
-
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2583
|
-
}>>;
|
|
2584
2419
|
}, "strip", z.ZodTypeAny, {
|
|
2585
2420
|
type: "text";
|
|
2586
|
-
attributes
|
|
2421
|
+
attributes: {
|
|
2587
2422
|
maxLength: number;
|
|
2588
2423
|
label?: string | undefined;
|
|
2589
2424
|
help?: string | undefined;
|
|
2590
2425
|
labelTranslationKey?: string | undefined;
|
|
2591
2426
|
minLength?: number | undefined;
|
|
2592
2427
|
pattern?: string | undefined;
|
|
2593
|
-
}
|
|
2594
|
-
meta
|
|
2595
|
-
schemaVersion:
|
|
2596
|
-
title?:
|
|
2597
|
-
usageDescription?:
|
|
2598
|
-
}
|
|
2428
|
+
};
|
|
2429
|
+
meta: {
|
|
2430
|
+
schemaVersion: string;
|
|
2431
|
+
title?: string | undefined;
|
|
2432
|
+
usageDescription?: string | undefined;
|
|
2433
|
+
};
|
|
2599
2434
|
}, {
|
|
2600
2435
|
type: "text";
|
|
2601
2436
|
attributes?: {
|
|
@@ -2607,13 +2442,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2607
2442
|
pattern?: string | undefined;
|
|
2608
2443
|
} | undefined;
|
|
2609
2444
|
meta?: {
|
|
2610
|
-
schemaVersion
|
|
2611
|
-
title?:
|
|
2612
|
-
usageDescription?:
|
|
2445
|
+
schemaVersion?: string | undefined;
|
|
2446
|
+
title?: string | undefined;
|
|
2447
|
+
usageDescription?: string | undefined;
|
|
2613
2448
|
} | undefined;
|
|
2614
|
-
}>, z.ZodObject<{
|
|
2449
|
+
}>, z.ZodObject<{
|
|
2450
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
2451
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
2452
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2453
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
}, "strip", z.ZodTypeAny, {
|
|
2455
|
+
schemaVersion: string;
|
|
2456
|
+
title?: string | undefined;
|
|
2457
|
+
usageDescription?: string | undefined;
|
|
2458
|
+
}, {
|
|
2459
|
+
schemaVersion?: string | undefined;
|
|
2460
|
+
title?: string | undefined;
|
|
2461
|
+
usageDescription?: string | undefined;
|
|
2462
|
+
}>>;
|
|
2463
|
+
} & {
|
|
2615
2464
|
type: z.ZodLiteral<"url">;
|
|
2616
|
-
attributes: z.
|
|
2465
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
2617
2466
|
label: z.ZodOptional<z.ZodString>;
|
|
2618
2467
|
help: z.ZodOptional<z.ZodString>;
|
|
2619
2468
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2636,35 +2485,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2636
2485
|
minLength?: number | undefined;
|
|
2637
2486
|
pattern?: string | undefined;
|
|
2638
2487
|
}>>;
|
|
2639
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2640
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2641
|
-
} & {
|
|
2642
|
-
title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
|
|
2643
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
|
|
2644
|
-
}, "strip", z.ZodTypeAny, {
|
|
2645
|
-
schemaVersion: "1.0";
|
|
2646
|
-
title?: "URL Field" | undefined;
|
|
2647
|
-
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2648
|
-
}, {
|
|
2649
|
-
schemaVersion: "1.0";
|
|
2650
|
-
title?: "URL Field" | undefined;
|
|
2651
|
-
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2652
|
-
}>>;
|
|
2653
2488
|
}, "strip", z.ZodTypeAny, {
|
|
2654
2489
|
type: "url";
|
|
2655
|
-
attributes
|
|
2490
|
+
attributes: {
|
|
2656
2491
|
maxLength: number;
|
|
2657
2492
|
label?: string | undefined;
|
|
2658
2493
|
help?: string | undefined;
|
|
2659
2494
|
labelTranslationKey?: string | undefined;
|
|
2660
2495
|
minLength?: number | undefined;
|
|
2661
2496
|
pattern?: string | undefined;
|
|
2662
|
-
}
|
|
2663
|
-
meta
|
|
2664
|
-
schemaVersion:
|
|
2665
|
-
title?:
|
|
2666
|
-
usageDescription?:
|
|
2667
|
-
}
|
|
2497
|
+
};
|
|
2498
|
+
meta: {
|
|
2499
|
+
schemaVersion: string;
|
|
2500
|
+
title?: string | undefined;
|
|
2501
|
+
usageDescription?: string | undefined;
|
|
2502
|
+
};
|
|
2668
2503
|
}, {
|
|
2669
2504
|
type: "url";
|
|
2670
2505
|
attributes?: {
|
|
@@ -2676,15 +2511,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2676
2511
|
pattern?: string | undefined;
|
|
2677
2512
|
} | undefined;
|
|
2678
2513
|
meta?: {
|
|
2679
|
-
schemaVersion
|
|
2680
|
-
title?:
|
|
2681
|
-
usageDescription?:
|
|
2514
|
+
schemaVersion?: string | undefined;
|
|
2515
|
+
title?: string | undefined;
|
|
2516
|
+
usageDescription?: string | undefined;
|
|
2682
2517
|
} | undefined;
|
|
2683
|
-
}>]
|
|
2518
|
+
}>]>>;
|
|
2684
2519
|
}, "strip", z.ZodTypeAny, {
|
|
2520
|
+
heading: string;
|
|
2685
2521
|
content: {
|
|
2686
2522
|
type: "currency";
|
|
2687
|
-
attributes
|
|
2523
|
+
attributes: {
|
|
2688
2524
|
min: number;
|
|
2689
2525
|
step: number;
|
|
2690
2526
|
denomination: string;
|
|
@@ -2692,30 +2528,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2692
2528
|
help?: string | undefined;
|
|
2693
2529
|
labelTranslationKey?: string | undefined;
|
|
2694
2530
|
max?: number | undefined;
|
|
2695
|
-
}
|
|
2696
|
-
meta
|
|
2697
|
-
schemaVersion:
|
|
2698
|
-
title?:
|
|
2699
|
-
usageDescription?:
|
|
2700
|
-
}
|
|
2531
|
+
};
|
|
2532
|
+
meta: {
|
|
2533
|
+
schemaVersion: string;
|
|
2534
|
+
title?: string | undefined;
|
|
2535
|
+
usageDescription?: string | undefined;
|
|
2536
|
+
};
|
|
2701
2537
|
} | {
|
|
2702
2538
|
type: "number";
|
|
2703
|
-
attributes
|
|
2539
|
+
attributes: {
|
|
2704
2540
|
min: number;
|
|
2705
2541
|
step: number;
|
|
2706
2542
|
label?: string | undefined;
|
|
2707
2543
|
help?: string | undefined;
|
|
2708
2544
|
labelTranslationKey?: string | undefined;
|
|
2709
2545
|
max?: number | undefined;
|
|
2710
|
-
}
|
|
2711
|
-
meta
|
|
2712
|
-
schemaVersion:
|
|
2713
|
-
title?:
|
|
2714
|
-
usageDescription?:
|
|
2715
|
-
}
|
|
2546
|
+
};
|
|
2547
|
+
meta: {
|
|
2548
|
+
schemaVersion: string;
|
|
2549
|
+
title?: string | undefined;
|
|
2550
|
+
usageDescription?: string | undefined;
|
|
2551
|
+
};
|
|
2716
2552
|
} | {
|
|
2717
2553
|
type: "email";
|
|
2718
|
-
attributes
|
|
2554
|
+
attributes: {
|
|
2719
2555
|
maxLength: number;
|
|
2720
2556
|
multiple: boolean;
|
|
2721
2557
|
label?: string | undefined;
|
|
@@ -2723,15 +2559,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2723
2559
|
labelTranslationKey?: string | undefined;
|
|
2724
2560
|
minLength?: number | undefined;
|
|
2725
2561
|
pattern?: string | undefined;
|
|
2726
|
-
}
|
|
2727
|
-
meta
|
|
2728
|
-
schemaVersion:
|
|
2729
|
-
title?:
|
|
2730
|
-
usageDescription?:
|
|
2731
|
-
}
|
|
2562
|
+
};
|
|
2563
|
+
meta: {
|
|
2564
|
+
schemaVersion: string;
|
|
2565
|
+
title?: string | undefined;
|
|
2566
|
+
usageDescription?: string | undefined;
|
|
2567
|
+
};
|
|
2732
2568
|
} | {
|
|
2733
2569
|
type: "textArea";
|
|
2734
|
-
attributes
|
|
2570
|
+
attributes: {
|
|
2735
2571
|
cols: number;
|
|
2736
2572
|
rows: number;
|
|
2737
2573
|
asRichText: boolean;
|
|
@@ -2740,100 +2576,100 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2740
2576
|
labelTranslationKey?: string | undefined;
|
|
2741
2577
|
maxLength?: number | undefined;
|
|
2742
2578
|
minLength?: number | undefined;
|
|
2743
|
-
}
|
|
2744
|
-
meta
|
|
2745
|
-
schemaVersion:
|
|
2746
|
-
title?:
|
|
2747
|
-
usageDescription?:
|
|
2748
|
-
}
|
|
2579
|
+
};
|
|
2580
|
+
meta: {
|
|
2581
|
+
schemaVersion: string;
|
|
2582
|
+
title?: string | undefined;
|
|
2583
|
+
usageDescription?: string | undefined;
|
|
2584
|
+
};
|
|
2749
2585
|
} | {
|
|
2750
2586
|
type: "text";
|
|
2751
|
-
attributes
|
|
2587
|
+
attributes: {
|
|
2752
2588
|
maxLength: number;
|
|
2753
2589
|
label?: string | undefined;
|
|
2754
2590
|
help?: string | undefined;
|
|
2755
2591
|
labelTranslationKey?: string | undefined;
|
|
2756
2592
|
minLength?: number | undefined;
|
|
2757
2593
|
pattern?: string | undefined;
|
|
2758
|
-
}
|
|
2759
|
-
meta
|
|
2760
|
-
schemaVersion:
|
|
2761
|
-
title?:
|
|
2762
|
-
usageDescription?:
|
|
2763
|
-
}
|
|
2594
|
+
};
|
|
2595
|
+
meta: {
|
|
2596
|
+
schemaVersion: string;
|
|
2597
|
+
title?: string | undefined;
|
|
2598
|
+
usageDescription?: string | undefined;
|
|
2599
|
+
};
|
|
2764
2600
|
} | {
|
|
2765
2601
|
type: "url";
|
|
2766
|
-
attributes
|
|
2602
|
+
attributes: {
|
|
2767
2603
|
maxLength: number;
|
|
2768
2604
|
label?: string | undefined;
|
|
2769
2605
|
help?: string | undefined;
|
|
2770
2606
|
labelTranslationKey?: string | undefined;
|
|
2771
2607
|
minLength?: number | undefined;
|
|
2772
2608
|
pattern?: string | undefined;
|
|
2773
|
-
}
|
|
2774
|
-
meta
|
|
2775
|
-
schemaVersion:
|
|
2776
|
-
title?:
|
|
2777
|
-
usageDescription?:
|
|
2778
|
-
}
|
|
2609
|
+
};
|
|
2610
|
+
meta: {
|
|
2611
|
+
schemaVersion: string;
|
|
2612
|
+
title?: string | undefined;
|
|
2613
|
+
usageDescription?: string | undefined;
|
|
2614
|
+
};
|
|
2779
2615
|
} | {
|
|
2780
2616
|
type: "date";
|
|
2781
|
-
attributes
|
|
2617
|
+
attributes: {
|
|
2782
2618
|
step: number;
|
|
2783
2619
|
label?: string | undefined;
|
|
2784
2620
|
help?: string | undefined;
|
|
2785
2621
|
labelTranslationKey?: string | undefined;
|
|
2786
2622
|
max?: string | undefined;
|
|
2787
2623
|
min?: string | undefined;
|
|
2788
|
-
}
|
|
2789
|
-
meta
|
|
2790
|
-
schemaVersion:
|
|
2791
|
-
title?:
|
|
2792
|
-
usageDescription?:
|
|
2793
|
-
}
|
|
2624
|
+
};
|
|
2625
|
+
meta: {
|
|
2626
|
+
schemaVersion: string;
|
|
2627
|
+
title?: string | undefined;
|
|
2628
|
+
usageDescription?: string | undefined;
|
|
2629
|
+
};
|
|
2794
2630
|
} | {
|
|
2795
2631
|
type: "dateRange";
|
|
2632
|
+
attributes: {
|
|
2633
|
+
label?: string | undefined;
|
|
2634
|
+
help?: string | undefined;
|
|
2635
|
+
labelTranslationKey?: string | undefined;
|
|
2636
|
+
};
|
|
2637
|
+
meta: {
|
|
2638
|
+
schemaVersion: string;
|
|
2639
|
+
title?: string | undefined;
|
|
2640
|
+
usageDescription?: string | undefined;
|
|
2641
|
+
};
|
|
2796
2642
|
columns: {
|
|
2797
2643
|
start: {
|
|
2644
|
+
label: string;
|
|
2798
2645
|
step: number;
|
|
2799
|
-
label?: string | undefined;
|
|
2800
2646
|
help?: string | undefined;
|
|
2801
2647
|
labelTranslationKey?: string | undefined;
|
|
2802
2648
|
max?: string | undefined;
|
|
2803
2649
|
min?: string | undefined;
|
|
2804
2650
|
};
|
|
2805
2651
|
end: {
|
|
2652
|
+
label: string;
|
|
2806
2653
|
step: number;
|
|
2807
|
-
label?: string | undefined;
|
|
2808
2654
|
help?: string | undefined;
|
|
2809
2655
|
labelTranslationKey?: string | undefined;
|
|
2810
2656
|
max?: string | undefined;
|
|
2811
2657
|
min?: string | undefined;
|
|
2812
2658
|
};
|
|
2813
2659
|
};
|
|
2814
|
-
attributes?: {
|
|
2815
|
-
label?: string | undefined;
|
|
2816
|
-
help?: string | undefined;
|
|
2817
|
-
labelTranslationKey?: string | undefined;
|
|
2818
|
-
} | undefined;
|
|
2819
|
-
meta?: {
|
|
2820
|
-
schemaVersion: "1.0";
|
|
2821
|
-
title?: "Date Range" | undefined;
|
|
2822
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
2823
|
-
} | undefined;
|
|
2824
2660
|
} | {
|
|
2825
2661
|
type: "boolean";
|
|
2826
|
-
attributes
|
|
2662
|
+
attributes: {
|
|
2827
2663
|
checked: boolean;
|
|
2828
2664
|
label?: string | undefined;
|
|
2829
2665
|
help?: string | undefined;
|
|
2830
2666
|
labelTranslationKey?: string | undefined;
|
|
2831
|
-
}
|
|
2832
|
-
meta
|
|
2833
|
-
schemaVersion:
|
|
2834
|
-
title?:
|
|
2835
|
-
usageDescription?:
|
|
2836
|
-
}
|
|
2667
|
+
};
|
|
2668
|
+
meta: {
|
|
2669
|
+
schemaVersion: string;
|
|
2670
|
+
title?: string | undefined;
|
|
2671
|
+
usageDescription?: string | undefined;
|
|
2672
|
+
};
|
|
2837
2673
|
} | {
|
|
2838
2674
|
options: {
|
|
2839
2675
|
value: string;
|
|
@@ -2841,16 +2677,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2841
2677
|
checked: boolean;
|
|
2842
2678
|
}[];
|
|
2843
2679
|
type: "checkBoxes";
|
|
2844
|
-
attributes
|
|
2680
|
+
attributes: {
|
|
2845
2681
|
label?: string | undefined;
|
|
2846
2682
|
help?: string | undefined;
|
|
2847
2683
|
labelTranslationKey?: string | undefined;
|
|
2848
|
-
}
|
|
2849
|
-
meta
|
|
2850
|
-
schemaVersion:
|
|
2851
|
-
title?:
|
|
2852
|
-
usageDescription?:
|
|
2853
|
-
}
|
|
2684
|
+
};
|
|
2685
|
+
meta: {
|
|
2686
|
+
schemaVersion: string;
|
|
2687
|
+
title?: string | undefined;
|
|
2688
|
+
usageDescription?: string | undefined;
|
|
2689
|
+
};
|
|
2854
2690
|
} | {
|
|
2855
2691
|
options: {
|
|
2856
2692
|
value: string;
|
|
@@ -2858,16 +2694,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2858
2694
|
selected: boolean;
|
|
2859
2695
|
}[];
|
|
2860
2696
|
type: "radioButtons";
|
|
2861
|
-
attributes
|
|
2697
|
+
attributes: {
|
|
2862
2698
|
label?: string | undefined;
|
|
2863
2699
|
help?: string | undefined;
|
|
2864
2700
|
labelTranslationKey?: string | undefined;
|
|
2865
|
-
}
|
|
2866
|
-
meta
|
|
2867
|
-
schemaVersion:
|
|
2868
|
-
title?:
|
|
2869
|
-
usageDescription?:
|
|
2870
|
-
}
|
|
2701
|
+
};
|
|
2702
|
+
meta: {
|
|
2703
|
+
schemaVersion: string;
|
|
2704
|
+
title?: string | undefined;
|
|
2705
|
+
usageDescription?: string | undefined;
|
|
2706
|
+
};
|
|
2871
2707
|
} | {
|
|
2872
2708
|
options: {
|
|
2873
2709
|
value: string;
|
|
@@ -2876,18 +2712,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2876
2712
|
}[];
|
|
2877
2713
|
type: "selectBox";
|
|
2878
2714
|
attributes: {
|
|
2879
|
-
multiple:
|
|
2715
|
+
multiple: false;
|
|
2880
2716
|
label?: string | undefined;
|
|
2881
2717
|
help?: string | undefined;
|
|
2882
2718
|
labelTranslationKey?: string | undefined;
|
|
2883
2719
|
};
|
|
2884
|
-
meta
|
|
2885
|
-
schemaVersion:
|
|
2886
|
-
title?:
|
|
2887
|
-
usageDescription?:
|
|
2888
|
-
}
|
|
2720
|
+
meta: {
|
|
2721
|
+
schemaVersion: string;
|
|
2722
|
+
title?: string | undefined;
|
|
2723
|
+
usageDescription?: string | undefined;
|
|
2724
|
+
};
|
|
2889
2725
|
} | {
|
|
2890
2726
|
type: "filteredSearch";
|
|
2727
|
+
attributes: {
|
|
2728
|
+
multiple: boolean;
|
|
2729
|
+
label?: string | undefined;
|
|
2730
|
+
help?: string | undefined;
|
|
2731
|
+
labelTranslationKey?: string | undefined;
|
|
2732
|
+
};
|
|
2733
|
+
meta: {
|
|
2734
|
+
schemaVersion: string;
|
|
2735
|
+
title?: string | undefined;
|
|
2736
|
+
usageDescription?: string | undefined;
|
|
2737
|
+
};
|
|
2891
2738
|
graphQL: {
|
|
2892
2739
|
displayFields: {
|
|
2893
2740
|
label: string;
|
|
@@ -2895,34 +2742,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2895
2742
|
labelTranslationKey?: string | undefined;
|
|
2896
2743
|
}[];
|
|
2897
2744
|
responseField: string;
|
|
2898
|
-
|
|
2899
|
-
query?: string | undefined;
|
|
2900
|
-
variables?: {
|
|
2745
|
+
variables: {
|
|
2901
2746
|
type: string;
|
|
2902
2747
|
name: string;
|
|
2903
2748
|
label?: string | undefined;
|
|
2904
2749
|
labelTranslationKey?: string | undefined;
|
|
2905
2750
|
minLength?: number | undefined;
|
|
2906
2751
|
defaultValue?: string | undefined;
|
|
2907
|
-
}[]
|
|
2752
|
+
}[];
|
|
2753
|
+
localQueryId?: string | undefined;
|
|
2754
|
+
query?: string | undefined;
|
|
2908
2755
|
};
|
|
2909
|
-
|
|
2756
|
+
} | {
|
|
2757
|
+
type: "affiliationSearch";
|
|
2758
|
+
attributes: {
|
|
2910
2759
|
label?: string | undefined;
|
|
2911
2760
|
help?: string | undefined;
|
|
2912
2761
|
labelTranslationKey?: string | undefined;
|
|
2913
|
-
|
|
2914
|
-
} | undefined;
|
|
2915
|
-
meta?: {
|
|
2916
|
-
schemaVersion: "1.0";
|
|
2917
|
-
title?: "Not yet implemented" | undefined;
|
|
2918
|
-
usageDescription?: string | undefined;
|
|
2919
|
-
} | undefined;
|
|
2920
|
-
} | {
|
|
2921
|
-
type: "affiliationSearch";
|
|
2762
|
+
};
|
|
2922
2763
|
meta: {
|
|
2923
|
-
schemaVersion:
|
|
2924
|
-
title?:
|
|
2925
|
-
usageDescription?:
|
|
2764
|
+
schemaVersion: string;
|
|
2765
|
+
title?: string | undefined;
|
|
2766
|
+
usageDescription?: string | undefined;
|
|
2926
2767
|
};
|
|
2927
2768
|
graphQL: {
|
|
2928
2769
|
displayFields: {
|
|
@@ -2930,7 +2771,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2930
2771
|
propertyName: "displayName";
|
|
2931
2772
|
labelTranslationKey?: string | undefined;
|
|
2932
2773
|
}[];
|
|
2933
|
-
query:
|
|
2774
|
+
query: string;
|
|
2934
2775
|
responseField: "affiliations.items";
|
|
2935
2776
|
variables: {
|
|
2936
2777
|
type: string;
|
|
@@ -2943,15 +2784,10 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2943
2784
|
localQueryId?: string | undefined;
|
|
2944
2785
|
queryId?: string | undefined;
|
|
2945
2786
|
};
|
|
2946
|
-
attributes?: {
|
|
2947
|
-
label?: string | undefined;
|
|
2948
|
-
help?: string | undefined;
|
|
2949
|
-
labelTranslationKey?: string | undefined;
|
|
2950
|
-
} | undefined;
|
|
2951
2787
|
};
|
|
2952
|
-
heading?: string | undefined;
|
|
2953
2788
|
}, {
|
|
2954
|
-
|
|
2789
|
+
heading?: string | undefined;
|
|
2790
|
+
content?: {
|
|
2955
2791
|
type: "currency";
|
|
2956
2792
|
attributes?: {
|
|
2957
2793
|
label?: string | undefined;
|
|
@@ -2963,9 +2799,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2963
2799
|
denomination?: string | undefined;
|
|
2964
2800
|
} | undefined;
|
|
2965
2801
|
meta?: {
|
|
2966
|
-
schemaVersion
|
|
2967
|
-
title?:
|
|
2968
|
-
usageDescription?:
|
|
2802
|
+
schemaVersion?: string | undefined;
|
|
2803
|
+
title?: string | undefined;
|
|
2804
|
+
usageDescription?: string | undefined;
|
|
2969
2805
|
} | undefined;
|
|
2970
2806
|
} | {
|
|
2971
2807
|
type: "number";
|
|
@@ -2978,9 +2814,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2978
2814
|
step?: number | undefined;
|
|
2979
2815
|
} | undefined;
|
|
2980
2816
|
meta?: {
|
|
2981
|
-
schemaVersion
|
|
2982
|
-
title?:
|
|
2983
|
-
usageDescription?:
|
|
2817
|
+
schemaVersion?: string | undefined;
|
|
2818
|
+
title?: string | undefined;
|
|
2819
|
+
usageDescription?: string | undefined;
|
|
2984
2820
|
} | undefined;
|
|
2985
2821
|
} | {
|
|
2986
2822
|
type: "email";
|
|
@@ -2994,9 +2830,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2994
2830
|
multiple?: boolean | undefined;
|
|
2995
2831
|
} | undefined;
|
|
2996
2832
|
meta?: {
|
|
2997
|
-
schemaVersion
|
|
2998
|
-
title?:
|
|
2999
|
-
usageDescription?:
|
|
2833
|
+
schemaVersion?: string | undefined;
|
|
2834
|
+
title?: string | undefined;
|
|
2835
|
+
usageDescription?: string | undefined;
|
|
3000
2836
|
} | undefined;
|
|
3001
2837
|
} | {
|
|
3002
2838
|
type: "textArea";
|
|
@@ -3011,9 +2847,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3011
2847
|
asRichText?: boolean | undefined;
|
|
3012
2848
|
} | undefined;
|
|
3013
2849
|
meta?: {
|
|
3014
|
-
schemaVersion
|
|
3015
|
-
title?:
|
|
3016
|
-
usageDescription?:
|
|
2850
|
+
schemaVersion?: string | undefined;
|
|
2851
|
+
title?: string | undefined;
|
|
2852
|
+
usageDescription?: string | undefined;
|
|
3017
2853
|
} | undefined;
|
|
3018
2854
|
} | {
|
|
3019
2855
|
type: "text";
|
|
@@ -3026,9 +2862,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3026
2862
|
pattern?: string | undefined;
|
|
3027
2863
|
} | undefined;
|
|
3028
2864
|
meta?: {
|
|
3029
|
-
schemaVersion
|
|
3030
|
-
title?:
|
|
3031
|
-
usageDescription?:
|
|
2865
|
+
schemaVersion?: string | undefined;
|
|
2866
|
+
title?: string | undefined;
|
|
2867
|
+
usageDescription?: string | undefined;
|
|
3032
2868
|
} | undefined;
|
|
3033
2869
|
} | {
|
|
3034
2870
|
type: "url";
|
|
@@ -3041,9 +2877,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3041
2877
|
pattern?: string | undefined;
|
|
3042
2878
|
} | undefined;
|
|
3043
2879
|
meta?: {
|
|
3044
|
-
schemaVersion
|
|
3045
|
-
title?:
|
|
3046
|
-
usageDescription?:
|
|
2880
|
+
schemaVersion?: string | undefined;
|
|
2881
|
+
title?: string | undefined;
|
|
2882
|
+
usageDescription?: string | undefined;
|
|
3047
2883
|
} | undefined;
|
|
3048
2884
|
} | {
|
|
3049
2885
|
type: "date";
|
|
@@ -3056,39 +2892,39 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3056
2892
|
step?: number | undefined;
|
|
3057
2893
|
} | undefined;
|
|
3058
2894
|
meta?: {
|
|
3059
|
-
schemaVersion
|
|
3060
|
-
title?:
|
|
3061
|
-
usageDescription?:
|
|
2895
|
+
schemaVersion?: string | undefined;
|
|
2896
|
+
title?: string | undefined;
|
|
2897
|
+
usageDescription?: string | undefined;
|
|
3062
2898
|
} | undefined;
|
|
3063
2899
|
} | {
|
|
3064
2900
|
type: "dateRange";
|
|
3065
|
-
|
|
3066
|
-
|
|
2901
|
+
attributes?: {
|
|
2902
|
+
label?: string | undefined;
|
|
2903
|
+
help?: string | undefined;
|
|
2904
|
+
labelTranslationKey?: string | undefined;
|
|
2905
|
+
} | undefined;
|
|
2906
|
+
meta?: {
|
|
2907
|
+
schemaVersion?: string | undefined;
|
|
2908
|
+
title?: string | undefined;
|
|
2909
|
+
usageDescription?: string | undefined;
|
|
2910
|
+
} | undefined;
|
|
2911
|
+
columns?: {
|
|
2912
|
+
start?: {
|
|
3067
2913
|
label?: string | undefined;
|
|
3068
2914
|
help?: string | undefined;
|
|
3069
2915
|
labelTranslationKey?: string | undefined;
|
|
3070
2916
|
max?: string | undefined;
|
|
3071
2917
|
min?: string | undefined;
|
|
3072
2918
|
step?: number | undefined;
|
|
3073
|
-
};
|
|
3074
|
-
end
|
|
2919
|
+
} | undefined;
|
|
2920
|
+
end?: {
|
|
3075
2921
|
label?: string | undefined;
|
|
3076
2922
|
help?: string | undefined;
|
|
3077
2923
|
labelTranslationKey?: string | undefined;
|
|
3078
2924
|
max?: string | undefined;
|
|
3079
2925
|
min?: string | undefined;
|
|
3080
2926
|
step?: number | undefined;
|
|
3081
|
-
};
|
|
3082
|
-
};
|
|
3083
|
-
attributes?: {
|
|
3084
|
-
label?: string | undefined;
|
|
3085
|
-
help?: string | undefined;
|
|
3086
|
-
labelTranslationKey?: string | undefined;
|
|
3087
|
-
} | undefined;
|
|
3088
|
-
meta?: {
|
|
3089
|
-
schemaVersion: "1.0";
|
|
3090
|
-
title?: "Date Range" | undefined;
|
|
3091
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
2927
|
+
} | undefined;
|
|
3092
2928
|
} | undefined;
|
|
3093
2929
|
} | {
|
|
3094
2930
|
type: "boolean";
|
|
@@ -3099,128 +2935,127 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3099
2935
|
checked?: boolean | undefined;
|
|
3100
2936
|
} | undefined;
|
|
3101
2937
|
meta?: {
|
|
3102
|
-
schemaVersion
|
|
3103
|
-
title?:
|
|
3104
|
-
usageDescription?:
|
|
2938
|
+
schemaVersion?: string | undefined;
|
|
2939
|
+
title?: string | undefined;
|
|
2940
|
+
usageDescription?: string | undefined;
|
|
3105
2941
|
} | undefined;
|
|
3106
2942
|
} | {
|
|
3107
|
-
|
|
2943
|
+
type: "checkBoxes";
|
|
2944
|
+
options?: {
|
|
3108
2945
|
value?: string | undefined;
|
|
3109
2946
|
label?: string | undefined;
|
|
3110
2947
|
checked?: boolean | undefined;
|
|
3111
|
-
}[];
|
|
3112
|
-
type: "checkBoxes";
|
|
2948
|
+
}[] | undefined;
|
|
3113
2949
|
attributes?: {
|
|
3114
2950
|
label?: string | undefined;
|
|
3115
2951
|
help?: string | undefined;
|
|
3116
2952
|
labelTranslationKey?: string | undefined;
|
|
3117
2953
|
} | undefined;
|
|
3118
2954
|
meta?: {
|
|
3119
|
-
schemaVersion
|
|
3120
|
-
title?:
|
|
3121
|
-
usageDescription?:
|
|
2955
|
+
schemaVersion?: string | undefined;
|
|
2956
|
+
title?: string | undefined;
|
|
2957
|
+
usageDescription?: string | undefined;
|
|
3122
2958
|
} | undefined;
|
|
3123
2959
|
} | {
|
|
3124
|
-
|
|
2960
|
+
type: "radioButtons";
|
|
2961
|
+
options?: {
|
|
3125
2962
|
value?: string | undefined;
|
|
3126
2963
|
label?: string | undefined;
|
|
3127
2964
|
selected?: boolean | undefined;
|
|
3128
|
-
}[];
|
|
3129
|
-
type: "radioButtons";
|
|
2965
|
+
}[] | undefined;
|
|
3130
2966
|
attributes?: {
|
|
3131
2967
|
label?: string | undefined;
|
|
3132
2968
|
help?: string | undefined;
|
|
3133
2969
|
labelTranslationKey?: string | undefined;
|
|
3134
2970
|
} | undefined;
|
|
3135
2971
|
meta?: {
|
|
3136
|
-
schemaVersion
|
|
3137
|
-
title?:
|
|
3138
|
-
usageDescription?:
|
|
2972
|
+
schemaVersion?: string | undefined;
|
|
2973
|
+
title?: string | undefined;
|
|
2974
|
+
usageDescription?: string | undefined;
|
|
3139
2975
|
} | undefined;
|
|
3140
2976
|
} | {
|
|
3141
|
-
|
|
2977
|
+
type: "selectBox";
|
|
2978
|
+
options?: {
|
|
3142
2979
|
value?: string | undefined;
|
|
3143
2980
|
label?: string | undefined;
|
|
3144
2981
|
selected?: boolean | undefined;
|
|
3145
|
-
}[];
|
|
3146
|
-
|
|
3147
|
-
|
|
2982
|
+
}[] | undefined;
|
|
2983
|
+
attributes?: {
|
|
2984
|
+
multiple: false;
|
|
3148
2985
|
label?: string | undefined;
|
|
3149
2986
|
help?: string | undefined;
|
|
3150
2987
|
labelTranslationKey?: string | undefined;
|
|
3151
|
-
|
|
3152
|
-
};
|
|
2988
|
+
} | undefined;
|
|
3153
2989
|
meta?: {
|
|
3154
|
-
schemaVersion
|
|
3155
|
-
title?:
|
|
3156
|
-
usageDescription?:
|
|
2990
|
+
schemaVersion?: string | undefined;
|
|
2991
|
+
title?: string | undefined;
|
|
2992
|
+
usageDescription?: string | undefined;
|
|
3157
2993
|
} | undefined;
|
|
3158
2994
|
} | {
|
|
3159
2995
|
type: "filteredSearch";
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
2996
|
+
attributes?: {
|
|
2997
|
+
label?: string | undefined;
|
|
2998
|
+
help?: string | undefined;
|
|
2999
|
+
labelTranslationKey?: string | undefined;
|
|
3000
|
+
multiple?: boolean | undefined;
|
|
3001
|
+
} | undefined;
|
|
3002
|
+
meta?: {
|
|
3003
|
+
schemaVersion?: string | undefined;
|
|
3004
|
+
title?: string | undefined;
|
|
3005
|
+
usageDescription?: string | undefined;
|
|
3006
|
+
} | undefined;
|
|
3007
|
+
graphQL?: {
|
|
3008
|
+
displayFields?: {
|
|
3009
|
+
label?: string | undefined;
|
|
3164
3010
|
labelTranslationKey?: string | undefined;
|
|
3165
|
-
|
|
3166
|
-
|
|
3011
|
+
propertyName?: string | undefined;
|
|
3012
|
+
}[] | undefined;
|
|
3167
3013
|
localQueryId?: string | undefined;
|
|
3168
3014
|
query?: string | undefined;
|
|
3015
|
+
responseField?: string | undefined;
|
|
3169
3016
|
variables?: {
|
|
3170
|
-
type
|
|
3171
|
-
name: string;
|
|
3017
|
+
type?: string | undefined;
|
|
3172
3018
|
label?: string | undefined;
|
|
3173
3019
|
labelTranslationKey?: string | undefined;
|
|
3174
3020
|
minLength?: number | undefined;
|
|
3021
|
+
name?: string | undefined;
|
|
3175
3022
|
defaultValue?: string | undefined;
|
|
3176
3023
|
}[] | undefined;
|
|
3177
|
-
};
|
|
3024
|
+
} | undefined;
|
|
3025
|
+
} | {
|
|
3026
|
+
type: "affiliationSearch";
|
|
3178
3027
|
attributes?: {
|
|
3179
3028
|
label?: string | undefined;
|
|
3180
3029
|
help?: string | undefined;
|
|
3181
3030
|
labelTranslationKey?: string | undefined;
|
|
3182
|
-
multiple?: boolean | undefined;
|
|
3183
3031
|
} | undefined;
|
|
3184
3032
|
meta?: {
|
|
3185
|
-
schemaVersion
|
|
3186
|
-
title?:
|
|
3033
|
+
schemaVersion?: string | undefined;
|
|
3034
|
+
title?: string | undefined;
|
|
3187
3035
|
usageDescription?: string | undefined;
|
|
3188
3036
|
} | undefined;
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
meta: {
|
|
3192
|
-
schemaVersion: "1.0";
|
|
3193
|
-
title?: "Affiliation Search" | undefined;
|
|
3194
|
-
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3195
|
-
};
|
|
3196
|
-
graphQL: {
|
|
3197
|
-
displayFields: {
|
|
3198
|
-
propertyName: "displayName";
|
|
3037
|
+
graphQL?: {
|
|
3038
|
+
displayFields?: {
|
|
3199
3039
|
label?: string | undefined;
|
|
3200
3040
|
labelTranslationKey?: string | undefined;
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3041
|
+
propertyName?: "displayName" | undefined;
|
|
3042
|
+
}[] | undefined;
|
|
3043
|
+
localQueryId?: string | undefined;
|
|
3044
|
+
query?: string | undefined;
|
|
3045
|
+
responseField?: "affiliations.items" | undefined;
|
|
3046
|
+
variables?: {
|
|
3207
3047
|
type?: string | undefined;
|
|
3208
3048
|
label?: string | undefined;
|
|
3209
3049
|
labelTranslationKey?: string | undefined;
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3050
|
+
minLength?: 3 | undefined;
|
|
3051
|
+
name?: "name" | undefined;
|
|
3052
|
+
}[] | undefined;
|
|
3213
3053
|
queryId?: string | undefined;
|
|
3214
|
-
|
|
3215
|
-
attributes?: {
|
|
3216
|
-
label?: string | undefined;
|
|
3217
|
-
help?: string | undefined;
|
|
3218
|
-
labelTranslationKey?: string | undefined;
|
|
3054
|
+
answerField?: "uri" | undefined;
|
|
3219
3055
|
} | undefined;
|
|
3220
|
-
};
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
attributes: z.ZodOptional<z.ZodObject<{
|
|
3056
|
+
} | undefined;
|
|
3057
|
+
}>, "many">>;
|
|
3058
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
3224
3059
|
label: z.ZodOptional<z.ZodString>;
|
|
3225
3060
|
help: z.ZodOptional<z.ZodString>;
|
|
3226
3061
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3249,26 +3084,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3249
3084
|
maxRows?: number | undefined;
|
|
3250
3085
|
minRows?: number | undefined;
|
|
3251
3086
|
}>>;
|
|
3252
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3253
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3254
|
-
} & {
|
|
3255
|
-
title: z.ZodOptional<z.ZodLiteral<"Table">>;
|
|
3256
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a tabular format.">>;
|
|
3257
|
-
}, "strip", z.ZodTypeAny, {
|
|
3258
|
-
schemaVersion: "1.0";
|
|
3259
|
-
title?: "Table" | undefined;
|
|
3260
|
-
usageDescription?: "For questions that require a tabular format." | undefined;
|
|
3261
|
-
}, {
|
|
3262
|
-
schemaVersion: "1.0";
|
|
3263
|
-
title?: "Table" | undefined;
|
|
3264
|
-
usageDescription?: "For questions that require a tabular format." | undefined;
|
|
3265
|
-
}>>;
|
|
3266
3087
|
}, "strip", z.ZodTypeAny, {
|
|
3267
3088
|
type: "table";
|
|
3089
|
+
attributes: {
|
|
3090
|
+
canAddRows: boolean;
|
|
3091
|
+
canRemoveRows: boolean;
|
|
3092
|
+
initialRows: number;
|
|
3093
|
+
label?: string | undefined;
|
|
3094
|
+
help?: string | undefined;
|
|
3095
|
+
labelTranslationKey?: string | undefined;
|
|
3096
|
+
maxRows?: number | undefined;
|
|
3097
|
+
minRows?: number | undefined;
|
|
3098
|
+
};
|
|
3099
|
+
meta: {
|
|
3100
|
+
schemaVersion: string;
|
|
3101
|
+
title?: string | undefined;
|
|
3102
|
+
usageDescription?: string | undefined;
|
|
3103
|
+
};
|
|
3268
3104
|
columns: {
|
|
3105
|
+
heading: string;
|
|
3269
3106
|
content: {
|
|
3270
3107
|
type: "currency";
|
|
3271
|
-
attributes
|
|
3108
|
+
attributes: {
|
|
3272
3109
|
min: number;
|
|
3273
3110
|
step: number;
|
|
3274
3111
|
denomination: string;
|
|
@@ -3276,30 +3113,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3276
3113
|
help?: string | undefined;
|
|
3277
3114
|
labelTranslationKey?: string | undefined;
|
|
3278
3115
|
max?: number | undefined;
|
|
3279
|
-
}
|
|
3280
|
-
meta
|
|
3281
|
-
schemaVersion:
|
|
3282
|
-
title?:
|
|
3283
|
-
usageDescription?:
|
|
3284
|
-
}
|
|
3116
|
+
};
|
|
3117
|
+
meta: {
|
|
3118
|
+
schemaVersion: string;
|
|
3119
|
+
title?: string | undefined;
|
|
3120
|
+
usageDescription?: string | undefined;
|
|
3121
|
+
};
|
|
3285
3122
|
} | {
|
|
3286
3123
|
type: "number";
|
|
3287
|
-
attributes
|
|
3124
|
+
attributes: {
|
|
3288
3125
|
min: number;
|
|
3289
3126
|
step: number;
|
|
3290
3127
|
label?: string | undefined;
|
|
3291
3128
|
help?: string | undefined;
|
|
3292
3129
|
labelTranslationKey?: string | undefined;
|
|
3293
3130
|
max?: number | undefined;
|
|
3294
|
-
}
|
|
3295
|
-
meta
|
|
3296
|
-
schemaVersion:
|
|
3297
|
-
title?:
|
|
3298
|
-
usageDescription?:
|
|
3299
|
-
}
|
|
3131
|
+
};
|
|
3132
|
+
meta: {
|
|
3133
|
+
schemaVersion: string;
|
|
3134
|
+
title?: string | undefined;
|
|
3135
|
+
usageDescription?: string | undefined;
|
|
3136
|
+
};
|
|
3300
3137
|
} | {
|
|
3301
3138
|
type: "email";
|
|
3302
|
-
attributes
|
|
3139
|
+
attributes: {
|
|
3303
3140
|
maxLength: number;
|
|
3304
3141
|
multiple: boolean;
|
|
3305
3142
|
label?: string | undefined;
|
|
@@ -3307,15 +3144,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3307
3144
|
labelTranslationKey?: string | undefined;
|
|
3308
3145
|
minLength?: number | undefined;
|
|
3309
3146
|
pattern?: string | undefined;
|
|
3310
|
-
}
|
|
3311
|
-
meta
|
|
3312
|
-
schemaVersion:
|
|
3313
|
-
title?:
|
|
3314
|
-
usageDescription?:
|
|
3315
|
-
}
|
|
3147
|
+
};
|
|
3148
|
+
meta: {
|
|
3149
|
+
schemaVersion: string;
|
|
3150
|
+
title?: string | undefined;
|
|
3151
|
+
usageDescription?: string | undefined;
|
|
3152
|
+
};
|
|
3316
3153
|
} | {
|
|
3317
3154
|
type: "textArea";
|
|
3318
|
-
attributes
|
|
3155
|
+
attributes: {
|
|
3319
3156
|
cols: number;
|
|
3320
3157
|
rows: number;
|
|
3321
3158
|
asRichText: boolean;
|
|
@@ -3324,100 +3161,100 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3324
3161
|
labelTranslationKey?: string | undefined;
|
|
3325
3162
|
maxLength?: number | undefined;
|
|
3326
3163
|
minLength?: number | undefined;
|
|
3327
|
-
}
|
|
3328
|
-
meta
|
|
3329
|
-
schemaVersion:
|
|
3330
|
-
title?:
|
|
3331
|
-
usageDescription?:
|
|
3332
|
-
}
|
|
3164
|
+
};
|
|
3165
|
+
meta: {
|
|
3166
|
+
schemaVersion: string;
|
|
3167
|
+
title?: string | undefined;
|
|
3168
|
+
usageDescription?: string | undefined;
|
|
3169
|
+
};
|
|
3333
3170
|
} | {
|
|
3334
3171
|
type: "text";
|
|
3335
|
-
attributes
|
|
3172
|
+
attributes: {
|
|
3336
3173
|
maxLength: number;
|
|
3337
3174
|
label?: string | undefined;
|
|
3338
3175
|
help?: string | undefined;
|
|
3339
3176
|
labelTranslationKey?: string | undefined;
|
|
3340
3177
|
minLength?: number | undefined;
|
|
3341
3178
|
pattern?: string | undefined;
|
|
3342
|
-
}
|
|
3343
|
-
meta
|
|
3344
|
-
schemaVersion:
|
|
3345
|
-
title?:
|
|
3346
|
-
usageDescription?:
|
|
3347
|
-
}
|
|
3179
|
+
};
|
|
3180
|
+
meta: {
|
|
3181
|
+
schemaVersion: string;
|
|
3182
|
+
title?: string | undefined;
|
|
3183
|
+
usageDescription?: string | undefined;
|
|
3184
|
+
};
|
|
3348
3185
|
} | {
|
|
3349
3186
|
type: "url";
|
|
3350
|
-
attributes
|
|
3187
|
+
attributes: {
|
|
3351
3188
|
maxLength: number;
|
|
3352
3189
|
label?: string | undefined;
|
|
3353
3190
|
help?: string | undefined;
|
|
3354
3191
|
labelTranslationKey?: string | undefined;
|
|
3355
3192
|
minLength?: number | undefined;
|
|
3356
3193
|
pattern?: string | undefined;
|
|
3357
|
-
}
|
|
3358
|
-
meta
|
|
3359
|
-
schemaVersion:
|
|
3360
|
-
title?:
|
|
3361
|
-
usageDescription?:
|
|
3362
|
-
}
|
|
3194
|
+
};
|
|
3195
|
+
meta: {
|
|
3196
|
+
schemaVersion: string;
|
|
3197
|
+
title?: string | undefined;
|
|
3198
|
+
usageDescription?: string | undefined;
|
|
3199
|
+
};
|
|
3363
3200
|
} | {
|
|
3364
3201
|
type: "date";
|
|
3365
|
-
attributes
|
|
3202
|
+
attributes: {
|
|
3366
3203
|
step: number;
|
|
3367
3204
|
label?: string | undefined;
|
|
3368
3205
|
help?: string | undefined;
|
|
3369
3206
|
labelTranslationKey?: string | undefined;
|
|
3370
3207
|
max?: string | undefined;
|
|
3371
3208
|
min?: string | undefined;
|
|
3372
|
-
}
|
|
3373
|
-
meta
|
|
3374
|
-
schemaVersion:
|
|
3375
|
-
title?:
|
|
3376
|
-
usageDescription?:
|
|
3377
|
-
}
|
|
3209
|
+
};
|
|
3210
|
+
meta: {
|
|
3211
|
+
schemaVersion: string;
|
|
3212
|
+
title?: string | undefined;
|
|
3213
|
+
usageDescription?: string | undefined;
|
|
3214
|
+
};
|
|
3378
3215
|
} | {
|
|
3379
3216
|
type: "dateRange";
|
|
3217
|
+
attributes: {
|
|
3218
|
+
label?: string | undefined;
|
|
3219
|
+
help?: string | undefined;
|
|
3220
|
+
labelTranslationKey?: string | undefined;
|
|
3221
|
+
};
|
|
3222
|
+
meta: {
|
|
3223
|
+
schemaVersion: string;
|
|
3224
|
+
title?: string | undefined;
|
|
3225
|
+
usageDescription?: string | undefined;
|
|
3226
|
+
};
|
|
3380
3227
|
columns: {
|
|
3381
3228
|
start: {
|
|
3229
|
+
label: string;
|
|
3382
3230
|
step: number;
|
|
3383
|
-
label?: string | undefined;
|
|
3384
3231
|
help?: string | undefined;
|
|
3385
3232
|
labelTranslationKey?: string | undefined;
|
|
3386
3233
|
max?: string | undefined;
|
|
3387
3234
|
min?: string | undefined;
|
|
3388
3235
|
};
|
|
3389
3236
|
end: {
|
|
3237
|
+
label: string;
|
|
3390
3238
|
step: number;
|
|
3391
|
-
label?: string | undefined;
|
|
3392
3239
|
help?: string | undefined;
|
|
3393
3240
|
labelTranslationKey?: string | undefined;
|
|
3394
3241
|
max?: string | undefined;
|
|
3395
3242
|
min?: string | undefined;
|
|
3396
3243
|
};
|
|
3397
3244
|
};
|
|
3398
|
-
attributes?: {
|
|
3399
|
-
label?: string | undefined;
|
|
3400
|
-
help?: string | undefined;
|
|
3401
|
-
labelTranslationKey?: string | undefined;
|
|
3402
|
-
} | undefined;
|
|
3403
|
-
meta?: {
|
|
3404
|
-
schemaVersion: "1.0";
|
|
3405
|
-
title?: "Date Range" | undefined;
|
|
3406
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3407
|
-
} | undefined;
|
|
3408
3245
|
} | {
|
|
3409
3246
|
type: "boolean";
|
|
3410
|
-
attributes
|
|
3247
|
+
attributes: {
|
|
3411
3248
|
checked: boolean;
|
|
3412
3249
|
label?: string | undefined;
|
|
3413
3250
|
help?: string | undefined;
|
|
3414
3251
|
labelTranslationKey?: string | undefined;
|
|
3415
|
-
}
|
|
3416
|
-
meta
|
|
3417
|
-
schemaVersion:
|
|
3418
|
-
title?:
|
|
3419
|
-
usageDescription?:
|
|
3420
|
-
}
|
|
3252
|
+
};
|
|
3253
|
+
meta: {
|
|
3254
|
+
schemaVersion: string;
|
|
3255
|
+
title?: string | undefined;
|
|
3256
|
+
usageDescription?: string | undefined;
|
|
3257
|
+
};
|
|
3421
3258
|
} | {
|
|
3422
3259
|
options: {
|
|
3423
3260
|
value: string;
|
|
@@ -3425,16 +3262,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3425
3262
|
checked: boolean;
|
|
3426
3263
|
}[];
|
|
3427
3264
|
type: "checkBoxes";
|
|
3428
|
-
attributes
|
|
3265
|
+
attributes: {
|
|
3429
3266
|
label?: string | undefined;
|
|
3430
3267
|
help?: string | undefined;
|
|
3431
3268
|
labelTranslationKey?: string | undefined;
|
|
3432
|
-
}
|
|
3433
|
-
meta
|
|
3434
|
-
schemaVersion:
|
|
3435
|
-
title?:
|
|
3436
|
-
usageDescription?:
|
|
3437
|
-
}
|
|
3269
|
+
};
|
|
3270
|
+
meta: {
|
|
3271
|
+
schemaVersion: string;
|
|
3272
|
+
title?: string | undefined;
|
|
3273
|
+
usageDescription?: string | undefined;
|
|
3274
|
+
};
|
|
3438
3275
|
} | {
|
|
3439
3276
|
options: {
|
|
3440
3277
|
value: string;
|
|
@@ -3442,16 +3279,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3442
3279
|
selected: boolean;
|
|
3443
3280
|
}[];
|
|
3444
3281
|
type: "radioButtons";
|
|
3445
|
-
attributes
|
|
3282
|
+
attributes: {
|
|
3446
3283
|
label?: string | undefined;
|
|
3447
3284
|
help?: string | undefined;
|
|
3448
3285
|
labelTranslationKey?: string | undefined;
|
|
3449
|
-
}
|
|
3450
|
-
meta
|
|
3451
|
-
schemaVersion:
|
|
3452
|
-
title?:
|
|
3453
|
-
usageDescription?:
|
|
3454
|
-
}
|
|
3286
|
+
};
|
|
3287
|
+
meta: {
|
|
3288
|
+
schemaVersion: string;
|
|
3289
|
+
title?: string | undefined;
|
|
3290
|
+
usageDescription?: string | undefined;
|
|
3291
|
+
};
|
|
3455
3292
|
} | {
|
|
3456
3293
|
options: {
|
|
3457
3294
|
value: string;
|
|
@@ -3460,18 +3297,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3460
3297
|
}[];
|
|
3461
3298
|
type: "selectBox";
|
|
3462
3299
|
attributes: {
|
|
3463
|
-
multiple:
|
|
3300
|
+
multiple: false;
|
|
3464
3301
|
label?: string | undefined;
|
|
3465
3302
|
help?: string | undefined;
|
|
3466
3303
|
labelTranslationKey?: string | undefined;
|
|
3467
3304
|
};
|
|
3468
|
-
meta
|
|
3469
|
-
schemaVersion:
|
|
3470
|
-
title?:
|
|
3471
|
-
usageDescription?:
|
|
3472
|
-
}
|
|
3305
|
+
meta: {
|
|
3306
|
+
schemaVersion: string;
|
|
3307
|
+
title?: string | undefined;
|
|
3308
|
+
usageDescription?: string | undefined;
|
|
3309
|
+
};
|
|
3473
3310
|
} | {
|
|
3474
3311
|
type: "filteredSearch";
|
|
3312
|
+
attributes: {
|
|
3313
|
+
multiple: boolean;
|
|
3314
|
+
label?: string | undefined;
|
|
3315
|
+
help?: string | undefined;
|
|
3316
|
+
labelTranslationKey?: string | undefined;
|
|
3317
|
+
};
|
|
3318
|
+
meta: {
|
|
3319
|
+
schemaVersion: string;
|
|
3320
|
+
title?: string | undefined;
|
|
3321
|
+
usageDescription?: string | undefined;
|
|
3322
|
+
};
|
|
3475
3323
|
graphQL: {
|
|
3476
3324
|
displayFields: {
|
|
3477
3325
|
label: string;
|
|
@@ -3479,34 +3327,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3479
3327
|
labelTranslationKey?: string | undefined;
|
|
3480
3328
|
}[];
|
|
3481
3329
|
responseField: string;
|
|
3482
|
-
|
|
3483
|
-
query?: string | undefined;
|
|
3484
|
-
variables?: {
|
|
3330
|
+
variables: {
|
|
3485
3331
|
type: string;
|
|
3486
3332
|
name: string;
|
|
3487
3333
|
label?: string | undefined;
|
|
3488
3334
|
labelTranslationKey?: string | undefined;
|
|
3489
3335
|
minLength?: number | undefined;
|
|
3490
3336
|
defaultValue?: string | undefined;
|
|
3491
|
-
}[]
|
|
3337
|
+
}[];
|
|
3338
|
+
localQueryId?: string | undefined;
|
|
3339
|
+
query?: string | undefined;
|
|
3492
3340
|
};
|
|
3493
|
-
|
|
3341
|
+
} | {
|
|
3342
|
+
type: "affiliationSearch";
|
|
3343
|
+
attributes: {
|
|
3494
3344
|
label?: string | undefined;
|
|
3495
3345
|
help?: string | undefined;
|
|
3496
3346
|
labelTranslationKey?: string | undefined;
|
|
3497
|
-
|
|
3498
|
-
} | undefined;
|
|
3499
|
-
meta?: {
|
|
3500
|
-
schemaVersion: "1.0";
|
|
3501
|
-
title?: "Not yet implemented" | undefined;
|
|
3502
|
-
usageDescription?: string | undefined;
|
|
3503
|
-
} | undefined;
|
|
3504
|
-
} | {
|
|
3505
|
-
type: "affiliationSearch";
|
|
3347
|
+
};
|
|
3506
3348
|
meta: {
|
|
3507
|
-
schemaVersion:
|
|
3508
|
-
title?:
|
|
3509
|
-
usageDescription?:
|
|
3349
|
+
schemaVersion: string;
|
|
3350
|
+
title?: string | undefined;
|
|
3351
|
+
usageDescription?: string | undefined;
|
|
3510
3352
|
};
|
|
3511
3353
|
graphQL: {
|
|
3512
3354
|
displayFields: {
|
|
@@ -3514,7 +3356,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3514
3356
|
propertyName: "displayName";
|
|
3515
3357
|
labelTranslationKey?: string | undefined;
|
|
3516
3358
|
}[];
|
|
3517
|
-
query:
|
|
3359
|
+
query: string;
|
|
3518
3360
|
responseField: "affiliations.items";
|
|
3519
3361
|
variables: {
|
|
3520
3362
|
type: string;
|
|
@@ -3527,33 +3369,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3527
3369
|
localQueryId?: string | undefined;
|
|
3528
3370
|
queryId?: string | undefined;
|
|
3529
3371
|
};
|
|
3530
|
-
attributes?: {
|
|
3531
|
-
label?: string | undefined;
|
|
3532
|
-
help?: string | undefined;
|
|
3533
|
-
labelTranslationKey?: string | undefined;
|
|
3534
|
-
} | undefined;
|
|
3535
3372
|
};
|
|
3536
|
-
heading?: string | undefined;
|
|
3537
3373
|
}[];
|
|
3374
|
+
}, {
|
|
3375
|
+
type: "table";
|
|
3538
3376
|
attributes?: {
|
|
3539
|
-
canAddRows: boolean;
|
|
3540
|
-
canRemoveRows: boolean;
|
|
3541
|
-
initialRows: number;
|
|
3542
3377
|
label?: string | undefined;
|
|
3543
3378
|
help?: string | undefined;
|
|
3544
3379
|
labelTranslationKey?: string | undefined;
|
|
3380
|
+
canAddRows?: boolean | undefined;
|
|
3381
|
+
canRemoveRows?: boolean | undefined;
|
|
3382
|
+
initialRows?: number | undefined;
|
|
3545
3383
|
maxRows?: number | undefined;
|
|
3546
3384
|
minRows?: number | undefined;
|
|
3547
3385
|
} | undefined;
|
|
3548
3386
|
meta?: {
|
|
3549
|
-
schemaVersion
|
|
3550
|
-
title?:
|
|
3551
|
-
usageDescription?:
|
|
3387
|
+
schemaVersion?: string | undefined;
|
|
3388
|
+
title?: string | undefined;
|
|
3389
|
+
usageDescription?: string | undefined;
|
|
3552
3390
|
} | undefined;
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
content: {
|
|
3391
|
+
columns?: {
|
|
3392
|
+
heading?: string | undefined;
|
|
3393
|
+
content?: {
|
|
3557
3394
|
type: "currency";
|
|
3558
3395
|
attributes?: {
|
|
3559
3396
|
label?: string | undefined;
|
|
@@ -3565,9 +3402,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3565
3402
|
denomination?: string | undefined;
|
|
3566
3403
|
} | undefined;
|
|
3567
3404
|
meta?: {
|
|
3568
|
-
schemaVersion
|
|
3569
|
-
title?:
|
|
3570
|
-
usageDescription?:
|
|
3405
|
+
schemaVersion?: string | undefined;
|
|
3406
|
+
title?: string | undefined;
|
|
3407
|
+
usageDescription?: string | undefined;
|
|
3571
3408
|
} | undefined;
|
|
3572
3409
|
} | {
|
|
3573
3410
|
type: "number";
|
|
@@ -3580,9 +3417,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3580
3417
|
step?: number | undefined;
|
|
3581
3418
|
} | undefined;
|
|
3582
3419
|
meta?: {
|
|
3583
|
-
schemaVersion
|
|
3584
|
-
title?:
|
|
3585
|
-
usageDescription?:
|
|
3420
|
+
schemaVersion?: string | undefined;
|
|
3421
|
+
title?: string | undefined;
|
|
3422
|
+
usageDescription?: string | undefined;
|
|
3586
3423
|
} | undefined;
|
|
3587
3424
|
} | {
|
|
3588
3425
|
type: "email";
|
|
@@ -3596,9 +3433,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3596
3433
|
multiple?: boolean | undefined;
|
|
3597
3434
|
} | undefined;
|
|
3598
3435
|
meta?: {
|
|
3599
|
-
schemaVersion
|
|
3600
|
-
title?:
|
|
3601
|
-
usageDescription?:
|
|
3436
|
+
schemaVersion?: string | undefined;
|
|
3437
|
+
title?: string | undefined;
|
|
3438
|
+
usageDescription?: string | undefined;
|
|
3602
3439
|
} | undefined;
|
|
3603
3440
|
} | {
|
|
3604
3441
|
type: "textArea";
|
|
@@ -3613,9 +3450,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3613
3450
|
asRichText?: boolean | undefined;
|
|
3614
3451
|
} | undefined;
|
|
3615
3452
|
meta?: {
|
|
3616
|
-
schemaVersion
|
|
3617
|
-
title?:
|
|
3618
|
-
usageDescription?:
|
|
3453
|
+
schemaVersion?: string | undefined;
|
|
3454
|
+
title?: string | undefined;
|
|
3455
|
+
usageDescription?: string | undefined;
|
|
3619
3456
|
} | undefined;
|
|
3620
3457
|
} | {
|
|
3621
3458
|
type: "text";
|
|
@@ -3628,9 +3465,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3628
3465
|
pattern?: string | undefined;
|
|
3629
3466
|
} | undefined;
|
|
3630
3467
|
meta?: {
|
|
3631
|
-
schemaVersion
|
|
3632
|
-
title?:
|
|
3633
|
-
usageDescription?:
|
|
3468
|
+
schemaVersion?: string | undefined;
|
|
3469
|
+
title?: string | undefined;
|
|
3470
|
+
usageDescription?: string | undefined;
|
|
3634
3471
|
} | undefined;
|
|
3635
3472
|
} | {
|
|
3636
3473
|
type: "url";
|
|
@@ -3643,9 +3480,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3643
3480
|
pattern?: string | undefined;
|
|
3644
3481
|
} | undefined;
|
|
3645
3482
|
meta?: {
|
|
3646
|
-
schemaVersion
|
|
3647
|
-
title?:
|
|
3648
|
-
usageDescription?:
|
|
3483
|
+
schemaVersion?: string | undefined;
|
|
3484
|
+
title?: string | undefined;
|
|
3485
|
+
usageDescription?: string | undefined;
|
|
3649
3486
|
} | undefined;
|
|
3650
3487
|
} | {
|
|
3651
3488
|
type: "date";
|
|
@@ -3658,39 +3495,39 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3658
3495
|
step?: number | undefined;
|
|
3659
3496
|
} | undefined;
|
|
3660
3497
|
meta?: {
|
|
3661
|
-
schemaVersion
|
|
3662
|
-
title?:
|
|
3663
|
-
usageDescription?:
|
|
3498
|
+
schemaVersion?: string | undefined;
|
|
3499
|
+
title?: string | undefined;
|
|
3500
|
+
usageDescription?: string | undefined;
|
|
3664
3501
|
} | undefined;
|
|
3665
3502
|
} | {
|
|
3666
3503
|
type: "dateRange";
|
|
3667
|
-
|
|
3668
|
-
|
|
3504
|
+
attributes?: {
|
|
3505
|
+
label?: string | undefined;
|
|
3506
|
+
help?: string | undefined;
|
|
3507
|
+
labelTranslationKey?: string | undefined;
|
|
3508
|
+
} | undefined;
|
|
3509
|
+
meta?: {
|
|
3510
|
+
schemaVersion?: string | undefined;
|
|
3511
|
+
title?: string | undefined;
|
|
3512
|
+
usageDescription?: string | undefined;
|
|
3513
|
+
} | undefined;
|
|
3514
|
+
columns?: {
|
|
3515
|
+
start?: {
|
|
3669
3516
|
label?: string | undefined;
|
|
3670
3517
|
help?: string | undefined;
|
|
3671
3518
|
labelTranslationKey?: string | undefined;
|
|
3672
3519
|
max?: string | undefined;
|
|
3673
3520
|
min?: string | undefined;
|
|
3674
3521
|
step?: number | undefined;
|
|
3675
|
-
};
|
|
3676
|
-
end
|
|
3522
|
+
} | undefined;
|
|
3523
|
+
end?: {
|
|
3677
3524
|
label?: string | undefined;
|
|
3678
3525
|
help?: string | undefined;
|
|
3679
3526
|
labelTranslationKey?: string | undefined;
|
|
3680
3527
|
max?: string | undefined;
|
|
3681
3528
|
min?: string | undefined;
|
|
3682
3529
|
step?: number | undefined;
|
|
3683
|
-
};
|
|
3684
|
-
};
|
|
3685
|
-
attributes?: {
|
|
3686
|
-
label?: string | undefined;
|
|
3687
|
-
help?: string | undefined;
|
|
3688
|
-
labelTranslationKey?: string | undefined;
|
|
3689
|
-
} | undefined;
|
|
3690
|
-
meta?: {
|
|
3691
|
-
schemaVersion: "1.0";
|
|
3692
|
-
title?: "Date Range" | undefined;
|
|
3693
|
-
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3530
|
+
} | undefined;
|
|
3694
3531
|
} | undefined;
|
|
3695
3532
|
} | {
|
|
3696
3533
|
type: "boolean";
|
|
@@ -3701,145 +3538,143 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3701
3538
|
checked?: boolean | undefined;
|
|
3702
3539
|
} | undefined;
|
|
3703
3540
|
meta?: {
|
|
3704
|
-
schemaVersion
|
|
3705
|
-
title?:
|
|
3706
|
-
usageDescription?:
|
|
3541
|
+
schemaVersion?: string | undefined;
|
|
3542
|
+
title?: string | undefined;
|
|
3543
|
+
usageDescription?: string | undefined;
|
|
3707
3544
|
} | undefined;
|
|
3708
3545
|
} | {
|
|
3709
|
-
|
|
3546
|
+
type: "checkBoxes";
|
|
3547
|
+
options?: {
|
|
3710
3548
|
value?: string | undefined;
|
|
3711
3549
|
label?: string | undefined;
|
|
3712
3550
|
checked?: boolean | undefined;
|
|
3713
|
-
}[];
|
|
3714
|
-
type: "checkBoxes";
|
|
3551
|
+
}[] | undefined;
|
|
3715
3552
|
attributes?: {
|
|
3716
3553
|
label?: string | undefined;
|
|
3717
3554
|
help?: string | undefined;
|
|
3718
3555
|
labelTranslationKey?: string | undefined;
|
|
3719
3556
|
} | undefined;
|
|
3720
3557
|
meta?: {
|
|
3721
|
-
schemaVersion
|
|
3722
|
-
title?:
|
|
3723
|
-
usageDescription?:
|
|
3558
|
+
schemaVersion?: string | undefined;
|
|
3559
|
+
title?: string | undefined;
|
|
3560
|
+
usageDescription?: string | undefined;
|
|
3724
3561
|
} | undefined;
|
|
3725
3562
|
} | {
|
|
3726
|
-
|
|
3563
|
+
type: "radioButtons";
|
|
3564
|
+
options?: {
|
|
3727
3565
|
value?: string | undefined;
|
|
3728
3566
|
label?: string | undefined;
|
|
3729
3567
|
selected?: boolean | undefined;
|
|
3730
|
-
}[];
|
|
3731
|
-
type: "radioButtons";
|
|
3568
|
+
}[] | undefined;
|
|
3732
3569
|
attributes?: {
|
|
3733
3570
|
label?: string | undefined;
|
|
3734
3571
|
help?: string | undefined;
|
|
3735
3572
|
labelTranslationKey?: string | undefined;
|
|
3736
3573
|
} | undefined;
|
|
3737
3574
|
meta?: {
|
|
3738
|
-
schemaVersion
|
|
3739
|
-
title?:
|
|
3740
|
-
usageDescription?:
|
|
3575
|
+
schemaVersion?: string | undefined;
|
|
3576
|
+
title?: string | undefined;
|
|
3577
|
+
usageDescription?: string | undefined;
|
|
3741
3578
|
} | undefined;
|
|
3742
3579
|
} | {
|
|
3743
|
-
|
|
3580
|
+
type: "selectBox";
|
|
3581
|
+
options?: {
|
|
3744
3582
|
value?: string | undefined;
|
|
3745
3583
|
label?: string | undefined;
|
|
3746
3584
|
selected?: boolean | undefined;
|
|
3747
|
-
}[];
|
|
3748
|
-
|
|
3749
|
-
|
|
3585
|
+
}[] | undefined;
|
|
3586
|
+
attributes?: {
|
|
3587
|
+
multiple: false;
|
|
3750
3588
|
label?: string | undefined;
|
|
3751
3589
|
help?: string | undefined;
|
|
3752
3590
|
labelTranslationKey?: string | undefined;
|
|
3753
|
-
|
|
3754
|
-
};
|
|
3591
|
+
} | undefined;
|
|
3755
3592
|
meta?: {
|
|
3756
|
-
schemaVersion
|
|
3757
|
-
title?:
|
|
3758
|
-
usageDescription?:
|
|
3593
|
+
schemaVersion?: string | undefined;
|
|
3594
|
+
title?: string | undefined;
|
|
3595
|
+
usageDescription?: string | undefined;
|
|
3759
3596
|
} | undefined;
|
|
3760
3597
|
} | {
|
|
3761
3598
|
type: "filteredSearch";
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3599
|
+
attributes?: {
|
|
3600
|
+
label?: string | undefined;
|
|
3601
|
+
help?: string | undefined;
|
|
3602
|
+
labelTranslationKey?: string | undefined;
|
|
3603
|
+
multiple?: boolean | undefined;
|
|
3604
|
+
} | undefined;
|
|
3605
|
+
meta?: {
|
|
3606
|
+
schemaVersion?: string | undefined;
|
|
3607
|
+
title?: string | undefined;
|
|
3608
|
+
usageDescription?: string | undefined;
|
|
3609
|
+
} | undefined;
|
|
3610
|
+
graphQL?: {
|
|
3611
|
+
displayFields?: {
|
|
3612
|
+
label?: string | undefined;
|
|
3766
3613
|
labelTranslationKey?: string | undefined;
|
|
3767
|
-
|
|
3768
|
-
|
|
3614
|
+
propertyName?: string | undefined;
|
|
3615
|
+
}[] | undefined;
|
|
3769
3616
|
localQueryId?: string | undefined;
|
|
3770
3617
|
query?: string | undefined;
|
|
3618
|
+
responseField?: string | undefined;
|
|
3771
3619
|
variables?: {
|
|
3772
|
-
type
|
|
3773
|
-
name: string;
|
|
3620
|
+
type?: string | undefined;
|
|
3774
3621
|
label?: string | undefined;
|
|
3775
3622
|
labelTranslationKey?: string | undefined;
|
|
3776
3623
|
minLength?: number | undefined;
|
|
3624
|
+
name?: string | undefined;
|
|
3777
3625
|
defaultValue?: string | undefined;
|
|
3778
3626
|
}[] | undefined;
|
|
3779
|
-
};
|
|
3627
|
+
} | undefined;
|
|
3628
|
+
} | {
|
|
3629
|
+
type: "affiliationSearch";
|
|
3780
3630
|
attributes?: {
|
|
3781
3631
|
label?: string | undefined;
|
|
3782
3632
|
help?: string | undefined;
|
|
3783
3633
|
labelTranslationKey?: string | undefined;
|
|
3784
|
-
multiple?: boolean | undefined;
|
|
3785
3634
|
} | undefined;
|
|
3786
3635
|
meta?: {
|
|
3787
|
-
schemaVersion
|
|
3788
|
-
title?:
|
|
3636
|
+
schemaVersion?: string | undefined;
|
|
3637
|
+
title?: string | undefined;
|
|
3789
3638
|
usageDescription?: string | undefined;
|
|
3790
3639
|
} | undefined;
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
meta: {
|
|
3794
|
-
schemaVersion: "1.0";
|
|
3795
|
-
title?: "Affiliation Search" | undefined;
|
|
3796
|
-
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3797
|
-
};
|
|
3798
|
-
graphQL: {
|
|
3799
|
-
displayFields: {
|
|
3800
|
-
propertyName: "displayName";
|
|
3640
|
+
graphQL?: {
|
|
3641
|
+
displayFields?: {
|
|
3801
3642
|
label?: string | undefined;
|
|
3802
3643
|
labelTranslationKey?: string | undefined;
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3644
|
+
propertyName?: "displayName" | undefined;
|
|
3645
|
+
}[] | undefined;
|
|
3646
|
+
localQueryId?: string | undefined;
|
|
3647
|
+
query?: string | undefined;
|
|
3648
|
+
responseField?: "affiliations.items" | undefined;
|
|
3649
|
+
variables?: {
|
|
3809
3650
|
type?: string | undefined;
|
|
3810
3651
|
label?: string | undefined;
|
|
3811
3652
|
labelTranslationKey?: string | undefined;
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3653
|
+
minLength?: 3 | undefined;
|
|
3654
|
+
name?: "name" | undefined;
|
|
3655
|
+
}[] | undefined;
|
|
3815
3656
|
queryId?: string | undefined;
|
|
3816
|
-
|
|
3817
|
-
attributes?: {
|
|
3818
|
-
label?: string | undefined;
|
|
3819
|
-
help?: string | undefined;
|
|
3820
|
-
labelTranslationKey?: string | undefined;
|
|
3657
|
+
answerField?: "uri" | undefined;
|
|
3821
3658
|
} | undefined;
|
|
3822
|
-
};
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
} | undefined;
|
|
3840
|
-
}>, z.ZodObject<{} & {
|
|
3659
|
+
} | undefined;
|
|
3660
|
+
}[] | undefined;
|
|
3661
|
+
}>, z.ZodObject<{
|
|
3662
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
3663
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
3664
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3665
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
3666
|
+
}, "strip", z.ZodTypeAny, {
|
|
3667
|
+
schemaVersion: string;
|
|
3668
|
+
title?: string | undefined;
|
|
3669
|
+
usageDescription?: string | undefined;
|
|
3670
|
+
}, {
|
|
3671
|
+
schemaVersion?: string | undefined;
|
|
3672
|
+
title?: string | undefined;
|
|
3673
|
+
usageDescription?: string | undefined;
|
|
3674
|
+
}>>;
|
|
3675
|
+
} & {
|
|
3841
3676
|
type: z.ZodLiteral<"textArea">;
|
|
3842
|
-
attributes: z.
|
|
3677
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
3843
3678
|
label: z.ZodOptional<z.ZodString>;
|
|
3844
3679
|
help: z.ZodOptional<z.ZodString>;
|
|
3845
3680
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3868,23 +3703,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3868
3703
|
rows?: number | undefined;
|
|
3869
3704
|
asRichText?: boolean | undefined;
|
|
3870
3705
|
}>>;
|
|
3871
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3872
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3873
|
-
} & {
|
|
3874
|
-
title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
|
|
3875
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
|
|
3876
|
-
}, "strip", z.ZodTypeAny, {
|
|
3877
|
-
schemaVersion: "1.0";
|
|
3878
|
-
title?: "Text Area" | undefined;
|
|
3879
|
-
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
3880
|
-
}, {
|
|
3881
|
-
schemaVersion: "1.0";
|
|
3882
|
-
title?: "Text Area" | undefined;
|
|
3883
|
-
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
3884
|
-
}>>;
|
|
3885
3706
|
}, "strip", z.ZodTypeAny, {
|
|
3886
3707
|
type: "textArea";
|
|
3887
|
-
attributes
|
|
3708
|
+
attributes: {
|
|
3888
3709
|
cols: number;
|
|
3889
3710
|
rows: number;
|
|
3890
3711
|
asRichText: boolean;
|
|
@@ -3893,12 +3714,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3893
3714
|
labelTranslationKey?: string | undefined;
|
|
3894
3715
|
maxLength?: number | undefined;
|
|
3895
3716
|
minLength?: number | undefined;
|
|
3896
|
-
}
|
|
3897
|
-
meta
|
|
3898
|
-
schemaVersion:
|
|
3899
|
-
title?:
|
|
3900
|
-
usageDescription?:
|
|
3901
|
-
}
|
|
3717
|
+
};
|
|
3718
|
+
meta: {
|
|
3719
|
+
schemaVersion: string;
|
|
3720
|
+
title?: string | undefined;
|
|
3721
|
+
usageDescription?: string | undefined;
|
|
3722
|
+
};
|
|
3902
3723
|
}, {
|
|
3903
3724
|
type: "textArea";
|
|
3904
3725
|
attributes?: {
|
|
@@ -3912,13 +3733,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3912
3733
|
asRichText?: boolean | undefined;
|
|
3913
3734
|
} | undefined;
|
|
3914
3735
|
meta?: {
|
|
3915
|
-
schemaVersion
|
|
3916
|
-
title?:
|
|
3917
|
-
usageDescription?:
|
|
3736
|
+
schemaVersion?: string | undefined;
|
|
3737
|
+
title?: string | undefined;
|
|
3738
|
+
usageDescription?: string | undefined;
|
|
3918
3739
|
} | undefined;
|
|
3919
|
-
}>, z.ZodObject<{
|
|
3740
|
+
}>, z.ZodObject<{
|
|
3741
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
3742
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
3743
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3744
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
3745
|
+
}, "strip", z.ZodTypeAny, {
|
|
3746
|
+
schemaVersion: string;
|
|
3747
|
+
title?: string | undefined;
|
|
3748
|
+
usageDescription?: string | undefined;
|
|
3749
|
+
}, {
|
|
3750
|
+
schemaVersion?: string | undefined;
|
|
3751
|
+
title?: string | undefined;
|
|
3752
|
+
usageDescription?: string | undefined;
|
|
3753
|
+
}>>;
|
|
3754
|
+
} & {
|
|
3920
3755
|
type: z.ZodLiteral<"text">;
|
|
3921
|
-
attributes: z.
|
|
3756
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
3922
3757
|
label: z.ZodOptional<z.ZodString>;
|
|
3923
3758
|
help: z.ZodOptional<z.ZodString>;
|
|
3924
3759
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3941,35 +3776,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3941
3776
|
minLength?: number | undefined;
|
|
3942
3777
|
pattern?: string | undefined;
|
|
3943
3778
|
}>>;
|
|
3944
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3945
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3946
|
-
} & {
|
|
3947
|
-
title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
|
|
3948
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
|
|
3949
|
-
}, "strip", z.ZodTypeAny, {
|
|
3950
|
-
schemaVersion: "1.0";
|
|
3951
|
-
title?: "Text Field" | undefined;
|
|
3952
|
-
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
3953
|
-
}, {
|
|
3954
|
-
schemaVersion: "1.0";
|
|
3955
|
-
title?: "Text Field" | undefined;
|
|
3956
|
-
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
3957
|
-
}>>;
|
|
3958
3779
|
}, "strip", z.ZodTypeAny, {
|
|
3959
3780
|
type: "text";
|
|
3960
|
-
attributes
|
|
3781
|
+
attributes: {
|
|
3961
3782
|
maxLength: number;
|
|
3962
3783
|
label?: string | undefined;
|
|
3963
3784
|
help?: string | undefined;
|
|
3964
3785
|
labelTranslationKey?: string | undefined;
|
|
3965
3786
|
minLength?: number | undefined;
|
|
3966
3787
|
pattern?: string | undefined;
|
|
3967
|
-
}
|
|
3968
|
-
meta
|
|
3969
|
-
schemaVersion:
|
|
3970
|
-
title?:
|
|
3971
|
-
usageDescription?:
|
|
3972
|
-
}
|
|
3788
|
+
};
|
|
3789
|
+
meta: {
|
|
3790
|
+
schemaVersion: string;
|
|
3791
|
+
title?: string | undefined;
|
|
3792
|
+
usageDescription?: string | undefined;
|
|
3793
|
+
};
|
|
3973
3794
|
}, {
|
|
3974
3795
|
type: "text";
|
|
3975
3796
|
attributes?: {
|
|
@@ -3981,13 +3802,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
3981
3802
|
pattern?: string | undefined;
|
|
3982
3803
|
} | undefined;
|
|
3983
3804
|
meta?: {
|
|
3984
|
-
schemaVersion
|
|
3985
|
-
title?:
|
|
3986
|
-
usageDescription?:
|
|
3805
|
+
schemaVersion?: string | undefined;
|
|
3806
|
+
title?: string | undefined;
|
|
3807
|
+
usageDescription?: string | undefined;
|
|
3987
3808
|
} | undefined;
|
|
3988
|
-
}>, z.ZodObject<{
|
|
3809
|
+
}>, z.ZodObject<{
|
|
3810
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
3811
|
+
schemaVersion: z.ZodDefault<z.ZodString>;
|
|
3812
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3813
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
3814
|
+
}, "strip", z.ZodTypeAny, {
|
|
3815
|
+
schemaVersion: string;
|
|
3816
|
+
title?: string | undefined;
|
|
3817
|
+
usageDescription?: string | undefined;
|
|
3818
|
+
}, {
|
|
3819
|
+
schemaVersion?: string | undefined;
|
|
3820
|
+
title?: string | undefined;
|
|
3821
|
+
usageDescription?: string | undefined;
|
|
3822
|
+
}>>;
|
|
3823
|
+
} & {
|
|
3989
3824
|
type: z.ZodLiteral<"url">;
|
|
3990
|
-
attributes: z.
|
|
3825
|
+
attributes: z.ZodDefault<z.ZodObject<{
|
|
3991
3826
|
label: z.ZodOptional<z.ZodString>;
|
|
3992
3827
|
help: z.ZodOptional<z.ZodString>;
|
|
3993
3828
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4010,35 +3845,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
4010
3845
|
minLength?: number | undefined;
|
|
4011
3846
|
pattern?: string | undefined;
|
|
4012
3847
|
}>>;
|
|
4013
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
4014
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4015
|
-
} & {
|
|
4016
|
-
title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
|
|
4017
|
-
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
|
|
4018
|
-
}, "strip", z.ZodTypeAny, {
|
|
4019
|
-
schemaVersion: "1.0";
|
|
4020
|
-
title?: "URL Field" | undefined;
|
|
4021
|
-
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4022
|
-
}, {
|
|
4023
|
-
schemaVersion: "1.0";
|
|
4024
|
-
title?: "URL Field" | undefined;
|
|
4025
|
-
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4026
|
-
}>>;
|
|
4027
3848
|
}, "strip", z.ZodTypeAny, {
|
|
4028
3849
|
type: "url";
|
|
4029
|
-
attributes
|
|
3850
|
+
attributes: {
|
|
4030
3851
|
maxLength: number;
|
|
4031
3852
|
label?: string | undefined;
|
|
4032
3853
|
help?: string | undefined;
|
|
4033
3854
|
labelTranslationKey?: string | undefined;
|
|
4034
3855
|
minLength?: number | undefined;
|
|
4035
3856
|
pattern?: string | undefined;
|
|
4036
|
-
}
|
|
4037
|
-
meta
|
|
4038
|
-
schemaVersion:
|
|
4039
|
-
title?:
|
|
4040
|
-
usageDescription?:
|
|
4041
|
-
}
|
|
3857
|
+
};
|
|
3858
|
+
meta: {
|
|
3859
|
+
schemaVersion: string;
|
|
3860
|
+
title?: string | undefined;
|
|
3861
|
+
usageDescription?: string | undefined;
|
|
3862
|
+
};
|
|
4042
3863
|
}, {
|
|
4043
3864
|
type: "url";
|
|
4044
3865
|
attributes?: {
|
|
@@ -4050,12 +3871,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
4050
3871
|
pattern?: string | undefined;
|
|
4051
3872
|
} | undefined;
|
|
4052
3873
|
meta?: {
|
|
4053
|
-
schemaVersion
|
|
4054
|
-
title?:
|
|
4055
|
-
usageDescription?:
|
|
3874
|
+
schemaVersion?: string | undefined;
|
|
3875
|
+
title?: string | undefined;
|
|
3876
|
+
usageDescription?: string | undefined;
|
|
4056
3877
|
} | undefined;
|
|
4057
3878
|
}>]>;
|
|
4058
|
-
export declare const QuestionSchemaMap: Record<z.infer<typeof
|
|
3879
|
+
export declare const QuestionSchemaMap: Record<z.infer<typeof QuestionFormatsEnum>, z.ZodTypeAny>;
|
|
4059
3880
|
export interface QuestionTypeMap {
|
|
4060
3881
|
affiliationSearch: AffiliationSearchQuestionType;
|
|
4061
3882
|
boolean: BooleanQuestionType;
|
|
@@ -4064,7 +3885,6 @@ export interface QuestionTypeMap {
|
|
|
4064
3885
|
date: DateQuestionType;
|
|
4065
3886
|
dateRange: DateRangeQuestionType;
|
|
4066
3887
|
email: EmailQuestionType;
|
|
4067
|
-
filteredSearch: FilteredSearchQuestionType;
|
|
4068
3888
|
multiselectBox: MultiselectBoxQuestionType;
|
|
4069
3889
|
number: NumberQuestionType;
|
|
4070
3890
|
numberRange: NumberRangeQuestionType;
|