@dmptool/types 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +119 -47
  2. package/dist/answers/__tests__/answers.spec.js +27 -28
  3. package/dist/answers/__tests__/usage.spec.d.ts +1 -0
  4. package/dist/answers/__tests__/usage.spec.js +178 -0
  5. package/dist/answers/answer.d.ts +12 -15
  6. package/dist/answers/answer.js +3 -4
  7. package/dist/answers/dateAnswers.d.ts +30 -30
  8. package/dist/answers/dateAnswers.js +6 -5
  9. package/dist/answers/graphQLAnswers.d.ts +41 -26
  10. package/dist/answers/graphQLAnswers.js +7 -4
  11. package/dist/answers/index.d.ts +887 -1088
  12. package/dist/answers/index.js +2 -2
  13. package/dist/answers/numberAnswers.d.ts +41 -41
  14. package/dist/answers/numberAnswers.js +8 -8
  15. package/dist/answers/optionBasedAnswers.d.ts +55 -55
  16. package/dist/answers/optionBasedAnswers.js +10 -10
  17. package/dist/answers/tableAnswers.d.ts +880 -1778
  18. package/dist/answers/tableAnswers.js +12 -8
  19. package/dist/answers/textAnswers.d.ts +44 -44
  20. package/dist/answers/textAnswers.js +8 -8
  21. package/dist/questions/__tests__/graphQLQuestions.spec.js +1 -1
  22. package/dist/questions/__tests__/usage.spec.d.ts +8 -0
  23. package/dist/questions/__tests__/usage.spec.js +312 -0
  24. package/dist/questions/dateQuestions.d.ts +81 -82
  25. package/dist/questions/dateQuestions.js +12 -16
  26. package/dist/questions/graphQLQuestions.d.ts +142 -142
  27. package/dist/questions/graphQLQuestions.js +35 -30
  28. package/dist/questions/index.d.ts +1492 -1672
  29. package/dist/questions/index.js +2 -2
  30. package/dist/questions/numberQuestions.d.ts +97 -98
  31. package/dist/questions/numberQuestions.js +7 -19
  32. package/dist/questions/optionBasedQuestions.d.ts +163 -166
  33. package/dist/questions/optionBasedQuestions.js +20 -36
  34. package/dist/questions/question.d.ts +24 -48
  35. package/dist/questions/question.js +78 -17
  36. package/dist/questions/tableQuestions.d.ts +2215 -2227
  37. package/dist/questions/tableQuestions.js +6 -11
  38. package/dist/questions/textQuestions.d.ts +104 -104
  39. package/dist/questions/textQuestions.js +6 -23
  40. package/dist/schemas/affiliationSearchAnswer.schema.json +20 -12
  41. package/dist/schemas/affiliationSearchQuestion.schema.json +30 -36
  42. package/dist/schemas/anyAnswer.schema.json +235 -233
  43. package/dist/schemas/anyQuestion.schema.json +292 -493
  44. package/dist/schemas/anyTableColumnAnswer.schema.json +104 -106
  45. package/dist/schemas/anyTableColumnQuestion.schema.json +164 -325
  46. package/dist/schemas/booleanAnswer.schema.json +8 -11
  47. package/dist/schemas/booleanQuestion.schema.json +7 -10
  48. package/dist/schemas/checkboxesAnswer.schema.json +13 -14
  49. package/dist/schemas/checkboxesQuestion.schema.json +12 -13
  50. package/dist/schemas/currencyAnswer.schema.json +8 -11
  51. package/dist/schemas/currencyQuestion.schema.json +7 -10
  52. package/dist/schemas/dateAnswer.schema.json +8 -11
  53. package/dist/schemas/dateQuestion.schema.json +7 -10
  54. package/dist/schemas/dateRangeAnswer.schema.json +16 -21
  55. package/dist/schemas/dateRangeQuestion.schema.json +38 -20
  56. package/dist/schemas/emailAnswer.schema.json +8 -11
  57. package/dist/schemas/emailQuestion.schema.json +7 -10
  58. package/dist/schemas/multiselectBoxAnswer.schema.json +13 -14
  59. package/dist/schemas/multiselectBoxQuestion.schema.json +14 -14
  60. package/dist/schemas/numberAnswer.schema.json +8 -11
  61. package/dist/schemas/numberQuestion.schema.json +7 -10
  62. package/dist/schemas/numberRangeAnswer.schema.json +17 -22
  63. package/dist/schemas/numberRangeQuestion.schema.json +18 -19
  64. package/dist/schemas/radioButtonsAnswer.schema.json +8 -11
  65. package/dist/schemas/radioButtonsQuestion.schema.json +12 -13
  66. package/dist/schemas/selectBoxAnswer.schema.json +8 -11
  67. package/dist/schemas/selectBoxQuestion.schema.json +18 -15
  68. package/dist/schemas/tableAnswer.schema.json +343 -338
  69. package/dist/schemas/tableQuestion.schema.json +178 -352
  70. package/dist/schemas/textAnswer.schema.json +8 -11
  71. package/dist/schemas/textAreaAnswer.schema.json +8 -11
  72. package/dist/schemas/textAreaQuestion.schema.json +7 -10
  73. package/dist/schemas/textQuestion.schema.json +7 -10
  74. package/dist/schemas/urlAnswer.schema.json +8 -11
  75. package/dist/schemas/urlQuestion.schema.json +7 -10
  76. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import { DateAnswerType, DateRangeAnswerType } from './dateAnswers';
3
- import { FilteredSearchAnswerType, AffiliationSearchAnswerType } from './graphQLAnswers';
3
+ import { AffiliationSearchAnswerType } from './graphQLAnswers';
4
4
  import { BooleanAnswerType, CheckboxesAnswerType, RadioButtonsAnswerType, SelectBoxAnswerType, MultiselectBoxAnswerType } from './optionBasedAnswers';
5
5
  import { CurrencyAnswerType, NumberAnswerType, NumberRangeAnswerType } from './numberAnswers';
6
6
  import { TableAnswerType } from './tableAnswers';
7
7
  import { EmailAnswerType, TextAnswerType, TextAreaAnswerType, URLAnswerType } from './textAnswers';
8
- import { QuestionTypesEnum } from '../questions';
8
+ import { QuestionFormatsEnum } from '../questions';
9
9
  export * from './answer';
10
10
  export * from './dateAnswers';
11
11
  export * from './graphQLAnswers';
@@ -14,121 +14,121 @@ export * from './optionBasedAnswers';
14
14
  export * from './tableAnswers';
15
15
  export * from './textAnswers';
16
16
  export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17
