@dmptool/types 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/answers/__tests__/answers.spec.js +11 -5
- package/dist/answers/answer.d.ts +3 -3
- package/dist/answers/graphQLAnswers.d.ts +2 -2
- package/dist/answers/graphQLAnswers.js +2 -2
- package/dist/answers/index.d.ts +92 -55
- package/dist/answers/index.js +2 -2
- package/dist/answers/optionBasedAnswers.d.ts +27 -2
- package/dist/answers/optionBasedAnswers.js +5 -1
- package/dist/answers/tableAnswers.d.ts +268 -104
- package/dist/answers/tableAnswers.js +2 -1
- package/dist/questions/__tests__/graphQLQuestions.spec.js +7 -7
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +48 -1
- package/dist/questions/dateQuestions.d.ts +47 -16
- package/dist/questions/dateQuestions.js +25 -1
- package/dist/questions/graphQLQuestions.d.ts +59 -28
- package/dist/questions/graphQLQuestions.js +40 -3
- package/dist/questions/index.d.ts +1363 -646
- package/dist/questions/index.js +4 -2
- package/dist/questions/numberQuestions.d.ts +71 -25
- package/dist/questions/numberQuestions.js +36 -1
- package/dist/questions/optionBasedQuestions.d.ts +197 -44
- package/dist/questions/optionBasedQuestions.js +84 -6
- package/dist/questions/question.d.ts +51 -4
- package/dist/questions/question.js +14 -2
- package/dist/questions/tableQuestions.d.ts +1841 -932
- package/dist/questions/tableQuestions.js +13 -1
- package/dist/questions/textQuestions.d.ts +100 -40
- package/dist/questions/textQuestions.js +45 -7
- package/dist/schemas/affiliationSearchAnswer.schema.json +37 -0
- package/dist/schemas/affiliationSearchQuestion.schema.json +133 -0
- package/dist/schemas/anyAnswer.schema.json +41 -23
- package/dist/schemas/anyQuestion.schema.json +533 -149
- package/dist/schemas/anyTableColumnAnswer.schema.json +35 -14
- package/dist/schemas/anyTableColumnQuestion.schema.json +397 -119
- package/dist/schemas/booleanQuestion.schema.json +13 -2
- package/dist/schemas/checkboxesQuestion.schema.json +12 -0
- package/dist/schemas/currencyQuestion.schema.json +12 -0
- package/dist/schemas/dateQuestion.schema.json +12 -0
- package/dist/schemas/dateRangeQuestion.schema.json +12 -0
- package/dist/schemas/emailQuestion.schema.json +12 -0
- package/dist/schemas/filteredSearchQuestion.schema.json +10 -0
- package/dist/schemas/multiselectBoxAnswer.schema.json +40 -0
- package/dist/schemas/multiselectBoxQuestion.schema.json +90 -0
- package/dist/schemas/numberQuestion.schema.json +12 -0
- package/dist/schemas/numberRangeQuestion.schema.json +12 -0
- package/dist/schemas/radioButtonsQuestion.schema.json +12 -0
- package/dist/schemas/selectBoxAnswer.schema.json +1 -4
- package/dist/schemas/selectBoxQuestion.schema.json +18 -1
- package/dist/schemas/tableAnswer.schema.json +35 -14
- package/dist/schemas/tableQuestion.schema.json +419 -120
- package/dist/schemas/textAreaQuestion.schema.json +15 -4
- package/dist/schemas/textQuestion.schema.json +12 -0
- package/dist/schemas/urlQuestion.schema.json +12 -0
- package/package.json +1 -1
|
@@ -1,15 +1,176 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3
|
-
|
|
3
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5
|
+
help: z.ZodOptional<z.ZodString>;
|
|
6
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
help?: string | undefined;
|
|
10
|
+
labelTranslationKey?: string | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
help?: string | undefined;
|
|
14
|
+
labelTranslationKey?: string | undefined;
|
|
15
|
+
}>>;
|
|
16
|
+
graphQL: z.ZodObject<{
|
|
17
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
18
|
+
propertyName: z.ZodString;
|
|
19
|
+
label: z.ZodString;
|
|
20
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
label: string;
|
|
23
|
+
propertyName: string;
|
|
24
|
+
labelTranslationKey?: string | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
label: string;
|
|
27
|
+
propertyName: string;
|
|
28
|
+
labelTranslationKey?: string | undefined;
|
|
29
|
+
}>, "many">;
|
|
30
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
query: z.ZodOptional<z.ZodString>;
|
|
32
|
+
responseField: z.ZodString;
|
|
33
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
label: z.ZodOptional<z.ZodString>;
|
|
36
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
37
|
+
name: z.ZodString;
|
|
38
|
+
type: z.ZodString;
|
|
39
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
type: string;
|
|
42
|
+
name: string;
|
|
43
|
+
label?: string | undefined;
|
|
44
|
+
labelTranslationKey?: string | undefined;
|
|
45
|
+
minLength?: number | undefined;
|
|
46
|
+
defaultValue?: string | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
type: string;
|
|
49
|
+
name: string;
|
|
50
|
+
label?: string | undefined;
|
|
51
|
+
labelTranslationKey?: string | undefined;
|
|
52
|
+
minLength?: number | undefined;
|
|
53
|
+
defaultValue?: string | undefined;
|
|
54
|
+
}>, "many">>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
displayFields: {
|
|
57
|
+
label: string;
|
|
58
|
+
propertyName: string;
|
|
59
|
+
labelTranslationKey?: string | undefined;
|
|
60
|
+
}[];
|
|
61
|
+
responseField: string;
|
|
62
|
+
localQueryId?: string | undefined;
|
|
63
|
+
query?: string | undefined;
|
|
64
|
+
variables?: {
|
|
65
|
+
type: string;
|
|
66
|
+
name: string;
|
|
67
|
+
label?: string | undefined;
|
|
68
|
+
labelTranslationKey?: string | undefined;
|
|
69
|
+
minLength?: number | undefined;
|
|
70
|
+
defaultValue?: string | undefined;
|
|
71
|
+
}[] | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
displayFields: {
|
|
74
|
+
label: string;
|
|
75
|
+
propertyName: string;
|
|
76
|
+
labelTranslationKey?: string | undefined;
|
|
77
|
+
}[];
|
|
78
|
+
responseField: string;
|
|
79
|
+
localQueryId?: string | undefined;
|
|
80
|
+
query?: string | undefined;
|
|
81
|
+
variables?: {
|
|
82
|
+
type: string;
|
|
83
|
+
name: string;
|
|
84
|
+
label?: string | undefined;
|
|
85
|
+
labelTranslationKey?: string | undefined;
|
|
86
|
+
minLength?: number | undefined;
|
|
87
|
+
defaultValue?: string | undefined;
|
|
88
|
+
}[] | undefined;
|
|
89
|
+
}>;
|
|
90
|
+
} & {
|
|
91
|
+
type: z.ZodLiteral<"affiliationSearch">;
|
|
92
|
+
meta: z.ZodObject<{
|
|
4
93
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
94
|
+
} & {
|
|
95
|
+
title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
|
|
96
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
|
|
97
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
5
98
|
}, "strip", z.ZodTypeAny, {
|
|
6
99
|
schemaVersion: "1.0";
|
|
100
|
+
title?: "Affiliation Search" | undefined;
|
|
101
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
102
|
+
defaultJSON?: string | undefined;
|
|
7
103
|
}, {
|
|
8
104
|
schemaVersion: "1.0";
|
|
9
|
-
|
|
10
|
-
|
|
105
|
+
title?: "Affiliation Search" | undefined;
|
|
106
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
107
|
+
defaultJSON?: string | undefined;
|
|
108
|
+
}>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
type: "affiliationSearch";
|
|
111
|
+
meta: {
|
|
112
|
+
schemaVersion: "1.0";
|
|
113
|
+
title?: "Affiliation Search" | undefined;
|
|
114
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
115
|
+
defaultJSON?: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
graphQL: {
|
|
118
|
+
displayFields: {
|
|
119
|
+
label: string;
|
|
120
|
+
propertyName: string;
|
|
121
|
+
labelTranslationKey?: string | undefined;
|
|
122
|
+
}[];
|
|
123
|
+
responseField: string;
|
|
124
|
+
localQueryId?: string | undefined;
|
|
125
|
+
query?: string | undefined;
|
|
126
|
+
variables?: {
|
|
127
|
+
type: string;
|
|
128
|
+
name: string;
|
|
129
|
+
label?: string | undefined;
|
|
130
|
+
labelTranslationKey?: string | undefined;
|
|
131
|
+
minLength?: number | undefined;
|
|
132
|
+
defaultValue?: string | undefined;
|
|
133
|
+
}[] | undefined;
|
|
134
|
+
};
|
|
135
|
+
attributes?: {
|
|
136
|
+
label?: string | undefined;
|
|
137
|
+
help?: string | undefined;
|
|
138
|
+
labelTranslationKey?: string | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
type: "affiliationSearch";
|
|
142
|
+
meta: {
|
|
143
|
+
schemaVersion: "1.0";
|
|
144
|
+
title?: "Affiliation Search" | undefined;
|
|
145
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
146
|
+
defaultJSON?: string | undefined;
|
|
147
|
+
};
|
|
148
|
+
graphQL: {
|
|
149
|
+
displayFields: {
|
|
150
|
+
label: string;
|
|
151
|
+
propertyName: string;
|
|
152
|
+
labelTranslationKey?: string | undefined;
|
|
153
|
+
}[];
|
|
154
|
+
responseField: string;
|
|
155
|
+
localQueryId?: string | undefined;
|
|
156
|
+
query?: string | undefined;
|
|
157
|
+
variables?: {
|
|
158
|
+
type: string;
|
|
159
|
+
name: string;
|
|
160
|
+
label?: string | undefined;
|
|
161
|
+
labelTranslationKey?: string | undefined;
|
|
162
|
+
minLength?: number | undefined;
|
|
163
|
+
defaultValue?: string | undefined;
|
|
164
|
+
}[] | undefined;
|
|
165
|
+
};
|
|
166
|
+
attributes?: {
|
|
167
|
+
label?: string | undefined;
|
|
168
|
+
help?: string | undefined;
|
|
169
|
+
labelTranslationKey?: string | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
}>, z.ZodObject<{} & {
|
|
11
172
|
type: z.ZodLiteral<"boolean">;
|
|
12
|
-
attributes: z.ZodObject<{
|
|
173
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
13
174
|
label: z.ZodOptional<z.ZodString>;
|
|
14
175
|
help: z.ZodOptional<z.ZodString>;
|
|
15
176
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -25,28 +186,51 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
25
186
|
help?: string | undefined;
|
|
26
187
|
labelTranslationKey?: string | undefined;
|
|
27
188
|
checked?: boolean | undefined;
|
|
28
|
-
}
|
|
189
|
+
}>>;
|
|
190
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
192
|
+
} & {
|
|
193
|
+
title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
|
|
194
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
|
|
195
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
schemaVersion: "1.0";
|
|
198
|
+
title?: "Yes/No Field" | undefined;
|
|
199
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
200
|
+
defaultJSON?: string | undefined;
|
|
201
|
+
}, {
|
|
202
|
+
schemaVersion: "1.0";
|
|
203
|
+
title?: "Yes/No Field" | undefined;
|
|
204
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
205
|
+
defaultJSON?: string | undefined;
|
|
206
|
+
}>>;
|
|
29
207
|
}, "strip", z.ZodTypeAny, {
|
|
30
208
|
type: "boolean";
|
|
31
|
-
attributes
|
|
209
|
+
attributes?: {
|
|
32
210
|
label?: string | undefined;
|
|
33
211
|
help?: string | undefined;
|
|
34
212
|
labelTranslationKey?: string | undefined;
|
|
35
213
|
checked?: boolean | undefined;
|
|
36
|
-
};
|
|
214
|
+
} | undefined;
|
|
37
215
|
meta?: {
|
|
38
216
|
schemaVersion: "1.0";
|
|
217
|
+
title?: "Yes/No Field" | undefined;
|
|
218
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
219
|
+
defaultJSON?: string | undefined;
|
|
39
220
|
} | undefined;
|
|
40
221
|
}, {
|
|
41
222
|
type: "boolean";
|
|
42
|
-
attributes
|
|
223
|
+
attributes?: {
|
|
43
224
|
label?: string | undefined;
|
|
44
225
|
help?: string | undefined;
|
|
45
226
|
labelTranslationKey?: string | undefined;
|
|
46
227
|
checked?: boolean | undefined;
|
|
47
|
-
};
|
|
228
|
+
} | undefined;
|
|
48
229
|
meta?: {
|
|
49
230
|
schemaVersion: "1.0";
|
|
231
|
+
title?: "Yes/No Field" | undefined;
|
|
232
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
233
|
+
defaultJSON?: string | undefined;
|
|
50
234
|
} | undefined;
|
|
51
235
|
}>, z.ZodObject<{
|
|
52
236
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -62,13 +246,6 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
62
246
|
help?: string | undefined;
|
|
63
247
|
labelTranslationKey?: string | undefined;
|
|
64
248
|
}>>;
|
|
65
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
66
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
schemaVersion: "1.0";
|
|
69
|
-
}, {
|
|
70
|
-
schemaVersion: "1.0";
|
|
71
|
-
}>>;
|
|
72
249
|
} & {
|
|
73
250
|
type: z.ZodLiteral<"checkBoxes">;
|
|
74
251
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -85,6 +262,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
85
262
|
label: string;
|
|
86
263
|
checked?: boolean | undefined;
|
|
87
264
|
}>, "many">;
|
|
265
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
267
|
+
} & {
|
|
268
|
+
title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
|
|
269
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
|
|
270
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
schemaVersion: "1.0";
|
|
273
|
+
title?: "Check Boxes" | undefined;
|
|
274
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
275
|
+
defaultJSON?: string | undefined;
|
|
276
|
+
}, {
|
|
277
|
+
schemaVersion: "1.0";
|
|
278
|
+
title?: "Check Boxes" | undefined;
|
|
279
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
280
|
+
defaultJSON?: string | undefined;
|
|
281
|
+
}>>;
|
|
88
282
|
}, "strip", z.ZodTypeAny, {
|
|
89
283
|
options: {
|
|
90
284
|
value: string;
|
|
@@ -99,6 +293,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
99
293
|
} | undefined;
|
|
100
294
|
meta?: {
|
|
101
295
|
schemaVersion: "1.0";
|
|
296
|
+
title?: "Check Boxes" | undefined;
|
|
297
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
298
|
+
defaultJSON?: string | undefined;
|
|
102
299
|
} | undefined;
|
|
103
300
|
}, {
|
|
104
301
|
options: {
|
|
@@ -114,16 +311,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
114
311
|
} | undefined;
|
|
115
312
|
meta?: {
|
|
116
313
|
schemaVersion: "1.0";
|
|
314
|
+
title?: "Check Boxes" | undefined;
|
|
315
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
316
|
+
defaultJSON?: string | undefined;
|
|
117
317
|
} | undefined;
|
|
118
|
-
}>, z.ZodObject<{
|
|
119
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
120
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
schemaVersion: "1.0";
|
|
123
|
-
}, {
|
|
124
|
-
schemaVersion: "1.0";
|
|
125
|
-
}>>;
|
|
126
|
-
} & {
|
|
318
|
+
}>, z.ZodObject<{} & {
|
|
127
319
|
type: z.ZodLiteral<"currency">;
|
|
128
320
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
129
321
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -152,6 +344,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
152
344
|
step?: number | undefined;
|
|
153
345
|
denomination?: string | undefined;
|
|
154
346
|
}>>;
|
|
347
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
349
|
+
} & {
|
|
350
|
+
title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
|
|
351
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
|
|
352
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
schemaVersion: "1.0";
|
|
355
|
+
title?: "Currency Field" | undefined;
|
|
356
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
357
|
+
defaultJSON?: string | undefined;
|
|
358
|
+
}, {
|
|
359
|
+
schemaVersion: "1.0";
|
|
360
|
+
title?: "Currency Field" | undefined;
|
|
361
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
362
|
+
defaultJSON?: string | undefined;
|
|
363
|
+
}>>;
|
|
155
364
|
}, "strip", z.ZodTypeAny, {
|
|
156
365
|
type: "currency";
|
|
157
366
|
attributes?: {
|
|
@@ -165,6 +374,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
165
374
|
} | undefined;
|
|
166
375
|
meta?: {
|
|
167
376
|
schemaVersion: "1.0";
|
|
377
|
+
title?: "Currency Field" | undefined;
|
|
378
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
379
|
+
defaultJSON?: string | undefined;
|
|
168
380
|
} | undefined;
|
|
169
381
|
}, {
|
|
170
382
|
type: "currency";
|
|
@@ -179,16 +391,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
179
391
|
} | undefined;
|
|
180
392
|
meta?: {
|
|
181
393
|
schemaVersion: "1.0";
|
|
394
|
+
title?: "Currency Field" | undefined;
|
|
395
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
396
|
+
defaultJSON?: string | undefined;
|
|
182
397
|
} | undefined;
|
|
183
|
-
}>, z.ZodObject<{
|
|
184
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
185
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
schemaVersion: "1.0";
|
|
188
|
-
}, {
|
|
189
|
-
schemaVersion: "1.0";
|
|
190
|
-
}>>;
|
|
191
|
-
} & {
|
|
398
|
+
}>, z.ZodObject<{} & {
|
|
192
399
|
type: z.ZodLiteral<"date">;
|
|
193
400
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
194
401
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -213,6 +420,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
213
420
|
min?: string | undefined;
|
|
214
421
|
step?: number | undefined;
|
|
215
422
|
}>>;
|
|
423
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
424
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
425
|
+
} & {
|
|
426
|
+
title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
|
|
427
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
|
|
428
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
429
|
+
}, "strip", z.ZodTypeAny, {
|
|
430
|
+
schemaVersion: "1.0";
|
|
431
|
+
title?: "Date Field" | undefined;
|
|
432
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
433
|
+
defaultJSON?: string | undefined;
|
|
434
|
+
}, {
|
|
435
|
+
schemaVersion: "1.0";
|
|
436
|
+
title?: "Date Field" | undefined;
|
|
437
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
438
|
+
defaultJSON?: string | undefined;
|
|
439
|
+
}>>;
|
|
216
440
|
}, "strip", z.ZodTypeAny, {
|
|
217
441
|
type: "date";
|
|
218
442
|
attributes?: {
|
|
@@ -225,6 +449,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
225
449
|
} | undefined;
|
|
226
450
|
meta?: {
|
|
227
451
|
schemaVersion: "1.0";
|
|
452
|
+
title?: "Date Field" | undefined;
|
|
453
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
454
|
+
defaultJSON?: string | undefined;
|
|
228
455
|
} | undefined;
|
|
229
456
|
}, {
|
|
230
457
|
type: "date";
|
|
@@ -238,6 +465,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
238
465
|
} | undefined;
|
|
239
466
|
meta?: {
|
|
240
467
|
schemaVersion: "1.0";
|
|
468
|
+
title?: "Date Field" | undefined;
|
|
469
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
470
|
+
defaultJSON?: string | undefined;
|
|
241
471
|
} | undefined;
|
|
242
472
|
}>, z.ZodObject<{
|
|
243
473
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -253,13 +483,6 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
253
483
|
help?: string | undefined;
|
|
254
484
|
labelTranslationKey?: string | undefined;
|
|
255
485
|
}>>;
|
|
256
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
257
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
258
|
-
}, "strip", z.ZodTypeAny, {
|
|
259
|
-
schemaVersion: "1.0";
|
|
260
|
-
}, {
|
|
261
|
-
schemaVersion: "1.0";
|
|
262
|
-
}>>;
|
|
263
486
|
} & {
|
|
264
487
|
type: z.ZodLiteral<"dateRange">;
|
|
265
488
|
columns: z.ZodObject<{
|
|
@@ -344,6 +567,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
344
567
|
step?: number | undefined;
|
|
345
568
|
} | undefined;
|
|
346
569
|
}>;
|
|
570
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
572
|
+
} & {
|
|
573
|
+
title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
|
|
574
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
|
|
575
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
576
|
+
}, "strip", z.ZodTypeAny, {
|
|
577
|
+
schemaVersion: "1.0";
|
|
578
|
+
title?: "Date Range" | undefined;
|
|
579
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
580
|
+
defaultJSON?: string | undefined;
|
|
581
|
+
}, {
|
|
582
|
+
schemaVersion: "1.0";
|
|
583
|
+
title?: "Date Range" | undefined;
|
|
584
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
585
|
+
defaultJSON?: string | undefined;
|
|
586
|
+
}>>;
|
|
347
587
|
}, "strip", z.ZodTypeAny, {
|
|
348
588
|
type: "dateRange";
|
|
349
589
|
columns: {
|
|
@@ -371,6 +611,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
371
611
|
} | undefined;
|
|
372
612
|
meta?: {
|
|
373
613
|
schemaVersion: "1.0";
|
|
614
|
+
title?: "Date Range" | undefined;
|
|
615
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
616
|
+
defaultJSON?: string | undefined;
|
|
374
617
|
} | undefined;
|
|
375
618
|
}, {
|
|
376
619
|
type: "dateRange";
|
|
@@ -399,16 +642,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
399
642
|
} | undefined;
|
|
400
643
|
meta?: {
|
|
401
644
|
schemaVersion: "1.0";
|
|
645
|
+
title?: "Date Range" | undefined;
|
|
646
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
647
|
+
defaultJSON?: string | undefined;
|
|
402
648
|
} | undefined;
|
|
403
|
-
}>, z.ZodObject<{
|
|
404
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
405
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
406
|
-
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
schemaVersion: "1.0";
|
|
408
|
-
}, {
|
|
409
|
-
schemaVersion: "1.0";
|
|
410
|
-
}>>;
|
|
411
|
-
} & {
|
|
649
|
+
}>, z.ZodObject<{} & {
|
|
412
650
|
type: z.ZodLiteral<"email">;
|
|
413
651
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
414
652
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -437,6 +675,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
437
675
|
pattern?: string | undefined;
|
|
438
676
|
multiple?: boolean | undefined;
|
|
439
677
|
}>>;
|
|
678
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
679
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
680
|
+
} & {
|
|
681
|
+
title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
|
|
682
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
|
|
683
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
684
|
+
}, "strip", z.ZodTypeAny, {
|
|
685
|
+
schemaVersion: "1.0";
|
|
686
|
+
title?: "Email Field" | undefined;
|
|
687
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
688
|
+
defaultJSON?: string | undefined;
|
|
689
|
+
}, {
|
|
690
|
+
schemaVersion: "1.0";
|
|
691
|
+
title?: "Email Field" | undefined;
|
|
692
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
693
|
+
defaultJSON?: string | undefined;
|
|
694
|
+
}>>;
|
|
440
695
|
}, "strip", z.ZodTypeAny, {
|
|
441
696
|
type: "email";
|
|
442
697
|
attributes?: {
|
|
@@ -450,6 +705,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
450
705
|
} | undefined;
|
|
451
706
|
meta?: {
|
|
452
707
|
schemaVersion: "1.0";
|
|
708
|
+
title?: "Email Field" | undefined;
|
|
709
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
710
|
+
defaultJSON?: string | undefined;
|
|
453
711
|
} | undefined;
|
|
454
712
|
}, {
|
|
455
713
|
type: "email";
|
|
@@ -464,16 +722,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
464
722
|
} | undefined;
|
|
465
723
|
meta?: {
|
|
466
724
|
schemaVersion: "1.0";
|
|
725
|
+
title?: "Email Field" | undefined;
|
|
726
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
727
|
+
defaultJSON?: string | undefined;
|
|
467
728
|
} | undefined;
|
|
468
|
-
}>, z.ZodObject<{
|
|
469
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
470
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
471
|
-
}, "strip", z.ZodTypeAny, {
|
|
472
|
-
schemaVersion: "1.0";
|
|
473
|
-
}, {
|
|
474
|
-
schemaVersion: "1.0";
|
|
475
|
-
}>>;
|
|
476
|
-
} & {
|
|
729
|
+
}>, z.ZodObject<{} & {
|
|
477
730
|
type: z.ZodLiteral<"filteredSearch">;
|
|
478
731
|
graphQL: z.ZodObject<{
|
|
479
732
|
displayFields: z.ZodArray<z.ZodObject<{
|
|
@@ -566,6 +819,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
566
819
|
labelTranslationKey?: string | undefined;
|
|
567
820
|
multiple?: boolean | undefined;
|
|
568
821
|
}>>;
|
|
822
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
823
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
824
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
825
|
+
defaultJSON: z.ZodOptional<z.ZodString>;
|
|
826
|
+
} & {
|
|
827
|
+
title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
|
|
828
|
+
}, "strip", z.ZodTypeAny, {
|
|
829
|
+
schemaVersion: "1.0";
|
|
830
|
+
title?: "Not yet implemented" | undefined;
|
|
831
|
+
usageDescription?: string | undefined;
|
|
832
|
+
defaultJSON?: string | undefined;
|
|
833
|
+
}, {
|
|
834
|
+
schemaVersion: "1.0";
|
|
835
|
+
title?: "Not yet implemented" | undefined;
|
|
836
|
+
usageDescription?: string | undefined;
|
|
837
|
+
defaultJSON?: string | undefined;
|
|
838
|
+
}>>;
|
|
569
839
|
}, "strip", z.ZodTypeAny, {
|
|
570
840
|
type: "filteredSearch";
|
|
571
841
|
graphQL: {
|
|
@@ -594,6 +864,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
594
864
|
} | undefined;
|
|
595
865
|
meta?: {
|
|
596
866
|
schemaVersion: "1.0";
|
|
867
|
+
title?: "Not yet implemented" | undefined;
|
|
868
|
+
usageDescription?: string | undefined;
|
|
869
|
+
defaultJSON?: string | undefined;
|
|
597
870
|
} | undefined;
|
|
598
871
|
}, {
|
|
599
872
|
type: "filteredSearch";
|
|
@@ -623,16 +896,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
623
896
|
} | undefined;
|
|
624
897
|
meta?: {
|
|
625
898
|
schemaVersion: "1.0";
|
|
899
|
+
title?: "Not yet implemented" | undefined;
|
|
900
|
+
usageDescription?: string | undefined;
|
|
901
|
+
defaultJSON?: string | undefined;
|
|
626
902
|
} | undefined;
|
|
627
|
-
}>, z.ZodObject<{
|
|
628
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
629
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
630
|
-
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
schemaVersion: "1.0";
|
|
632
|
-
}, {
|
|
633
|
-
schemaVersion: "1.0";
|
|
634
|
-
}>>;
|
|
635
|
-
} & {
|
|
903
|
+
}>, z.ZodObject<{} & {
|
|
636
904
|
type: z.ZodLiteral<"number">;
|
|
637
905
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
638
906
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -657,6 +925,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
657
925
|
min?: number | undefined;
|
|
658
926
|
step?: number | undefined;
|
|
659
927
|
}>>;
|
|
928
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
929
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
930
|
+
} & {
|
|
931
|
+
title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
|
|
932
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
|
|
933
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
934
|
+
}, "strip", z.ZodTypeAny, {
|
|
935
|
+
schemaVersion: "1.0";
|
|
936
|
+
title?: "Number Field" | undefined;
|
|
937
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
938
|
+
defaultJSON?: string | undefined;
|
|
939
|
+
}, {
|
|
940
|
+
schemaVersion: "1.0";
|
|
941
|
+
title?: "Number Field" | undefined;
|
|
942
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
943
|
+
defaultJSON?: string | undefined;
|
|
944
|
+
}>>;
|
|
660
945
|
}, "strip", z.ZodTypeAny, {
|
|
661
946
|
type: "number";
|
|
662
947
|
attributes?: {
|
|
@@ -669,6 +954,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
669
954
|
} | undefined;
|
|
670
955
|
meta?: {
|
|
671
956
|
schemaVersion: "1.0";
|
|
957
|
+
title?: "Number Field" | undefined;
|
|
958
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
959
|
+
defaultJSON?: string | undefined;
|
|
672
960
|
} | undefined;
|
|
673
961
|
}, {
|
|
674
962
|
type: "number";
|
|
@@ -682,6 +970,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
682
970
|
} | undefined;
|
|
683
971
|
meta?: {
|
|
684
972
|
schemaVersion: "1.0";
|
|
973
|
+
title?: "Number Field" | undefined;
|
|
974
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
975
|
+
defaultJSON?: string | undefined;
|
|
685
976
|
} | undefined;
|
|
686
977
|
}>, z.ZodObject<{
|
|
687
978
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -697,13 +988,6 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
697
988
|
help?: string | undefined;
|
|
698
989
|
labelTranslationKey?: string | undefined;
|
|
699
990
|
}>>;
|
|
700
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
701
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
702
|
-
}, "strip", z.ZodTypeAny, {
|
|
703
|
-
schemaVersion: "1.0";
|
|
704
|
-
}, {
|
|
705
|
-
schemaVersion: "1.0";
|
|
706
|
-
}>>;
|
|
707
991
|
} & {
|
|
708
992
|
type: z.ZodLiteral<"radioButtons">;
|
|
709
993
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -720,6 +1004,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
720
1004
|
label: string;
|
|
721
1005
|
selected?: boolean | undefined;
|
|
722
1006
|
}>, "many">;
|
|
1007
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1008
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1009
|
+
} & {
|
|
1010
|
+
title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
|
|
1011
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
|
|
1012
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1013
|
+
}, "strip", z.ZodTypeAny, {
|
|
1014
|
+
schemaVersion: "1.0";
|
|
1015
|
+
title?: "Radio Buttons" | undefined;
|
|
1016
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
1017
|
+
defaultJSON?: string | undefined;
|
|
1018
|
+
}, {
|
|
1019
|
+
schemaVersion: "1.0";
|
|
1020
|
+
title?: "Radio Buttons" | undefined;
|
|
1021
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
1022
|
+
defaultJSON?: string | undefined;
|
|
1023
|
+
}>>;
|
|
723
1024
|
}, "strip", z.ZodTypeAny, {
|
|
724
1025
|
options: {
|
|
725
1026
|
value: string;
|
|
@@ -734,6 +1035,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
734
1035
|
} | undefined;
|
|
735
1036
|
meta?: {
|
|
736
1037
|
schemaVersion: "1.0";
|
|
1038
|
+
title?: "Radio Buttons" | undefined;
|
|
1039
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
1040
|
+
defaultJSON?: string | undefined;
|
|
737
1041
|
} | undefined;
|
|
738
1042
|
}, {
|
|
739
1043
|
options: {
|
|
@@ -749,16 +1053,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
749
1053
|
} | undefined;
|
|
750
1054
|
meta?: {
|
|
751
1055
|
schemaVersion: "1.0";
|
|
1056
|
+
title?: "Radio Buttons" | undefined;
|
|
1057
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
1058
|
+
defaultJSON?: string | undefined;
|
|
752
1059
|
} | undefined;
|
|
753
|
-
}>, z.ZodObject<{
|
|
754
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
755
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
756
|
-
}, "strip", z.ZodTypeAny, {
|
|
757
|
-
schemaVersion: "1.0";
|
|
758
|
-
}, {
|
|
759
|
-
schemaVersion: "1.0";
|
|
760
|
-
}>>;
|
|
761
|
-
} & {
|
|
1060
|
+
}>, z.ZodObject<{} & {
|
|
762
1061
|
type: z.ZodLiteral<"selectBox">;
|
|
763
1062
|
options: z.ZodArray<z.ZodObject<{
|
|
764
1063
|
label: z.ZodString;
|
|
@@ -774,22 +1073,39 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
774
1073
|
label: string;
|
|
775
1074
|
selected?: boolean | undefined;
|
|
776
1075
|
}>, "many">;
|
|
777
|
-
attributes: z.
|
|
1076
|
+
attributes: z.ZodObject<{
|
|
778
1077
|
label: z.ZodOptional<z.ZodString>;
|
|
779
1078
|
help: z.ZodOptional<z.ZodString>;
|
|
780
1079
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
781
1080
|
} & {
|
|
782
|
-
multiple: z.
|
|
1081
|
+
multiple: z.ZodLiteral<false>;
|
|
783
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1083
|
+
multiple: false;
|
|
784
1084
|
label?: string | undefined;
|
|
785
1085
|
help?: string | undefined;
|
|
786
1086
|
labelTranslationKey?: string | undefined;
|
|
787
|
-
multiple?: boolean | undefined;
|
|
788
1087
|
}, {
|
|
1088
|
+
multiple: false;
|
|
789
1089
|
label?: string | undefined;
|
|
790
1090
|
help?: string | undefined;
|
|
791
1091
|
labelTranslationKey?: string | undefined;
|
|
792
|
-
|
|
1092
|
+
}>;
|
|
1093
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1094
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1095
|
+
} & {
|
|
1096
|
+
title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
|
|
1097
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
|
|
1098
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1099
|
+
}, "strip", z.ZodTypeAny, {
|
|
1100
|
+
schemaVersion: "1.0";
|
|
1101
|
+
title?: "Select Box" | undefined;
|
|
1102
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
1103
|
+
defaultJSON?: string | undefined;
|
|
1104
|
+
}, {
|
|
1105
|
+
schemaVersion: "1.0";
|
|
1106
|
+
title?: "Select Box" | undefined;
|
|
1107
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
1108
|
+
defaultJSON?: string | undefined;
|
|
793
1109
|
}>>;
|
|
794
1110
|
}, "strip", z.ZodTypeAny, {
|
|
795
1111
|
options: {
|
|
@@ -798,14 +1114,17 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
798
1114
|
selected?: boolean | undefined;
|
|
799
1115
|
}[];
|
|
800
1116
|
type: "selectBox";
|
|
801
|
-
attributes
|
|
1117
|
+
attributes: {
|
|
1118
|
+
multiple: false;
|
|
802
1119
|
label?: string | undefined;
|
|
803
1120
|
help?: string | undefined;
|
|
804
1121
|
labelTranslationKey?: string | undefined;
|
|
805
|
-
|
|
806
|
-
} | undefined;
|
|
1122
|
+
};
|
|
807
1123
|
meta?: {
|
|
808
1124
|
schemaVersion: "1.0";
|
|
1125
|
+
title?: "Select Box" | undefined;
|
|
1126
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
1127
|
+
defaultJSON?: string | undefined;
|
|
809
1128
|
} | undefined;
|
|
810
1129
|
}, {
|
|
811
1130
|
options: {
|
|
@@ -814,14 +1133,17 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
814
1133
|
selected?: boolean | undefined;
|
|
815
1134
|
}[];
|
|
816
1135
|
type: "selectBox";
|
|
817
|
-
attributes
|
|
1136
|
+
attributes: {
|
|
1137
|
+
multiple: false;
|
|
818
1138
|
label?: string | undefined;
|
|
819
1139
|
help?: string | undefined;
|
|
820
1140
|
labelTranslationKey?: string | undefined;
|
|
821
|
-
|
|
822
|
-
} | undefined;
|
|
1141
|
+
};
|
|
823
1142
|
meta?: {
|
|
824
1143
|
schemaVersion: "1.0";
|
|
1144
|
+
title?: "Select Box" | undefined;
|
|
1145
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
1146
|
+
defaultJSON?: string | undefined;
|
|
825
1147
|
} | undefined;
|
|
826
1148
|
}>, z.ZodObject<{} & {
|
|
827
1149
|
type: z.ZodLiteral<"textArea">;
|
|
@@ -834,6 +1156,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
834
1156
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
835
1157
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
836
1158
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
1159
|
+
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
837
1160
|
}, "strip", z.ZodTypeAny, {
|
|
838
1161
|
label?: string | undefined;
|
|
839
1162
|
help?: string | undefined;
|
|
@@ -842,6 +1165,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
842
1165
|
minLength?: number | undefined;
|
|
843
1166
|
cols?: number | undefined;
|
|
844
1167
|
rows?: number | undefined;
|
|
1168
|
+
asRichText?: boolean | undefined;
|
|
845
1169
|
}, {
|
|
846
1170
|
label?: string | undefined;
|
|
847
1171
|
help?: string | undefined;
|
|
@@ -850,24 +1174,27 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
850
1174
|
minLength?: number | undefined;
|
|
851
1175
|
cols?: number | undefined;
|
|
852
1176
|
rows?: number | undefined;
|
|
1177
|
+
asRichText?: boolean | undefined;
|
|
853
1178
|
}>>;
|
|
854
|
-
meta: z.ZodObject<{
|
|
1179
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
855
1180
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
856
1181
|
} & {
|
|
857
|
-
|
|
1182
|
+
title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
|
|
1183
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
|
|
1184
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
858
1185
|
}, "strip", z.ZodTypeAny, {
|
|
859
1186
|
schemaVersion: "1.0";
|
|
860
|
-
|
|
1187
|
+
title?: "Text Area" | undefined;
|
|
1188
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
1189
|
+
defaultJSON?: string | undefined;
|
|
861
1190
|
}, {
|
|
862
1191
|
schemaVersion: "1.0";
|
|
863
|
-
|
|
864
|
-
|
|
1192
|
+
title?: "Text Area" | undefined;
|
|
1193
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
1194
|
+
defaultJSON?: string | undefined;
|
|
1195
|
+
}>>;
|
|
865
1196
|
}, "strip", z.ZodTypeAny, {
|
|
866
1197
|
type: "textArea";
|
|
867
|
-
meta: {
|
|
868
|
-
schemaVersion: "1.0";
|
|
869
|
-
asRichText?: boolean | undefined;
|
|
870
|
-
};
|
|
871
1198
|
attributes?: {
|
|
872
1199
|
label?: string | undefined;
|
|
873
1200
|
help?: string | undefined;
|
|
@@ -876,13 +1203,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
876
1203
|
minLength?: number | undefined;
|
|
877
1204
|
cols?: number | undefined;
|
|
878
1205
|
rows?: number | undefined;
|
|
1206
|
+
asRichText?: boolean | undefined;
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
meta?: {
|
|
1209
|
+
schemaVersion: "1.0";
|
|
1210
|
+
title?: "Text Area" | undefined;
|
|
1211
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
1212
|
+
defaultJSON?: string | undefined;
|
|
879
1213
|
} | undefined;
|
|
880
1214
|
}, {
|
|
881
1215
|
type: "textArea";
|
|
882
|
-
meta: {
|
|
883
|
-
schemaVersion: "1.0";
|
|
884
|
-
asRichText?: boolean | undefined;
|
|
885
|
-
};
|
|
886
1216
|
attributes?: {
|
|
887
1217
|
label?: string | undefined;
|
|
888
1218
|
help?: string | undefined;
|
|
@@ -891,16 +1221,15 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
891
1221
|
minLength?: number | undefined;
|
|
892
1222
|
cols?: number | undefined;
|
|
893
1223
|
rows?: number | undefined;
|
|
1224
|
+
asRichText?: boolean | undefined;
|
|
894
1225
|
} | undefined;
|
|
895
|
-
|
|
896
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
897
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
898
|
-
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
schemaVersion: "1.0";
|
|
900
|
-
}, {
|
|
1226
|
+
meta?: {
|
|
901
1227
|
schemaVersion: "1.0";
|
|
902
|
-
|
|
903
|
-
|
|
1228
|
+
title?: "Text Area" | undefined;
|
|
1229
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
1230
|
+
defaultJSON?: string | undefined;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
}>, z.ZodObject<{} & {
|
|
904
1233
|
type: z.ZodLiteral<"text">;
|
|
905
1234
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
906
1235
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -925,6 +1254,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
925
1254
|
minLength?: number | undefined;
|
|
926
1255
|
pattern?: string | undefined;
|
|
927
1256
|
}>>;
|
|
1257
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1258
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1259
|
+
} & {
|
|
1260
|
+
title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
|
|
1261
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
|
|
1262
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1263
|
+
}, "strip", z.ZodTypeAny, {
|
|
1264
|
+
schemaVersion: "1.0";
|
|
1265
|
+
title?: "Text Field" | undefined;
|
|
1266
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
1267
|
+
defaultJSON?: string | undefined;
|
|
1268
|
+
}, {
|
|
1269
|
+
schemaVersion: "1.0";
|
|
1270
|
+
title?: "Text Field" | undefined;
|
|
1271
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
1272
|
+
defaultJSON?: string | undefined;
|
|
1273
|
+
}>>;
|
|
928
1274
|
}, "strip", z.ZodTypeAny, {
|
|
929
1275
|
type: "text";
|
|
930
1276
|
attributes?: {
|
|
@@ -937,6 +1283,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
937
1283
|
} | undefined;
|
|
938
1284
|
meta?: {
|
|
939
1285
|
schemaVersion: "1.0";
|
|
1286
|
+
title?: "Text Field" | undefined;
|
|
1287
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
1288
|
+
defaultJSON?: string | undefined;
|
|
940
1289
|
} | undefined;
|
|
941
1290
|
}, {
|
|
942
1291
|
type: "text";
|
|
@@ -950,169 +1299,11 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
950
1299
|
} | undefined;
|
|
951
1300
|
meta?: {
|
|
952
1301
|
schemaVersion: "1.0";
|
|
1302
|
+
title?: "Text Field" | undefined;
|
|
1303
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
1304
|
+
defaultJSON?: string | undefined;
|
|
953
1305
|
} | undefined;
|
|
954
|
-
}>, z.ZodObject<{
|
|
955
|
-
attributes: z.ZodOptional<z.ZodObject<{
|
|
956
|
-
label: z.ZodOptional<z.ZodString>;
|
|
957
|
-
help: z.ZodOptional<z.ZodString>;
|
|
958
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
959
|
-
}, "strip", z.ZodTypeAny, {
|
|
960
|
-
label?: string | undefined;
|
|
961
|
-
help?: string | undefined;
|
|
962
|
-
labelTranslationKey?: string | undefined;
|
|
963
|
-
}, {
|
|
964
|
-
label?: string | undefined;
|
|
965
|
-
help?: string | undefined;
|
|
966
|
-
labelTranslationKey?: string | undefined;
|
|
967
|
-
}>>;
|
|
968
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
969
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
970
|
-
}, "strip", z.ZodTypeAny, {
|
|
971
|
-
schemaVersion: "1.0";
|
|
972
|
-
}, {
|
|
973
|
-
schemaVersion: "1.0";
|
|
974
|
-
}>>;
|
|
975
|
-
} & {
|
|
976
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
977
|
-
graphQL: z.ZodObject<{
|
|
978
|
-
displayFields: z.ZodArray<z.ZodObject<{
|
|
979
|
-
propertyName: z.ZodString;
|
|
980
|
-
label: z.ZodString;
|
|
981
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
982
|
-
}, "strip", z.ZodTypeAny, {
|
|
983
|
-
label: string;
|
|
984
|
-
propertyName: string;
|
|
985
|
-
labelTranslationKey?: string | undefined;
|
|
986
|
-
}, {
|
|
987
|
-
label: string;
|
|
988
|
-
propertyName: string;
|
|
989
|
-
labelTranslationKey?: string | undefined;
|
|
990
|
-
}>, "many">;
|
|
991
|
-
localQueryId: z.ZodOptional<z.ZodString>;
|
|
992
|
-
query: z.ZodOptional<z.ZodString>;
|
|
993
|
-
responseField: z.ZodString;
|
|
994
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
995
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
996
|
-
label: z.ZodOptional<z.ZodString>;
|
|
997
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
998
|
-
name: z.ZodString;
|
|
999
|
-
type: z.ZodString;
|
|
1000
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1001
|
-
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
type: string;
|
|
1003
|
-
name: string;
|
|
1004
|
-
label?: string | undefined;
|
|
1005
|
-
labelTranslationKey?: string | undefined;
|
|
1006
|
-
minLength?: number | undefined;
|
|
1007
|
-
defaultValue?: string | undefined;
|
|
1008
|
-
}, {
|
|
1009
|
-
type: string;
|
|
1010
|
-
name: string;
|
|
1011
|
-
label?: string | undefined;
|
|
1012
|
-
labelTranslationKey?: string | undefined;
|
|
1013
|
-
minLength?: number | undefined;
|
|
1014
|
-
defaultValue?: string | undefined;
|
|
1015
|
-
}>, "many">>;
|
|
1016
|
-
}, "strip", z.ZodTypeAny, {
|
|
1017
|
-
displayFields: {
|
|
1018
|
-
label: string;
|
|
1019
|
-
propertyName: string;
|
|
1020
|
-
labelTranslationKey?: string | undefined;
|
|
1021
|
-
}[];
|
|
1022
|
-
responseField: string;
|
|
1023
|
-
localQueryId?: string | undefined;
|
|
1024
|
-
query?: string | undefined;
|
|
1025
|
-
variables?: {
|
|
1026
|
-
type: string;
|
|
1027
|
-
name: string;
|
|
1028
|
-
label?: string | undefined;
|
|
1029
|
-
labelTranslationKey?: string | undefined;
|
|
1030
|
-
minLength?: number | undefined;
|
|
1031
|
-
defaultValue?: string | undefined;
|
|
1032
|
-
}[] | undefined;
|
|
1033
|
-
}, {
|
|
1034
|
-
displayFields: {
|
|
1035
|
-
label: string;
|
|
1036
|
-
propertyName: string;
|
|
1037
|
-
labelTranslationKey?: string | undefined;
|
|
1038
|
-
}[];
|
|
1039
|
-
responseField: string;
|
|
1040
|
-
localQueryId?: string | undefined;
|
|
1041
|
-
query?: string | undefined;
|
|
1042
|
-
variables?: {
|
|
1043
|
-
type: string;
|
|
1044
|
-
name: string;
|
|
1045
|
-
label?: string | undefined;
|
|
1046
|
-
labelTranslationKey?: string | undefined;
|
|
1047
|
-
minLength?: number | undefined;
|
|
1048
|
-
defaultValue?: string | undefined;
|
|
1049
|
-
}[] | undefined;
|
|
1050
|
-
}>;
|
|
1051
|
-
}, "strip", z.ZodTypeAny, {
|
|
1052
|
-
type: "typeaheadSearch";
|
|
1053
|
-
graphQL: {
|
|
1054
|
-
displayFields: {
|
|
1055
|
-
label: string;
|
|
1056
|
-
propertyName: string;
|
|
1057
|
-
labelTranslationKey?: string | undefined;
|
|
1058
|
-
}[];
|
|
1059
|
-
responseField: string;
|
|
1060
|
-
localQueryId?: string | undefined;
|
|
1061
|
-
query?: string | undefined;
|
|
1062
|
-
variables?: {
|
|
1063
|
-
type: string;
|
|
1064
|
-
name: string;
|
|
1065
|
-
label?: string | undefined;
|
|
1066
|
-
labelTranslationKey?: string | undefined;
|
|
1067
|
-
minLength?: number | undefined;
|
|
1068
|
-
defaultValue?: string | undefined;
|
|
1069
|
-
}[] | undefined;
|
|
1070
|
-
};
|
|
1071
|
-
attributes?: {
|
|
1072
|
-
label?: string | undefined;
|
|
1073
|
-
help?: string | undefined;
|
|
1074
|
-
labelTranslationKey?: string | undefined;
|
|
1075
|
-
} | undefined;
|
|
1076
|
-
meta?: {
|
|
1077
|
-
schemaVersion: "1.0";
|
|
1078
|
-
} | undefined;
|
|
1079
|
-
}, {
|
|
1080
|
-
type: "typeaheadSearch";
|
|
1081
|
-
graphQL: {
|
|
1082
|
-
displayFields: {
|
|
1083
|
-
label: string;
|
|
1084
|
-
propertyName: string;
|
|
1085
|
-
labelTranslationKey?: string | undefined;
|
|
1086
|
-
}[];
|
|
1087
|
-
responseField: string;
|
|
1088
|
-
localQueryId?: string | undefined;
|
|
1089
|
-
query?: string | undefined;
|
|
1090
|
-
variables?: {
|
|
1091
|
-
type: string;
|
|
1092
|
-
name: string;
|
|
1093
|
-
label?: string | undefined;
|
|
1094
|
-
labelTranslationKey?: string | undefined;
|
|
1095
|
-
minLength?: number | undefined;
|
|
1096
|
-
defaultValue?: string | undefined;
|
|
1097
|
-
}[] | undefined;
|
|
1098
|
-
};
|
|
1099
|
-
attributes?: {
|
|
1100
|
-
label?: string | undefined;
|
|
1101
|
-
help?: string | undefined;
|
|
1102
|
-
labelTranslationKey?: string | undefined;
|
|
1103
|
-
} | undefined;
|
|
1104
|
-
meta?: {
|
|
1105
|
-
schemaVersion: "1.0";
|
|
1106
|
-
} | undefined;
|
|
1107
|
-
}>, z.ZodObject<{
|
|
1108
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1109
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1110
|
-
}, "strip", z.ZodTypeAny, {
|
|
1111
|
-
schemaVersion: "1.0";
|
|
1112
|
-
}, {
|
|
1113
|
-
schemaVersion: "1.0";
|
|
1114
|
-
}>>;
|
|
1115
|
-
} & {
|
|
1306
|
+
}>, z.ZodObject<{} & {
|
|
1116
1307
|
type: z.ZodLiteral<"url">;
|
|
1117
1308
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1118
1309
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1137,6 +1328,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
1137
1328
|
minLength?: number | undefined;
|
|
1138
1329
|
pattern?: string | undefined;
|
|
1139
1330
|
}>>;
|
|
1331
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1332
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1333
|
+
} & {
|
|
1334
|
+
title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
|
|
1335
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
|
|
1336
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1337
|
+
}, "strip", z.ZodTypeAny, {
|
|
1338
|
+
schemaVersion: "1.0";
|
|
1339
|
+
title?: "URL Field" | undefined;
|
|
1340
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
1341
|
+
defaultJSON?: string | undefined;
|
|
1342
|
+
}, {
|
|
1343
|
+
schemaVersion: "1.0";
|
|
1344
|
+
title?: "URL Field" | undefined;
|
|
1345
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
1346
|
+
defaultJSON?: string | undefined;
|
|
1347
|
+
}>>;
|
|
1140
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1141
1349
|
type: "url";
|
|
1142
1350
|
attributes?: {
|
|
@@ -1149,6 +1357,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
1149
1357
|
} | undefined;
|
|
1150
1358
|
meta?: {
|
|
1151
1359
|
schemaVersion: "1.0";
|
|
1360
|
+
title?: "URL Field" | undefined;
|
|
1361
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
1362
|
+
defaultJSON?: string | undefined;
|
|
1152
1363
|
} | undefined;
|
|
1153
1364
|
}, {
|
|
1154
1365
|
type: "url";
|
|
@@ -1162,21 +1373,185 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
|
|
|
1162
1373
|
} | undefined;
|
|
1163
1374
|
meta?: {
|
|
1164
1375
|
schemaVersion: "1.0";
|
|
1376
|
+
title?: "URL Field" | undefined;
|
|
1377
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
1378
|
+
defaultJSON?: string | undefined;
|
|
1165
1379
|
} | undefined;
|
|
1166
1380
|
}>]>;
|
|
1167
1381
|
export declare const TableColumn: z.ZodObject<{
|
|
1168
1382
|
heading: z.ZodOptional<z.ZodString>;
|
|
1169
1383
|
content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1170
|
-
|
|
1384
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1385
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
}, "strip", z.ZodTypeAny, {
|
|
1389
|
+
label?: string | undefined;
|
|
1390
|
+
help?: string | undefined;
|
|
1391
|
+
labelTranslationKey?: string | undefined;
|
|
1392
|
+
}, {
|
|
1393
|
+
label?: string | undefined;
|
|
1394
|
+
help?: string | undefined;
|
|
1395
|
+
labelTranslationKey?: string | undefined;
|
|
1396
|
+
}>>;
|
|
1397
|
+
graphQL: z.ZodObject<{
|
|
1398
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
1399
|
+
propertyName: z.ZodString;
|
|
1400
|
+
label: z.ZodString;
|
|
1401
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
}, "strip", z.ZodTypeAny, {
|
|
1403
|
+
label: string;
|
|
1404
|
+
propertyName: string;
|
|
1405
|
+
labelTranslationKey?: string | undefined;
|
|
1406
|
+
}, {
|
|
1407
|
+
label: string;
|
|
1408
|
+
propertyName: string;
|
|
1409
|
+
labelTranslationKey?: string | undefined;
|
|
1410
|
+
}>, "many">;
|
|
1411
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
1412
|
+
query: z.ZodOptional<z.ZodString>;
|
|
1413
|
+
responseField: z.ZodString;
|
|
1414
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1415
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1416
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
name: z.ZodString;
|
|
1419
|
+
type: z.ZodString;
|
|
1420
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
}, "strip", z.ZodTypeAny, {
|
|
1422
|
+
type: string;
|
|
1423
|
+
name: string;
|
|
1424
|
+
label?: string | undefined;
|
|
1425
|
+
labelTranslationKey?: string | undefined;
|
|
1426
|
+
minLength?: number | undefined;
|
|
1427
|
+
defaultValue?: string | undefined;
|
|
1428
|
+
}, {
|
|
1429
|
+
type: string;
|
|
1430
|
+
name: string;
|
|
1431
|
+
label?: string | undefined;
|
|
1432
|
+
labelTranslationKey?: string | undefined;
|
|
1433
|
+
minLength?: number | undefined;
|
|
1434
|
+
defaultValue?: string | undefined;
|
|
1435
|
+
}>, "many">>;
|
|
1436
|
+
}, "strip", z.ZodTypeAny, {
|
|
1437
|
+
displayFields: {
|
|
1438
|
+
label: string;
|
|
1439
|
+
propertyName: string;
|
|
1440
|
+
labelTranslationKey?: string | undefined;
|
|
1441
|
+
}[];
|
|
1442
|
+
responseField: string;
|
|
1443
|
+
localQueryId?: string | undefined;
|
|
1444
|
+
query?: string | undefined;
|
|
1445
|
+
variables?: {
|
|
1446
|
+
type: string;
|
|
1447
|
+
name: string;
|
|
1448
|
+
label?: string | undefined;
|
|
1449
|
+
labelTranslationKey?: string | undefined;
|
|
1450
|
+
minLength?: number | undefined;
|
|
1451
|
+
defaultValue?: string | undefined;
|
|
1452
|
+
}[] | undefined;
|
|
1453
|
+
}, {
|
|
1454
|
+
displayFields: {
|
|
1455
|
+
label: string;
|
|
1456
|
+
propertyName: string;
|
|
1457
|
+
labelTranslationKey?: string | undefined;
|
|
1458
|
+
}[];
|
|
1459
|
+
responseField: string;
|
|
1460
|
+
localQueryId?: string | undefined;
|
|
1461
|
+
query?: string | undefined;
|
|
1462
|
+
variables?: {
|
|
1463
|
+
type: string;
|
|
1464
|
+
name: string;
|
|
1465
|
+
label?: string | undefined;
|
|
1466
|
+
labelTranslationKey?: string | undefined;
|
|
1467
|
+
minLength?: number | undefined;
|
|
1468
|
+
defaultValue?: string | undefined;
|
|
1469
|
+
}[] | undefined;
|
|
1470
|
+
}>;
|
|
1471
|
+
} & {
|
|
1472
|
+
type: z.ZodLiteral<"affiliationSearch">;
|
|
1473
|
+
meta: z.ZodObject<{
|
|
1171
1474
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1475
|
+
} & {
|
|
1476
|
+
title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
|
|
1477
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
|
|
1478
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1172
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1173
1480
|
schemaVersion: "1.0";
|
|
1481
|
+
title?: "Affiliation Search" | undefined;
|
|
1482
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
1483
|
+
defaultJSON?: string | undefined;
|
|
1174
1484
|
}, {
|
|
1175
1485
|
schemaVersion: "1.0";
|
|
1176
|
-
|
|
1177
|
-
|
|
1486
|
+
title?: "Affiliation Search" | undefined;
|
|
1487
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
1488
|
+
defaultJSON?: string | undefined;
|
|
1489
|
+
}>;
|
|
1490
|
+
}, "strip", z.ZodTypeAny, {
|
|
1491
|
+
type: "affiliationSearch";
|
|
1492
|
+
meta: {
|
|
1493
|
+
schemaVersion: "1.0";
|
|
1494
|
+
title?: "Affiliation Search" | undefined;
|
|
1495
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
1496
|
+
defaultJSON?: string | undefined;
|
|
1497
|
+
};
|
|
1498
|
+
graphQL: {
|
|
1499
|
+
displayFields: {
|
|
1500
|
+
label: string;
|
|
1501
|
+
propertyName: string;
|
|
1502
|
+
labelTranslationKey?: string | undefined;
|
|
1503
|
+
}[];
|
|
1504
|
+
responseField: string;
|
|
1505
|
+
localQueryId?: string | undefined;
|
|
1506
|
+
query?: string | undefined;
|
|
1507
|
+
variables?: {
|
|
1508
|
+
type: string;
|
|
1509
|
+
name: string;
|
|
1510
|
+
label?: string | undefined;
|
|
1511
|
+
labelTranslationKey?: string | undefined;
|
|
1512
|
+
minLength?: number | undefined;
|
|
1513
|
+
defaultValue?: string | undefined;
|
|
1514
|
+
}[] | undefined;
|
|
1515
|
+
};
|
|
1516
|
+
attributes?: {
|
|
1517
|
+
label?: string | undefined;
|
|
1518
|
+
help?: string | undefined;
|
|
1519
|
+
labelTranslationKey?: string | undefined;
|
|
1520
|
+
} | undefined;
|
|
1521
|
+
}, {
|
|
1522
|
+
type: "affiliationSearch";
|
|
1523
|
+
meta: {
|
|
1524
|
+
schemaVersion: "1.0";
|
|
1525
|
+
title?: "Affiliation Search" | undefined;
|
|
1526
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
1527
|
+
defaultJSON?: string | undefined;
|
|
1528
|
+
};
|
|
1529
|
+
graphQL: {
|
|
1530
|
+
displayFields: {
|
|
1531
|
+
label: string;
|
|
1532
|
+
propertyName: string;
|
|
1533
|
+
labelTranslationKey?: string | undefined;
|
|
1534
|
+
}[];
|
|
1535
|
+
responseField: string;
|
|
1536
|
+
localQueryId?: string | undefined;
|
|
1537
|
+
query?: string | undefined;
|
|
1538
|
+
variables?: {
|
|
1539
|
+
type: string;
|
|
1540
|
+
name: string;
|
|
1541
|
+
label?: string | undefined;
|
|
1542
|
+
labelTranslationKey?: string | undefined;
|
|
1543
|
+
minLength?: number | undefined;
|
|
1544
|
+
defaultValue?: string | undefined;
|
|
1545
|
+
}[] | undefined;
|
|
1546
|
+
};
|
|
1547
|
+
attributes?: {
|
|
1548
|
+
label?: string | undefined;
|
|
1549
|
+
help?: string | undefined;
|
|
1550
|
+
labelTranslationKey?: string | undefined;
|
|
1551
|
+
} | undefined;
|
|
1552
|
+
}>, z.ZodObject<{} & {
|
|
1178
1553
|
type: z.ZodLiteral<"boolean">;
|
|
1179
|
-
attributes: z.ZodObject<{
|
|
1554
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1180
1555
|
label: z.ZodOptional<z.ZodString>;
|
|
1181
1556
|
help: z.ZodOptional<z.ZodString>;
|
|
1182
1557
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1192,28 +1567,51 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1192
1567
|
help?: string | undefined;
|
|
1193
1568
|
labelTranslationKey?: string | undefined;
|
|
1194
1569
|
checked?: boolean | undefined;
|
|
1195
|
-
}
|
|
1570
|
+
}>>;
|
|
1571
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1572
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1573
|
+
} & {
|
|
1574
|
+
title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
|
|
1575
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
|
|
1576
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1577
|
+
}, "strip", z.ZodTypeAny, {
|
|
1578
|
+
schemaVersion: "1.0";
|
|
1579
|
+
title?: "Yes/No Field" | undefined;
|
|
1580
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
1581
|
+
defaultJSON?: string | undefined;
|
|
1582
|
+
}, {
|
|
1583
|
+
schemaVersion: "1.0";
|
|
1584
|
+
title?: "Yes/No Field" | undefined;
|
|
1585
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
1586
|
+
defaultJSON?: string | undefined;
|
|
1587
|
+
}>>;
|
|
1196
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1197
1589
|
type: "boolean";
|
|
1198
|
-
attributes
|
|
1590
|
+
attributes?: {
|
|
1199
1591
|
label?: string | undefined;
|
|
1200
1592
|
help?: string | undefined;
|
|
1201
1593
|
labelTranslationKey?: string | undefined;
|
|
1202
1594
|
checked?: boolean | undefined;
|
|
1203
|
-
};
|
|
1595
|
+
} | undefined;
|
|
1204
1596
|
meta?: {
|
|
1205
1597
|
schemaVersion: "1.0";
|
|
1598
|
+
title?: "Yes/No Field" | undefined;
|
|
1599
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
1600
|
+
defaultJSON?: string | undefined;
|
|
1206
1601
|
} | undefined;
|
|
1207
1602
|
}, {
|
|
1208
1603
|
type: "boolean";
|
|
1209
|
-
attributes
|
|
1604
|
+
attributes?: {
|
|
1210
1605
|
label?: string | undefined;
|
|
1211
1606
|
help?: string | undefined;
|
|
1212
1607
|
labelTranslationKey?: string | undefined;
|
|
1213
1608
|
checked?: boolean | undefined;
|
|
1214
|
-
};
|
|
1609
|
+
} | undefined;
|
|
1215
1610
|
meta?: {
|
|
1216
1611
|
schemaVersion: "1.0";
|
|
1612
|
+
title?: "Yes/No Field" | undefined;
|
|
1613
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
1614
|
+
defaultJSON?: string | undefined;
|
|
1217
1615
|
} | undefined;
|
|
1218
1616
|
}>, z.ZodObject<{
|
|
1219
1617
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -1229,13 +1627,6 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1229
1627
|
help?: string | undefined;
|
|
1230
1628
|
labelTranslationKey?: string | undefined;
|
|
1231
1629
|
}>>;
|
|
1232
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1233
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1234
|
-
}, "strip", z.ZodTypeAny, {
|
|
1235
|
-
schemaVersion: "1.0";
|
|
1236
|
-
}, {
|
|
1237
|
-
schemaVersion: "1.0";
|
|
1238
|
-
}>>;
|
|
1239
1630
|
} & {
|
|
1240
1631
|
type: z.ZodLiteral<"checkBoxes">;
|
|
1241
1632
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -1252,6 +1643,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1252
1643
|
label: string;
|
|
1253
1644
|
checked?: boolean | undefined;
|
|
1254
1645
|
}>, "many">;
|
|
1646
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1647
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1648
|
+
} & {
|
|
1649
|
+
title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
|
|
1650
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
|
|
1651
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1652
|
+
}, "strip", z.ZodTypeAny, {
|
|
1653
|
+
schemaVersion: "1.0";
|
|
1654
|
+
title?: "Check Boxes" | undefined;
|
|
1655
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
1656
|
+
defaultJSON?: string | undefined;
|
|
1657
|
+
}, {
|
|
1658
|
+
schemaVersion: "1.0";
|
|
1659
|
+
title?: "Check Boxes" | undefined;
|
|
1660
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
1661
|
+
defaultJSON?: string | undefined;
|
|
1662
|
+
}>>;
|
|
1255
1663
|
}, "strip", z.ZodTypeAny, {
|
|
1256
1664
|
options: {
|
|
1257
1665
|
value: string;
|
|
@@ -1266,6 +1674,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1266
1674
|
} | undefined;
|
|
1267
1675
|
meta?: {
|
|
1268
1676
|
schemaVersion: "1.0";
|
|
1677
|
+
title?: "Check Boxes" | undefined;
|
|
1678
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
1679
|
+
defaultJSON?: string | undefined;
|
|
1269
1680
|
} | undefined;
|
|
1270
1681
|
}, {
|
|
1271
1682
|
options: {
|
|
@@ -1281,16 +1692,11 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1281
1692
|
} | undefined;
|
|
1282
1693
|
meta?: {
|
|
1283
1694
|
schemaVersion: "1.0";
|
|
1695
|
+
title?: "Check Boxes" | undefined;
|
|
1696
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
1697
|
+
defaultJSON?: string | undefined;
|
|
1284
1698
|
} | undefined;
|
|
1285
|
-
}>, z.ZodObject<{
|
|
1286
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1287
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1288
|
-
}, "strip", z.ZodTypeAny, {
|
|
1289
|
-
schemaVersion: "1.0";
|
|
1290
|
-
}, {
|
|
1291
|
-
schemaVersion: "1.0";
|
|
1292
|
-
}>>;
|
|
1293
|
-
} & {
|
|
1699
|
+
}>, z.ZodObject<{} & {
|
|
1294
1700
|
type: z.ZodLiteral<"currency">;
|
|
1295
1701
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1296
1702
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1319,6 +1725,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1319
1725
|
step?: number | undefined;
|
|
1320
1726
|
denomination?: string | undefined;
|
|
1321
1727
|
}>>;
|
|
1728
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1729
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1730
|
+
} & {
|
|
1731
|
+
title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
|
|
1732
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
|
|
1733
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1734
|
+
}, "strip", z.ZodTypeAny, {
|
|
1735
|
+
schemaVersion: "1.0";
|
|
1736
|
+
title?: "Currency Field" | undefined;
|
|
1737
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
1738
|
+
defaultJSON?: string | undefined;
|
|
1739
|
+
}, {
|
|
1740
|
+
schemaVersion: "1.0";
|
|
1741
|
+
title?: "Currency Field" | undefined;
|
|
1742
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
1743
|
+
defaultJSON?: string | undefined;
|
|
1744
|
+
}>>;
|
|
1322
1745
|
}, "strip", z.ZodTypeAny, {
|
|
1323
1746
|
type: "currency";
|
|
1324
1747
|
attributes?: {
|
|
@@ -1332,6 +1755,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1332
1755
|
} | undefined;
|
|
1333
1756
|
meta?: {
|
|
1334
1757
|
schemaVersion: "1.0";
|
|
1758
|
+
title?: "Currency Field" | undefined;
|
|
1759
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
1760
|
+
defaultJSON?: string | undefined;
|
|
1335
1761
|
} | undefined;
|
|
1336
1762
|
}, {
|
|
1337
1763
|
type: "currency";
|
|
@@ -1346,16 +1772,11 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1346
1772
|
} | undefined;
|
|
1347
1773
|
meta?: {
|
|
1348
1774
|
schemaVersion: "1.0";
|
|
1775
|
+
title?: "Currency Field" | undefined;
|
|
1776
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
1777
|
+
defaultJSON?: string | undefined;
|
|
1349
1778
|
} | undefined;
|
|
1350
|
-
}>, z.ZodObject<{
|
|
1351
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1352
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1353
|
-
}, "strip", z.ZodTypeAny, {
|
|
1354
|
-
schemaVersion: "1.0";
|
|
1355
|
-
}, {
|
|
1356
|
-
schemaVersion: "1.0";
|
|
1357
|
-
}>>;
|
|
1358
|
-
} & {
|
|
1779
|
+
}>, z.ZodObject<{} & {
|
|
1359
1780
|
type: z.ZodLiteral<"date">;
|
|
1360
1781
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1361
1782
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1380,6 +1801,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1380
1801
|
min?: string | undefined;
|
|
1381
1802
|
step?: number | undefined;
|
|
1382
1803
|
}>>;
|
|
1804
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1805
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1806
|
+
} & {
|
|
1807
|
+
title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
|
|
1808
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
|
|
1809
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1810
|
+
}, "strip", z.ZodTypeAny, {
|
|
1811
|
+
schemaVersion: "1.0";
|
|
1812
|
+
title?: "Date Field" | undefined;
|
|
1813
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
1814
|
+
defaultJSON?: string | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
schemaVersion: "1.0";
|
|
1817
|
+
title?: "Date Field" | undefined;
|
|
1818
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
1819
|
+
defaultJSON?: string | undefined;
|
|
1820
|
+
}>>;
|
|
1383
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1384
1822
|
type: "date";
|
|
1385
1823
|
attributes?: {
|
|
@@ -1392,6 +1830,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1392
1830
|
} | undefined;
|
|
1393
1831
|
meta?: {
|
|
1394
1832
|
schemaVersion: "1.0";
|
|
1833
|
+
title?: "Date Field" | undefined;
|
|
1834
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
1835
|
+
defaultJSON?: string | undefined;
|
|
1395
1836
|
} | undefined;
|
|
1396
1837
|
}, {
|
|
1397
1838
|
type: "date";
|
|
@@ -1405,6 +1846,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1405
1846
|
} | undefined;
|
|
1406
1847
|
meta?: {
|
|
1407
1848
|
schemaVersion: "1.0";
|
|
1849
|
+
title?: "Date Field" | undefined;
|
|
1850
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
1851
|
+
defaultJSON?: string | undefined;
|
|
1408
1852
|
} | undefined;
|
|
1409
1853
|
}>, z.ZodObject<{
|
|
1410
1854
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -1420,13 +1864,6 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1420
1864
|
help?: string | undefined;
|
|
1421
1865
|
labelTranslationKey?: string | undefined;
|
|
1422
1866
|
}>>;
|
|
1423
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1424
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1425
|
-
}, "strip", z.ZodTypeAny, {
|
|
1426
|
-
schemaVersion: "1.0";
|
|
1427
|
-
}, {
|
|
1428
|
-
schemaVersion: "1.0";
|
|
1429
|
-
}>>;
|
|
1430
1867
|
} & {
|
|
1431
1868
|
type: z.ZodLiteral<"dateRange">;
|
|
1432
1869
|
columns: z.ZodObject<{
|
|
@@ -1511,6 +1948,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1511
1948
|
step?: number | undefined;
|
|
1512
1949
|
} | undefined;
|
|
1513
1950
|
}>;
|
|
1951
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1952
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1953
|
+
} & {
|
|
1954
|
+
title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
|
|
1955
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
|
|
1956
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
1957
|
+
}, "strip", z.ZodTypeAny, {
|
|
1958
|
+
schemaVersion: "1.0";
|
|
1959
|
+
title?: "Date Range" | undefined;
|
|
1960
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
1961
|
+
defaultJSON?: string | undefined;
|
|
1962
|
+
}, {
|
|
1963
|
+
schemaVersion: "1.0";
|
|
1964
|
+
title?: "Date Range" | undefined;
|
|
1965
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
1966
|
+
defaultJSON?: string | undefined;
|
|
1967
|
+
}>>;
|
|
1514
1968
|
}, "strip", z.ZodTypeAny, {
|
|
1515
1969
|
type: "dateRange";
|
|
1516
1970
|
columns: {
|
|
@@ -1538,6 +1992,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1538
1992
|
} | undefined;
|
|
1539
1993
|
meta?: {
|
|
1540
1994
|
schemaVersion: "1.0";
|
|
1995
|
+
title?: "Date Range" | undefined;
|
|
1996
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
1997
|
+
defaultJSON?: string | undefined;
|
|
1541
1998
|
} | undefined;
|
|
1542
1999
|
}, {
|
|
1543
2000
|
type: "dateRange";
|
|
@@ -1566,16 +2023,11 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1566
2023
|
} | undefined;
|
|
1567
2024
|
meta?: {
|
|
1568
2025
|
schemaVersion: "1.0";
|
|
2026
|
+
title?: "Date Range" | undefined;
|
|
2027
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
2028
|
+
defaultJSON?: string | undefined;
|
|
1569
2029
|
} | undefined;
|
|
1570
|
-
}>, z.ZodObject<{
|
|
1571
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1572
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1573
|
-
}, "strip", z.ZodTypeAny, {
|
|
1574
|
-
schemaVersion: "1.0";
|
|
1575
|
-
}, {
|
|
1576
|
-
schemaVersion: "1.0";
|
|
1577
|
-
}>>;
|
|
1578
|
-
} & {
|
|
2030
|
+
}>, z.ZodObject<{} & {
|
|
1579
2031
|
type: z.ZodLiteral<"email">;
|
|
1580
2032
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1581
2033
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1604,6 +2056,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1604
2056
|
pattern?: string | undefined;
|
|
1605
2057
|
multiple?: boolean | undefined;
|
|
1606
2058
|
}>>;
|
|
2059
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2060
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2061
|
+
} & {
|
|
2062
|
+
title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
|
|
2063
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
|
|
2064
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2065
|
+
}, "strip", z.ZodTypeAny, {
|
|
2066
|
+
schemaVersion: "1.0";
|
|
2067
|
+
title?: "Email Field" | undefined;
|
|
2068
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2069
|
+
defaultJSON?: string | undefined;
|
|
2070
|
+
}, {
|
|
2071
|
+
schemaVersion: "1.0";
|
|
2072
|
+
title?: "Email Field" | undefined;
|
|
2073
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2074
|
+
defaultJSON?: string | undefined;
|
|
2075
|
+
}>>;
|
|
1607
2076
|
}, "strip", z.ZodTypeAny, {
|
|
1608
2077
|
type: "email";
|
|
1609
2078
|
attributes?: {
|
|
@@ -1617,6 +2086,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1617
2086
|
} | undefined;
|
|
1618
2087
|
meta?: {
|
|
1619
2088
|
schemaVersion: "1.0";
|
|
2089
|
+
title?: "Email Field" | undefined;
|
|
2090
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2091
|
+
defaultJSON?: string | undefined;
|
|
1620
2092
|
} | undefined;
|
|
1621
2093
|
}, {
|
|
1622
2094
|
type: "email";
|
|
@@ -1631,16 +2103,11 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1631
2103
|
} | undefined;
|
|
1632
2104
|
meta?: {
|
|
1633
2105
|
schemaVersion: "1.0";
|
|
2106
|
+
title?: "Email Field" | undefined;
|
|
2107
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2108
|
+
defaultJSON?: string | undefined;
|
|
1634
2109
|
} | undefined;
|
|
1635
|
-
}>, z.ZodObject<{
|
|
1636
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1637
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1638
|
-
}, "strip", z.ZodTypeAny, {
|
|
1639
|
-
schemaVersion: "1.0";
|
|
1640
|
-
}, {
|
|
1641
|
-
schemaVersion: "1.0";
|
|
1642
|
-
}>>;
|
|
1643
|
-
} & {
|
|
2110
|
+
}>, z.ZodObject<{} & {
|
|
1644
2111
|
type: z.ZodLiteral<"filteredSearch">;
|
|
1645
2112
|
graphQL: z.ZodObject<{
|
|
1646
2113
|
displayFields: z.ZodArray<z.ZodObject<{
|
|
@@ -1733,6 +2200,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1733
2200
|
labelTranslationKey?: string | undefined;
|
|
1734
2201
|
multiple?: boolean | undefined;
|
|
1735
2202
|
}>>;
|
|
2203
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2204
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2205
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
defaultJSON: z.ZodOptional<z.ZodString>;
|
|
2207
|
+
} & {
|
|
2208
|
+
title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
|
|
2209
|
+
}, "strip", z.ZodTypeAny, {
|
|
2210
|
+
schemaVersion: "1.0";
|
|
2211
|
+
title?: "Not yet implemented" | undefined;
|
|
2212
|
+
usageDescription?: string | undefined;
|
|
2213
|
+
defaultJSON?: string | undefined;
|
|
2214
|
+
}, {
|
|
2215
|
+
schemaVersion: "1.0";
|
|
2216
|
+
title?: "Not yet implemented" | undefined;
|
|
2217
|
+
usageDescription?: string | undefined;
|
|
2218
|
+
defaultJSON?: string | undefined;
|
|
2219
|
+
}>>;
|
|
1736
2220
|
}, "strip", z.ZodTypeAny, {
|
|
1737
2221
|
type: "filteredSearch";
|
|
1738
2222
|
graphQL: {
|
|
@@ -1761,6 +2245,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1761
2245
|
} | undefined;
|
|
1762
2246
|
meta?: {
|
|
1763
2247
|
schemaVersion: "1.0";
|
|
2248
|
+
title?: "Not yet implemented" | undefined;
|
|
2249
|
+
usageDescription?: string | undefined;
|
|
2250
|
+
defaultJSON?: string | undefined;
|
|
1764
2251
|
} | undefined;
|
|
1765
2252
|
}, {
|
|
1766
2253
|
type: "filteredSearch";
|
|
@@ -1790,16 +2277,11 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1790
2277
|
} | undefined;
|
|
1791
2278
|
meta?: {
|
|
1792
2279
|
schemaVersion: "1.0";
|
|
2280
|
+
title?: "Not yet implemented" | undefined;
|
|
2281
|
+
usageDescription?: string | undefined;
|
|
2282
|
+
defaultJSON?: string | undefined;
|
|
1793
2283
|
} | undefined;
|
|
1794
|
-
}>, z.ZodObject<{
|
|
1795
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1796
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1797
|
-
}, "strip", z.ZodTypeAny, {
|
|
1798
|
-
schemaVersion: "1.0";
|
|
1799
|
-
}, {
|
|
1800
|
-
schemaVersion: "1.0";
|
|
1801
|
-
}>>;
|
|
1802
|
-
} & {
|
|
2284
|
+
}>, z.ZodObject<{} & {
|
|
1803
2285
|
type: z.ZodLiteral<"number">;
|
|
1804
2286
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
1805
2287
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1824,6 +2306,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1824
2306
|
min?: number | undefined;
|
|
1825
2307
|
step?: number | undefined;
|
|
1826
2308
|
}>>;
|
|
2309
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2310
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2311
|
+
} & {
|
|
2312
|
+
title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
|
|
2313
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
|
|
2314
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2315
|
+
}, "strip", z.ZodTypeAny, {
|
|
2316
|
+
schemaVersion: "1.0";
|
|
2317
|
+
title?: "Number Field" | undefined;
|
|
2318
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2319
|
+
defaultJSON?: string | undefined;
|
|
2320
|
+
}, {
|
|
2321
|
+
schemaVersion: "1.0";
|
|
2322
|
+
title?: "Number Field" | undefined;
|
|
2323
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2324
|
+
defaultJSON?: string | undefined;
|
|
2325
|
+
}>>;
|
|
1827
2326
|
}, "strip", z.ZodTypeAny, {
|
|
1828
2327
|
type: "number";
|
|
1829
2328
|
attributes?: {
|
|
@@ -1836,6 +2335,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1836
2335
|
} | undefined;
|
|
1837
2336
|
meta?: {
|
|
1838
2337
|
schemaVersion: "1.0";
|
|
2338
|
+
title?: "Number Field" | undefined;
|
|
2339
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2340
|
+
defaultJSON?: string | undefined;
|
|
1839
2341
|
} | undefined;
|
|
1840
2342
|
}, {
|
|
1841
2343
|
type: "number";
|
|
@@ -1849,6 +2351,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1849
2351
|
} | undefined;
|
|
1850
2352
|
meta?: {
|
|
1851
2353
|
schemaVersion: "1.0";
|
|
2354
|
+
title?: "Number Field" | undefined;
|
|
2355
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2356
|
+
defaultJSON?: string | undefined;
|
|
1852
2357
|
} | undefined;
|
|
1853
2358
|
}>, z.ZodObject<{
|
|
1854
2359
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -1864,13 +2369,6 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1864
2369
|
help?: string | undefined;
|
|
1865
2370
|
labelTranslationKey?: string | undefined;
|
|
1866
2371
|
}>>;
|
|
1867
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1868
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1869
|
-
}, "strip", z.ZodTypeAny, {
|
|
1870
|
-
schemaVersion: "1.0";
|
|
1871
|
-
}, {
|
|
1872
|
-
schemaVersion: "1.0";
|
|
1873
|
-
}>>;
|
|
1874
2372
|
} & {
|
|
1875
2373
|
type: z.ZodLiteral<"radioButtons">;
|
|
1876
2374
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -1887,6 +2385,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1887
2385
|
label: string;
|
|
1888
2386
|
selected?: boolean | undefined;
|
|
1889
2387
|
}>, "many">;
|
|
2388
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2389
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2390
|
+
} & {
|
|
2391
|
+
title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
|
|
2392
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
|
|
2393
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2394
|
+
}, "strip", z.ZodTypeAny, {
|
|
2395
|
+
schemaVersion: "1.0";
|
|
2396
|
+
title?: "Radio Buttons" | undefined;
|
|
2397
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
2398
|
+
defaultJSON?: string | undefined;
|
|
2399
|
+
}, {
|
|
2400
|
+
schemaVersion: "1.0";
|
|
2401
|
+
title?: "Radio Buttons" | undefined;
|
|
2402
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
2403
|
+
defaultJSON?: string | undefined;
|
|
2404
|
+
}>>;
|
|
1890
2405
|
}, "strip", z.ZodTypeAny, {
|
|
1891
2406
|
options: {
|
|
1892
2407
|
value: string;
|
|
@@ -1901,6 +2416,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1901
2416
|
} | undefined;
|
|
1902
2417
|
meta?: {
|
|
1903
2418
|
schemaVersion: "1.0";
|
|
2419
|
+
title?: "Radio Buttons" | undefined;
|
|
2420
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
2421
|
+
defaultJSON?: string | undefined;
|
|
1904
2422
|
} | undefined;
|
|
1905
2423
|
}, {
|
|
1906
2424
|
options: {
|
|
@@ -1916,16 +2434,11 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1916
2434
|
} | undefined;
|
|
1917
2435
|
meta?: {
|
|
1918
2436
|
schemaVersion: "1.0";
|
|
2437
|
+
title?: "Radio Buttons" | undefined;
|
|
2438
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
2439
|
+
defaultJSON?: string | undefined;
|
|
1919
2440
|
} | undefined;
|
|
1920
|
-
}>, z.ZodObject<{
|
|
1921
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
1922
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1923
|
-
}, "strip", z.ZodTypeAny, {
|
|
1924
|
-
schemaVersion: "1.0";
|
|
1925
|
-
}, {
|
|
1926
|
-
schemaVersion: "1.0";
|
|
1927
|
-
}>>;
|
|
1928
|
-
} & {
|
|
2441
|
+
}>, z.ZodObject<{} & {
|
|
1929
2442
|
type: z.ZodLiteral<"selectBox">;
|
|
1930
2443
|
options: z.ZodArray<z.ZodObject<{
|
|
1931
2444
|
label: z.ZodString;
|
|
@@ -1941,22 +2454,39 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1941
2454
|
label: string;
|
|
1942
2455
|
selected?: boolean | undefined;
|
|
1943
2456
|
}>, "many">;
|
|
1944
|
-
attributes: z.
|
|
2457
|
+
attributes: z.ZodObject<{
|
|
1945
2458
|
label: z.ZodOptional<z.ZodString>;
|
|
1946
2459
|
help: z.ZodOptional<z.ZodString>;
|
|
1947
2460
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1948
2461
|
} & {
|
|
1949
|
-
multiple: z.
|
|
2462
|
+
multiple: z.ZodLiteral<false>;
|
|
1950
2463
|
}, "strip", z.ZodTypeAny, {
|
|
2464
|
+
multiple: false;
|
|
1951
2465
|
label?: string | undefined;
|
|
1952
2466
|
help?: string | undefined;
|
|
1953
2467
|
labelTranslationKey?: string | undefined;
|
|
1954
|
-
multiple?: boolean | undefined;
|
|
1955
2468
|
}, {
|
|
2469
|
+
multiple: false;
|
|
1956
2470
|
label?: string | undefined;
|
|
1957
2471
|
help?: string | undefined;
|
|
1958
2472
|
labelTranslationKey?: string | undefined;
|
|
1959
|
-
|
|
2473
|
+
}>;
|
|
2474
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2475
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2476
|
+
} & {
|
|
2477
|
+
title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
|
|
2478
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
|
|
2479
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2480
|
+
}, "strip", z.ZodTypeAny, {
|
|
2481
|
+
schemaVersion: "1.0";
|
|
2482
|
+
title?: "Select Box" | undefined;
|
|
2483
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2484
|
+
defaultJSON?: string | undefined;
|
|
2485
|
+
}, {
|
|
2486
|
+
schemaVersion: "1.0";
|
|
2487
|
+
title?: "Select Box" | undefined;
|
|
2488
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2489
|
+
defaultJSON?: string | undefined;
|
|
1960
2490
|
}>>;
|
|
1961
2491
|
}, "strip", z.ZodTypeAny, {
|
|
1962
2492
|
options: {
|
|
@@ -1965,14 +2495,17 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1965
2495
|
selected?: boolean | undefined;
|
|
1966
2496
|
}[];
|
|
1967
2497
|
type: "selectBox";
|
|
1968
|
-
attributes
|
|
2498
|
+
attributes: {
|
|
2499
|
+
multiple: false;
|
|
1969
2500
|
label?: string | undefined;
|
|
1970
2501
|
help?: string | undefined;
|
|
1971
2502
|
labelTranslationKey?: string | undefined;
|
|
1972
|
-
|
|
1973
|
-
} | undefined;
|
|
2503
|
+
};
|
|
1974
2504
|
meta?: {
|
|
1975
2505
|
schemaVersion: "1.0";
|
|
2506
|
+
title?: "Select Box" | undefined;
|
|
2507
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2508
|
+
defaultJSON?: string | undefined;
|
|
1976
2509
|
} | undefined;
|
|
1977
2510
|
}, {
|
|
1978
2511
|
options: {
|
|
@@ -1981,14 +2514,17 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
1981
2514
|
selected?: boolean | undefined;
|
|
1982
2515
|
}[];
|
|
1983
2516
|
type: "selectBox";
|
|
1984
|
-
attributes
|
|
2517
|
+
attributes: {
|
|
2518
|
+
multiple: false;
|
|
1985
2519
|
label?: string | undefined;
|
|
1986
2520
|
help?: string | undefined;
|
|
1987
2521
|
labelTranslationKey?: string | undefined;
|
|
1988
|
-
|
|
1989
|
-
} | undefined;
|
|
2522
|
+
};
|
|
1990
2523
|
meta?: {
|
|
1991
2524
|
schemaVersion: "1.0";
|
|
2525
|
+
title?: "Select Box" | undefined;
|
|
2526
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2527
|
+
defaultJSON?: string | undefined;
|
|
1992
2528
|
} | undefined;
|
|
1993
2529
|
}>, z.ZodObject<{} & {
|
|
1994
2530
|
type: z.ZodLiteral<"textArea">;
|
|
@@ -2001,6 +2537,7 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2001
2537
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2002
2538
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2003
2539
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
2540
|
+
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
2004
2541
|
}, "strip", z.ZodTypeAny, {
|
|
2005
2542
|
label?: string | undefined;
|
|
2006
2543
|
help?: string | undefined;
|
|
@@ -2009,6 +2546,7 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2009
2546
|
minLength?: number | undefined;
|
|
2010
2547
|
cols?: number | undefined;
|
|
2011
2548
|
rows?: number | undefined;
|
|
2549
|
+
asRichText?: boolean | undefined;
|
|
2012
2550
|
}, {
|
|
2013
2551
|
label?: string | undefined;
|
|
2014
2552
|
help?: string | undefined;
|
|
@@ -2017,24 +2555,27 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2017
2555
|
minLength?: number | undefined;
|
|
2018
2556
|
cols?: number | undefined;
|
|
2019
2557
|
rows?: number | undefined;
|
|
2558
|
+
asRichText?: boolean | undefined;
|
|
2020
2559
|
}>>;
|
|
2021
|
-
meta: z.ZodObject<{
|
|
2560
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2022
2561
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2023
2562
|
} & {
|
|
2024
|
-
|
|
2563
|
+
title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
|
|
2564
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
|
|
2565
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2025
2566
|
}, "strip", z.ZodTypeAny, {
|
|
2026
2567
|
schemaVersion: "1.0";
|
|
2027
|
-
|
|
2568
|
+
title?: "Text Area" | undefined;
|
|
2569
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2570
|
+
defaultJSON?: string | undefined;
|
|
2028
2571
|
}, {
|
|
2029
2572
|
schemaVersion: "1.0";
|
|
2030
|
-
|
|
2031
|
-
|
|
2573
|
+
title?: "Text Area" | undefined;
|
|
2574
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2575
|
+
defaultJSON?: string | undefined;
|
|
2576
|
+
}>>;
|
|
2032
2577
|
}, "strip", z.ZodTypeAny, {
|
|
2033
2578
|
type: "textArea";
|
|
2034
|
-
meta: {
|
|
2035
|
-
schemaVersion: "1.0";
|
|
2036
|
-
asRichText?: boolean | undefined;
|
|
2037
|
-
};
|
|
2038
2579
|
attributes?: {
|
|
2039
2580
|
label?: string | undefined;
|
|
2040
2581
|
help?: string | undefined;
|
|
@@ -2043,13 +2584,16 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2043
2584
|
minLength?: number | undefined;
|
|
2044
2585
|
cols?: number | undefined;
|
|
2045
2586
|
rows?: number | undefined;
|
|
2587
|
+
asRichText?: boolean | undefined;
|
|
2588
|
+
} | undefined;
|
|
2589
|
+
meta?: {
|
|
2590
|
+
schemaVersion: "1.0";
|
|
2591
|
+
title?: "Text Area" | undefined;
|
|
2592
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2593
|
+
defaultJSON?: string | undefined;
|
|
2046
2594
|
} | undefined;
|
|
2047
2595
|
}, {
|
|
2048
2596
|
type: "textArea";
|
|
2049
|
-
meta: {
|
|
2050
|
-
schemaVersion: "1.0";
|
|
2051
|
-
asRichText?: boolean | undefined;
|
|
2052
|
-
};
|
|
2053
2597
|
attributes?: {
|
|
2054
2598
|
label?: string | undefined;
|
|
2055
2599
|
help?: string | undefined;
|
|
@@ -2058,16 +2602,15 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2058
2602
|
minLength?: number | undefined;
|
|
2059
2603
|
cols?: number | undefined;
|
|
2060
2604
|
rows?: number | undefined;
|
|
2605
|
+
asRichText?: boolean | undefined;
|
|
2061
2606
|
} | undefined;
|
|
2062
|
-
|
|
2063
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2064
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2065
|
-
}, "strip", z.ZodTypeAny, {
|
|
2066
|
-
schemaVersion: "1.0";
|
|
2067
|
-
}, {
|
|
2607
|
+
meta?: {
|
|
2068
2608
|
schemaVersion: "1.0";
|
|
2069
|
-
|
|
2070
|
-
|
|
2609
|
+
title?: "Text Area" | undefined;
|
|
2610
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2611
|
+
defaultJSON?: string | undefined;
|
|
2612
|
+
} | undefined;
|
|
2613
|
+
}>, z.ZodObject<{} & {
|
|
2071
2614
|
type: z.ZodLiteral<"text">;
|
|
2072
2615
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
2073
2616
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -2092,194 +2635,56 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2092
2635
|
minLength?: number | undefined;
|
|
2093
2636
|
pattern?: string | undefined;
|
|
2094
2637
|
}>>;
|
|
2095
|
-
}, "strip", z.ZodTypeAny, {
|
|
2096
|
-
type: "text";
|
|
2097
|
-
attributes?: {
|
|
2098
|
-
label?: string | undefined;
|
|
2099
|
-
help?: string | undefined;
|
|
2100
|
-
labelTranslationKey?: string | undefined;
|
|
2101
|
-
maxLength?: number | undefined;
|
|
2102
|
-
minLength?: number | undefined;
|
|
2103
|
-
pattern?: string | undefined;
|
|
2104
|
-
} | undefined;
|
|
2105
|
-
meta?: {
|
|
2106
|
-
schemaVersion: "1.0";
|
|
2107
|
-
} | undefined;
|
|
2108
|
-
}, {
|
|
2109
|
-
type: "text";
|
|
2110
|
-
attributes?: {
|
|
2111
|
-
label?: string | undefined;
|
|
2112
|
-
help?: string | undefined;
|
|
2113
|
-
labelTranslationKey?: string | undefined;
|
|
2114
|
-
maxLength?: number | undefined;
|
|
2115
|
-
minLength?: number | undefined;
|
|
2116
|
-
pattern?: string | undefined;
|
|
2117
|
-
} | undefined;
|
|
2118
|
-
meta?: {
|
|
2119
|
-
schemaVersion: "1.0";
|
|
2120
|
-
} | undefined;
|
|
2121
|
-
}>, z.ZodObject<{
|
|
2122
|
-
attributes: z.ZodOptional<z.ZodObject<{
|
|
2123
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2124
|
-
help: z.ZodOptional<z.ZodString>;
|
|
2125
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2126
|
-
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
label?: string | undefined;
|
|
2128
|
-
help?: string | undefined;
|
|
2129
|
-
labelTranslationKey?: string | undefined;
|
|
2130
|
-
}, {
|
|
2131
|
-
label?: string | undefined;
|
|
2132
|
-
help?: string | undefined;
|
|
2133
|
-
labelTranslationKey?: string | undefined;
|
|
2134
|
-
}>>;
|
|
2135
2638
|
meta: z.ZodOptional<z.ZodObject<{
|
|
2136
2639
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2640
|
+
} & {
|
|
2641
|
+
title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
|
|
2642
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
|
|
2643
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2137
2644
|
}, "strip", z.ZodTypeAny, {
|
|
2138
2645
|
schemaVersion: "1.0";
|
|
2646
|
+
title?: "Text Field" | undefined;
|
|
2647
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2648
|
+
defaultJSON?: string | undefined;
|
|
2139
2649
|
}, {
|
|
2140
2650
|
schemaVersion: "1.0";
|
|
2651
|
+
title?: "Text Field" | undefined;
|
|
2652
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2653
|
+
defaultJSON?: string | undefined;
|
|
2141
2654
|
}>>;
|
|
2142
|
-
} & {
|
|
2143
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
2144
|
-
graphQL: z.ZodObject<{
|
|
2145
|
-
displayFields: z.ZodArray<z.ZodObject<{
|
|
2146
|
-
propertyName: z.ZodString;
|
|
2147
|
-
label: z.ZodString;
|
|
2148
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2149
|
-
}, "strip", z.ZodTypeAny, {
|
|
2150
|
-
label: string;
|
|
2151
|
-
propertyName: string;
|
|
2152
|
-
labelTranslationKey?: string | undefined;
|
|
2153
|
-
}, {
|
|
2154
|
-
label: string;
|
|
2155
|
-
propertyName: string;
|
|
2156
|
-
labelTranslationKey?: string | undefined;
|
|
2157
|
-
}>, "many">;
|
|
2158
|
-
localQueryId: z.ZodOptional<z.ZodString>;
|
|
2159
|
-
query: z.ZodOptional<z.ZodString>;
|
|
2160
|
-
responseField: z.ZodString;
|
|
2161
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2162
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2163
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2164
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2165
|
-
name: z.ZodString;
|
|
2166
|
-
type: z.ZodString;
|
|
2167
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2168
|
-
}, "strip", z.ZodTypeAny, {
|
|
2169
|
-
type: string;
|
|
2170
|
-
name: string;
|
|
2171
|
-
label?: string | undefined;
|
|
2172
|
-
labelTranslationKey?: string | undefined;
|
|
2173
|
-
minLength?: number | undefined;
|
|
2174
|
-
defaultValue?: string | undefined;
|
|
2175
|
-
}, {
|
|
2176
|
-
type: string;
|
|
2177
|
-
name: string;
|
|
2178
|
-
label?: string | undefined;
|
|
2179
|
-
labelTranslationKey?: string | undefined;
|
|
2180
|
-
minLength?: number | undefined;
|
|
2181
|
-
defaultValue?: string | undefined;
|
|
2182
|
-
}>, "many">>;
|
|
2183
|
-
}, "strip", z.ZodTypeAny, {
|
|
2184
|
-
displayFields: {
|
|
2185
|
-
label: string;
|
|
2186
|
-
propertyName: string;
|
|
2187
|
-
labelTranslationKey?: string | undefined;
|
|
2188
|
-
}[];
|
|
2189
|
-
responseField: string;
|
|
2190
|
-
localQueryId?: string | undefined;
|
|
2191
|
-
query?: string | undefined;
|
|
2192
|
-
variables?: {
|
|
2193
|
-
type: string;
|
|
2194
|
-
name: string;
|
|
2195
|
-
label?: string | undefined;
|
|
2196
|
-
labelTranslationKey?: string | undefined;
|
|
2197
|
-
minLength?: number | undefined;
|
|
2198
|
-
defaultValue?: string | undefined;
|
|
2199
|
-
}[] | undefined;
|
|
2200
|
-
}, {
|
|
2201
|
-
displayFields: {
|
|
2202
|
-
label: string;
|
|
2203
|
-
propertyName: string;
|
|
2204
|
-
labelTranslationKey?: string | undefined;
|
|
2205
|
-
}[];
|
|
2206
|
-
responseField: string;
|
|
2207
|
-
localQueryId?: string | undefined;
|
|
2208
|
-
query?: string | undefined;
|
|
2209
|
-
variables?: {
|
|
2210
|
-
type: string;
|
|
2211
|
-
name: string;
|
|
2212
|
-
label?: string | undefined;
|
|
2213
|
-
labelTranslationKey?: string | undefined;
|
|
2214
|
-
minLength?: number | undefined;
|
|
2215
|
-
defaultValue?: string | undefined;
|
|
2216
|
-
}[] | undefined;
|
|
2217
|
-
}>;
|
|
2218
2655
|
}, "strip", z.ZodTypeAny, {
|
|
2219
|
-
type: "
|
|
2220
|
-
graphQL: {
|
|
2221
|
-
displayFields: {
|
|
2222
|
-
label: string;
|
|
2223
|
-
propertyName: string;
|
|
2224
|
-
labelTranslationKey?: string | undefined;
|
|
2225
|
-
}[];
|
|
2226
|
-
responseField: string;
|
|
2227
|
-
localQueryId?: string | undefined;
|
|
2228
|
-
query?: string | undefined;
|
|
2229
|
-
variables?: {
|
|
2230
|
-
type: string;
|
|
2231
|
-
name: string;
|
|
2232
|
-
label?: string | undefined;
|
|
2233
|
-
labelTranslationKey?: string | undefined;
|
|
2234
|
-
minLength?: number | undefined;
|
|
2235
|
-
defaultValue?: string | undefined;
|
|
2236
|
-
}[] | undefined;
|
|
2237
|
-
};
|
|
2656
|
+
type: "text";
|
|
2238
2657
|
attributes?: {
|
|
2239
2658
|
label?: string | undefined;
|
|
2240
2659
|
help?: string | undefined;
|
|
2241
2660
|
labelTranslationKey?: string | undefined;
|
|
2661
|
+
maxLength?: number | undefined;
|
|
2662
|
+
minLength?: number | undefined;
|
|
2663
|
+
pattern?: string | undefined;
|
|
2242
2664
|
} | undefined;
|
|
2243
2665
|
meta?: {
|
|
2244
2666
|
schemaVersion: "1.0";
|
|
2667
|
+
title?: "Text Field" | undefined;
|
|
2668
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2669
|
+
defaultJSON?: string | undefined;
|
|
2245
2670
|
} | undefined;
|
|
2246
2671
|
}, {
|
|
2247
|
-
type: "
|
|
2248
|
-
graphQL: {
|
|
2249
|
-
displayFields: {
|
|
2250
|
-
label: string;
|
|
2251
|
-
propertyName: string;
|
|
2252
|
-
labelTranslationKey?: string | undefined;
|
|
2253
|
-
}[];
|
|
2254
|
-
responseField: string;
|
|
2255
|
-
localQueryId?: string | undefined;
|
|
2256
|
-
query?: string | undefined;
|
|
2257
|
-
variables?: {
|
|
2258
|
-
type: string;
|
|
2259
|
-
name: string;
|
|
2260
|
-
label?: string | undefined;
|
|
2261
|
-
labelTranslationKey?: string | undefined;
|
|
2262
|
-
minLength?: number | undefined;
|
|
2263
|
-
defaultValue?: string | undefined;
|
|
2264
|
-
}[] | undefined;
|
|
2265
|
-
};
|
|
2672
|
+
type: "text";
|
|
2266
2673
|
attributes?: {
|
|
2267
2674
|
label?: string | undefined;
|
|
2268
2675
|
help?: string | undefined;
|
|
2269
2676
|
labelTranslationKey?: string | undefined;
|
|
2677
|
+
maxLength?: number | undefined;
|
|
2678
|
+
minLength?: number | undefined;
|
|
2679
|
+
pattern?: string | undefined;
|
|
2270
2680
|
} | undefined;
|
|
2271
2681
|
meta?: {
|
|
2272
2682
|
schemaVersion: "1.0";
|
|
2683
|
+
title?: "Text Field" | undefined;
|
|
2684
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2685
|
+
defaultJSON?: string | undefined;
|
|
2273
2686
|
} | undefined;
|
|
2274
|
-
}>, z.ZodObject<{
|
|
2275
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2276
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2277
|
-
}, "strip", z.ZodTypeAny, {
|
|
2278
|
-
schemaVersion: "1.0";
|
|
2279
|
-
}, {
|
|
2280
|
-
schemaVersion: "1.0";
|
|
2281
|
-
}>>;
|
|
2282
|
-
} & {
|
|
2687
|
+
}>, z.ZodObject<{} & {
|
|
2283
2688
|
type: z.ZodLiteral<"url">;
|
|
2284
2689
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
2285
2690
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -2304,6 +2709,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2304
2709
|
minLength?: number | undefined;
|
|
2305
2710
|
pattern?: string | undefined;
|
|
2306
2711
|
}>>;
|
|
2712
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2713
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2714
|
+
} & {
|
|
2715
|
+
title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
|
|
2716
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
|
|
2717
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2718
|
+
}, "strip", z.ZodTypeAny, {
|
|
2719
|
+
schemaVersion: "1.0";
|
|
2720
|
+
title?: "URL Field" | undefined;
|
|
2721
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2722
|
+
defaultJSON?: string | undefined;
|
|
2723
|
+
}, {
|
|
2724
|
+
schemaVersion: "1.0";
|
|
2725
|
+
title?: "URL Field" | undefined;
|
|
2726
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2727
|
+
defaultJSON?: string | undefined;
|
|
2728
|
+
}>>;
|
|
2307
2729
|
}, "strip", z.ZodTypeAny, {
|
|
2308
2730
|
type: "url";
|
|
2309
2731
|
attributes?: {
|
|
@@ -2316,6 +2738,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2316
2738
|
} | undefined;
|
|
2317
2739
|
meta?: {
|
|
2318
2740
|
schemaVersion: "1.0";
|
|
2741
|
+
title?: "URL Field" | undefined;
|
|
2742
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2743
|
+
defaultJSON?: string | undefined;
|
|
2319
2744
|
} | undefined;
|
|
2320
2745
|
}, {
|
|
2321
2746
|
type: "url";
|
|
@@ -2329,6 +2754,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2329
2754
|
} | undefined;
|
|
2330
2755
|
meta?: {
|
|
2331
2756
|
schemaVersion: "1.0";
|
|
2757
|
+
title?: "URL Field" | undefined;
|
|
2758
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2759
|
+
defaultJSON?: string | undefined;
|
|
2332
2760
|
} | undefined;
|
|
2333
2761
|
}>]>;
|
|
2334
2762
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2345,6 +2773,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2345
2773
|
} | undefined;
|
|
2346
2774
|
meta?: {
|
|
2347
2775
|
schemaVersion: "1.0";
|
|
2776
|
+
title?: "Currency Field" | undefined;
|
|
2777
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
2778
|
+
defaultJSON?: string | undefined;
|
|
2348
2779
|
} | undefined;
|
|
2349
2780
|
} | {
|
|
2350
2781
|
type: "number";
|
|
@@ -2358,6 +2789,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2358
2789
|
} | undefined;
|
|
2359
2790
|
meta?: {
|
|
2360
2791
|
schemaVersion: "1.0";
|
|
2792
|
+
title?: "Number Field" | undefined;
|
|
2793
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
2794
|
+
defaultJSON?: string | undefined;
|
|
2361
2795
|
} | undefined;
|
|
2362
2796
|
} | {
|
|
2363
2797
|
type: "email";
|
|
@@ -2372,13 +2806,12 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2372
2806
|
} | undefined;
|
|
2373
2807
|
meta?: {
|
|
2374
2808
|
schemaVersion: "1.0";
|
|
2809
|
+
title?: "Email Field" | undefined;
|
|
2810
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
2811
|
+
defaultJSON?: string | undefined;
|
|
2375
2812
|
} | undefined;
|
|
2376
2813
|
} | {
|
|
2377
2814
|
type: "textArea";
|
|
2378
|
-
meta: {
|
|
2379
|
-
schemaVersion: "1.0";
|
|
2380
|
-
asRichText?: boolean | undefined;
|
|
2381
|
-
};
|
|
2382
2815
|
attributes?: {
|
|
2383
2816
|
label?: string | undefined;
|
|
2384
2817
|
help?: string | undefined;
|
|
@@ -2387,6 +2820,13 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2387
2820
|
minLength?: number | undefined;
|
|
2388
2821
|
cols?: number | undefined;
|
|
2389
2822
|
rows?: number | undefined;
|
|
2823
|
+
asRichText?: boolean | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
meta?: {
|
|
2826
|
+
schemaVersion: "1.0";
|
|
2827
|
+
title?: "Text Area" | undefined;
|
|
2828
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
2829
|
+
defaultJSON?: string | undefined;
|
|
2390
2830
|
} | undefined;
|
|
2391
2831
|
} | {
|
|
2392
2832
|
type: "text";
|
|
@@ -2400,6 +2840,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2400
2840
|
} | undefined;
|
|
2401
2841
|
meta?: {
|
|
2402
2842
|
schemaVersion: "1.0";
|
|
2843
|
+
title?: "Text Field" | undefined;
|
|
2844
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
2845
|
+
defaultJSON?: string | undefined;
|
|
2403
2846
|
} | undefined;
|
|
2404
2847
|
} | {
|
|
2405
2848
|
type: "url";
|
|
@@ -2413,6 +2856,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2413
2856
|
} | undefined;
|
|
2414
2857
|
meta?: {
|
|
2415
2858
|
schemaVersion: "1.0";
|
|
2859
|
+
title?: "URL Field" | undefined;
|
|
2860
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
2861
|
+
defaultJSON?: string | undefined;
|
|
2416
2862
|
} | undefined;
|
|
2417
2863
|
} | {
|
|
2418
2864
|
type: "date";
|
|
@@ -2426,6 +2872,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2426
2872
|
} | undefined;
|
|
2427
2873
|
meta?: {
|
|
2428
2874
|
schemaVersion: "1.0";
|
|
2875
|
+
title?: "Date Field" | undefined;
|
|
2876
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
2877
|
+
defaultJSON?: string | undefined;
|
|
2429
2878
|
} | undefined;
|
|
2430
2879
|
} | {
|
|
2431
2880
|
type: "dateRange";
|
|
@@ -2454,17 +2903,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2454
2903
|
} | undefined;
|
|
2455
2904
|
meta?: {
|
|
2456
2905
|
schemaVersion: "1.0";
|
|
2906
|
+
title?: "Date Range" | undefined;
|
|
2907
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
2908
|
+
defaultJSON?: string | undefined;
|
|
2457
2909
|
} | undefined;
|
|
2458
2910
|
} | {
|
|
2459
2911
|
type: "boolean";
|
|
2460
|
-
attributes
|
|
2912
|
+
attributes?: {
|
|
2461
2913
|
label?: string | undefined;
|
|
2462
2914
|
help?: string | undefined;
|
|
2463
2915
|
labelTranslationKey?: string | undefined;
|
|
2464
2916
|
checked?: boolean | undefined;
|
|
2465
|
-
};
|
|
2917
|
+
} | undefined;
|
|
2466
2918
|
meta?: {
|
|
2467
2919
|
schemaVersion: "1.0";
|
|
2920
|
+
title?: "Yes/No Field" | undefined;
|
|
2921
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
2922
|
+
defaultJSON?: string | undefined;
|
|
2468
2923
|
} | undefined;
|
|
2469
2924
|
} | {
|
|
2470
2925
|
options: {
|
|
@@ -2480,6 +2935,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2480
2935
|
} | undefined;
|
|
2481
2936
|
meta?: {
|
|
2482
2937
|
schemaVersion: "1.0";
|
|
2938
|
+
title?: "Check Boxes" | undefined;
|
|
2939
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
2940
|
+
defaultJSON?: string | undefined;
|
|
2483
2941
|
} | undefined;
|
|
2484
2942
|
} | {
|
|
2485
2943
|
options: {
|
|
@@ -2495,6 +2953,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2495
2953
|
} | undefined;
|
|
2496
2954
|
meta?: {
|
|
2497
2955
|
schemaVersion: "1.0";
|
|
2956
|
+
title?: "Radio Buttons" | undefined;
|
|
2957
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
2958
|
+
defaultJSON?: string | undefined;
|
|
2498
2959
|
} | undefined;
|
|
2499
2960
|
} | {
|
|
2500
2961
|
options: {
|
|
@@ -2503,14 +2964,17 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2503
2964
|
selected?: boolean | undefined;
|
|
2504
2965
|
}[];
|
|
2505
2966
|
type: "selectBox";
|
|
2506
|
-
attributes
|
|
2967
|
+
attributes: {
|
|
2968
|
+
multiple: false;
|
|
2507
2969
|
label?: string | undefined;
|
|
2508
2970
|
help?: string | undefined;
|
|
2509
2971
|
labelTranslationKey?: string | undefined;
|
|
2510
|
-
|
|
2511
|
-
} | undefined;
|
|
2972
|
+
};
|
|
2512
2973
|
meta?: {
|
|
2513
2974
|
schemaVersion: "1.0";
|
|
2975
|
+
title?: "Select Box" | undefined;
|
|
2976
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
2977
|
+
defaultJSON?: string | undefined;
|
|
2514
2978
|
} | undefined;
|
|
2515
2979
|
} | {
|
|
2516
2980
|
type: "filteredSearch";
|
|
@@ -2540,9 +3004,18 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2540
3004
|
} | undefined;
|
|
2541
3005
|
meta?: {
|
|
2542
3006
|
schemaVersion: "1.0";
|
|
3007
|
+
title?: "Not yet implemented" | undefined;
|
|
3008
|
+
usageDescription?: string | undefined;
|
|
3009
|
+
defaultJSON?: string | undefined;
|
|
2543
3010
|
} | undefined;
|
|
2544
3011
|
} | {
|
|
2545
|
-
type: "
|
|
3012
|
+
type: "affiliationSearch";
|
|
3013
|
+
meta: {
|
|
3014
|
+
schemaVersion: "1.0";
|
|
3015
|
+
title?: "Affiliation Search" | undefined;
|
|
3016
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3017
|
+
defaultJSON?: string | undefined;
|
|
3018
|
+
};
|
|
2546
3019
|
graphQL: {
|
|
2547
3020
|
displayFields: {
|
|
2548
3021
|
label: string;
|
|
@@ -2566,9 +3039,6 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2566
3039
|
help?: string | undefined;
|
|
2567
3040
|
labelTranslationKey?: string | undefined;
|
|
2568
3041
|
} | undefined;
|
|
2569
|
-
meta?: {
|
|
2570
|
-
schemaVersion: "1.0";
|
|
2571
|
-
} | undefined;
|
|
2572
3042
|
};
|
|
2573
3043
|
heading?: string | undefined;
|
|
2574
3044
|
}, {
|
|
@@ -2585,6 +3055,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2585
3055
|
} | undefined;
|
|
2586
3056
|
meta?: {
|
|
2587
3057
|
schemaVersion: "1.0";
|
|
3058
|
+
title?: "Currency Field" | undefined;
|
|
3059
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
3060
|
+
defaultJSON?: string | undefined;
|
|
2588
3061
|
} | undefined;
|
|
2589
3062
|
} | {
|
|
2590
3063
|
type: "number";
|
|
@@ -2598,6 +3071,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2598
3071
|
} | undefined;
|
|
2599
3072
|
meta?: {
|
|
2600
3073
|
schemaVersion: "1.0";
|
|
3074
|
+
title?: "Number Field" | undefined;
|
|
3075
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
3076
|
+
defaultJSON?: string | undefined;
|
|
2601
3077
|
} | undefined;
|
|
2602
3078
|
} | {
|
|
2603
3079
|
type: "email";
|
|
@@ -2612,13 +3088,12 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2612
3088
|
} | undefined;
|
|
2613
3089
|
meta?: {
|
|
2614
3090
|
schemaVersion: "1.0";
|
|
3091
|
+
title?: "Email Field" | undefined;
|
|
3092
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
3093
|
+
defaultJSON?: string | undefined;
|
|
2615
3094
|
} | undefined;
|
|
2616
3095
|
} | {
|
|
2617
3096
|
type: "textArea";
|
|
2618
|
-
meta: {
|
|
2619
|
-
schemaVersion: "1.0";
|
|
2620
|
-
asRichText?: boolean | undefined;
|
|
2621
|
-
};
|
|
2622
3097
|
attributes?: {
|
|
2623
3098
|
label?: string | undefined;
|
|
2624
3099
|
help?: string | undefined;
|
|
@@ -2627,6 +3102,13 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2627
3102
|
minLength?: number | undefined;
|
|
2628
3103
|
cols?: number | undefined;
|
|
2629
3104
|
rows?: number | undefined;
|
|
3105
|
+
asRichText?: boolean | undefined;
|
|
3106
|
+
} | undefined;
|
|
3107
|
+
meta?: {
|
|
3108
|
+
schemaVersion: "1.0";
|
|
3109
|
+
title?: "Text Area" | undefined;
|
|
3110
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
3111
|
+
defaultJSON?: string | undefined;
|
|
2630
3112
|
} | undefined;
|
|
2631
3113
|
} | {
|
|
2632
3114
|
type: "text";
|
|
@@ -2640,6 +3122,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2640
3122
|
} | undefined;
|
|
2641
3123
|
meta?: {
|
|
2642
3124
|
schemaVersion: "1.0";
|
|
3125
|
+
title?: "Text Field" | undefined;
|
|
3126
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
3127
|
+
defaultJSON?: string | undefined;
|
|
2643
3128
|
} | undefined;
|
|
2644
3129
|
} | {
|
|
2645
3130
|
type: "url";
|
|
@@ -2653,6 +3138,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2653
3138
|
} | undefined;
|
|
2654
3139
|
meta?: {
|
|
2655
3140
|
schemaVersion: "1.0";
|
|
3141
|
+
title?: "URL Field" | undefined;
|
|
3142
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
3143
|
+
defaultJSON?: string | undefined;
|
|
2656
3144
|
} | undefined;
|
|
2657
3145
|
} | {
|
|
2658
3146
|
type: "date";
|
|
@@ -2666,6 +3154,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2666
3154
|
} | undefined;
|
|
2667
3155
|
meta?: {
|
|
2668
3156
|
schemaVersion: "1.0";
|
|
3157
|
+
title?: "Date Field" | undefined;
|
|
3158
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
3159
|
+
defaultJSON?: string | undefined;
|
|
2669
3160
|
} | undefined;
|
|
2670
3161
|
} | {
|
|
2671
3162
|
type: "dateRange";
|
|
@@ -2694,17 +3185,23 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2694
3185
|
} | undefined;
|
|
2695
3186
|
meta?: {
|
|
2696
3187
|
schemaVersion: "1.0";
|
|
3188
|
+
title?: "Date Range" | undefined;
|
|
3189
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3190
|
+
defaultJSON?: string | undefined;
|
|
2697
3191
|
} | undefined;
|
|
2698
3192
|
} | {
|
|
2699
3193
|
type: "boolean";
|
|
2700
|
-
attributes
|
|
3194
|
+
attributes?: {
|
|
2701
3195
|
label?: string | undefined;
|
|
2702
3196
|
help?: string | undefined;
|
|
2703
3197
|
labelTranslationKey?: string | undefined;
|
|
2704
3198
|
checked?: boolean | undefined;
|
|
2705
|
-
};
|
|
3199
|
+
} | undefined;
|
|
2706
3200
|
meta?: {
|
|
2707
3201
|
schemaVersion: "1.0";
|
|
3202
|
+
title?: "Yes/No Field" | undefined;
|
|
3203
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
3204
|
+
defaultJSON?: string | undefined;
|
|
2708
3205
|
} | undefined;
|
|
2709
3206
|
} | {
|
|
2710
3207
|
options: {
|
|
@@ -2720,6 +3217,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2720
3217
|
} | undefined;
|
|
2721
3218
|
meta?: {
|
|
2722
3219
|
schemaVersion: "1.0";
|
|
3220
|
+
title?: "Check Boxes" | undefined;
|
|
3221
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
3222
|
+
defaultJSON?: string | undefined;
|
|
2723
3223
|
} | undefined;
|
|
2724
3224
|
} | {
|
|
2725
3225
|
options: {
|
|
@@ -2735,6 +3235,9 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2735
3235
|
} | undefined;
|
|
2736
3236
|
meta?: {
|
|
2737
3237
|
schemaVersion: "1.0";
|
|
3238
|
+
title?: "Radio Buttons" | undefined;
|
|
3239
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
3240
|
+
defaultJSON?: string | undefined;
|
|
2738
3241
|
} | undefined;
|
|
2739
3242
|
} | {
|
|
2740
3243
|
options: {
|
|
@@ -2743,14 +3246,17 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2743
3246
|
selected?: boolean | undefined;
|
|
2744
3247
|
}[];
|
|
2745
3248
|
type: "selectBox";
|
|
2746
|
-
attributes
|
|
3249
|
+
attributes: {
|
|
3250
|
+
multiple: false;
|
|
2747
3251
|
label?: string | undefined;
|
|
2748
3252
|
help?: string | undefined;
|
|
2749
3253
|
labelTranslationKey?: string | undefined;
|
|
2750
|
-
|
|
2751
|
-
} | undefined;
|
|
3254
|
+
};
|
|
2752
3255
|
meta?: {
|
|
2753
3256
|
schemaVersion: "1.0";
|
|
3257
|
+
title?: "Select Box" | undefined;
|
|
3258
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
3259
|
+
defaultJSON?: string | undefined;
|
|
2754
3260
|
} | undefined;
|
|
2755
3261
|
} | {
|
|
2756
3262
|
type: "filteredSearch";
|
|
@@ -2780,9 +3286,18 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2780
3286
|
} | undefined;
|
|
2781
3287
|
meta?: {
|
|
2782
3288
|
schemaVersion: "1.0";
|
|
3289
|
+
title?: "Not yet implemented" | undefined;
|
|
3290
|
+
usageDescription?: string | undefined;
|
|
3291
|
+
defaultJSON?: string | undefined;
|
|
2783
3292
|
} | undefined;
|
|
2784
3293
|
} | {
|
|
2785
|
-
type: "
|
|
3294
|
+
type: "affiliationSearch";
|
|
3295
|
+
meta: {
|
|
3296
|
+
schemaVersion: "1.0";
|
|
3297
|
+
title?: "Affiliation Search" | undefined;
|
|
3298
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3299
|
+
defaultJSON?: string | undefined;
|
|
3300
|
+
};
|
|
2786
3301
|
graphQL: {
|
|
2787
3302
|
displayFields: {
|
|
2788
3303
|
label: string;
|
|
@@ -2806,35 +3321,185 @@ export declare const TableColumn: z.ZodObject<{
|
|
|
2806
3321
|
help?: string | undefined;
|
|
2807
3322
|
labelTranslationKey?: string | undefined;
|
|
2808
3323
|
} | undefined;
|
|
2809
|
-
meta?: {
|
|
2810
|
-
schemaVersion: "1.0";
|
|
2811
|
-
} | undefined;
|
|
2812
3324
|
};
|
|
2813
3325
|
heading?: string | undefined;
|
|
2814
3326
|
}>;
|
|
2815
|
-
export declare const TableQuestionSchema: z.ZodObject<{
|
|
2816
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2817
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2818
|
-
}, "strip", z.ZodTypeAny, {
|
|
2819
|
-
schemaVersion: "1.0";
|
|
2820
|
-
}, {
|
|
2821
|
-
schemaVersion: "1.0";
|
|
2822
|
-
}>>;
|
|
2823
|
-
} & {
|
|
3327
|
+
export declare const TableQuestionSchema: z.ZodObject<{} & {
|
|
2824
3328
|
type: z.ZodLiteral<"table">;
|
|
2825
3329
|
columns: z.ZodArray<z.ZodObject<{
|
|
2826
3330
|
heading: z.ZodOptional<z.ZodString>;
|
|
2827
3331
|
content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2828
|
-
|
|
3332
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
3333
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3334
|
+
help: z.ZodOptional<z.ZodString>;
|
|
3335
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3336
|
+
}, "strip", z.ZodTypeAny, {
|
|
3337
|
+
label?: string | undefined;
|
|
3338
|
+
help?: string | undefined;
|
|
3339
|
+
labelTranslationKey?: string | undefined;
|
|
3340
|
+
}, {
|
|
3341
|
+
label?: string | undefined;
|
|
3342
|
+
help?: string | undefined;
|
|
3343
|
+
labelTranslationKey?: string | undefined;
|
|
3344
|
+
}>>;
|
|
3345
|
+
graphQL: z.ZodObject<{
|
|
3346
|
+
displayFields: z.ZodArray<z.ZodObject<{
|
|
3347
|
+
propertyName: z.ZodString;
|
|
3348
|
+
label: z.ZodString;
|
|
3349
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3350
|
+
}, "strip", z.ZodTypeAny, {
|
|
3351
|
+
label: string;
|
|
3352
|
+
propertyName: string;
|
|
3353
|
+
labelTranslationKey?: string | undefined;
|
|
3354
|
+
}, {
|
|
3355
|
+
label: string;
|
|
3356
|
+
propertyName: string;
|
|
3357
|
+
labelTranslationKey?: string | undefined;
|
|
3358
|
+
}>, "many">;
|
|
3359
|
+
localQueryId: z.ZodOptional<z.ZodString>;
|
|
3360
|
+
query: z.ZodOptional<z.ZodString>;
|
|
3361
|
+
responseField: z.ZodString;
|
|
3362
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3363
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3364
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3365
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3366
|
+
name: z.ZodString;
|
|
3367
|
+
type: z.ZodString;
|
|
3368
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3369
|
+
}, "strip", z.ZodTypeAny, {
|
|
3370
|
+
type: string;
|
|
3371
|
+
name: string;
|
|
3372
|
+
label?: string | undefined;
|
|
3373
|
+
labelTranslationKey?: string | undefined;
|
|
3374
|
+
minLength?: number | undefined;
|
|
3375
|
+
defaultValue?: string | undefined;
|
|
3376
|
+
}, {
|
|
3377
|
+
type: string;
|
|
3378
|
+
name: string;
|
|
3379
|
+
label?: string | undefined;
|
|
3380
|
+
labelTranslationKey?: string | undefined;
|
|
3381
|
+
minLength?: number | undefined;
|
|
3382
|
+
defaultValue?: string | undefined;
|
|
3383
|
+
}>, "many">>;
|
|
3384
|
+
}, "strip", z.ZodTypeAny, {
|
|
3385
|
+
displayFields: {
|
|
3386
|
+
label: string;
|
|
3387
|
+
propertyName: string;
|
|
3388
|
+
labelTranslationKey?: string | undefined;
|
|
3389
|
+
}[];
|
|
3390
|
+
responseField: string;
|
|
3391
|
+
localQueryId?: string | undefined;
|
|
3392
|
+
query?: string | undefined;
|
|
3393
|
+
variables?: {
|
|
3394
|
+
type: string;
|
|
3395
|
+
name: string;
|
|
3396
|
+
label?: string | undefined;
|
|
3397
|
+
labelTranslationKey?: string | undefined;
|
|
3398
|
+
minLength?: number | undefined;
|
|
3399
|
+
defaultValue?: string | undefined;
|
|
3400
|
+
}[] | undefined;
|
|
3401
|
+
}, {
|
|
3402
|
+
displayFields: {
|
|
3403
|
+
label: string;
|
|
3404
|
+
propertyName: string;
|
|
3405
|
+
labelTranslationKey?: string | undefined;
|
|
3406
|
+
}[];
|
|
3407
|
+
responseField: string;
|
|
3408
|
+
localQueryId?: string | undefined;
|
|
3409
|
+
query?: string | undefined;
|
|
3410
|
+
variables?: {
|
|
3411
|
+
type: string;
|
|
3412
|
+
name: string;
|
|
3413
|
+
label?: string | undefined;
|
|
3414
|
+
labelTranslationKey?: string | undefined;
|
|
3415
|
+
minLength?: number | undefined;
|
|
3416
|
+
defaultValue?: string | undefined;
|
|
3417
|
+
}[] | undefined;
|
|
3418
|
+
}>;
|
|
3419
|
+
} & {
|
|
3420
|
+
type: z.ZodLiteral<"affiliationSearch">;
|
|
3421
|
+
meta: z.ZodObject<{
|
|
2829
3422
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3423
|
+
} & {
|
|
3424
|
+
title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
|
|
3425
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
|
|
3426
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
2830
3427
|
}, "strip", z.ZodTypeAny, {
|
|
2831
3428
|
schemaVersion: "1.0";
|
|
3429
|
+
title?: "Affiliation Search" | undefined;
|
|
3430
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3431
|
+
defaultJSON?: string | undefined;
|
|
2832
3432
|
}, {
|
|
2833
3433
|
schemaVersion: "1.0";
|
|
2834
|
-
|
|
2835
|
-
|
|
3434
|
+
title?: "Affiliation Search" | undefined;
|
|
3435
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3436
|
+
defaultJSON?: string | undefined;
|
|
3437
|
+
}>;
|
|
3438
|
+
}, "strip", z.ZodTypeAny, {
|
|
3439
|
+
type: "affiliationSearch";
|
|
3440
|
+
meta: {
|
|
3441
|
+
schemaVersion: "1.0";
|
|
3442
|
+
title?: "Affiliation Search" | undefined;
|
|
3443
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3444
|
+
defaultJSON?: string | undefined;
|
|
3445
|
+
};
|
|
3446
|
+
graphQL: {
|
|
3447
|
+
displayFields: {
|
|
3448
|
+
label: string;
|
|
3449
|
+
propertyName: string;
|
|
3450
|
+
labelTranslationKey?: string | undefined;
|
|
3451
|
+
}[];
|
|
3452
|
+
responseField: string;
|
|
3453
|
+
localQueryId?: string | undefined;
|
|
3454
|
+
query?: string | undefined;
|
|
3455
|
+
variables?: {
|
|
3456
|
+
type: string;
|
|
3457
|
+
name: string;
|
|
3458
|
+
label?: string | undefined;
|
|
3459
|
+
labelTranslationKey?: string | undefined;
|
|
3460
|
+
minLength?: number | undefined;
|
|
3461
|
+
defaultValue?: string | undefined;
|
|
3462
|
+
}[] | undefined;
|
|
3463
|
+
};
|
|
3464
|
+
attributes?: {
|
|
3465
|
+
label?: string | undefined;
|
|
3466
|
+
help?: string | undefined;
|
|
3467
|
+
labelTranslationKey?: string | undefined;
|
|
3468
|
+
} | undefined;
|
|
3469
|
+
}, {
|
|
3470
|
+
type: "affiliationSearch";
|
|
3471
|
+
meta: {
|
|
3472
|
+
schemaVersion: "1.0";
|
|
3473
|
+
title?: "Affiliation Search" | undefined;
|
|
3474
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
3475
|
+
defaultJSON?: string | undefined;
|
|
3476
|
+
};
|
|
3477
|
+
graphQL: {
|
|
3478
|
+
displayFields: {
|
|
3479
|
+
label: string;
|
|
3480
|
+
propertyName: string;
|
|
3481
|
+
labelTranslationKey?: string | undefined;
|
|
3482
|
+
}[];
|
|
3483
|
+
responseField: string;
|
|
3484
|
+
localQueryId?: string | undefined;
|
|
3485
|
+
query?: string | undefined;
|
|
3486
|
+
variables?: {
|
|
3487
|
+
type: string;
|
|
3488
|
+
name: string;
|
|
3489
|
+
label?: string | undefined;
|
|
3490
|
+
labelTranslationKey?: string | undefined;
|
|
3491
|
+
minLength?: number | undefined;
|
|
3492
|
+
defaultValue?: string | undefined;
|
|
3493
|
+
}[] | undefined;
|
|
3494
|
+
};
|
|
3495
|
+
attributes?: {
|
|
3496
|
+
label?: string | undefined;
|
|
3497
|
+
help?: string | undefined;
|
|
3498
|
+
labelTranslationKey?: string | undefined;
|
|
3499
|
+
} | undefined;
|
|
3500
|
+
}>, z.ZodObject<{} & {
|
|
2836
3501
|
type: z.ZodLiteral<"boolean">;
|
|
2837
|
-
attributes: z.ZodObject<{
|
|
3502
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2838
3503
|
label: z.ZodOptional<z.ZodString>;
|
|
2839
3504
|
help: z.ZodOptional<z.ZodString>;
|
|
2840
3505
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2846,32 +3511,55 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2846
3511
|
labelTranslationKey?: string | undefined;
|
|
2847
3512
|
checked?: boolean | undefined;
|
|
2848
3513
|
}, {
|
|
2849
|
-
label?: string | undefined;
|
|
2850
|
-
help?: string | undefined;
|
|
2851
|
-
labelTranslationKey?: string | undefined;
|
|
2852
|
-
checked?: boolean | undefined;
|
|
2853
|
-
}
|
|
3514
|
+
label?: string | undefined;
|
|
3515
|
+
help?: string | undefined;
|
|
3516
|
+
labelTranslationKey?: string | undefined;
|
|
3517
|
+
checked?: boolean | undefined;
|
|
3518
|
+
}>>;
|
|
3519
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3520
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3521
|
+
} & {
|
|
3522
|
+
title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
|
|
3523
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
|
|
3524
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3525
|
+
}, "strip", z.ZodTypeAny, {
|
|
3526
|
+
schemaVersion: "1.0";
|
|
3527
|
+
title?: "Yes/No Field" | undefined;
|
|
3528
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
3529
|
+
defaultJSON?: string | undefined;
|
|
3530
|
+
}, {
|
|
3531
|
+
schemaVersion: "1.0";
|
|
3532
|
+
title?: "Yes/No Field" | undefined;
|
|
3533
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
3534
|
+
defaultJSON?: string | undefined;
|
|
3535
|
+
}>>;
|
|
2854
3536
|
}, "strip", z.ZodTypeAny, {
|
|
2855
3537
|
type: "boolean";
|
|
2856
|
-
attributes
|
|
3538
|
+
attributes?: {
|
|
2857
3539
|
label?: string | undefined;
|
|
2858
3540
|
help?: string | undefined;
|
|
2859
3541
|
labelTranslationKey?: string | undefined;
|
|
2860
3542
|
checked?: boolean | undefined;
|
|
2861
|
-
};
|
|
3543
|
+
} | undefined;
|
|
2862
3544
|
meta?: {
|
|
2863
3545
|
schemaVersion: "1.0";
|
|
3546
|
+
title?: "Yes/No Field" | undefined;
|
|
3547
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
3548
|
+
defaultJSON?: string | undefined;
|
|
2864
3549
|
} | undefined;
|
|
2865
3550
|
}, {
|
|
2866
3551
|
type: "boolean";
|
|
2867
|
-
attributes
|
|
3552
|
+
attributes?: {
|
|
2868
3553
|
label?: string | undefined;
|
|
2869
3554
|
help?: string | undefined;
|
|
2870
3555
|
labelTranslationKey?: string | undefined;
|
|
2871
3556
|
checked?: boolean | undefined;
|
|
2872
|
-
};
|
|
3557
|
+
} | undefined;
|
|
2873
3558
|
meta?: {
|
|
2874
3559
|
schemaVersion: "1.0";
|
|
3560
|
+
title?: "Yes/No Field" | undefined;
|
|
3561
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
3562
|
+
defaultJSON?: string | undefined;
|
|
2875
3563
|
} | undefined;
|
|
2876
3564
|
}>, z.ZodObject<{
|
|
2877
3565
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -2887,13 +3575,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2887
3575
|
help?: string | undefined;
|
|
2888
3576
|
labelTranslationKey?: string | undefined;
|
|
2889
3577
|
}>>;
|
|
2890
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2891
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2892
|
-
}, "strip", z.ZodTypeAny, {
|
|
2893
|
-
schemaVersion: "1.0";
|
|
2894
|
-
}, {
|
|
2895
|
-
schemaVersion: "1.0";
|
|
2896
|
-
}>>;
|
|
2897
3578
|
} & {
|
|
2898
3579
|
type: z.ZodLiteral<"checkBoxes">;
|
|
2899
3580
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -2910,6 +3591,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2910
3591
|
label: string;
|
|
2911
3592
|
checked?: boolean | undefined;
|
|
2912
3593
|
}>, "many">;
|
|
3594
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3595
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3596
|
+
} & {
|
|
3597
|
+
title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
|
|
3598
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
|
|
3599
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3600
|
+
}, "strip", z.ZodTypeAny, {
|
|
3601
|
+
schemaVersion: "1.0";
|
|
3602
|
+
title?: "Check Boxes" | undefined;
|
|
3603
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
3604
|
+
defaultJSON?: string | undefined;
|
|
3605
|
+
}, {
|
|
3606
|
+
schemaVersion: "1.0";
|
|
3607
|
+
title?: "Check Boxes" | undefined;
|
|
3608
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
3609
|
+
defaultJSON?: string | undefined;
|
|
3610
|
+
}>>;
|
|
2913
3611
|
}, "strip", z.ZodTypeAny, {
|
|
2914
3612
|
options: {
|
|
2915
3613
|
value: string;
|
|
@@ -2924,6 +3622,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2924
3622
|
} | undefined;
|
|
2925
3623
|
meta?: {
|
|
2926
3624
|
schemaVersion: "1.0";
|
|
3625
|
+
title?: "Check Boxes" | undefined;
|
|
3626
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
3627
|
+
defaultJSON?: string | undefined;
|
|
2927
3628
|
} | undefined;
|
|
2928
3629
|
}, {
|
|
2929
3630
|
options: {
|
|
@@ -2939,16 +3640,11 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2939
3640
|
} | undefined;
|
|
2940
3641
|
meta?: {
|
|
2941
3642
|
schemaVersion: "1.0";
|
|
3643
|
+
title?: "Check Boxes" | undefined;
|
|
3644
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
3645
|
+
defaultJSON?: string | undefined;
|
|
2942
3646
|
} | undefined;
|
|
2943
|
-
}>, z.ZodObject<{
|
|
2944
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
2945
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2946
|
-
}, "strip", z.ZodTypeAny, {
|
|
2947
|
-
schemaVersion: "1.0";
|
|
2948
|
-
}, {
|
|
2949
|
-
schemaVersion: "1.0";
|
|
2950
|
-
}>>;
|
|
2951
|
-
} & {
|
|
3647
|
+
}>, z.ZodObject<{} & {
|
|
2952
3648
|
type: z.ZodLiteral<"currency">;
|
|
2953
3649
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
2954
3650
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -2977,6 +3673,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2977
3673
|
step?: number | undefined;
|
|
2978
3674
|
denomination?: string | undefined;
|
|
2979
3675
|
}>>;
|
|
3676
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3677
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3678
|
+
} & {
|
|
3679
|
+
title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
|
|
3680
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
|
|
3681
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3682
|
+
}, "strip", z.ZodTypeAny, {
|
|
3683
|
+
schemaVersion: "1.0";
|
|
3684
|
+
title?: "Currency Field" | undefined;
|
|
3685
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
3686
|
+
defaultJSON?: string | undefined;
|
|
3687
|
+
}, {
|
|
3688
|
+
schemaVersion: "1.0";
|
|
3689
|
+
title?: "Currency Field" | undefined;
|
|
3690
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
3691
|
+
defaultJSON?: string | undefined;
|
|
3692
|
+
}>>;
|
|
2980
3693
|
}, "strip", z.ZodTypeAny, {
|
|
2981
3694
|
type: "currency";
|
|
2982
3695
|
attributes?: {
|
|
@@ -2990,6 +3703,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
2990
3703
|
} | undefined;
|
|
2991
3704
|
meta?: {
|
|
2992
3705
|
schemaVersion: "1.0";
|
|
3706
|
+
title?: "Currency Field" | undefined;
|
|
3707
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
3708
|
+
defaultJSON?: string | undefined;
|
|
2993
3709
|
} | undefined;
|
|
2994
3710
|
}, {
|
|
2995
3711
|
type: "currency";
|
|
@@ -3004,16 +3720,11 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3004
3720
|
} | undefined;
|
|
3005
3721
|
meta?: {
|
|
3006
3722
|
schemaVersion: "1.0";
|
|
3723
|
+
title?: "Currency Field" | undefined;
|
|
3724
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
3725
|
+
defaultJSON?: string | undefined;
|
|
3007
3726
|
} | undefined;
|
|
3008
|
-
}>, z.ZodObject<{
|
|
3009
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3010
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3011
|
-
}, "strip", z.ZodTypeAny, {
|
|
3012
|
-
schemaVersion: "1.0";
|
|
3013
|
-
}, {
|
|
3014
|
-
schemaVersion: "1.0";
|
|
3015
|
-
}>>;
|
|
3016
|
-
} & {
|
|
3727
|
+
}>, z.ZodObject<{} & {
|
|
3017
3728
|
type: z.ZodLiteral<"date">;
|
|
3018
3729
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3019
3730
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3038,6 +3749,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3038
3749
|
min?: string | undefined;
|
|
3039
3750
|
step?: number | undefined;
|
|
3040
3751
|
}>>;
|
|
3752
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3753
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3754
|
+
} & {
|
|
3755
|
+
title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
|
|
3756
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
|
|
3757
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3758
|
+
}, "strip", z.ZodTypeAny, {
|
|
3759
|
+
schemaVersion: "1.0";
|
|
3760
|
+
title?: "Date Field" | undefined;
|
|
3761
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
3762
|
+
defaultJSON?: string | undefined;
|
|
3763
|
+
}, {
|
|
3764
|
+
schemaVersion: "1.0";
|
|
3765
|
+
title?: "Date Field" | undefined;
|
|
3766
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
3767
|
+
defaultJSON?: string | undefined;
|
|
3768
|
+
}>>;
|
|
3041
3769
|
}, "strip", z.ZodTypeAny, {
|
|
3042
3770
|
type: "date";
|
|
3043
3771
|
attributes?: {
|
|
@@ -3050,6 +3778,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3050
3778
|
} | undefined;
|
|
3051
3779
|
meta?: {
|
|
3052
3780
|
schemaVersion: "1.0";
|
|
3781
|
+
title?: "Date Field" | undefined;
|
|
3782
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
3783
|
+
defaultJSON?: string | undefined;
|
|
3053
3784
|
} | undefined;
|
|
3054
3785
|
}, {
|
|
3055
3786
|
type: "date";
|
|
@@ -3063,6 +3794,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3063
3794
|
} | undefined;
|
|
3064
3795
|
meta?: {
|
|
3065
3796
|
schemaVersion: "1.0";
|
|
3797
|
+
title?: "Date Field" | undefined;
|
|
3798
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
3799
|
+
defaultJSON?: string | undefined;
|
|
3066
3800
|
} | undefined;
|
|
3067
3801
|
}>, z.ZodObject<{
|
|
3068
3802
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -3078,13 +3812,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3078
3812
|
help?: string | undefined;
|
|
3079
3813
|
labelTranslationKey?: string | undefined;
|
|
3080
3814
|
}>>;
|
|
3081
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3082
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3083
|
-
}, "strip", z.ZodTypeAny, {
|
|
3084
|
-
schemaVersion: "1.0";
|
|
3085
|
-
}, {
|
|
3086
|
-
schemaVersion: "1.0";
|
|
3087
|
-
}>>;
|
|
3088
3815
|
} & {
|
|
3089
3816
|
type: z.ZodLiteral<"dateRange">;
|
|
3090
3817
|
columns: z.ZodObject<{
|
|
@@ -3169,6 +3896,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3169
3896
|
step?: number | undefined;
|
|
3170
3897
|
} | undefined;
|
|
3171
3898
|
}>;
|
|
3899
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3900
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3901
|
+
} & {
|
|
3902
|
+
title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
|
|
3903
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
|
|
3904
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3905
|
+
}, "strip", z.ZodTypeAny, {
|
|
3906
|
+
schemaVersion: "1.0";
|
|
3907
|
+
title?: "Date Range" | undefined;
|
|
3908
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3909
|
+
defaultJSON?: string | undefined;
|
|
3910
|
+
}, {
|
|
3911
|
+
schemaVersion: "1.0";
|
|
3912
|
+
title?: "Date Range" | undefined;
|
|
3913
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3914
|
+
defaultJSON?: string | undefined;
|
|
3915
|
+
}>>;
|
|
3172
3916
|
}, "strip", z.ZodTypeAny, {
|
|
3173
3917
|
type: "dateRange";
|
|
3174
3918
|
columns: {
|
|
@@ -3196,6 +3940,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3196
3940
|
} | undefined;
|
|
3197
3941
|
meta?: {
|
|
3198
3942
|
schemaVersion: "1.0";
|
|
3943
|
+
title?: "Date Range" | undefined;
|
|
3944
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3945
|
+
defaultJSON?: string | undefined;
|
|
3199
3946
|
} | undefined;
|
|
3200
3947
|
}, {
|
|
3201
3948
|
type: "dateRange";
|
|
@@ -3224,16 +3971,11 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3224
3971
|
} | undefined;
|
|
3225
3972
|
meta?: {
|
|
3226
3973
|
schemaVersion: "1.0";
|
|
3974
|
+
title?: "Date Range" | undefined;
|
|
3975
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
3976
|
+
defaultJSON?: string | undefined;
|
|
3227
3977
|
} | undefined;
|
|
3228
|
-
}>, z.ZodObject<{
|
|
3229
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3230
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3231
|
-
}, "strip", z.ZodTypeAny, {
|
|
3232
|
-
schemaVersion: "1.0";
|
|
3233
|
-
}, {
|
|
3234
|
-
schemaVersion: "1.0";
|
|
3235
|
-
}>>;
|
|
3236
|
-
} & {
|
|
3978
|
+
}>, z.ZodObject<{} & {
|
|
3237
3979
|
type: z.ZodLiteral<"email">;
|
|
3238
3980
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3239
3981
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3262,6 +4004,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3262
4004
|
pattern?: string | undefined;
|
|
3263
4005
|
multiple?: boolean | undefined;
|
|
3264
4006
|
}>>;
|
|
4007
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4008
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4009
|
+
} & {
|
|
4010
|
+
title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
|
|
4011
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
|
|
4012
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
4013
|
+
}, "strip", z.ZodTypeAny, {
|
|
4014
|
+
schemaVersion: "1.0";
|
|
4015
|
+
title?: "Email Field" | undefined;
|
|
4016
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
4017
|
+
defaultJSON?: string | undefined;
|
|
4018
|
+
}, {
|
|
4019
|
+
schemaVersion: "1.0";
|
|
4020
|
+
title?: "Email Field" | undefined;
|
|
4021
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
4022
|
+
defaultJSON?: string | undefined;
|
|
4023
|
+
}>>;
|
|
3265
4024
|
}, "strip", z.ZodTypeAny, {
|
|
3266
4025
|
type: "email";
|
|
3267
4026
|
attributes?: {
|
|
@@ -3275,6 +4034,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3275
4034
|
} | undefined;
|
|
3276
4035
|
meta?: {
|
|
3277
4036
|
schemaVersion: "1.0";
|
|
4037
|
+
title?: "Email Field" | undefined;
|
|
4038
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
4039
|
+
defaultJSON?: string | undefined;
|
|
3278
4040
|
} | undefined;
|
|
3279
4041
|
}, {
|
|
3280
4042
|
type: "email";
|
|
@@ -3289,16 +4051,11 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3289
4051
|
} | undefined;
|
|
3290
4052
|
meta?: {
|
|
3291
4053
|
schemaVersion: "1.0";
|
|
4054
|
+
title?: "Email Field" | undefined;
|
|
4055
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
4056
|
+
defaultJSON?: string | undefined;
|
|
3292
4057
|
} | undefined;
|
|
3293
|
-
}>, z.ZodObject<{
|
|
3294
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3295
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3296
|
-
}, "strip", z.ZodTypeAny, {
|
|
3297
|
-
schemaVersion: "1.0";
|
|
3298
|
-
}, {
|
|
3299
|
-
schemaVersion: "1.0";
|
|
3300
|
-
}>>;
|
|
3301
|
-
} & {
|
|
4058
|
+
}>, z.ZodObject<{} & {
|
|
3302
4059
|
type: z.ZodLiteral<"filteredSearch">;
|
|
3303
4060
|
graphQL: z.ZodObject<{
|
|
3304
4061
|
displayFields: z.ZodArray<z.ZodObject<{
|
|
@@ -3391,6 +4148,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3391
4148
|
labelTranslationKey?: string | undefined;
|
|
3392
4149
|
multiple?: boolean | undefined;
|
|
3393
4150
|
}>>;
|
|
4151
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4152
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4153
|
+
usageDescription: z.ZodOptional<z.ZodString>;
|
|
4154
|
+
defaultJSON: z.ZodOptional<z.ZodString>;
|
|
4155
|
+
} & {
|
|
4156
|
+
title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
|
|
4157
|
+
}, "strip", z.ZodTypeAny, {
|
|
4158
|
+
schemaVersion: "1.0";
|
|
4159
|
+
title?: "Not yet implemented" | undefined;
|
|
4160
|
+
usageDescription?: string | undefined;
|
|
4161
|
+
defaultJSON?: string | undefined;
|
|
4162
|
+
}, {
|
|
4163
|
+
schemaVersion: "1.0";
|
|
4164
|
+
title?: "Not yet implemented" | undefined;
|
|
4165
|
+
usageDescription?: string | undefined;
|
|
4166
|
+
defaultJSON?: string | undefined;
|
|
4167
|
+
}>>;
|
|
3394
4168
|
}, "strip", z.ZodTypeAny, {
|
|
3395
4169
|
type: "filteredSearch";
|
|
3396
4170
|
graphQL: {
|
|
@@ -3419,6 +4193,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3419
4193
|
} | undefined;
|
|
3420
4194
|
meta?: {
|
|
3421
4195
|
schemaVersion: "1.0";
|
|
4196
|
+
title?: "Not yet implemented" | undefined;
|
|
4197
|
+
usageDescription?: string | undefined;
|
|
4198
|
+
defaultJSON?: string | undefined;
|
|
3422
4199
|
} | undefined;
|
|
3423
4200
|
}, {
|
|
3424
4201
|
type: "filteredSearch";
|
|
@@ -3448,16 +4225,11 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3448
4225
|
} | undefined;
|
|
3449
4226
|
meta?: {
|
|
3450
4227
|
schemaVersion: "1.0";
|
|
4228
|
+
title?: "Not yet implemented" | undefined;
|
|
4229
|
+
usageDescription?: string | undefined;
|
|
4230
|
+
defaultJSON?: string | undefined;
|
|
3451
4231
|
} | undefined;
|
|
3452
|
-
}>, z.ZodObject<{
|
|
3453
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3454
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3455
|
-
}, "strip", z.ZodTypeAny, {
|
|
3456
|
-
schemaVersion: "1.0";
|
|
3457
|
-
}, {
|
|
3458
|
-
schemaVersion: "1.0";
|
|
3459
|
-
}>>;
|
|
3460
|
-
} & {
|
|
4232
|
+
}>, z.ZodObject<{} & {
|
|
3461
4233
|
type: z.ZodLiteral<"number">;
|
|
3462
4234
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3463
4235
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3482,6 +4254,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3482
4254
|
min?: number | undefined;
|
|
3483
4255
|
step?: number | undefined;
|
|
3484
4256
|
}>>;
|
|
4257
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4258
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4259
|
+
} & {
|
|
4260
|
+
title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
|
|
4261
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
|
|
4262
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
4263
|
+
}, "strip", z.ZodTypeAny, {
|
|
4264
|
+
schemaVersion: "1.0";
|
|
4265
|
+
title?: "Number Field" | undefined;
|
|
4266
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
4267
|
+
defaultJSON?: string | undefined;
|
|
4268
|
+
}, {
|
|
4269
|
+
schemaVersion: "1.0";
|
|
4270
|
+
title?: "Number Field" | undefined;
|
|
4271
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
4272
|
+
defaultJSON?: string | undefined;
|
|
4273
|
+
}>>;
|
|
3485
4274
|
}, "strip", z.ZodTypeAny, {
|
|
3486
4275
|
type: "number";
|
|
3487
4276
|
attributes?: {
|
|
@@ -3494,6 +4283,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3494
4283
|
} | undefined;
|
|
3495
4284
|
meta?: {
|
|
3496
4285
|
schemaVersion: "1.0";
|
|
4286
|
+
title?: "Number Field" | undefined;
|
|
4287
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
4288
|
+
defaultJSON?: string | undefined;
|
|
3497
4289
|
} | undefined;
|
|
3498
4290
|
}, {
|
|
3499
4291
|
type: "number";
|
|
@@ -3507,6 +4299,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3507
4299
|
} | undefined;
|
|
3508
4300
|
meta?: {
|
|
3509
4301
|
schemaVersion: "1.0";
|
|
4302
|
+
title?: "Number Field" | undefined;
|
|
4303
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
4304
|
+
defaultJSON?: string | undefined;
|
|
3510
4305
|
} | undefined;
|
|
3511
4306
|
}>, z.ZodObject<{
|
|
3512
4307
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
@@ -3522,13 +4317,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3522
4317
|
help?: string | undefined;
|
|
3523
4318
|
labelTranslationKey?: string | undefined;
|
|
3524
4319
|
}>>;
|
|
3525
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3526
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3527
|
-
}, "strip", z.ZodTypeAny, {
|
|
3528
|
-
schemaVersion: "1.0";
|
|
3529
|
-
}, {
|
|
3530
|
-
schemaVersion: "1.0";
|
|
3531
|
-
}>>;
|
|
3532
4320
|
} & {
|
|
3533
4321
|
type: z.ZodLiteral<"radioButtons">;
|
|
3534
4322
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -3545,6 +4333,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3545
4333
|
label: string;
|
|
3546
4334
|
selected?: boolean | undefined;
|
|
3547
4335
|
}>, "many">;
|
|
4336
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4337
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4338
|
+
} & {
|
|
4339
|
+
title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
|
|
4340
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
|
|
4341
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
4342
|
+
}, "strip", z.ZodTypeAny, {
|
|
4343
|
+
schemaVersion: "1.0";
|
|
4344
|
+
title?: "Radio Buttons" | undefined;
|
|
4345
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
4346
|
+
defaultJSON?: string | undefined;
|
|
4347
|
+
}, {
|
|
4348
|
+
schemaVersion: "1.0";
|
|
4349
|
+
title?: "Radio Buttons" | undefined;
|
|
4350
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
4351
|
+
defaultJSON?: string | undefined;
|
|
4352
|
+
}>>;
|
|
3548
4353
|
}, "strip", z.ZodTypeAny, {
|
|
3549
4354
|
options: {
|
|
3550
4355
|
value: string;
|
|
@@ -3559,6 +4364,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3559
4364
|
} | undefined;
|
|
3560
4365
|
meta?: {
|
|
3561
4366
|
schemaVersion: "1.0";
|
|
4367
|
+
title?: "Radio Buttons" | undefined;
|
|
4368
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
4369
|
+
defaultJSON?: string | undefined;
|
|
3562
4370
|
} | undefined;
|
|
3563
4371
|
}, {
|
|
3564
4372
|
options: {
|
|
@@ -3574,16 +4382,11 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3574
4382
|
} | undefined;
|
|
3575
4383
|
meta?: {
|
|
3576
4384
|
schemaVersion: "1.0";
|
|
4385
|
+
title?: "Radio Buttons" | undefined;
|
|
4386
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
4387
|
+
defaultJSON?: string | undefined;
|
|
3577
4388
|
} | undefined;
|
|
3578
|
-
}>, z.ZodObject<{
|
|
3579
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3580
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3581
|
-
}, "strip", z.ZodTypeAny, {
|
|
3582
|
-
schemaVersion: "1.0";
|
|
3583
|
-
}, {
|
|
3584
|
-
schemaVersion: "1.0";
|
|
3585
|
-
}>>;
|
|
3586
|
-
} & {
|
|
4389
|
+
}>, z.ZodObject<{} & {
|
|
3587
4390
|
type: z.ZodLiteral<"selectBox">;
|
|
3588
4391
|
options: z.ZodArray<z.ZodObject<{
|
|
3589
4392
|
label: z.ZodString;
|
|
@@ -3599,22 +4402,39 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3599
4402
|
label: string;
|
|
3600
4403
|
selected?: boolean | undefined;
|
|
3601
4404
|
}>, "many">;
|
|
3602
|
-
attributes: z.
|
|
4405
|
+
attributes: z.ZodObject<{
|
|
3603
4406
|
label: z.ZodOptional<z.ZodString>;
|
|
3604
4407
|
help: z.ZodOptional<z.ZodString>;
|
|
3605
4408
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3606
4409
|
} & {
|
|
3607
|
-
multiple: z.
|
|
4410
|
+
multiple: z.ZodLiteral<false>;
|
|
3608
4411
|
}, "strip", z.ZodTypeAny, {
|
|
4412
|
+
multiple: false;
|
|
3609
4413
|
label?: string | undefined;
|
|
3610
4414
|
help?: string | undefined;
|
|
3611
4415
|
labelTranslationKey?: string | undefined;
|
|
3612
|
-
multiple?: boolean | undefined;
|
|
3613
4416
|
}, {
|
|
4417
|
+
multiple: false;
|
|
3614
4418
|
label?: string | undefined;
|
|
3615
4419
|
help?: string | undefined;
|
|
3616
4420
|
labelTranslationKey?: string | undefined;
|
|
3617
|
-
|
|
4421
|
+
}>;
|
|
4422
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4423
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4424
|
+
} & {
|
|
4425
|
+
title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
|
|
4426
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
|
|
4427
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
4428
|
+
}, "strip", z.ZodTypeAny, {
|
|
4429
|
+
schemaVersion: "1.0";
|
|
4430
|
+
title?: "Select Box" | undefined;
|
|
4431
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
4432
|
+
defaultJSON?: string | undefined;
|
|
4433
|
+
}, {
|
|
4434
|
+
schemaVersion: "1.0";
|
|
4435
|
+
title?: "Select Box" | undefined;
|
|
4436
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
4437
|
+
defaultJSON?: string | undefined;
|
|
3618
4438
|
}>>;
|
|
3619
4439
|
}, "strip", z.ZodTypeAny, {
|
|
3620
4440
|
options: {
|
|
@@ -3623,14 +4443,17 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3623
4443
|
selected?: boolean | undefined;
|
|
3624
4444
|
}[];
|
|
3625
4445
|
type: "selectBox";
|
|
3626
|
-
attributes
|
|
4446
|
+
attributes: {
|
|
4447
|
+
multiple: false;
|
|
3627
4448
|
label?: string | undefined;
|
|
3628
4449
|
help?: string | undefined;
|
|
3629
4450
|
labelTranslationKey?: string | undefined;
|
|
3630
|
-
|
|
3631
|
-
} | undefined;
|
|
4451
|
+
};
|
|
3632
4452
|
meta?: {
|
|
3633
4453
|
schemaVersion: "1.0";
|
|
4454
|
+
title?: "Select Box" | undefined;
|
|
4455
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
4456
|
+
defaultJSON?: string | undefined;
|
|
3634
4457
|
} | undefined;
|
|
3635
4458
|
}, {
|
|
3636
4459
|
options: {
|
|
@@ -3639,14 +4462,17 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3639
4462
|
selected?: boolean | undefined;
|
|
3640
4463
|
}[];
|
|
3641
4464
|
type: "selectBox";
|
|
3642
|
-
attributes
|
|
4465
|
+
attributes: {
|
|
4466
|
+
multiple: false;
|
|
3643
4467
|
label?: string | undefined;
|
|
3644
4468
|
help?: string | undefined;
|
|
3645
4469
|
labelTranslationKey?: string | undefined;
|
|
3646
|
-
|
|
3647
|
-
} | undefined;
|
|
4470
|
+
};
|
|
3648
4471
|
meta?: {
|
|
3649
4472
|
schemaVersion: "1.0";
|
|
4473
|
+
title?: "Select Box" | undefined;
|
|
4474
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
4475
|
+
defaultJSON?: string | undefined;
|
|
3650
4476
|
} | undefined;
|
|
3651
4477
|
}>, z.ZodObject<{} & {
|
|
3652
4478
|
type: z.ZodLiteral<"textArea">;
|
|
@@ -3659,6 +4485,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3659
4485
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3660
4486
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3661
4487
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
4488
|
+
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
3662
4489
|
}, "strip", z.ZodTypeAny, {
|
|
3663
4490
|
label?: string | undefined;
|
|
3664
4491
|
help?: string | undefined;
|
|
@@ -3667,6 +4494,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3667
4494
|
minLength?: number | undefined;
|
|
3668
4495
|
cols?: number | undefined;
|
|
3669
4496
|
rows?: number | undefined;
|
|
4497
|
+
asRichText?: boolean | undefined;
|
|
3670
4498
|
}, {
|
|
3671
4499
|
label?: string | undefined;
|
|
3672
4500
|
help?: string | undefined;
|
|
@@ -3675,24 +4503,27 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3675
4503
|
minLength?: number | undefined;
|
|
3676
4504
|
cols?: number | undefined;
|
|
3677
4505
|
rows?: number | undefined;
|
|
4506
|
+
asRichText?: boolean | undefined;
|
|
3678
4507
|
}>>;
|
|
3679
|
-
meta: z.ZodObject<{
|
|
4508
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
3680
4509
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3681
4510
|
} & {
|
|
3682
|
-
|
|
4511
|
+
title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
|
|
4512
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
|
|
4513
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3683
4514
|
}, "strip", z.ZodTypeAny, {
|
|
3684
4515
|
schemaVersion: "1.0";
|
|
3685
|
-
|
|
4516
|
+
title?: "Text Area" | undefined;
|
|
4517
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
4518
|
+
defaultJSON?: string | undefined;
|
|
3686
4519
|
}, {
|
|
3687
4520
|
schemaVersion: "1.0";
|
|
3688
|
-
|
|
3689
|
-
|
|
4521
|
+
title?: "Text Area" | undefined;
|
|
4522
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
4523
|
+
defaultJSON?: string | undefined;
|
|
4524
|
+
}>>;
|
|
3690
4525
|
}, "strip", z.ZodTypeAny, {
|
|
3691
4526
|
type: "textArea";
|
|
3692
|
-
meta: {
|
|
3693
|
-
schemaVersion: "1.0";
|
|
3694
|
-
asRichText?: boolean | undefined;
|
|
3695
|
-
};
|
|
3696
4527
|
attributes?: {
|
|
3697
4528
|
label?: string | undefined;
|
|
3698
4529
|
help?: string | undefined;
|
|
@@ -3701,243 +4532,107 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3701
4532
|
minLength?: number | undefined;
|
|
3702
4533
|
cols?: number | undefined;
|
|
3703
4534
|
rows?: number | undefined;
|
|
3704
|
-
} | undefined;
|
|
3705
|
-
}, {
|
|
3706
|
-
type: "textArea";
|
|
3707
|
-
meta: {
|
|
3708
|
-
schemaVersion: "1.0";
|
|
3709
4535
|
asRichText?: boolean | undefined;
|
|
3710
|
-
};
|
|
3711
|
-
attributes?: {
|
|
3712
|
-
label?: string | undefined;
|
|
3713
|
-
help?: string | undefined;
|
|
3714
|
-
labelTranslationKey?: string | undefined;
|
|
3715
|
-
maxLength?: number | undefined;
|
|
3716
|
-
minLength?: number | undefined;
|
|
3717
|
-
cols?: number | undefined;
|
|
3718
|
-
rows?: number | undefined;
|
|
3719
|
-
} | undefined;
|
|
3720
|
-
}>, z.ZodObject<{
|
|
3721
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3722
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3723
|
-
}, "strip", z.ZodTypeAny, {
|
|
3724
|
-
schemaVersion: "1.0";
|
|
3725
|
-
}, {
|
|
3726
|
-
schemaVersion: "1.0";
|
|
3727
|
-
}>>;
|
|
3728
|
-
} & {
|
|
3729
|
-
type: z.ZodLiteral<"text">;
|
|
3730
|
-
attributes: z.ZodOptional<z.ZodObject<{
|
|
3731
|
-
label: z.ZodOptional<z.ZodString>;
|
|
3732
|
-
help: z.ZodOptional<z.ZodString>;
|
|
3733
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3734
|
-
} & {
|
|
3735
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3736
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3737
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
3738
|
-
}, "strip", z.ZodTypeAny, {
|
|
3739
|
-
label?: string | undefined;
|
|
3740
|
-
help?: string | undefined;
|
|
3741
|
-
labelTranslationKey?: string | undefined;
|
|
3742
|
-
maxLength?: number | undefined;
|
|
3743
|
-
minLength?: number | undefined;
|
|
3744
|
-
pattern?: string | undefined;
|
|
3745
|
-
}, {
|
|
3746
|
-
label?: string | undefined;
|
|
3747
|
-
help?: string | undefined;
|
|
3748
|
-
labelTranslationKey?: string | undefined;
|
|
3749
|
-
maxLength?: number | undefined;
|
|
3750
|
-
minLength?: number | undefined;
|
|
3751
|
-
pattern?: string | undefined;
|
|
3752
|
-
}>>;
|
|
3753
|
-
}, "strip", z.ZodTypeAny, {
|
|
3754
|
-
type: "text";
|
|
3755
|
-
attributes?: {
|
|
3756
|
-
label?: string | undefined;
|
|
3757
|
-
help?: string | undefined;
|
|
3758
|
-
labelTranslationKey?: string | undefined;
|
|
3759
|
-
maxLength?: number | undefined;
|
|
3760
|
-
minLength?: number | undefined;
|
|
3761
|
-
pattern?: string | undefined;
|
|
3762
4536
|
} | undefined;
|
|
3763
4537
|
meta?: {
|
|
3764
4538
|
schemaVersion: "1.0";
|
|
4539
|
+
title?: "Text Area" | undefined;
|
|
4540
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
4541
|
+
defaultJSON?: string | undefined;
|
|
3765
4542
|
} | undefined;
|
|
3766
4543
|
}, {
|
|
3767
|
-
type: "
|
|
4544
|
+
type: "textArea";
|
|
3768
4545
|
attributes?: {
|
|
3769
4546
|
label?: string | undefined;
|
|
3770
4547
|
help?: string | undefined;
|
|
3771
4548
|
labelTranslationKey?: string | undefined;
|
|
3772
4549
|
maxLength?: number | undefined;
|
|
3773
4550
|
minLength?: number | undefined;
|
|
3774
|
-
|
|
4551
|
+
cols?: number | undefined;
|
|
4552
|
+
rows?: number | undefined;
|
|
4553
|
+
asRichText?: boolean | undefined;
|
|
3775
4554
|
} | undefined;
|
|
3776
4555
|
meta?: {
|
|
3777
4556
|
schemaVersion: "1.0";
|
|
4557
|
+
title?: "Text Area" | undefined;
|
|
4558
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
4559
|
+
defaultJSON?: string | undefined;
|
|
3778
4560
|
} | undefined;
|
|
3779
|
-
}>, z.ZodObject<{
|
|
4561
|
+
}>, z.ZodObject<{} & {
|
|
4562
|
+
type: z.ZodLiteral<"text">;
|
|
3780
4563
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3781
4564
|
label: z.ZodOptional<z.ZodString>;
|
|
3782
4565
|
help: z.ZodOptional<z.ZodString>;
|
|
3783
4566
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
4567
|
+
} & {
|
|
4568
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4569
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
4570
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
3784
4571
|
}, "strip", z.ZodTypeAny, {
|
|
3785
4572
|
label?: string | undefined;
|
|
3786
4573
|
help?: string | undefined;
|
|
3787
4574
|
labelTranslationKey?: string | undefined;
|
|
4575
|
+
maxLength?: number | undefined;
|
|
4576
|
+
minLength?: number | undefined;
|
|
4577
|
+
pattern?: string | undefined;
|
|
3788
4578
|
}, {
|
|
3789
4579
|
label?: string | undefined;
|
|
3790
4580
|
help?: string | undefined;
|
|
3791
4581
|
labelTranslationKey?: string | undefined;
|
|
4582
|
+
maxLength?: number | undefined;
|
|
4583
|
+
minLength?: number | undefined;
|
|
4584
|
+
pattern?: string | undefined;
|
|
3792
4585
|
}>>;
|
|
3793
4586
|
meta: z.ZodOptional<z.ZodObject<{
|
|
3794
4587
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4588
|
+
} & {
|
|
4589
|
+
title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
|
|
4590
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
|
|
4591
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
3795
4592
|
}, "strip", z.ZodTypeAny, {
|
|
3796
4593
|
schemaVersion: "1.0";
|
|
4594
|
+
title?: "Text Field" | undefined;
|
|
4595
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
4596
|
+
defaultJSON?: string | undefined;
|
|
3797
4597
|
}, {
|
|
3798
4598
|
schemaVersion: "1.0";
|
|
4599
|
+
title?: "Text Field" | undefined;
|
|
4600
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
4601
|
+
defaultJSON?: string | undefined;
|
|
3799
4602
|
}>>;
|
|
3800
|
-
} & {
|
|
3801
|
-
type: z.ZodLiteral<"typeaheadSearch">;
|
|
3802
|
-
graphQL: z.ZodObject<{
|
|
3803
|
-
displayFields: z.ZodArray<z.ZodObject<{
|
|
3804
|
-
propertyName: z.ZodString;
|
|
3805
|
-
label: z.ZodString;
|
|
3806
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3807
|
-
}, "strip", z.ZodTypeAny, {
|
|
3808
|
-
label: string;
|
|
3809
|
-
propertyName: string;
|
|
3810
|
-
labelTranslationKey?: string | undefined;
|
|
3811
|
-
}, {
|
|
3812
|
-
label: string;
|
|
3813
|
-
propertyName: string;
|
|
3814
|
-
labelTranslationKey?: string | undefined;
|
|
3815
|
-
}>, "many">;
|
|
3816
|
-
localQueryId: z.ZodOptional<z.ZodString>;
|
|
3817
|
-
query: z.ZodOptional<z.ZodString>;
|
|
3818
|
-
responseField: z.ZodString;
|
|
3819
|
-
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3820
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3821
|
-
label: z.ZodOptional<z.ZodString>;
|
|
3822
|
-
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
3823
|
-
name: z.ZodString;
|
|
3824
|
-
type: z.ZodString;
|
|
3825
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3826
|
-
}, "strip", z.ZodTypeAny, {
|
|
3827
|
-
type: string;
|
|
3828
|
-
name: string;
|
|
3829
|
-
label?: string | undefined;
|
|
3830
|
-
labelTranslationKey?: string | undefined;
|
|
3831
|
-
minLength?: number | undefined;
|
|
3832
|
-
defaultValue?: string | undefined;
|
|
3833
|
-
}, {
|
|
3834
|
-
type: string;
|
|
3835
|
-
name: string;
|
|
3836
|
-
label?: string | undefined;
|
|
3837
|
-
labelTranslationKey?: string | undefined;
|
|
3838
|
-
minLength?: number | undefined;
|
|
3839
|
-
defaultValue?: string | undefined;
|
|
3840
|
-
}>, "many">>;
|
|
3841
|
-
}, "strip", z.ZodTypeAny, {
|
|
3842
|
-
displayFields: {
|
|
3843
|
-
label: string;
|
|
3844
|
-
propertyName: string;
|
|
3845
|
-
labelTranslationKey?: string | undefined;
|
|
3846
|
-
}[];
|
|
3847
|
-
responseField: string;
|
|
3848
|
-
localQueryId?: string | undefined;
|
|
3849
|
-
query?: string | undefined;
|
|
3850
|
-
variables?: {
|
|
3851
|
-
type: string;
|
|
3852
|
-
name: string;
|
|
3853
|
-
label?: string | undefined;
|
|
3854
|
-
labelTranslationKey?: string | undefined;
|
|
3855
|
-
minLength?: number | undefined;
|
|
3856
|
-
defaultValue?: string | undefined;
|
|
3857
|
-
}[] | undefined;
|
|
3858
|
-
}, {
|
|
3859
|
-
displayFields: {
|
|
3860
|
-
label: string;
|
|
3861
|
-
propertyName: string;
|
|
3862
|
-
labelTranslationKey?: string | undefined;
|
|
3863
|
-
}[];
|
|
3864
|
-
responseField: string;
|
|
3865
|
-
localQueryId?: string | undefined;
|
|
3866
|
-
query?: string | undefined;
|
|
3867
|
-
variables?: {
|
|
3868
|
-
type: string;
|
|
3869
|
-
name: string;
|
|
3870
|
-
label?: string | undefined;
|
|
3871
|
-
labelTranslationKey?: string | undefined;
|
|
3872
|
-
minLength?: number | undefined;
|
|
3873
|
-
defaultValue?: string | undefined;
|
|
3874
|
-
}[] | undefined;
|
|
3875
|
-
}>;
|
|
3876
4603
|
}, "strip", z.ZodTypeAny, {
|
|
3877
|
-
type: "
|
|
3878
|
-
graphQL: {
|
|
3879
|
-
displayFields: {
|
|
3880
|
-
label: string;
|
|
3881
|
-
propertyName: string;
|
|
3882
|
-
labelTranslationKey?: string | undefined;
|
|
3883
|
-
}[];
|
|
3884
|
-
responseField: string;
|
|
3885
|
-
localQueryId?: string | undefined;
|
|
3886
|
-
query?: string | undefined;
|
|
3887
|
-
variables?: {
|
|
3888
|
-
type: string;
|
|
3889
|
-
name: string;
|
|
3890
|
-
label?: string | undefined;
|
|
3891
|
-
labelTranslationKey?: string | undefined;
|
|
3892
|
-
minLength?: number | undefined;
|
|
3893
|
-
defaultValue?: string | undefined;
|
|
3894
|
-
}[] | undefined;
|
|
3895
|
-
};
|
|
4604
|
+
type: "text";
|
|
3896
4605
|
attributes?: {
|
|
3897
4606
|
label?: string | undefined;
|
|
3898
4607
|
help?: string | undefined;
|
|
3899
4608
|
labelTranslationKey?: string | undefined;
|
|
4609
|
+
maxLength?: number | undefined;
|
|
4610
|
+
minLength?: number | undefined;
|
|
4611
|
+
pattern?: string | undefined;
|
|
3900
4612
|
} | undefined;
|
|
3901
4613
|
meta?: {
|
|
3902
4614
|
schemaVersion: "1.0";
|
|
4615
|
+
title?: "Text Field" | undefined;
|
|
4616
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
4617
|
+
defaultJSON?: string | undefined;
|
|
3903
4618
|
} | undefined;
|
|
3904
4619
|
}, {
|
|
3905
|
-
type: "
|
|
3906
|
-
graphQL: {
|
|
3907
|
-
displayFields: {
|
|
3908
|
-
label: string;
|
|
3909
|
-
propertyName: string;
|
|
3910
|
-
labelTranslationKey?: string | undefined;
|
|
3911
|
-
}[];
|
|
3912
|
-
responseField: string;
|
|
3913
|
-
localQueryId?: string | undefined;
|
|
3914
|
-
query?: string | undefined;
|
|
3915
|
-
variables?: {
|
|
3916
|
-
type: string;
|
|
3917
|
-
name: string;
|
|
3918
|
-
label?: string | undefined;
|
|
3919
|
-
labelTranslationKey?: string | undefined;
|
|
3920
|
-
minLength?: number | undefined;
|
|
3921
|
-
defaultValue?: string | undefined;
|
|
3922
|
-
}[] | undefined;
|
|
3923
|
-
};
|
|
4620
|
+
type: "text";
|
|
3924
4621
|
attributes?: {
|
|
3925
4622
|
label?: string | undefined;
|
|
3926
4623
|
help?: string | undefined;
|
|
3927
4624
|
labelTranslationKey?: string | undefined;
|
|
4625
|
+
maxLength?: number | undefined;
|
|
4626
|
+
minLength?: number | undefined;
|
|
4627
|
+
pattern?: string | undefined;
|
|
3928
4628
|
} | undefined;
|
|
3929
4629
|
meta?: {
|
|
3930
4630
|
schemaVersion: "1.0";
|
|
4631
|
+
title?: "Text Field" | undefined;
|
|
4632
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
4633
|
+
defaultJSON?: string | undefined;
|
|
3931
4634
|
} | undefined;
|
|
3932
|
-
}>, z.ZodObject<{
|
|
3933
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
3934
|
-
schemaVersion: z.ZodLiteral<"1.0">;
|
|
3935
|
-
}, "strip", z.ZodTypeAny, {
|
|
3936
|
-
schemaVersion: "1.0";
|
|
3937
|
-
}, {
|
|
3938
|
-
schemaVersion: "1.0";
|
|
3939
|
-
}>>;
|
|
3940
|
-
} & {
|
|
4635
|
+
}>, z.ZodObject<{} & {
|
|
3941
4636
|
type: z.ZodLiteral<"url">;
|
|
3942
4637
|
attributes: z.ZodOptional<z.ZodObject<{
|
|
3943
4638
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -3962,6 +4657,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3962
4657
|
minLength?: number | undefined;
|
|
3963
4658
|
pattern?: string | undefined;
|
|
3964
4659
|
}>>;
|
|
4660
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
4661
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
4662
|
+
} & {
|
|
4663
|
+
title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
|
|
4664
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
|
|
4665
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
4666
|
+
}, "strip", z.ZodTypeAny, {
|
|
4667
|
+
schemaVersion: "1.0";
|
|
4668
|
+
title?: "URL Field" | undefined;
|
|
4669
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4670
|
+
defaultJSON?: string | undefined;
|
|
4671
|
+
}, {
|
|
4672
|
+
schemaVersion: "1.0";
|
|
4673
|
+
title?: "URL Field" | undefined;
|
|
4674
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4675
|
+
defaultJSON?: string | undefined;
|
|
4676
|
+
}>>;
|
|
3965
4677
|
}, "strip", z.ZodTypeAny, {
|
|
3966
4678
|
type: "url";
|
|
3967
4679
|
attributes?: {
|
|
@@ -3974,6 +4686,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3974
4686
|
} | undefined;
|
|
3975
4687
|
meta?: {
|
|
3976
4688
|
schemaVersion: "1.0";
|
|
4689
|
+
title?: "URL Field" | undefined;
|
|
4690
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4691
|
+
defaultJSON?: string | undefined;
|
|
3977
4692
|
} | undefined;
|
|
3978
4693
|
}, {
|
|
3979
4694
|
type: "url";
|
|
@@ -3987,6 +4702,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
3987
4702
|
} | undefined;
|
|
3988
4703
|
meta?: {
|
|
3989
4704
|
schemaVersion: "1.0";
|
|
4705
|
+
title?: "URL Field" | undefined;
|
|
4706
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4707
|
+
defaultJSON?: string | undefined;
|
|
3990
4708
|
} | undefined;
|
|
3991
4709
|
}>]>;
|
|
3992
4710
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4003,6 +4721,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4003
4721
|
} | undefined;
|
|
4004
4722
|
meta?: {
|
|
4005
4723
|
schemaVersion: "1.0";
|
|
4724
|
+
title?: "Currency Field" | undefined;
|
|
4725
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
4726
|
+
defaultJSON?: string | undefined;
|
|
4006
4727
|
} | undefined;
|
|
4007
4728
|
} | {
|
|
4008
4729
|
type: "number";
|
|
@@ -4016,6 +4737,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4016
4737
|
} | undefined;
|
|
4017
4738
|
meta?: {
|
|
4018
4739
|
schemaVersion: "1.0";
|
|
4740
|
+
title?: "Number Field" | undefined;
|
|
4741
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
4742
|
+
defaultJSON?: string | undefined;
|
|
4019
4743
|
} | undefined;
|
|
4020
4744
|
} | {
|
|
4021
4745
|
type: "email";
|
|
@@ -4030,13 +4754,12 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4030
4754
|
} | undefined;
|
|
4031
4755
|
meta?: {
|
|
4032
4756
|
schemaVersion: "1.0";
|
|
4757
|
+
title?: "Email Field" | undefined;
|
|
4758
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
4759
|
+
defaultJSON?: string | undefined;
|
|
4033
4760
|
} | undefined;
|
|
4034
4761
|
} | {
|
|
4035
4762
|
type: "textArea";
|
|
4036
|
-
meta: {
|
|
4037
|
-
schemaVersion: "1.0";
|
|
4038
|
-
asRichText?: boolean | undefined;
|
|
4039
|
-
};
|
|
4040
4763
|
attributes?: {
|
|
4041
4764
|
label?: string | undefined;
|
|
4042
4765
|
help?: string | undefined;
|
|
@@ -4045,6 +4768,13 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4045
4768
|
minLength?: number | undefined;
|
|
4046
4769
|
cols?: number | undefined;
|
|
4047
4770
|
rows?: number | undefined;
|
|
4771
|
+
asRichText?: boolean | undefined;
|
|
4772
|
+
} | undefined;
|
|
4773
|
+
meta?: {
|
|
4774
|
+
schemaVersion: "1.0";
|
|
4775
|
+
title?: "Text Area" | undefined;
|
|
4776
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
4777
|
+
defaultJSON?: string | undefined;
|
|
4048
4778
|
} | undefined;
|
|
4049
4779
|
} | {
|
|
4050
4780
|
type: "text";
|
|
@@ -4058,6 +4788,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4058
4788
|
} | undefined;
|
|
4059
4789
|
meta?: {
|
|
4060
4790
|
schemaVersion: "1.0";
|
|
4791
|
+
title?: "Text Field" | undefined;
|
|
4792
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
4793
|
+
defaultJSON?: string | undefined;
|
|
4061
4794
|
} | undefined;
|
|
4062
4795
|
} | {
|
|
4063
4796
|
type: "url";
|
|
@@ -4071,6 +4804,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4071
4804
|
} | undefined;
|
|
4072
4805
|
meta?: {
|
|
4073
4806
|
schemaVersion: "1.0";
|
|
4807
|
+
title?: "URL Field" | undefined;
|
|
4808
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
4809
|
+
defaultJSON?: string | undefined;
|
|
4074
4810
|
} | undefined;
|
|
4075
4811
|
} | {
|
|
4076
4812
|
type: "date";
|
|
@@ -4084,6 +4820,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4084
4820
|
} | undefined;
|
|
4085
4821
|
meta?: {
|
|
4086
4822
|
schemaVersion: "1.0";
|
|
4823
|
+
title?: "Date Field" | undefined;
|
|
4824
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
4825
|
+
defaultJSON?: string | undefined;
|
|
4087
4826
|
} | undefined;
|
|
4088
4827
|
} | {
|
|
4089
4828
|
type: "dateRange";
|
|
@@ -4112,17 +4851,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4112
4851
|
} | undefined;
|
|
4113
4852
|
meta?: {
|
|
4114
4853
|
schemaVersion: "1.0";
|
|
4854
|
+
title?: "Date Range" | undefined;
|
|
4855
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
4856
|
+
defaultJSON?: string | undefined;
|
|
4115
4857
|
} | undefined;
|
|
4116
4858
|
} | {
|
|
4117
4859
|
type: "boolean";
|
|
4118
|
-
attributes
|
|
4860
|
+
attributes?: {
|
|
4119
4861
|
label?: string | undefined;
|
|
4120
4862
|
help?: string | undefined;
|
|
4121
4863
|
labelTranslationKey?: string | undefined;
|
|
4122
4864
|
checked?: boolean | undefined;
|
|
4123
|
-
};
|
|
4865
|
+
} | undefined;
|
|
4124
4866
|
meta?: {
|
|
4125
4867
|
schemaVersion: "1.0";
|
|
4868
|
+
title?: "Yes/No Field" | undefined;
|
|
4869
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
4870
|
+
defaultJSON?: string | undefined;
|
|
4126
4871
|
} | undefined;
|
|
4127
4872
|
} | {
|
|
4128
4873
|
options: {
|
|
@@ -4138,6 +4883,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4138
4883
|
} | undefined;
|
|
4139
4884
|
meta?: {
|
|
4140
4885
|
schemaVersion: "1.0";
|
|
4886
|
+
title?: "Check Boxes" | undefined;
|
|
4887
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
4888
|
+
defaultJSON?: string | undefined;
|
|
4141
4889
|
} | undefined;
|
|
4142
4890
|
} | {
|
|
4143
4891
|
options: {
|
|
@@ -4153,6 +4901,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4153
4901
|
} | undefined;
|
|
4154
4902
|
meta?: {
|
|
4155
4903
|
schemaVersion: "1.0";
|
|
4904
|
+
title?: "Radio Buttons" | undefined;
|
|
4905
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
4906
|
+
defaultJSON?: string | undefined;
|
|
4156
4907
|
} | undefined;
|
|
4157
4908
|
} | {
|
|
4158
4909
|
options: {
|
|
@@ -4161,14 +4912,17 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4161
4912
|
selected?: boolean | undefined;
|
|
4162
4913
|
}[];
|
|
4163
4914
|
type: "selectBox";
|
|
4164
|
-
attributes
|
|
4915
|
+
attributes: {
|
|
4916
|
+
multiple: false;
|
|
4165
4917
|
label?: string | undefined;
|
|
4166
4918
|
help?: string | undefined;
|
|
4167
4919
|
labelTranslationKey?: string | undefined;
|
|
4168
|
-
|
|
4169
|
-
} | undefined;
|
|
4920
|
+
};
|
|
4170
4921
|
meta?: {
|
|
4171
4922
|
schemaVersion: "1.0";
|
|
4923
|
+
title?: "Select Box" | undefined;
|
|
4924
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
4925
|
+
defaultJSON?: string | undefined;
|
|
4172
4926
|
} | undefined;
|
|
4173
4927
|
} | {
|
|
4174
4928
|
type: "filteredSearch";
|
|
@@ -4198,9 +4952,18 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4198
4952
|
} | undefined;
|
|
4199
4953
|
meta?: {
|
|
4200
4954
|
schemaVersion: "1.0";
|
|
4955
|
+
title?: "Not yet implemented" | undefined;
|
|
4956
|
+
usageDescription?: string | undefined;
|
|
4957
|
+
defaultJSON?: string | undefined;
|
|
4201
4958
|
} | undefined;
|
|
4202
4959
|
} | {
|
|
4203
|
-
type: "
|
|
4960
|
+
type: "affiliationSearch";
|
|
4961
|
+
meta: {
|
|
4962
|
+
schemaVersion: "1.0";
|
|
4963
|
+
title?: "Affiliation Search" | undefined;
|
|
4964
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
4965
|
+
defaultJSON?: string | undefined;
|
|
4966
|
+
};
|
|
4204
4967
|
graphQL: {
|
|
4205
4968
|
displayFields: {
|
|
4206
4969
|
label: string;
|
|
@@ -4224,9 +4987,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4224
4987
|
help?: string | undefined;
|
|
4225
4988
|
labelTranslationKey?: string | undefined;
|
|
4226
4989
|
} | undefined;
|
|
4227
|
-
meta?: {
|
|
4228
|
-
schemaVersion: "1.0";
|
|
4229
|
-
} | undefined;
|
|
4230
4990
|
};
|
|
4231
4991
|
heading?: string | undefined;
|
|
4232
4992
|
}, {
|
|
@@ -4243,6 +5003,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4243
5003
|
} | undefined;
|
|
4244
5004
|
meta?: {
|
|
4245
5005
|
schemaVersion: "1.0";
|
|
5006
|
+
title?: "Currency Field" | undefined;
|
|
5007
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
5008
|
+
defaultJSON?: string | undefined;
|
|
4246
5009
|
} | undefined;
|
|
4247
5010
|
} | {
|
|
4248
5011
|
type: "number";
|
|
@@ -4256,6 +5019,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4256
5019
|
} | undefined;
|
|
4257
5020
|
meta?: {
|
|
4258
5021
|
schemaVersion: "1.0";
|
|
5022
|
+
title?: "Number Field" | undefined;
|
|
5023
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
5024
|
+
defaultJSON?: string | undefined;
|
|
4259
5025
|
} | undefined;
|
|
4260
5026
|
} | {
|
|
4261
5027
|
type: "email";
|
|
@@ -4270,13 +5036,12 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4270
5036
|
} | undefined;
|
|
4271
5037
|
meta?: {
|
|
4272
5038
|
schemaVersion: "1.0";
|
|
5039
|
+
title?: "Email Field" | undefined;
|
|
5040
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
5041
|
+
defaultJSON?: string | undefined;
|
|
4273
5042
|
} | undefined;
|
|
4274
5043
|
} | {
|
|
4275
5044
|
type: "textArea";
|
|
4276
|
-
meta: {
|
|
4277
|
-
schemaVersion: "1.0";
|
|
4278
|
-
asRichText?: boolean | undefined;
|
|
4279
|
-
};
|
|
4280
5045
|
attributes?: {
|
|
4281
5046
|
label?: string | undefined;
|
|
4282
5047
|
help?: string | undefined;
|
|
@@ -4285,6 +5050,13 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4285
5050
|
minLength?: number | undefined;
|
|
4286
5051
|
cols?: number | undefined;
|
|
4287
5052
|
rows?: number | undefined;
|
|
5053
|
+
asRichText?: boolean | undefined;
|
|
5054
|
+
} | undefined;
|
|
5055
|
+
meta?: {
|
|
5056
|
+
schemaVersion: "1.0";
|
|
5057
|
+
title?: "Text Area" | undefined;
|
|
5058
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
5059
|
+
defaultJSON?: string | undefined;
|
|
4288
5060
|
} | undefined;
|
|
4289
5061
|
} | {
|
|
4290
5062
|
type: "text";
|
|
@@ -4298,6 +5070,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4298
5070
|
} | undefined;
|
|
4299
5071
|
meta?: {
|
|
4300
5072
|
schemaVersion: "1.0";
|
|
5073
|
+
title?: "Text Field" | undefined;
|
|
5074
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
5075
|
+
defaultJSON?: string | undefined;
|
|
4301
5076
|
} | undefined;
|
|
4302
5077
|
} | {
|
|
4303
5078
|
type: "url";
|
|
@@ -4311,6 +5086,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4311
5086
|
} | undefined;
|
|
4312
5087
|
meta?: {
|
|
4313
5088
|
schemaVersion: "1.0";
|
|
5089
|
+
title?: "URL Field" | undefined;
|
|
5090
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
5091
|
+
defaultJSON?: string | undefined;
|
|
4314
5092
|
} | undefined;
|
|
4315
5093
|
} | {
|
|
4316
5094
|
type: "date";
|
|
@@ -4324,6 +5102,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4324
5102
|
} | undefined;
|
|
4325
5103
|
meta?: {
|
|
4326
5104
|
schemaVersion: "1.0";
|
|
5105
|
+
title?: "Date Field" | undefined;
|
|
5106
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
5107
|
+
defaultJSON?: string | undefined;
|
|
4327
5108
|
} | undefined;
|
|
4328
5109
|
} | {
|
|
4329
5110
|
type: "dateRange";
|
|
@@ -4352,17 +5133,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4352
5133
|
} | undefined;
|
|
4353
5134
|
meta?: {
|
|
4354
5135
|
schemaVersion: "1.0";
|
|
5136
|
+
title?: "Date Range" | undefined;
|
|
5137
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
5138
|
+
defaultJSON?: string | undefined;
|
|
4355
5139
|
} | undefined;
|
|
4356
5140
|
} | {
|
|
4357
5141
|
type: "boolean";
|
|
4358
|
-
attributes
|
|
5142
|
+
attributes?: {
|
|
4359
5143
|
label?: string | undefined;
|
|
4360
5144
|
help?: string | undefined;
|
|
4361
5145
|
labelTranslationKey?: string | undefined;
|
|
4362
5146
|
checked?: boolean | undefined;
|
|
4363
|
-
};
|
|
5147
|
+
} | undefined;
|
|
4364
5148
|
meta?: {
|
|
4365
5149
|
schemaVersion: "1.0";
|
|
5150
|
+
title?: "Yes/No Field" | undefined;
|
|
5151
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
5152
|
+
defaultJSON?: string | undefined;
|
|
4366
5153
|
} | undefined;
|
|
4367
5154
|
} | {
|
|
4368
5155
|
options: {
|
|
@@ -4378,6 +5165,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4378
5165
|
} | undefined;
|
|
4379
5166
|
meta?: {
|
|
4380
5167
|
schemaVersion: "1.0";
|
|
5168
|
+
title?: "Check Boxes" | undefined;
|
|
5169
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
5170
|
+
defaultJSON?: string | undefined;
|
|
4381
5171
|
} | undefined;
|
|
4382
5172
|
} | {
|
|
4383
5173
|
options: {
|
|
@@ -4393,6 +5183,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4393
5183
|
} | undefined;
|
|
4394
5184
|
meta?: {
|
|
4395
5185
|
schemaVersion: "1.0";
|
|
5186
|
+
title?: "Radio Buttons" | undefined;
|
|
5187
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
5188
|
+
defaultJSON?: string | undefined;
|
|
4396
5189
|
} | undefined;
|
|
4397
5190
|
} | {
|
|
4398
5191
|
options: {
|
|
@@ -4401,14 +5194,17 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4401
5194
|
selected?: boolean | undefined;
|
|
4402
5195
|
}[];
|
|
4403
5196
|
type: "selectBox";
|
|
4404
|
-
attributes
|
|
5197
|
+
attributes: {
|
|
5198
|
+
multiple: false;
|
|
4405
5199
|
label?: string | undefined;
|
|
4406
5200
|
help?: string | undefined;
|
|
4407
5201
|
labelTranslationKey?: string | undefined;
|
|
4408
|
-
|
|
4409
|
-
} | undefined;
|
|
5202
|
+
};
|
|
4410
5203
|
meta?: {
|
|
4411
5204
|
schemaVersion: "1.0";
|
|
5205
|
+
title?: "Select Box" | undefined;
|
|
5206
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
5207
|
+
defaultJSON?: string | undefined;
|
|
4412
5208
|
} | undefined;
|
|
4413
5209
|
} | {
|
|
4414
5210
|
type: "filteredSearch";
|
|
@@ -4438,9 +5234,18 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4438
5234
|
} | undefined;
|
|
4439
5235
|
meta?: {
|
|
4440
5236
|
schemaVersion: "1.0";
|
|
5237
|
+
title?: "Not yet implemented" | undefined;
|
|
5238
|
+
usageDescription?: string | undefined;
|
|
5239
|
+
defaultJSON?: string | undefined;
|
|
4441
5240
|
} | undefined;
|
|
4442
5241
|
} | {
|
|
4443
|
-
type: "
|
|
5242
|
+
type: "affiliationSearch";
|
|
5243
|
+
meta: {
|
|
5244
|
+
schemaVersion: "1.0";
|
|
5245
|
+
title?: "Affiliation Search" | undefined;
|
|
5246
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
5247
|
+
defaultJSON?: string | undefined;
|
|
5248
|
+
};
|
|
4444
5249
|
graphQL: {
|
|
4445
5250
|
displayFields: {
|
|
4446
5251
|
label: string;
|
|
@@ -4464,9 +5269,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4464
5269
|
help?: string | undefined;
|
|
4465
5270
|
labelTranslationKey?: string | undefined;
|
|
4466
5271
|
} | undefined;
|
|
4467
|
-
meta?: {
|
|
4468
|
-
schemaVersion: "1.0";
|
|
4469
|
-
} | undefined;
|
|
4470
5272
|
};
|
|
4471
5273
|
heading?: string | undefined;
|
|
4472
5274
|
}>, "many">;
|
|
@@ -4499,6 +5301,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4499
5301
|
maxRows?: number | undefined;
|
|
4500
5302
|
minRows?: number | undefined;
|
|
4501
5303
|
}>>;
|
|
5304
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
5305
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
5306
|
+
} & {
|
|
5307
|
+
title: z.ZodOptional<z.ZodLiteral<"Table">>;
|
|
5308
|
+
usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a tabular format.">>;
|
|
5309
|
+
defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
|
|
5310
|
+
}, "strip", z.ZodTypeAny, {
|
|
5311
|
+
schemaVersion: "1.0";
|
|
5312
|
+
title?: "Table" | undefined;
|
|
5313
|
+
usageDescription?: "For questions that require a tabular format." | undefined;
|
|
5314
|
+
defaultJSON?: string | undefined;
|
|
5315
|
+
}, {
|
|
5316
|
+
schemaVersion: "1.0";
|
|
5317
|
+
title?: "Table" | undefined;
|
|
5318
|
+
usageDescription?: "For questions that require a tabular format." | undefined;
|
|
5319
|
+
defaultJSON?: string | undefined;
|
|
5320
|
+
}>>;
|
|
4502
5321
|
}, "strip", z.ZodTypeAny, {
|
|
4503
5322
|
type: "table";
|
|
4504
5323
|
columns: {
|
|
@@ -4515,6 +5334,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4515
5334
|
} | undefined;
|
|
4516
5335
|
meta?: {
|
|
4517
5336
|
schemaVersion: "1.0";
|
|
5337
|
+
title?: "Currency Field" | undefined;
|
|
5338
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
5339
|
+
defaultJSON?: string | undefined;
|
|
4518
5340
|
} | undefined;
|
|
4519
5341
|
} | {
|
|
4520
5342
|
type: "number";
|
|
@@ -4528,6 +5350,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4528
5350
|
} | undefined;
|
|
4529
5351
|
meta?: {
|
|
4530
5352
|
schemaVersion: "1.0";
|
|
5353
|
+
title?: "Number Field" | undefined;
|
|
5354
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
5355
|
+
defaultJSON?: string | undefined;
|
|
4531
5356
|
} | undefined;
|
|
4532
5357
|
} | {
|
|
4533
5358
|
type: "email";
|
|
@@ -4542,13 +5367,12 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4542
5367
|
} | undefined;
|
|
4543
5368
|
meta?: {
|
|
4544
5369
|
schemaVersion: "1.0";
|
|
5370
|
+
title?: "Email Field" | undefined;
|
|
5371
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
5372
|
+
defaultJSON?: string | undefined;
|
|
4545
5373
|
} | undefined;
|
|
4546
5374
|
} | {
|
|
4547
5375
|
type: "textArea";
|
|
4548
|
-
meta: {
|
|
4549
|
-
schemaVersion: "1.0";
|
|
4550
|
-
asRichText?: boolean | undefined;
|
|
4551
|
-
};
|
|
4552
5376
|
attributes?: {
|
|
4553
5377
|
label?: string | undefined;
|
|
4554
5378
|
help?: string | undefined;
|
|
@@ -4557,6 +5381,13 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4557
5381
|
minLength?: number | undefined;
|
|
4558
5382
|
cols?: number | undefined;
|
|
4559
5383
|
rows?: number | undefined;
|
|
5384
|
+
asRichText?: boolean | undefined;
|
|
5385
|
+
} | undefined;
|
|
5386
|
+
meta?: {
|
|
5387
|
+
schemaVersion: "1.0";
|
|
5388
|
+
title?: "Text Area" | undefined;
|
|
5389
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
5390
|
+
defaultJSON?: string | undefined;
|
|
4560
5391
|
} | undefined;
|
|
4561
5392
|
} | {
|
|
4562
5393
|
type: "text";
|
|
@@ -4570,6 +5401,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4570
5401
|
} | undefined;
|
|
4571
5402
|
meta?: {
|
|
4572
5403
|
schemaVersion: "1.0";
|
|
5404
|
+
title?: "Text Field" | undefined;
|
|
5405
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
5406
|
+
defaultJSON?: string | undefined;
|
|
4573
5407
|
} | undefined;
|
|
4574
5408
|
} | {
|
|
4575
5409
|
type: "url";
|
|
@@ -4583,6 +5417,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4583
5417
|
} | undefined;
|
|
4584
5418
|
meta?: {
|
|
4585
5419
|
schemaVersion: "1.0";
|
|
5420
|
+
title?: "URL Field" | undefined;
|
|
5421
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
5422
|
+
defaultJSON?: string | undefined;
|
|
4586
5423
|
} | undefined;
|
|
4587
5424
|
} | {
|
|
4588
5425
|
type: "date";
|
|
@@ -4596,6 +5433,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4596
5433
|
} | undefined;
|
|
4597
5434
|
meta?: {
|
|
4598
5435
|
schemaVersion: "1.0";
|
|
5436
|
+
title?: "Date Field" | undefined;
|
|
5437
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
5438
|
+
defaultJSON?: string | undefined;
|
|
4599
5439
|
} | undefined;
|
|
4600
5440
|
} | {
|
|
4601
5441
|
type: "dateRange";
|
|
@@ -4624,17 +5464,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4624
5464
|
} | undefined;
|
|
4625
5465
|
meta?: {
|
|
4626
5466
|
schemaVersion: "1.0";
|
|
5467
|
+
title?: "Date Range" | undefined;
|
|
5468
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
5469
|
+
defaultJSON?: string | undefined;
|
|
4627
5470
|
} | undefined;
|
|
4628
5471
|
} | {
|
|
4629
5472
|
type: "boolean";
|
|
4630
|
-
attributes
|
|
5473
|
+
attributes?: {
|
|
4631
5474
|
label?: string | undefined;
|
|
4632
5475
|
help?: string | undefined;
|
|
4633
5476
|
labelTranslationKey?: string | undefined;
|
|
4634
5477
|
checked?: boolean | undefined;
|
|
4635
|
-
};
|
|
5478
|
+
} | undefined;
|
|
4636
5479
|
meta?: {
|
|
4637
5480
|
schemaVersion: "1.0";
|
|
5481
|
+
title?: "Yes/No Field" | undefined;
|
|
5482
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
5483
|
+
defaultJSON?: string | undefined;
|
|
4638
5484
|
} | undefined;
|
|
4639
5485
|
} | {
|
|
4640
5486
|
options: {
|
|
@@ -4650,6 +5496,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4650
5496
|
} | undefined;
|
|
4651
5497
|
meta?: {
|
|
4652
5498
|
schemaVersion: "1.0";
|
|
5499
|
+
title?: "Check Boxes" | undefined;
|
|
5500
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
5501
|
+
defaultJSON?: string | undefined;
|
|
4653
5502
|
} | undefined;
|
|
4654
5503
|
} | {
|
|
4655
5504
|
options: {
|
|
@@ -4665,6 +5514,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4665
5514
|
} | undefined;
|
|
4666
5515
|
meta?: {
|
|
4667
5516
|
schemaVersion: "1.0";
|
|
5517
|
+
title?: "Radio Buttons" | undefined;
|
|
5518
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
5519
|
+
defaultJSON?: string | undefined;
|
|
4668
5520
|
} | undefined;
|
|
4669
5521
|
} | {
|
|
4670
5522
|
options: {
|
|
@@ -4673,14 +5525,17 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4673
5525
|
selected?: boolean | undefined;
|
|
4674
5526
|
}[];
|
|
4675
5527
|
type: "selectBox";
|
|
4676
|
-
attributes
|
|
5528
|
+
attributes: {
|
|
5529
|
+
multiple: false;
|
|
4677
5530
|
label?: string | undefined;
|
|
4678
5531
|
help?: string | undefined;
|
|
4679
5532
|
labelTranslationKey?: string | undefined;
|
|
4680
|
-
|
|
4681
|
-
} | undefined;
|
|
5533
|
+
};
|
|
4682
5534
|
meta?: {
|
|
4683
5535
|
schemaVersion: "1.0";
|
|
5536
|
+
title?: "Select Box" | undefined;
|
|
5537
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
5538
|
+
defaultJSON?: string | undefined;
|
|
4684
5539
|
} | undefined;
|
|
4685
5540
|
} | {
|
|
4686
5541
|
type: "filteredSearch";
|
|
@@ -4710,9 +5565,18 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4710
5565
|
} | undefined;
|
|
4711
5566
|
meta?: {
|
|
4712
5567
|
schemaVersion: "1.0";
|
|
5568
|
+
title?: "Not yet implemented" | undefined;
|
|
5569
|
+
usageDescription?: string | undefined;
|
|
5570
|
+
defaultJSON?: string | undefined;
|
|
4713
5571
|
} | undefined;
|
|
4714
5572
|
} | {
|
|
4715
|
-
type: "
|
|
5573
|
+
type: "affiliationSearch";
|
|
5574
|
+
meta: {
|
|
5575
|
+
schemaVersion: "1.0";
|
|
5576
|
+
title?: "Affiliation Search" | undefined;
|
|
5577
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
5578
|
+
defaultJSON?: string | undefined;
|
|
5579
|
+
};
|
|
4716
5580
|
graphQL: {
|
|
4717
5581
|
displayFields: {
|
|
4718
5582
|
label: string;
|
|
@@ -4736,9 +5600,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4736
5600
|
help?: string | undefined;
|
|
4737
5601
|
labelTranslationKey?: string | undefined;
|
|
4738
5602
|
} | undefined;
|
|
4739
|
-
meta?: {
|
|
4740
|
-
schemaVersion: "1.0";
|
|
4741
|
-
} | undefined;
|
|
4742
5603
|
};
|
|
4743
5604
|
heading?: string | undefined;
|
|
4744
5605
|
}[];
|
|
@@ -4754,6 +5615,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4754
5615
|
} | undefined;
|
|
4755
5616
|
meta?: {
|
|
4756
5617
|
schemaVersion: "1.0";
|
|
5618
|
+
title?: "Table" | undefined;
|
|
5619
|
+
usageDescription?: "For questions that require a tabular format." | undefined;
|
|
5620
|
+
defaultJSON?: string | undefined;
|
|
4757
5621
|
} | undefined;
|
|
4758
5622
|
}, {
|
|
4759
5623
|
type: "table";
|
|
@@ -4771,6 +5635,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4771
5635
|
} | undefined;
|
|
4772
5636
|
meta?: {
|
|
4773
5637
|
schemaVersion: "1.0";
|
|
5638
|
+
title?: "Currency Field" | undefined;
|
|
5639
|
+
usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
|
|
5640
|
+
defaultJSON?: string | undefined;
|
|
4774
5641
|
} | undefined;
|
|
4775
5642
|
} | {
|
|
4776
5643
|
type: "number";
|
|
@@ -4784,6 +5651,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4784
5651
|
} | undefined;
|
|
4785
5652
|
meta?: {
|
|
4786
5653
|
schemaVersion: "1.0";
|
|
5654
|
+
title?: "Number Field" | undefined;
|
|
5655
|
+
usageDescription?: "For questions that require a single numeric value." | undefined;
|
|
5656
|
+
defaultJSON?: string | undefined;
|
|
4787
5657
|
} | undefined;
|
|
4788
5658
|
} | {
|
|
4789
5659
|
type: "email";
|
|
@@ -4798,13 +5668,12 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4798
5668
|
} | undefined;
|
|
4799
5669
|
meta?: {
|
|
4800
5670
|
schemaVersion: "1.0";
|
|
5671
|
+
title?: "Email Field" | undefined;
|
|
5672
|
+
usageDescription?: "For questions that require require email address(es)." | undefined;
|
|
5673
|
+
defaultJSON?: string | undefined;
|
|
4801
5674
|
} | undefined;
|
|
4802
5675
|
} | {
|
|
4803
5676
|
type: "textArea";
|
|
4804
|
-
meta: {
|
|
4805
|
-
schemaVersion: "1.0";
|
|
4806
|
-
asRichText?: boolean | undefined;
|
|
4807
|
-
};
|
|
4808
5677
|
attributes?: {
|
|
4809
5678
|
label?: string | undefined;
|
|
4810
5679
|
help?: string | undefined;
|
|
@@ -4813,6 +5682,13 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4813
5682
|
minLength?: number | undefined;
|
|
4814
5683
|
cols?: number | undefined;
|
|
4815
5684
|
rows?: number | undefined;
|
|
5685
|
+
asRichText?: boolean | undefined;
|
|
5686
|
+
} | undefined;
|
|
5687
|
+
meta?: {
|
|
5688
|
+
schemaVersion: "1.0";
|
|
5689
|
+
title?: "Text Area" | undefined;
|
|
5690
|
+
usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
|
|
5691
|
+
defaultJSON?: string | undefined;
|
|
4816
5692
|
} | undefined;
|
|
4817
5693
|
} | {
|
|
4818
5694
|
type: "text";
|
|
@@ -4826,6 +5702,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4826
5702
|
} | undefined;
|
|
4827
5703
|
meta?: {
|
|
4828
5704
|
schemaVersion: "1.0";
|
|
5705
|
+
title?: "Text Field" | undefined;
|
|
5706
|
+
usageDescription?: "For questions that require short, simple answers." | undefined;
|
|
5707
|
+
defaultJSON?: string | undefined;
|
|
4829
5708
|
} | undefined;
|
|
4830
5709
|
} | {
|
|
4831
5710
|
type: "url";
|
|
@@ -4839,6 +5718,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4839
5718
|
} | undefined;
|
|
4840
5719
|
meta?: {
|
|
4841
5720
|
schemaVersion: "1.0";
|
|
5721
|
+
title?: "URL Field" | undefined;
|
|
5722
|
+
usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
|
|
5723
|
+
defaultJSON?: string | undefined;
|
|
4842
5724
|
} | undefined;
|
|
4843
5725
|
} | {
|
|
4844
5726
|
type: "date";
|
|
@@ -4852,6 +5734,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4852
5734
|
} | undefined;
|
|
4853
5735
|
meta?: {
|
|
4854
5736
|
schemaVersion: "1.0";
|
|
5737
|
+
title?: "Date Field" | undefined;
|
|
5738
|
+
usageDescription?: "For questions that require a date." | undefined;
|
|
5739
|
+
defaultJSON?: string | undefined;
|
|
4855
5740
|
} | undefined;
|
|
4856
5741
|
} | {
|
|
4857
5742
|
type: "dateRange";
|
|
@@ -4880,17 +5765,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4880
5765
|
} | undefined;
|
|
4881
5766
|
meta?: {
|
|
4882
5767
|
schemaVersion: "1.0";
|
|
5768
|
+
title?: "Date Range" | undefined;
|
|
5769
|
+
usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
|
|
5770
|
+
defaultJSON?: string | undefined;
|
|
4883
5771
|
} | undefined;
|
|
4884
5772
|
} | {
|
|
4885
5773
|
type: "boolean";
|
|
4886
|
-
attributes
|
|
5774
|
+
attributes?: {
|
|
4887
5775
|
label?: string | undefined;
|
|
4888
5776
|
help?: string | undefined;
|
|
4889
5777
|
labelTranslationKey?: string | undefined;
|
|
4890
5778
|
checked?: boolean | undefined;
|
|
4891
|
-
};
|
|
5779
|
+
} | undefined;
|
|
4892
5780
|
meta?: {
|
|
4893
5781
|
schemaVersion: "1.0";
|
|
5782
|
+
title?: "Yes/No Field" | undefined;
|
|
5783
|
+
usageDescription?: "For questions that require a simple Yes/No response." | undefined;
|
|
5784
|
+
defaultJSON?: string | undefined;
|
|
4894
5785
|
} | undefined;
|
|
4895
5786
|
} | {
|
|
4896
5787
|
options: {
|
|
@@ -4906,6 +5797,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4906
5797
|
} | undefined;
|
|
4907
5798
|
meta?: {
|
|
4908
5799
|
schemaVersion: "1.0";
|
|
5800
|
+
title?: "Check Boxes" | undefined;
|
|
5801
|
+
usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
|
|
5802
|
+
defaultJSON?: string | undefined;
|
|
4909
5803
|
} | undefined;
|
|
4910
5804
|
} | {
|
|
4911
5805
|
options: {
|
|
@@ -4921,6 +5815,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4921
5815
|
} | undefined;
|
|
4922
5816
|
meta?: {
|
|
4923
5817
|
schemaVersion: "1.0";
|
|
5818
|
+
title?: "Radio Buttons" | undefined;
|
|
5819
|
+
usageDescription?: "For multiple choice questions where users select just one option." | undefined;
|
|
5820
|
+
defaultJSON?: string | undefined;
|
|
4924
5821
|
} | undefined;
|
|
4925
5822
|
} | {
|
|
4926
5823
|
options: {
|
|
@@ -4929,14 +5826,17 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4929
5826
|
selected?: boolean | undefined;
|
|
4930
5827
|
}[];
|
|
4931
5828
|
type: "selectBox";
|
|
4932
|
-
attributes
|
|
5829
|
+
attributes: {
|
|
5830
|
+
multiple: false;
|
|
4933
5831
|
label?: string | undefined;
|
|
4934
5832
|
help?: string | undefined;
|
|
4935
5833
|
labelTranslationKey?: string | undefined;
|
|
4936
|
-
|
|
4937
|
-
} | undefined;
|
|
5834
|
+
};
|
|
4938
5835
|
meta?: {
|
|
4939
5836
|
schemaVersion: "1.0";
|
|
5837
|
+
title?: "Select Box" | undefined;
|
|
5838
|
+
usageDescription?: "For questions where users select one option from a list." | undefined;
|
|
5839
|
+
defaultJSON?: string | undefined;
|
|
4940
5840
|
} | undefined;
|
|
4941
5841
|
} | {
|
|
4942
5842
|
type: "filteredSearch";
|
|
@@ -4966,9 +5866,18 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4966
5866
|
} | undefined;
|
|
4967
5867
|
meta?: {
|
|
4968
5868
|
schemaVersion: "1.0";
|
|
5869
|
+
title?: "Not yet implemented" | undefined;
|
|
5870
|
+
usageDescription?: string | undefined;
|
|
5871
|
+
defaultJSON?: string | undefined;
|
|
4969
5872
|
} | undefined;
|
|
4970
5873
|
} | {
|
|
4971
|
-
type: "
|
|
5874
|
+
type: "affiliationSearch";
|
|
5875
|
+
meta: {
|
|
5876
|
+
schemaVersion: "1.0";
|
|
5877
|
+
title?: "Affiliation Search" | undefined;
|
|
5878
|
+
usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
|
|
5879
|
+
defaultJSON?: string | undefined;
|
|
5880
|
+
};
|
|
4972
5881
|
graphQL: {
|
|
4973
5882
|
displayFields: {
|
|
4974
5883
|
label: string;
|
|
@@ -4992,9 +5901,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
4992
5901
|
help?: string | undefined;
|
|
4993
5902
|
labelTranslationKey?: string | undefined;
|
|
4994
5903
|
} | undefined;
|
|
4995
|
-
meta?: {
|
|
4996
|
-
schemaVersion: "1.0";
|
|
4997
|
-
} | undefined;
|
|
4998
5904
|
};
|
|
4999
5905
|
heading?: string | undefined;
|
|
5000
5906
|
}[];
|
|
@@ -5010,6 +5916,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
|
|
|
5010
5916
|
} | undefined;
|
|
5011
5917
|
meta?: {
|
|
5012
5918
|
schemaVersion: "1.0";
|
|
5919
|
+
title?: "Table" | undefined;
|
|
5920
|
+
usageDescription?: "For questions that require a tabular format." | undefined;
|
|
5921
|
+
defaultJSON?: string | undefined;
|
|
5013
5922
|
} | undefined;
|
|
5014
5923
|
}>;
|
|
5015
5924
|
export type TableQuestionType = z.infer<typeof TableQuestionSchema>;
|