- meta: z.ZodObject<{
18
- schemaVersion: z.ZodLiteral<"1.0">;
17
+ meta: z.ZodDefault<z.ZodObject<{
18
+ schemaVersion: z.ZodDefault<z.ZodString>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- schemaVersion: "1.0";
20
+ schemaVersion: string;
21
21
  }, {
22
- schemaVersion: "1.0";
23
- }>;
22
+ schemaVersion?: string | undefined;
23
+ }>>;
24
24
  } & {
25
25
  type: z.ZodLiteral<"boolean">;
26
- answer: z.ZodBoolean;
26
+ answer: z.ZodDefault<z.ZodBoolean>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  type: "boolean";
29
29
  meta: {
30
- schemaVersion: "1.0";
30
+ schemaVersion: string;
31
31
  };
32
32
  answer: boolean;
33
33
  }, {
34
34
  type: "boolean";
35
- meta: {
36
- schemaVersion: "1.0";
37
- };
38
- answer: boolean;
35
+ meta?: {
36
+ schemaVersion?: string | undefined;
37
+ } | undefined;
38
+ answer?: boolean | undefined;
39
39
  }>, z.ZodObject<{
40
- meta: z.ZodObject<{
41
- schemaVersion: z.ZodLiteral<"1.0">;
40
+ meta: z.ZodDefault<z.ZodObject<{
41
+ schemaVersion: z.ZodDefault<z.ZodString>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- schemaVersion: "1.0";
43
+ schemaVersion: string;
44
44
  }, {
45
- schemaVersion: "1.0";
46
- }>;
45
+ schemaVersion?: string | undefined;
46
+ }>>;
47
47
  } & {
48
48
  type: z.ZodLiteral<"checkBoxes">;
49
- answer: z.ZodArray<z.ZodString, "many">;
49
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  type: "checkBoxes";
52
52
  meta: {
53
- schemaVersion: "1.0";
53
+ schemaVersion: string;
54
54
  };
55
55
  answer: string[];
56
56
  }, {
57
57
  type: "checkBoxes";
58
- meta: {
59
- schemaVersion: "1.0";
60
- };
61
- answer: string[];
58
+ meta?: {
59
+ schemaVersion?: string | undefined;
60
+ } | undefined;
61
+ answer?: string[] | undefined;
62
62
  }>, z.ZodObject<{
63
- meta: z.ZodObject<{
64
- schemaVersion: z.ZodLiteral<"1.0">;
63
+ meta: z.ZodDefault<z.ZodObject<{
64
+ schemaVersion: z.ZodDefault<z.ZodString>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- schemaVersion: "1.0";
66
+ schemaVersion: string;
67
67
  }, {
68
- schemaVersion: "1.0";
69
- }>;
68
+ schemaVersion?: string | undefined;
69
+ }>>;
70
70
  } & {
71
71
  type: z.ZodLiteral<"currency">;
72
- answer: z.ZodNumber;
72
+ answer: z.ZodDefault<z.ZodNumber>;
73
73
  }, "strip", z.ZodTypeAny, {
74
74
  type: "currency";
75
75
  meta: {
76
- schemaVersion: "1.0";
76
+ schemaVersion: string;
77
77
  };
78
78
  answer: number;
79
79
  }, {
80
80
  type: "currency";
81
- meta: {
82
- schemaVersion: "1.0";
83
- };
84
- answer: number;
81
+ meta?: {
82
+ schemaVersion?: string | undefined;
83
+ } | undefined;
84
+ answer?: number | undefined;
85
85
  }>, z.ZodObject<{
86
- answer: z.ZodString;
87
- meta: z.ZodObject<{
88
- schemaVersion: z.ZodLiteral<"1.0">;
86
+ meta: z.ZodDefault<z.ZodObject<{
87
+ schemaVersion: z.ZodDefault<z.ZodString>;
89
88
  }, "strip", z.ZodTypeAny, {
90
- schemaVersion: "1.0";
89
+ schemaVersion: string;
91
90
  }, {
92
- schemaVersion: "1.0";
93
- }>;
91
+ schemaVersion?: string | undefined;
92
+ }>>;
94
93
  } & {
95
94
  type: z.ZodLiteral<"date">;
95
+ answer: z.ZodDefault<z.ZodString>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  type: "date";
98
98
  meta: {
99
- schemaVersion: "1.0";
99
+ schemaVersion: string;
100
100
  };
101
101
  answer: string;
102
102
  }, {
103
103
  type: "date";
104
- meta: {
105
- schemaVersion: "1.0";
106
- };
107
- answer: string;
104
+ meta?: {
105
+ schemaVersion?: string | undefined;
106
+ } | undefined;
107
+ answer?: string | undefined;
108
108
  }>, z.ZodObject<{
109
- meta: z.ZodObject<{
110
- schemaVersion: z.ZodLiteral<"1.0">;
109
+ meta: z.ZodDefault<z.ZodObject<{
110
+ schemaVersion: z.ZodDefault<z.ZodString>;
111
111
  }, "strip", z.ZodTypeAny, {
112
- schemaVersion: "1.0";
112
+ schemaVersion: string;
113
113
  }, {
114
- schemaVersion: "1.0";
115
- }>;
114
+ schemaVersion?: string | undefined;
115
+ }>>;
116
116
  } & {
117
117
  type: z.ZodLiteral<"dateRange">;
118
- answer: z.ZodObject<{
119
- start: z.ZodString;
120
- end: z.ZodString;
118
+ answer: z.ZodDefault<z.ZodObject<{
119
+ start: z.ZodDefault<z.ZodString>;
120
+ end: z.ZodDefault<z.ZodString>;
121
121
  }, "strip", z.ZodTypeAny, {
122
122
  start: string;
123
123
  end: string;
124
124
  }, {
125
- start: string;
126
- end: string;
127
- }>;
125
+ start?: string | undefined;
126
+ end?: string | undefined;
127
+ }>>;
128
128
  }, "strip", z.ZodTypeAny, {
129
129
  type: "dateRange";
130
130
  meta: {
131
- schemaVersion: "1.0";
131
+ schemaVersion: string;
132
132
  };
133
133
  answer: {
134
134
  start: string;
@@ -136,1171 +136,971 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
136
136
  };
137
137
  }, {
138
138
  type: "dateRange";
139
- meta: {
140
- schemaVersion: "1.0";
141
- };
142
- answer: {
143
- start: string;
144
- end: string;
145
- };
139
+ meta?: {
140
+ schemaVersion?: string | undefined;
141
+ } | undefined;
142
+ answer?: {
143
+ start?: string | undefined;
144
+ end?: string | undefined;
145
+ } | undefined;
146
146
  }>, z.ZodObject<{
147
- meta: z.ZodObject<{
148
- schemaVersion: z.ZodLiteral<"1.0">;
147
+ meta: z.ZodDefault<z.ZodObject<{
148
+ schemaVersion: z.ZodDefault<z.ZodString>;
149
149
  }, "strip", z.ZodTypeAny, {
150
- schemaVersion: "1.0";
150
+ schemaVersion: string;
151
151
  }, {
152
- schemaVersion: "1.0";
153
- }>;
152
+ schemaVersion?: string | undefined;
153
+ }>>;
154
154
  } & {
155
155
  type: z.ZodLiteral<"email">;
156
- answer: z.ZodString;
156
+ answer: z.ZodDefault<z.ZodString>;
157
157
  }, "strip", z.ZodTypeAny, {
158
158
  type: "email";
159
159
  meta: {
160
- schemaVersion: "1.0";
160
+ schemaVersion: string;
161
161
  };
162
162
  answer: string;
163
163
  }, {
164
164
  type: "email";
165
- meta: {
166
- schemaVersion: "1.0";
167
- };
168
- answer: string;
169
- }>, z.ZodObject<{
170
- meta: z.ZodObject<{
171
- schemaVersion: z.ZodLiteral<"1.0">;
172
- }, "strip", z.ZodTypeAny, {
173
- schemaVersion: "1.0";
174
- }, {
175
- schemaVersion: "1.0";
176
- }>;
177
- } & {
178
- type: z.ZodLiteral<"filteredSearch">;
179
- answer: z.ZodArray<z.ZodString, "many">;
180
- }, "strip", z.ZodTypeAny, {
181
- type: "filteredSearch";
182
- meta: {
183
- schemaVersion: "1.0";
184
- };
185
- answer: string[];
186
- }, {
187
- type: "filteredSearch";
188
- meta: {
189
- schemaVersion: "1.0";
190
- };
191
- answer: string[];
165
+ meta?: {
166
+ schemaVersion?: string | undefined;
167
+ } | undefined;
168
+ answer?: string | undefined;
192
169
  }>, z.ZodObject<{
193
- meta: z.ZodObject<{
194
- schemaVersion: z.ZodLiteral<"1.0">;
170
+ meta: z.ZodDefault<z.ZodObject<{
171
+ schemaVersion: z.ZodDefault<z.ZodString>;
195
172
  }, "strip", z.ZodTypeAny, {
196
- schemaVersion: "1.0";
173
+ schemaVersion: string;
197
174
  }, {
198
- schemaVersion: "1.0";
199
- }>;
175
+ schemaVersion?: string | undefined;
176
+ }>>;
200
177
  } & {
201
178
  type: z.ZodLiteral<"number">;
202
- answer: z.ZodNumber;
179
+ answer: z.ZodDefault<z.ZodNumber>;
203
180
  }, "strip", z.ZodTypeAny, {
204
181
  type: "number";
205
182
  meta: {
206
- schemaVersion: "1.0";
183
+ schemaVersion: string;
207
184
  };
208
185
  answer: number;
209
186
  }, {
210
187
  type: "number";
211
- meta: {
212
- schemaVersion: "1.0";
213
- };
214
- answer: number;
188
+ meta?: {
189
+ schemaVersion?: string | undefined;
190
+ } | undefined;
191
+ answer?: number | undefined;
215
192
  }>, z.ZodObject<{
216
- meta: z.ZodObject<{
217
- schemaVersion: z.ZodLiteral<"1.0">;
193
+ meta: z.ZodDefault<z.ZodObject<{
194
+ schemaVersion: z.ZodDefault<z.ZodString>;
218
195
  }, "strip", z.ZodTypeAny, {
219
- schemaVersion: "1.0";
196
+ schemaVersion: string;
220
197
  }, {
221
- schemaVersion: "1.0";
222
- }>;
198
+ schemaVersion?: string | undefined;
199
+ }>>;
223
200
  } & {
224
201
  type: z.ZodLiteral<"radioButtons">;
225
- answer: z.ZodString;
202
+ answer: z.ZodDefault<z.ZodString>;
226
203
  }, "strip", z.ZodTypeAny, {
227
204
  type: "radioButtons";
228
205
  meta: {
229
- schemaVersion: "1.0";
206
+ schemaVersion: string;
230
207
  };
231
208
  answer: string;
232
209
  }, {
233
210
  type: "radioButtons";
234
- meta: {
235
- schemaVersion: "1.0";
236
- };
237
- answer: string;
211
+ meta?: {
212
+ schemaVersion?: string | undefined;
213
+ } | undefined;
214
+ answer?: string | undefined;
238
215
  }>, z.ZodObject<{
239
- meta: z.ZodObject<{
240
- schemaVersion: z.ZodLiteral<"1.0">;
216
+ meta: z.ZodDefault<z.ZodObject<{
217
+ schemaVersion: z.ZodDefault<z.ZodString>;
241
218
  }, "strip", z.ZodTypeAny, {
242
- schemaVersion: "1.0";
219
+ schemaVersion: string;
243
220
  }, {
244
- schemaVersion: "1.0";
245
- }>;
221
+ schemaVersion?: string | undefined;
222
+ }>>;
246
223
  } & {
247
224
  type: z.ZodLiteral<"selectBox">;
248
- answer: z.ZodString;
225
+ answer: z.ZodDefault<z.ZodString>;
249
226
  }, "strip", z.ZodTypeAny, {
250
227
  type: "selectBox";
251
228
  meta: {
252
- schemaVersion: "1.0";
229
+ schemaVersion: string;
253
230
  };
254
231
  answer: string;
255
232
  }, {
256
233
  type: "selectBox";
257
- meta: {
258
- schemaVersion: "1.0";
259
- };
260
- answer: string;
234
+ meta?: {
235
+ schemaVersion?: string | undefined;
236
+ } | undefined;
237
+ answer?: string | undefined;
261
238
  }>, z.ZodObject<{
262
- meta: z.ZodObject<{
263
- schemaVersion: z.ZodLiteral<"1.0">;
239
+ meta: z.ZodDefault<z.ZodObject<{
240
+ schemaVersion: z.ZodDefault<z.ZodString>;
264
241
  }, "strip", z.ZodTypeAny, {
265
- schemaVersion: "1.0";
242
+ schemaVersion: string;
266
243
  }, {
267
- schemaVersion: "1.0";
268
- }>;
244
+ schemaVersion?: string | undefined;
245
+ }>>;
269
246
  } & {
270
247
  type: z.ZodLiteral<"table">;
271
- answer: z.ZodArray<z.ZodObject<{
272
- columns: z.ZodArray<z.ZodObject<{
273
- heading: z.ZodString;
274
- content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
275
- meta: z.ZodObject<{
276
- schemaVersion: z.ZodLiteral<"1.0">;
277
- }, "strip", z.ZodTypeAny, {
278
- schemaVersion: "1.0";
279
- }, {
280
- schemaVersion: "1.0";
281
- }>;
282
- } & {
283
- type: z.ZodLiteral<"typeaheadSearch">;
284
- answer: z.ZodString;
248
+ columnHeadings: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
249
+ answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
250
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
251
+ meta: z.ZodDefault<z.ZodObject<{
252
+ schemaVersion: z.ZodDefault<z.ZodString>;
285
253
  }, "strip", z.ZodTypeAny, {
286
- type: "typeaheadSearch";
287
- meta: {
288
- schemaVersion: "1.0";
289
- };
290
- answer: string;
254
+ schemaVersion: string;
291
255
  }, {
292
- type: "typeaheadSearch";
293
- meta: {
294
- schemaVersion: "1.0";
295
- };
296
- answer: string;
297
- }>, z.ZodObject<{
298
- meta: z.ZodObject<{
299
- schemaVersion: z.ZodLiteral<"1.0">;
300
- }, "strip", z.ZodTypeAny, {
301
- schemaVersion: "1.0";
302
- }, {
303
- schemaVersion: "1.0";
304
- }>;
305
- } & {
306
- type: z.ZodLiteral<"boolean">;
307
- answer: z.ZodBoolean;
256
+ schemaVersion?: string | undefined;
257
+ }>>;
258
+ } & {
259
+ type: z.ZodLiteral<"affiliationSearch">;
260
+ answer: z.ZodDefault<z.ZodObject<{
261
+ affiliationId: z.ZodDefault<z.ZodString>;
262
+ affiliationName: z.ZodDefault<z.ZodString>;
308
263
  }, "strip", z.ZodTypeAny, {
309
- type: "boolean";
310
- meta: {
311
- schemaVersion: "1.0";
312
- };
313
- answer: boolean;
264
+ affiliationId: string;
265
+ affiliationName: string;
314
266
  }, {
315
- type: "boolean";
316
- meta: {
317
- schemaVersion: "1.0";
318
- };
319
- answer: boolean;
320
- }>, z.ZodObject<{
321
- meta: z.ZodObject<{
322
- schemaVersion: z.ZodLiteral<"1.0">;
323
- }, "strip", z.ZodTypeAny, {
324
- schemaVersion: "1.0";
325
- }, {
326
- schemaVersion: "1.0";
327
- }>;
328
- } & {
329
- type: z.ZodLiteral<"checkBoxes">;
330
- answer: z.ZodArray<z.ZodString, "many">;
267
+ affiliationId?: string | undefined;
268
+ affiliationName?: string | undefined;
269
+ }>>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: "affiliationSearch";
272
+ meta: {
273
+ schemaVersion: string;
274
+ };
275
+ answer: {
276
+ affiliationId: string;
277
+ affiliationName: string;
278
+ };
279
+ }, {
280
+ type: "affiliationSearch";
281
+ meta?: {
282
+ schemaVersion?: string | undefined;
283
+ } | undefined;
284
+ answer?: {
285
+ affiliationId?: string | undefined;
286
+ affiliationName?: string | undefined;
287
+ } | undefined;
288
+ }>, z.ZodObject<{
289
+ meta: z.ZodDefault<z.ZodObject<{
290
+ schemaVersion: z.ZodDefault<z.ZodString>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ schemaVersion: string;
293
+ }, {
294
+ schemaVersion?: string | undefined;
295
+ }>>;
296
+ } & {
297
+ type: z.ZodLiteral<"boolean">;
298
+ answer: z.ZodDefault<z.ZodBoolean>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ type: "boolean";
301
+ meta: {
302
+ schemaVersion: string;
303
+ };
304
+ answer: boolean;
305
+ }, {
306
+ type: "boolean";
307
+ meta?: {
308
+ schemaVersion?: string | undefined;
309
+ } | undefined;
310
+ answer?: boolean | undefined;
311
+ }>, z.ZodObject<{
312
+ meta: z.ZodDefault<z.ZodObject<{
313
+ schemaVersion: z.ZodDefault<z.ZodString>;
331
314
  }, "strip", z.ZodTypeAny, {
332
- type: "checkBoxes";
333
- meta: {
334
- schemaVersion: "1.0";
335
- };
336
- answer: string[];
315
+ schemaVersion: string;
337
316
  }, {
338
- type: "checkBoxes";
339
- meta: {
340
- schemaVersion: "1.0";
341
- };
342
- answer: string[];
343
- }>, z.ZodObject<{
344
- meta: z.ZodObject<{
345
- schemaVersion: z.ZodLiteral<"1.0">;
346
- }, "strip", z.ZodTypeAny, {
347
- schemaVersion: "1.0";
348
- }, {
349
- schemaVersion: "1.0";
350
- }>;
351
- } & {
352
- type: z.ZodLiteral<"currency">;
353
- answer: z.ZodNumber;
317
+ schemaVersion?: string | undefined;
318
+ }>>;
319
+ } & {
320
+ type: z.ZodLiteral<"checkBoxes">;
321
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ type: "checkBoxes";
324
+ meta: {
325
+ schemaVersion: string;
326
+ };
327
+ answer: string[];
328
+ }, {
329
+ type: "checkBoxes";
330
+ meta?: {
331
+ schemaVersion?: string | undefined;
332
+ } | undefined;
333
+ answer?: string[] | undefined;
334
+ }>, z.ZodObject<{
335
+ meta: z.ZodDefault<z.ZodObject<{
336
+ schemaVersion: z.ZodDefault<z.ZodString>;
354
337
  }, "strip", z.ZodTypeAny, {
355
- type: "currency";
356
- meta: {
357
- schemaVersion: "1.0";
358
- };
359
- answer: number;
338
+ schemaVersion: string;
360
339
  }, {
361
- type: "currency";
362
- meta: {
363
- schemaVersion: "1.0";
364
- };
365
- answer: number;
366
- }>, z.ZodObject<{
367
- answer: z.ZodString;
368
- meta: z.ZodObject<{
369
- schemaVersion: z.ZodLiteral<"1.0">;
370
- }, "strip", z.ZodTypeAny, {
371
- schemaVersion: "1.0";
372
- }, {
373
- schemaVersion: "1.0";
374
- }>;
375
- } & {
376
- type: z.ZodLiteral<"date">;
340
+ schemaVersion?: string | undefined;
341
+ }>>;
342
+ } & {
343
+ type: z.ZodLiteral<"currency">;
344
+ answer: z.ZodDefault<z.ZodNumber>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ type: "currency";
347
+ meta: {
348
+ schemaVersion: string;
349
+ };
350
+ answer: number;
351
+ }, {
352
+ type: "currency";
353
+ meta?: {
354
+ schemaVersion?: string | undefined;
355
+ } | undefined;
356
+ answer?: number | undefined;
357
+ }>, z.ZodObject<{
358
+ meta: z.ZodDefault<z.ZodObject<{
359
+ schemaVersion: z.ZodDefault<z.ZodString>;
377
360
  }, "strip", z.ZodTypeAny, {
378
- type: "date";
379
- meta: {
380
- schemaVersion: "1.0";
381
- };
382
- answer: string;
361
+ schemaVersion: string;
383
362
  }, {
384
- type: "date";
385
- meta: {
386
- schemaVersion: "1.0";
387
- };
388
- answer: string;
389
- }>, z.ZodObject<{
390
- meta: z.ZodObject<{
391
- schemaVersion: z.ZodLiteral<"1.0">;
392
- }, "strip", z.ZodTypeAny, {
393
- schemaVersion: "1.0";
394
- }, {
395
- schemaVersion: "1.0";
396
- }>;
397
- } & {
398
- type: z.ZodLiteral<"dateRange">;
399
- answer: z.ZodObject<{
400
- start: z.ZodString;
401
- end: z.ZodString;
402
- }, "strip", z.ZodTypeAny, {
403
- start: string;
404
- end: string;
405
- }, {
406
- start: string;
407
- end: string;
408
- }>;
363
+ schemaVersion?: string | undefined;
364
+ }>>;
365
+ } & {
366
+ type: z.ZodLiteral<"date">;
367
+ answer: z.ZodDefault<z.ZodString>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ type: "date";
370
+ meta: {
371
+ schemaVersion: string;
372
+ };
373
+ answer: string;
374
+ }, {
375
+ type: "date";
376
+ meta?: {
377
+ schemaVersion?: string | undefined;
378
+ } | undefined;
379
+ answer?: string | undefined;
380
+ }>, z.ZodObject<{
381
+ meta: z.ZodDefault<z.ZodObject<{
382
+ schemaVersion: z.ZodDefault<z.ZodString>;
409
383
  }, "strip", z.ZodTypeAny, {
410
- type: "dateRange";
411
- meta: {
412
- schemaVersion: "1.0";
413
- };
414
- answer: {
415
- start: string;
416
- end: string;
417
- };
384
+ schemaVersion: string;
418
385
  }, {
419
- type: "dateRange";
420
- meta: {
421
- schemaVersion: "1.0";
422
- };
423
- answer: {
424
- start: string;
425
- end: string;
426
- };
427
- }>, z.ZodObject<{
428
- meta: z.ZodObject<{
429
- schemaVersion: z.ZodLiteral<"1.0">;
430
- }, "strip", z.ZodTypeAny, {
431
- schemaVersion: "1.0";
432
- }, {
433
- schemaVersion: "1.0";
434
- }>;
435
- } & {
436
- type: z.ZodLiteral<"email">;
437
- answer: z.ZodString;
386
+ schemaVersion?: string | undefined;
387
+ }>>;
388
+ } & {
389
+ type: z.ZodLiteral<"dateRange">;
390
+ answer: z.ZodDefault<z.ZodObject<{
391
+ start: z.ZodDefault<z.ZodString>;
392
+ end: z.ZodDefault<z.ZodString>;
438
393
  }, "strip", z.ZodTypeAny, {
439
- type: "email";
440
- meta: {
441
- schemaVersion: "1.0";
442
- };
443
- answer: string;
394
+ start: string;
395
+ end: string;
444
396
  }, {
445
- type: "email";
446
- meta: {
447
- schemaVersion: "1.0";
448
- };
449
- answer: string;
450
- }>, z.ZodObject<{
451
- meta: z.ZodObject<{
452
- schemaVersion: z.ZodLiteral<"1.0">;
453
- }, "strip", z.ZodTypeAny, {
454
- schemaVersion: "1.0";
455
- }, {
456
- schemaVersion: "1.0";
457
- }>;
458
- } & {
459
- type: z.ZodLiteral<"filteredSearch">;
460
- answer: z.ZodArray<z.ZodString, "many">;
397
+ start?: string | undefined;
398
+ end?: string | undefined;
399
+ }>>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ type: "dateRange";
402
+ meta: {
403
+ schemaVersion: string;
404
+ };
405
+ answer: {
406
+ start: string;
407
+ end: string;
408
+ };
409
+ }, {
410
+ type: "dateRange";
411
+ meta?: {
412
+ schemaVersion?: string | undefined;
413
+ } | undefined;
414
+ answer?: {
415
+ start?: string | undefined;
416
+ end?: string | undefined;
417
+ } | undefined;
418
+ }>, z.ZodObject<{
419
+ meta: z.ZodDefault<z.ZodObject<{
420
+ schemaVersion: z.ZodDefault<z.ZodString>;
461
421
  }, "strip", z.ZodTypeAny, {
462
- type: "filteredSearch";
463
- meta: {
464
- schemaVersion: "1.0";
465
- };
466
- answer: string[];
422
+ schemaVersion: string;
467
423
  }, {
468
- type: "filteredSearch";
469
- meta: {
470
- schemaVersion: "1.0";
471
- };
472
- answer: string[];
473
- }>, z.ZodObject<{
474
- meta: z.ZodObject<{
475
- schemaVersion: z.ZodLiteral<"1.0">;
476
- }, "strip", z.ZodTypeAny, {
477
- schemaVersion: "1.0";
478
- }, {
479
- schemaVersion: "1.0";
480
- }>;
481
- } & {
482
- type: z.ZodLiteral<"multiselectBox">;
483
- answer: z.ZodArray<z.ZodString, "many">;
424
+ schemaVersion?: string | undefined;
425
+ }>>;
426
+ } & {
427
+ type: z.ZodLiteral<"email">;
428
+ answer: z.ZodDefault<z.ZodString>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ type: "email";
431
+ meta: {
432
+ schemaVersion: string;
433
+ };
434
+ answer: string;
435
+ }, {
436
+ type: "email";
437
+ meta?: {
438
+ schemaVersion?: string | undefined;
439
+ } | undefined;
440
+ answer?: string | undefined;
441
+ }>, z.ZodObject<{
442
+ meta: z.ZodDefault<z.ZodObject<{
443
+ schemaVersion: z.ZodDefault<z.ZodString>;
484
444
  }, "strip", z.ZodTypeAny, {
485
- type: "multiselectBox";
486
- meta: {
487
- schemaVersion: "1.0";
488
- };
489
- answer: string[];
445
+ schemaVersion: string;
490
446
  }, {
491
- type: "multiselectBox";
492
- meta: {
493
- schemaVersion: "1.0";
494
- };
495
- answer: string[];
496
- }>, z.ZodObject<{
497
- meta: z.ZodObject<{
498
- schemaVersion: z.ZodLiteral<"1.0">;
499
- }, "strip", z.ZodTypeAny, {
500
- schemaVersion: "1.0";
501
- }, {
502
- schemaVersion: "1.0";
503
- }>;
504
- } & {
505
- type: z.ZodLiteral<"number">;
506
- answer: z.ZodNumber;
447
+ schemaVersion?: string | undefined;
448
+ }>>;
449
+ } & {
450
+ type: z.ZodLiteral<"filteredSearch">;
451
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
452
+ }, "strip", z.ZodTypeAny, {
453
+ type: "filteredSearch";
454
+ meta: {
455
+ schemaVersion: string;
456
+ };
457
+ answer: string[];
458
+ }, {
459
+ type: "filteredSearch";
460
+ meta?: {
461
+ schemaVersion?: string | undefined;
462
+ } | undefined;
463
+ answer?: string[] | undefined;
464
+ }>, z.ZodObject<{
465
+ meta: z.ZodDefault<z.ZodObject<{
466
+ schemaVersion: z.ZodDefault<z.ZodString>;
507
467
  }, "strip", z.ZodTypeAny, {
508
- type: "number";
509
- meta: {
510
- schemaVersion: "1.0";
511
- };
512
- answer: number;
468
+ schemaVersion: string;
513
469
  }, {
514
- type: "number";
515
- meta: {
516
- schemaVersion: "1.0";
517
- };
518
- answer: number;
519
- }>, z.ZodObject<{
520
- meta: z.ZodObject<{
521
- schemaVersion: z.ZodLiteral<"1.0">;
522
- }, "strip", z.ZodTypeAny, {
523
- schemaVersion: "1.0";
524
- }, {
525
- schemaVersion: "1.0";
526
- }>;
527
- } & {
528
- type: z.ZodLiteral<"radioButtons">;
529
- answer: z.ZodString;
470
+ schemaVersion?: string | undefined;
471
+ }>>;
472
+ } & {
473
+ type: z.ZodLiteral<"multiselectBox">;
474
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ type: "multiselectBox";
477
+ meta: {
478
+ schemaVersion: string;
479
+ };
480
+ answer: string[];
481
+ }, {
482
+ type: "multiselectBox";
483
+ meta?: {
484
+ schemaVersion?: string | undefined;
485
+ } | undefined;
486
+ answer?: string[] | undefined;
487
+ }>, z.ZodObject<{
488
+ meta: z.ZodDefault<z.ZodObject<{
489
+ schemaVersion: z.ZodDefault<z.ZodString>;
530
490
  }, "strip", z.ZodTypeAny, {
531
- type: "radioButtons";
532
- meta: {
533
- schemaVersion: "1.0";
534
- };
535
- answer: string;
491
+ schemaVersion: string;
536
492
  }, {
537
- type: "radioButtons";
538
- meta: {
539
- schemaVersion: "1.0";
540
- };
541
- answer: string;
542
- }>, z.ZodObject<{
543
- meta: z.ZodObject<{
544
- schemaVersion: z.ZodLiteral<"1.0">;
545
- }, "strip", z.ZodTypeAny, {
546
- schemaVersion: "1.0";
547
- }, {
548
- schemaVersion: "1.0";
549
- }>;
550
- } & {
551
- type: z.ZodLiteral<"selectBox">;
552
- answer: z.ZodString;
493
+ schemaVersion?: string | undefined;
494
+ }>>;
495
+ } & {
496
+ type: z.ZodLiteral<"number">;
497
+ answer: z.ZodDefault<z.ZodNumber>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ type: "number";
500
+ meta: {
501
+ schemaVersion: string;
502
+ };
503
+ answer: number;
504
+ }, {
505
+ type: "number";
506
+ meta?: {
507
+ schemaVersion?: string | undefined;
508
+ } | undefined;
509
+ answer?: number | undefined;
510
+ }>, z.ZodObject<{
511
+ meta: z.ZodDefault<z.ZodObject<{
512
+ schemaVersion: z.ZodDefault<z.ZodString>;
553
513
  }, "strip", z.ZodTypeAny, {
554
- type: "selectBox";
555
- meta: {
556
- schemaVersion: "1.0";
557
- };
558
- answer: string;
514
+ schemaVersion: string;
559
515
  }, {
560
- type: "selectBox";
561
- meta: {
562
- schemaVersion: "1.0";
563
- };
564
- answer: string;
565
- }>, z.ZodObject<{
566
- meta: z.ZodObject<{
567
- schemaVersion: z.ZodLiteral<"1.0">;
568
- }, "strip", z.ZodTypeAny, {
569
- schemaVersion: "1.0";
570
- }, {
571
- schemaVersion: "1.0";
572
- }>;
573
- } & {
574
- type: z.ZodLiteral<"text">;
575
- answer: z.ZodString;
516
+ schemaVersion?: string | undefined;
517
+ }>>;
518
+ } & {
519
+ type: z.ZodLiteral<"radioButtons">;
520
+ answer: z.ZodDefault<z.ZodString>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ type: "radioButtons";
523
+ meta: {
524
+ schemaVersion: string;
525
+ };
526
+ answer: string;
527
+ }, {
528
+ type: "radioButtons";
529
+ meta?: {
530
+ schemaVersion?: string | undefined;
531
+ } | undefined;
532
+ answer?: string | undefined;
533
+ }>, z.ZodObject<{
534
+ meta: z.ZodDefault<z.ZodObject<{
535
+ schemaVersion: z.ZodDefault<z.ZodString>;
576
536
  }, "strip", z.ZodTypeAny, {
577
- type: "text";
578
- meta: {
579
- schemaVersion: "1.0";
580
- };
581
- answer: string;
537
+ schemaVersion: string;
582
538
  }, {
583
- type: "text";
584
- meta: {
585
- schemaVersion: "1.0";
586
- };
587
- answer: string;
588
- }>, z.ZodObject<{
589
- meta: z.ZodObject<{
590
- schemaVersion: z.ZodLiteral<"1.0">;
591
- }, "strip", z.ZodTypeAny, {
592
- schemaVersion: "1.0";
593
- }, {
594
- schemaVersion: "1.0";
595
- }>;
596
- } & {
597
- type: z.ZodLiteral<"textArea">;
598
- answer: z.ZodString;
539
+ schemaVersion?: string | undefined;
540
+ }>>;
541
+ } & {
542
+ type: z.ZodLiteral<"selectBox">;
543
+ answer: z.ZodDefault<z.ZodString>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ type: "selectBox";
546
+ meta: {
547
+ schemaVersion: string;
548
+ };
549
+ answer: string;
550
+ }, {
551
+ type: "selectBox";
552
+ meta?: {
553
+ schemaVersion?: string | undefined;
554
+ } | undefined;
555
+ answer?: string | undefined;
556
+ }>, z.ZodObject<{
557
+ meta: z.ZodDefault<z.ZodObject<{
558
+ schemaVersion: z.ZodDefault<z.ZodString>;
599
559
  }, "strip", z.ZodTypeAny, {
600
- type: "textArea";
601
- meta: {
602
- schemaVersion: "1.0";
603
- };
604
- answer: string;
560
+ schemaVersion: string;
605
561
  }, {
606
- type: "textArea";
607
- meta: {
608
- schemaVersion: "1.0";
609
- };
610
- answer: string;
611
- }>, z.ZodObject<{
612
- meta: z.ZodObject<{
613
- schemaVersion: z.ZodLiteral<"1.0">;
614
- }, "strip", z.ZodTypeAny, {
615
- schemaVersion: "1.0";
616
- }, {
617
- schemaVersion: "1.0";
618
- }>;
619
- } & {
620
- type: z.ZodLiteral<"url">;
621
- answer: z.ZodString;
562
+ schemaVersion?: string | undefined;
563
+ }>>;
564
+ } & {
565
+ type: z.ZodLiteral<"text">;
566
+ answer: z.ZodDefault<z.ZodString>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ type: "text";
569
+ meta: {
570
+ schemaVersion: string;
571
+ };
572
+ answer: string;
573
+ }, {
574
+ type: "text";
575
+ meta?: {
576
+ schemaVersion?: string | undefined;
577
+ } | undefined;
578
+ answer?: string | undefined;
579
+ }>, z.ZodObject<{
580
+ meta: z.ZodDefault<z.ZodObject<{
581
+ schemaVersion: z.ZodDefault<z.ZodString>;
622
582
  }, "strip", z.ZodTypeAny, {
623
- type: "url";
624
- meta: {
625
- schemaVersion: "1.0";
626
- };
627
- answer: string;
583
+ schemaVersion: string;
628
584
  }, {
629
- type: "url";
630
- meta: {
631
- schemaVersion: "1.0";
632
- };
633
- answer: string;
634
- }>]>;
585
+ schemaVersion?: string | undefined;
586
+ }>>;
587
+ } & {
588
+ type: z.ZodLiteral<"textArea">;
589
+ answer: z.ZodDefault<z.ZodString>;
635
590
  }, "strip", z.ZodTypeAny, {
636
- heading: string;
637
- content: {
638
- type: "date";
639
- meta: {
640
- schemaVersion: "1.0";
641
- };
642
- answer: string;
643
- } | {
644
- type: "dateRange";
645
- meta: {
646
- schemaVersion: "1.0";
647
- };
648
- answer: {
649
- start: string;
650
- end: string;
651
- };
652
- } | {
653
- type: "filteredSearch";
654
- meta: {
655
- schemaVersion: "1.0";
656
- };
657
- answer: string[];
658
- } | {
659
- type: "typeaheadSearch";
660
- meta: {
661
- schemaVersion: "1.0";
662
- };
663
- answer: string;
664
- } | {
665
- type: "boolean";
666
- meta: {
667
- schemaVersion: "1.0";
668
- };
669
- answer: boolean;
670
- } | {
671
- type: "checkBoxes";
672
- meta: {
673
- schemaVersion: "1.0";
674
- };
675
- answer: string[];
676
- } | {
677
- type: "radioButtons";
678
- meta: {
679
- schemaVersion: "1.0";
680
- };
681
- answer: string;
682
- } | {
683
- type: "selectBox";
684
- meta: {
685
- schemaVersion: "1.0";
686
- };
687
- answer: string;
688
- } | {
689
- type: "multiselectBox";
690
- meta: {
691
- schemaVersion: "1.0";
692
- };
693
- answer: string[];
694
- } | {
695
- type: "currency";
696
- meta: {
697
- schemaVersion: "1.0";
698
- };
699
- answer: number;
700
- } | {
701
- type: "number";
702
- meta: {
703
- schemaVersion: "1.0";
704
- };
705
- answer: number;
706
- } | {
707
- type: "email";
708
- meta: {
709
- schemaVersion: "1.0";
710
- };
711
- answer: string;
712
- } | {
713
- type: "text";
714
- meta: {
715
- schemaVersion: "1.0";
716
- };
717
- answer: string;
718
- } | {
719
- type: "textArea";
720
- meta: {
721
- schemaVersion: "1.0";
722
- };
723
- answer: string;
724
- } | {
725
- type: "url";
726
- meta: {
727
- schemaVersion: "1.0";
728
- };
729
- answer: string;
591
+ type: "textArea";
592
+ meta: {
593
+ schemaVersion: string;
730
594
  };
595
+ answer: string;
731
596
  }, {
732
- heading: string;
733
- content: {
734
- type: "date";
735
- meta: {
736
- schemaVersion: "1.0";
737
- };
738
- answer: string;
739
- } | {
740
- type: "dateRange";
741
- meta: {
742
- schemaVersion: "1.0";
743
- };
744
- answer: {
745
- start: string;
746
- end: string;
747
- };
748
- } | {
749
- type: "filteredSearch";
750
- meta: {
751
- schemaVersion: "1.0";
752
- };
753
- answer: string[];
754
- } | {
755
- type: "typeaheadSearch";
756
- meta: {
757
- schemaVersion: "1.0";
758
- };
759
- answer: string;
760
- } | {
761
- type: "boolean";
762
- meta: {
763
- schemaVersion: "1.0";
764
- };
765
- answer: boolean;
766
- } | {
767
- type: "checkBoxes";
768
- meta: {
769
- schemaVersion: "1.0";
770
- };
771
- answer: string[];
772
- } | {
773
- type: "radioButtons";
774
- meta: {
775
- schemaVersion: "1.0";
776
- };
777
- answer: string;
778
- } | {
779
- type: "selectBox";
780
- meta: {
781
- schemaVersion: "1.0";
782
- };
783
- answer: string;
784
- } | {
785
- type: "multiselectBox";
786
- meta: {
787
- schemaVersion: "1.0";
788
- };
789
- answer: string[];
790
- } | {
791
- type: "currency";
792
- meta: {
793
- schemaVersion: "1.0";
794
- };
795
- answer: number;
796
- } | {
797
- type: "number";
798
- meta: {
799
- schemaVersion: "1.0";
800
- };
801
- answer: number;
802
- } | {
803
- type: "email";
804
- meta: {
805
- schemaVersion: "1.0";
806
- };
807
- answer: string;
808
- } | {
809
- type: "text";
810
- meta: {
811
- schemaVersion: "1.0";
812
- };
813
- answer: string;
814
- } | {
815
- type: "textArea";
816
- meta: {
817
- schemaVersion: "1.0";
818
- };
819
- answer: string;
820
- } | {
821
- type: "url";
822
- meta: {
823
- schemaVersion: "1.0";
824
- };
825
- answer: string;
597
+ type: "textArea";
598
+ meta?: {
599
+ schemaVersion?: string | undefined;
600
+ } | undefined;
601
+ answer?: string | undefined;
602
+ }>, z.ZodObject<{
603
+ meta: z.ZodDefault<z.ZodObject<{
604
+ schemaVersion: z.ZodDefault<z.ZodString>;
605
+ }, "strip", z.ZodTypeAny, {
606
+ schemaVersion: string;
607
+ }, {
608
+ schemaVersion?: string | undefined;
609
+ }>>;
610
+ } & {
611
+ type: z.ZodLiteral<"url">;
612
+ answer: z.ZodDefault<z.ZodString>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ type: "url";
615
+ meta: {
616
+ schemaVersion: string;
826
617
  };
827
- }>, "many">;
618
+ answer: string;
619
+ }, {
620
+ type: "url";
621
+ meta?: {
622
+ schemaVersion?: string | undefined;
623
+ } | undefined;
624
+ answer?: string | undefined;
625
+ }>]>, "many">;
828
626
  }, "strip", z.ZodTypeAny, {
829
- columns: {
830
- heading: string;
831
- content: {
832
- type: "date";
833
- meta: {
834
- schemaVersion: "1.0";
835
- };
836
- answer: string;
837
- } | {
838
- type: "dateRange";
839
- meta: {
840
- schemaVersion: "1.0";
841
- };
842
- answer: {
843
- start: string;
844
- end: string;
845
- };
846
- } | {
847
- type: "filteredSearch";
848
- meta: {
849
- schemaVersion: "1.0";
850
- };
851
- answer: string[];
852
- } | {
853
- type: "typeaheadSearch";
854
- meta: {
855
- schemaVersion: "1.0";
856
- };
857
- answer: string;
858
- } | {
859
- type: "boolean";
860
- meta: {
861
- schemaVersion: "1.0";
862
- };
863
- answer: boolean;
864
- } | {
865
- type: "checkBoxes";
866
- meta: {
867
- schemaVersion: "1.0";
868
- };
869
- answer: string[];
870
- } | {
871
- type: "radioButtons";
872
- meta: {
873
- schemaVersion: "1.0";
874
- };
875
- answer: string;
876
- } | {
877
- type: "selectBox";
878
- meta: {
879
- schemaVersion: "1.0";
880
- };
881
- answer: string;
882
- } | {
883
- type: "multiselectBox";
884
- meta: {
885
- schemaVersion: "1.0";
886
- };
887
- answer: string[];
888
- } | {
889
- type: "currency";
890
- meta: {
891
- schemaVersion: "1.0";
892
- };
893
- answer: number;
894
- } | {
895
- type: "number";
896
- meta: {
897
- schemaVersion: "1.0";
898
- };
899
- answer: number;
900
- } | {
901
- type: "email";
902
- meta: {
903
- schemaVersion: "1.0";
904
- };
905
- answer: string;
906
- } | {
907
- type: "text";
908
- meta: {
909
- schemaVersion: "1.0";
910
- };
911
- answer: string;
912
- } | {
913
- type: "textArea";
914
- meta: {
915
- schemaVersion: "1.0";
916
- };
917
- answer: string;
918
- } | {
919
- type: "url";
920
- meta: {
921
- schemaVersion: "1.0";
922
- };
923
- answer: string;
627
+ columns: ({
628
+ type: "date";
629
+ meta: {
630
+ schemaVersion: string;
924
631
  };
925
- }[];
926
- }, {
927
- columns: {
928
- heading: string;
929
- content: {
930
- type: "date";
931
- meta: {
932
- schemaVersion: "1.0";
933
- };
934
- answer: string;
935
- } | {
936
- type: "dateRange";
937
- meta: {
938
- schemaVersion: "1.0";
939
- };
940
- answer: {
941
- start: string;
942
- end: string;
943
- };
944
- } | {
945
- type: "filteredSearch";
946
- meta: {
947
- schemaVersion: "1.0";
948
- };
949
- answer: string[];
950
- } | {
951
- type: "typeaheadSearch";
952
- meta: {
953
- schemaVersion: "1.0";
954
- };
955
- answer: string;
956
- } | {
957
- type: "boolean";
958
- meta: {
959
- schemaVersion: "1.0";
960
- };
961
- answer: boolean;
962
- } | {
963
- type: "checkBoxes";
964
- meta: {
965
- schemaVersion: "1.0";
966
- };
967
- answer: string[];
968
- } | {
969
- type: "radioButtons";
970
- meta: {
971
- schemaVersion: "1.0";
972
- };
973
- answer: string;
974
- } | {
975
- type: "selectBox";
976
- meta: {
977
- schemaVersion: "1.0";
978
- };
979
- answer: string;
980
- } | {
981
- type: "multiselectBox";
982
- meta: {
983
- schemaVersion: "1.0";
984
- };
985
- answer: string[];
986
- } | {
987
- type: "currency";
988
- meta: {
989
- schemaVersion: "1.0";
990
- };
991
- answer: number;
992
- } | {
993
- type: "number";
994
- meta: {
995
- schemaVersion: "1.0";
996
- };
997
- answer: number;
998
- } | {
999
- type: "email";
1000
- meta: {
1001
- schemaVersion: "1.0";
1002
- };
1003
- answer: string;
1004
- } | {
1005
- type: "text";
1006
- meta: {
1007
- schemaVersion: "1.0";
1008
- };
1009
- answer: string;
1010
- } | {
1011
- type: "textArea";
1012
- meta: {
1013
- schemaVersion: "1.0";
1014
- };
1015
- answer: string;
1016
- } | {
1017
- type: "url";
1018
- meta: {
1019
- schemaVersion: "1.0";
1020
- };
1021
- answer: string;
632
+ answer: string;
633
+ } | {
634
+ type: "dateRange";
635
+ meta: {
636
+ schemaVersion: string;
637
+ };
638
+ answer: {
639
+ start: string;
640
+ end: string;
641
+ };
642
+ } | {
643
+ type: "filteredSearch";
644
+ meta: {
645
+ schemaVersion: string;
646
+ };
647
+ answer: string[];
648
+ } | {
649
+ type: "affiliationSearch";
650
+ meta: {
651
+ schemaVersion: string;
652
+ };
653
+ answer: {
654
+ affiliationId: string;
655
+ affiliationName: string;
656
+ };
657
+ } | {
658
+ type: "boolean";
659
+ meta: {
660
+ schemaVersion: string;
661
+ };
662
+ answer: boolean;
663
+ } | {
664
+ type: "checkBoxes";
665
+ meta: {
666
+ schemaVersion: string;
667
+ };
668
+ answer: string[];
669
+ } | {
670
+ type: "radioButtons";
671
+ meta: {
672
+ schemaVersion: string;
673
+ };
674
+ answer: string;
675
+ } | {
676
+ type: "selectBox";
677
+ meta: {
678
+ schemaVersion: string;
679
+ };
680
+ answer: string;
681
+ } | {
682
+ type: "multiselectBox";
683
+ meta: {
684
+ schemaVersion: string;
685
+ };
686
+ answer: string[];
687
+ } | {
688
+ type: "currency";
689
+ meta: {
690
+ schemaVersion: string;
691
+ };
692
+ answer: number;
693
+ } | {
694
+ type: "number";
695
+ meta: {
696
+ schemaVersion: string;
697
+ };
698
+ answer: number;
699
+ } | {
700
+ type: "email";
701
+ meta: {
702
+ schemaVersion: string;
1022
703
  };
1023
- }[];
1024
- }>, "many">;
704
+ answer: string;
705
+ } | {
706
+ type: "text";
707
+ meta: {
708
+ schemaVersion: string;
709
+ };
710
+ answer: string;
711
+ } | {
712
+ type: "textArea";
713
+ meta: {
714
+ schemaVersion: string;
715
+ };
716
+ answer: string;
717
+ } | {
718
+ type: "url";
719
+ meta: {
720
+ schemaVersion: string;
721
+ };
722
+ answer: string;
723
+ })[];
724
+ }, {
725
+ columns: ({
726
+ type: "date";
727
+ meta?: {
728
+ schemaVersion?: string | undefined;
729
+ } | undefined;
730
+ answer?: string | undefined;
731
+ } | {
732
+ type: "dateRange";
733
+ meta?: {
734
+ schemaVersion?: string | undefined;
735
+ } | undefined;
736
+ answer?: {
737
+ start?: string | undefined;
738
+ end?: string | undefined;
739
+ } | undefined;
740
+ } | {
741
+ type: "filteredSearch";
742
+ meta?: {
743
+ schemaVersion?: string | undefined;
744
+ } | undefined;
745
+ answer?: string[] | undefined;
746
+ } | {
747
+ type: "affiliationSearch";
748
+ meta?: {
749
+ schemaVersion?: string | undefined;
750
+ } | undefined;
751
+ answer?: {
752
+ affiliationId?: string | undefined;
753
+ affiliationName?: string | undefined;
754
+ } | undefined;
755
+ } | {
756
+ type: "boolean";
757
+ meta?: {
758
+ schemaVersion?: string | undefined;
759
+ } | undefined;
760
+ answer?: boolean | undefined;
761
+ } | {
762
+ type: "checkBoxes";
763
+ meta?: {
764
+ schemaVersion?: string | undefined;
765
+ } | undefined;
766
+ answer?: string[] | undefined;
767
+ } | {
768
+ type: "radioButtons";
769
+ meta?: {
770
+ schemaVersion?: string | undefined;
771
+ } | undefined;
772
+ answer?: string | undefined;
773
+ } | {
774
+ type: "selectBox";
775
+ meta?: {
776
+ schemaVersion?: string | undefined;
777
+ } | undefined;
778
+ answer?: string | undefined;
779
+ } | {
780
+ type: "multiselectBox";
781
+ meta?: {
782
+ schemaVersion?: string | undefined;
783
+ } | undefined;
784
+ answer?: string[] | undefined;
785
+ } | {
786
+ type: "currency";
787
+ meta?: {
788
+ schemaVersion?: string | undefined;
789
+ } | undefined;
790
+ answer?: number | undefined;
791
+ } | {
792
+ type: "number";
793
+ meta?: {
794
+ schemaVersion?: string | undefined;
795
+ } | undefined;
796
+ answer?: number | undefined;
797
+ } | {
798
+ type: "email";
799
+ meta?: {
800
+ schemaVersion?: string | undefined;
801
+ } | undefined;
802
+ answer?: string | undefined;
803
+ } | {
804
+ type: "text";
805
+ meta?: {
806
+ schemaVersion?: string | undefined;
807
+ } | undefined;
808
+ answer?: string | undefined;
809
+ } | {
810
+ type: "textArea";
811
+ meta?: {
812
+ schemaVersion?: string | undefined;
813
+ } | undefined;
814
+ answer?: string | undefined;
815
+ } | {
816
+ type: "url";
817
+ meta?: {
818
+ schemaVersion?: string | undefined;
819
+ } | undefined;
820
+ answer?: string | undefined;
821
+ })[];
822
+ }>, "many">>;
1025
823
  }, "strip", z.ZodTypeAny, {
1026
824
  type: "table";
1027
825
  meta: {
1028
- schemaVersion: "1.0";
826
+ schemaVersion: string;
1029
827
  };
1030
828
  answer: {
1031
- columns: {
1032
- heading: string;
1033
- content: {
1034
- type: "date";
1035
- meta: {
1036
- schemaVersion: "1.0";
1037
- };
1038
- answer: string;
1039
- } | {
1040
- type: "dateRange";
1041
- meta: {
1042
- schemaVersion: "1.0";
1043
- };
1044
- answer: {
1045
- start: string;
1046
- end: string;
1047
- };
1048
- } | {
1049
- type: "filteredSearch";
1050
- meta: {
1051
- schemaVersion: "1.0";
1052
- };
1053
- answer: string[];
1054
- } | {
1055
- type: "typeaheadSearch";
1056
- meta: {
1057
- schemaVersion: "1.0";
1058
- };
1059
- answer: string;
1060
- } | {
1061
- type: "boolean";
1062
- meta: {
1063
- schemaVersion: "1.0";
1064
- };
1065
- answer: boolean;
1066
- } | {
1067
- type: "checkBoxes";
1068
- meta: {
1069
- schemaVersion: "1.0";
1070
- };
1071
- answer: string[];
1072
- } | {
1073
- type: "radioButtons";
1074
- meta: {
1075
- schemaVersion: "1.0";
1076
- };
1077
- answer: string;
1078
- } | {
1079
- type: "selectBox";
1080
- meta: {
1081
- schemaVersion: "1.0";
1082
- };
1083
- answer: string;
1084
- } | {
1085
- type: "multiselectBox";
1086
- meta: {
1087
- schemaVersion: "1.0";
1088
- };
1089
- answer: string[];
1090
- } | {
1091
- type: "currency";
1092
- meta: {
1093
- schemaVersion: "1.0";
1094
- };
1095
- answer: number;
1096
- } | {
1097
- type: "number";
1098
- meta: {
1099
- schemaVersion: "1.0";
1100
- };
1101
- answer: number;
1102
- } | {
1103
- type: "email";
1104
- meta: {
1105
- schemaVersion: "1.0";
1106
- };
1107
- answer: string;
1108
- } | {
1109
- type: "text";
1110
- meta: {
1111
- schemaVersion: "1.0";
1112
- };
1113
- answer: string;
1114
- } | {
1115
- type: "textArea";
1116
- meta: {
1117
- schemaVersion: "1.0";
1118
- };
1119
- answer: string;
1120
- } | {
1121
- type: "url";
1122
- meta: {
1123
- schemaVersion: "1.0";
1124
- };
1125
- answer: string;
829
+ columns: ({
830
+ type: "date";
831
+ meta: {
832
+ schemaVersion: string;
833
+ };
834
+ answer: string;
835
+ } | {
836
+ type: "dateRange";
837
+ meta: {
838
+ schemaVersion: string;
839
+ };
840
+ answer: {
841
+ start: string;
842
+ end: string;
843
+ };
844
+ } | {
845
+ type: "filteredSearch";
846
+ meta: {
847
+ schemaVersion: string;
848
+ };
849
+ answer: string[];
850
+ } | {
851
+ type: "affiliationSearch";
852
+ meta: {
853
+ schemaVersion: string;
854
+ };
855
+ answer: {
856
+ affiliationId: string;
857
+ affiliationName: string;
858
+ };
859
+ } | {
860
+ type: "boolean";
861
+ meta: {
862
+ schemaVersion: string;
863
+ };
864
+ answer: boolean;
865
+ } | {
866
+ type: "checkBoxes";
867
+ meta: {
868
+ schemaVersion: string;
869
+ };
870
+ answer: string[];
871
+ } | {
872
+ type: "radioButtons";
873
+ meta: {
874
+ schemaVersion: string;
875
+ };
876
+ answer: string;
877
+ } | {
878
+ type: "selectBox";
879
+ meta: {
880
+ schemaVersion: string;
881
+ };
882
+ answer: string;
883
+ } | {
884
+ type: "multiselectBox";
885
+ meta: {
886
+ schemaVersion: string;
887
+ };
888
+ answer: string[];
889
+ } | {
890
+ type: "currency";
891
+ meta: {
892
+ schemaVersion: string;
893
+ };
894
+ answer: number;
895
+ } | {
896
+ type: "number";
897
+ meta: {
898
+ schemaVersion: string;
899
+ };
900
+ answer: number;
901
+ } | {
902
+ type: "email";
903
+ meta: {
904
+ schemaVersion: string;
1126
905
  };
1127
- }[];
906
+ answer: string;
907
+ } | {
908
+ type: "text";
909
+ meta: {
910
+ schemaVersion: string;
911
+ };
912
+ answer: string;
913
+ } | {
914
+ type: "textArea";
915
+ meta: {
916
+ schemaVersion: string;
917
+ };
918
+ answer: string;
919
+ } | {
920
+ type: "url";
921
+ meta: {
922
+ schemaVersion: string;
923
+ };
924
+ answer: string;
925
+ })[];
1128
926
  }[];
927
+ columnHeadings: string[];
1129
928
  }, {
1130
929
  type: "table";
1131
- meta: {
1132
- schemaVersion: "1.0";
1133
- };
1134
- answer: {
1135
- columns: {
1136
- heading: string;
1137
- content: {
1138
- type: "date";
1139
- meta: {
1140
- schemaVersion: "1.0";
1141
- };
1142
- answer: string;
1143
- } | {
1144
- type: "dateRange";
1145
- meta: {
1146
- schemaVersion: "1.0";
1147
- };
1148
- answer: {
1149
- start: string;
1150
- end: string;
1151
- };
1152
- } | {
1153
- type: "filteredSearch";
1154
- meta: {
1155
- schemaVersion: "1.0";
1156
- };
1157
- answer: string[];
1158
- } | {
1159
- type: "typeaheadSearch";
1160
- meta: {
1161
- schemaVersion: "1.0";
1162
- };
1163
- answer: string;
1164
- } | {
1165
- type: "boolean";
1166
- meta: {
1167
- schemaVersion: "1.0";
1168
- };
1169
- answer: boolean;
1170
- } | {
1171
- type: "checkBoxes";
1172
- meta: {
1173
- schemaVersion: "1.0";
1174
- };
1175
- answer: string[];
1176
- } | {
1177
- type: "radioButtons";
1178
- meta: {
1179
- schemaVersion: "1.0";
1180
- };
1181
- answer: string;
1182
- } | {
1183
- type: "selectBox";
1184
- meta: {
1185
- schemaVersion: "1.0";
1186
- };
1187
- answer: string;
1188
- } | {
1189
- type: "multiselectBox";
1190
- meta: {
1191
- schemaVersion: "1.0";
1192
- };
1193
- answer: string[];
1194
- } | {
1195
- type: "currency";
1196
- meta: {
1197
- schemaVersion: "1.0";
1198
- };
1199
- answer: number;
1200
- } | {
1201
- type: "number";
1202
- meta: {
1203
- schemaVersion: "1.0";
1204
- };
1205
- answer: number;
1206
- } | {
1207
- type: "email";
1208
- meta: {
1209
- schemaVersion: "1.0";
1210
- };
1211
- answer: string;
1212
- } | {
1213
- type: "text";
1214
- meta: {
1215
- schemaVersion: "1.0";
1216
- };
1217
- answer: string;
1218
- } | {
1219
- type: "textArea";
1220
- meta: {
1221
- schemaVersion: "1.0";
1222
- };
1223
- answer: string;
1224
- } | {
1225
- type: "url";
1226
- meta: {
1227
- schemaVersion: "1.0";
1228
- };
1229
- answer: string;
1230
- };
1231
- }[];
1232
- }[];
930
+ meta?: {
931
+ schemaVersion?: string | undefined;
932
+ } | undefined;
933
+ answer?: {
934
+ columns: ({
935
+ type: "date";
936
+ meta?: {
937
+ schemaVersion?: string | undefined;
938
+ } | undefined;
939
+ answer?: string | undefined;
940
+ } | {
941
+ type: "dateRange";
942
+ meta?: {
943
+ schemaVersion?: string | undefined;
944
+ } | undefined;
945
+ answer?: {
946
+ start?: string | undefined;
947
+ end?: string | undefined;
948
+ } | undefined;
949
+ } | {
950
+ type: "filteredSearch";
951
+ meta?: {
952
+ schemaVersion?: string | undefined;
953
+ } | undefined;
954
+ answer?: string[] | undefined;
955
+ } | {
956
+ type: "affiliationSearch";
957
+ meta?: {
958
+ schemaVersion?: string | undefined;
959
+ } | undefined;
960
+ answer?: {
961
+ affiliationId?: string | undefined;
962
+ affiliationName?: string | undefined;
963
+ } | undefined;
964
+ } | {
965
+ type: "boolean";
966
+ meta?: {
967
+ schemaVersion?: string | undefined;
968
+ } | undefined;
969
+ answer?: boolean | undefined;
970
+ } | {
971
+ type: "checkBoxes";
972
+ meta?: {
973
+ schemaVersion?: string | undefined;
974
+ } | undefined;
975
+ answer?: string[] | undefined;
976
+ } | {
977
+ type: "radioButtons";
978
+ meta?: {
979
+ schemaVersion?: string | undefined;
980
+ } | undefined;
981
+ answer?: string | undefined;
982
+ } | {
983
+ type: "selectBox";
984
+ meta?: {
985
+ schemaVersion?: string | undefined;
986
+ } | undefined;
987
+ answer?: string | undefined;
988
+ } | {
989
+ type: "multiselectBox";
990
+ meta?: {
991
+ schemaVersion?: string | undefined;
992
+ } | undefined;
993
+ answer?: string[] | undefined;
994
+ } | {
995
+ type: "currency";
996
+ meta?: {
997
+ schemaVersion?: string | undefined;
998
+ } | undefined;
999
+ answer?: number | undefined;
1000
+ } | {
1001
+ type: "number";
1002
+ meta?: {
1003
+ schemaVersion?: string | undefined;
1004
+ } | undefined;
1005
+ answer?: number | undefined;
1006
+ } | {
1007
+ type: "email";
1008
+ meta?: {
1009
+ schemaVersion?: string | undefined;
1010
+ } | undefined;
1011
+ answer?: string | undefined;
1012
+ } | {
1013
+ type: "text";
1014
+ meta?: {
1015
+ schemaVersion?: string | undefined;
1016
+ } | undefined;
1017
+ answer?: string | undefined;
1018
+ } | {
1019
+ type: "textArea";
1020
+ meta?: {
1021
+ schemaVersion?: string | undefined;
1022
+ } | undefined;
1023
+ answer?: string | undefined;
1024
+ } | {
1025
+ type: "url";
1026
+ meta?: {
1027
+ schemaVersion?: string | undefined;
1028
+ } | undefined;
1029
+ answer?: string | undefined;
1030
+ })[];
1031
+ }[] | undefined;
1032
+ columnHeadings?: string[] | undefined;
1233
1033
  }>, z.ZodObject<{
1234
- meta: z.ZodObject<{
1235
- schemaVersion: z.ZodLiteral<"1.0">;
1034
+ meta: z.ZodDefault<z.ZodObject<{
1035
+ schemaVersion: z.ZodDefault<z.ZodString>;
1236
1036
  }, "strip", z.ZodTypeAny, {
1237
- schemaVersion: "1.0";
1037
+ schemaVersion: string;
1238
1038
  }, {
1239
- schemaVersion: "1.0";
1240
- }>;
1039
+ schemaVersion?: string | undefined;
1040
+ }>>;
1241
1041
  } & {
1242
1042
  type: z.ZodLiteral<"text">;
1243
- answer: z.ZodString;
1043
+ answer: z.ZodDefault<z.ZodString>;
1244
1044
  }, "strip", z.ZodTypeAny, {
1245
1045
  type: "text";
1246
1046
  meta: {
1247
- schemaVersion: "1.0";
1047
+ schemaVersion: string;
1248
1048
  };
1249
1049
  answer: string;
1250
1050
  }, {
1251
1051
  type: "text";
1252
- meta: {
1253
- schemaVersion: "1.0";
1254
- };
1255
- answer: string;
1052
+ meta?: {
1053
+ schemaVersion?: string | undefined;
1054
+ } | undefined;
1055
+ answer?: string | undefined;
1256
1056
  }>, z.ZodObject<{
1257
- meta: z.ZodObject<{
1258
- schemaVersion: z.ZodLiteral<"1.0">;
1057
+ meta: z.ZodDefault<z.ZodObject<{
1058
+ schemaVersion: z.ZodDefault<z.ZodString>;
1259
1059
  }, "strip", z.ZodTypeAny, {
1260
- schemaVersion: "1.0";
1060
+ schemaVersion: string;
1261
1061
  }, {
1262
- schemaVersion: "1.0";
1263
- }>;
1062
+ schemaVersion?: string | undefined;
1063
+ }>>;
1264
1064
  } & {
1265
1065
  type: z.ZodLiteral<"textArea">;
1266
- answer: z.ZodString;
1066
+ answer: z.ZodDefault<z.ZodString>;
1267
1067
  }, "strip", z.ZodTypeAny, {
1268
1068
  type: "textArea";
1269
1069
  meta: {
1270
- schemaVersion: "1.0";
1070
+ schemaVersion: string;
1271
1071
  };
1272
1072
  answer: string;
1273
1073
  }, {
1274
1074
  type: "textArea";
1275
- meta: {
1276
- schemaVersion: "1.0";
1277
- };
1278
- answer: string;
1075
+ meta?: {
1076
+ schemaVersion?: string | undefined;
1077
+ } | undefined;
1078
+ answer?: string | undefined;
1279
1079
  }>, z.ZodObject<{
1280
- meta: z.ZodObject<{
1281
- schemaVersion: z.ZodLiteral<"1.0">;
1080
+ meta: z.ZodDefault<z.ZodObject<{
1081
+ schemaVersion: z.ZodDefault<z.ZodString>;
1282
1082
  }, "strip", z.ZodTypeAny, {
1283
- schemaVersion: "1.0";
1083
+ schemaVersion: string;
1284
1084
  }, {
1285
- schemaVersion: "1.0";
1286
- }>;
1085
+ schemaVersion?: string | undefined;
1086
+ }>>;
1287
1087
  } & {
1288
1088
  type: z.ZodLiteral<"url">;
1289
- answer: z.ZodString;
1089
+ answer: z.ZodDefault<z.ZodString>;
1290
1090
  }, "strip", z.ZodTypeAny, {
1291
1091
  type: "url";
1292
1092
  meta: {
1293
- schemaVersion: "1.0";
1093
+ schemaVersion: string;
1294
1094
  };
1295
1095
  answer: string;
1296
1096
  }, {
1297
1097
  type: "url";
1298
- meta: {
1299
- schemaVersion: "1.0";
1300
- };
1301
- answer: string;
1098
+ meta?: {
1099
+ schemaVersion?: string | undefined;
1100
+ } | undefined;
1101
+ answer?: string | undefined;
1302
1102
  }>]>;
1303
- export declare const AnswerSchemaMap: Record<z.infer<typeof QuestionTypesEnum>, z.ZodTypeAny>;
1103
+ export declare const AnswerSchemaMap: Record<z.infer<typeof QuestionFormatsEnum>, z.ZodTypeAny>;
1304
1104
  export type AnyAnswerType = z.infer<typeof AnyAnswerSchema>;
1305
1105
  export interface AnswerTypeMap {
1306
1106
  affiliationSearch: AffiliationSearchAnswerType;
@@ -1310,7 +1110,6 @@ export interface AnswerTypeMap {
1310
1110
  date: DateAnswerType;
1311
1111
  dateRange: DateRangeAnswerType;
1312
1112
  email: EmailAnswerType;
1313
- filteredSearch: FilteredSearchAnswerType;
1314
1113
  multiselectBox: MultiselectBoxAnswerType;
1315
1114
  number: NumberAnswerType;
1316
1115
  numberRange: NumberRangeAnswerType;