@dmptool/types 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +119 -47
  2. package/dist/answers/__tests__/answers.spec.js +20 -28
  3. package/dist/answers/__tests__/usage.spec.d.ts +1 -0
  4. package/dist/answers/__tests__/usage.spec.js +175 -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 +25 -25
  10. package/dist/answers/graphQLAnswers.js +4 -4
  11. package/dist/answers/index.d.ts +860 -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 +811 -1772
  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 +6 -4
  22. package/dist/questions/__tests__/optionBasedQuestions.spec.js +4 -12
  23. package/dist/questions/__tests__/usage.spec.d.ts +8 -0
  24. package/dist/questions/__tests__/usage.spec.js +312 -0
  25. package/dist/questions/dateQuestions.d.ts +90 -101
  26. package/dist/questions/dateQuestions.js +15 -34
  27. package/dist/questions/graphQLQuestions.d.ts +176 -182
  28. package/dist/questions/graphQLQuestions.js +44 -45
  29. package/dist/questions/index.d.ts +1791 -2170
  30. package/dist/questions/index.js +2 -2
  31. package/dist/questions/numberQuestions.d.ts +126 -142
  32. package/dist/questions/numberQuestions.js +11 -45
  33. package/dist/questions/optionBasedQuestions.d.ts +197 -225
  34. package/dist/questions/optionBasedQuestions.js +24 -88
  35. package/dist/questions/question.d.ts +24 -56
  36. package/dist/questions/question.js +78 -18
  37. package/dist/questions/tableQuestions.d.ts +2637 -2930
  38. package/dist/questions/tableQuestions.js +9 -21
  39. package/dist/questions/textQuestions.d.ts +125 -145
  40. package/dist/questions/textQuestions.js +16 -57
  41. package/dist/schemas/affiliationSearchAnswer.schema.json +9 -12
  42. package/dist/schemas/affiliationSearchQuestion.schema.json +57 -50
  43. package/dist/schemas/anyAnswer.schema.json +228 -237
  44. package/dist/schemas/anyQuestion.schema.json +349 -517
  45. package/dist/schemas/anyTableColumnAnswer.schema.json +93 -106
  46. package/dist/schemas/anyTableColumnQuestion.schema.json +259 -382
  47. package/dist/schemas/booleanAnswer.schema.json +8 -11
  48. package/dist/schemas/booleanQuestion.schema.json +9 -15
  49. package/dist/schemas/checkboxesAnswer.schema.json +13 -14
  50. package/dist/schemas/checkboxesQuestion.schema.json +18 -24
  51. package/dist/schemas/currencyAnswer.schema.json +8 -11
  52. package/dist/schemas/currencyQuestion.schema.json +13 -17
  53. package/dist/schemas/dateAnswer.schema.json +8 -11
  54. package/dist/schemas/dateQuestion.schema.json +9 -15
  55. package/dist/schemas/dateRangeAnswer.schema.json +16 -21
  56. package/dist/schemas/dateRangeQuestion.schema.json +40 -21
  57. package/dist/schemas/emailAnswer.schema.json +8 -11
  58. package/dist/schemas/emailQuestion.schema.json +11 -16
  59. package/dist/schemas/filteredSearchQuestion.schema.json +0 -3
  60. package/dist/schemas/multiselectBoxAnswer.schema.json +13 -14
  61. package/dist/schemas/multiselectBoxQuestion.schema.json +20 -25
  62. package/dist/schemas/numberAnswer.schema.json +8 -11
  63. package/dist/schemas/numberQuestion.schema.json +11 -16
  64. package/dist/schemas/numberRangeAnswer.schema.json +17 -22
  65. package/dist/schemas/numberRangeQuestion.schema.json +22 -21
  66. package/dist/schemas/radioButtonsAnswer.schema.json +8 -11
  67. package/dist/schemas/radioButtonsQuestion.schema.json +18 -24
  68. package/dist/schemas/selectBoxAnswer.schema.json +8 -11
  69. package/dist/schemas/selectBoxQuestion.schema.json +20 -25
  70. package/dist/schemas/tableAnswer.schema.json +337 -343
  71. package/dist/schemas/tableQuestion.schema.json +279 -416
  72. package/dist/schemas/textAnswer.schema.json +8 -11
  73. package/dist/schemas/textAreaAnswer.schema.json +8 -11
  74. package/dist/schemas/textAreaQuestion.schema.json +13 -17
  75. package/dist/schemas/textQuestion.schema.json +9 -15
  76. package/dist/schemas/urlAnswer.schema.json +8 -11
  77. package/dist/schemas/urlQuestion.schema.json +9 -15
  78. package/package.json +1 -1
@@ -1,143 +1,143 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3
- meta: z.ZodObject<{
4
- schemaVersion: z.ZodLiteral<"1.0">;
3
+ meta: z.ZodDefault<z.ZodObject<{
4
+ schemaVersion: z.ZodDefault<z.ZodString>;
5
5
  }, "strip", z.ZodTypeAny, {
6
- schemaVersion: "1.0";
6
+ schemaVersion: string;
7
7
  }, {
8
- schemaVersion: "1.0";
9
- }>;
8
+ schemaVersion?: string | undefined;
9
+ }>>;
10
10
  } & {
11
- type: z.ZodLiteral<"typeaheadSearch">;
12
- answer: z.ZodString;
11
+ type: z.ZodLiteral<"affiliationSearch">;
12
+ answer: z.ZodDefault<z.ZodString>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- type: "typeaheadSearch";
14
+ type: "affiliationSearch";
15
15
  meta: {
16
- schemaVersion: "1.0";
16
+ schemaVersion: string;
17
17
  };
18
18
  answer: string;
19
19
  }, {
20
- type: "typeaheadSearch";
21
- meta: {
22
- schemaVersion: "1.0";
23
- };
24
- answer: string;
20
+ type: "affiliationSearch";
21
+ meta?: {
22
+ schemaVersion?: string | undefined;
23
+ } | undefined;
24
+ answer?: string | undefined;
25
25
  }>, z.ZodObject<{
26
- meta: z.ZodObject<{
27
- schemaVersion: z.ZodLiteral<"1.0">;
26
+ meta: z.ZodDefault<z.ZodObject<{
27
+ schemaVersion: z.ZodDefault<z.ZodString>;
28
28
  }, "strip", z.ZodTypeAny, {
29
- schemaVersion: "1.0";
29
+ schemaVersion: string;
30
30
  }, {
31
- schemaVersion: "1.0";
32
- }>;
31
+ schemaVersion?: string | undefined;
32
+ }>>;
33
33
  } & {
34
34
  type: z.ZodLiteral<"boolean">;
35
- answer: z.ZodBoolean;
35
+ answer: z.ZodDefault<z.ZodBoolean>;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  type: "boolean";
38
38
  meta: {
39
- schemaVersion: "1.0";
39
+ schemaVersion: string;
40
40
  };
41
41
  answer: boolean;
42
42
  }, {
43
43
  type: "boolean";
44
- meta: {
45
- schemaVersion: "1.0";
46
- };
47
- answer: boolean;
44
+ meta?: {
45
+ schemaVersion?: string | undefined;
46
+ } | undefined;
47
+ answer?: boolean | undefined;
48
48
  }>, z.ZodObject<{
49
- meta: z.ZodObject<{
50
- schemaVersion: z.ZodLiteral<"1.0">;
49
+ meta: z.ZodDefault<z.ZodObject<{
50
+ schemaVersion: z.ZodDefault<z.ZodString>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- schemaVersion: "1.0";
52
+ schemaVersion: string;
53
53
  }, {
54
- schemaVersion: "1.0";
55
- }>;
54
+ schemaVersion?: string | undefined;
55
+ }>>;
56
56
  } & {
57
57
  type: z.ZodLiteral<"checkBoxes">;
58
- answer: z.ZodArray<z.ZodString, "many">;
58
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  type: "checkBoxes";
61
61
  meta: {
62
- schemaVersion: "1.0";
62
+ schemaVersion: string;
63
63
  };
64
64
  answer: string[];
65
65
  }, {
66
66
  type: "checkBoxes";
67
- meta: {
68
- schemaVersion: "1.0";
69
- };
70
- answer: string[];
67
+ meta?: {
68
+ schemaVersion?: string | undefined;
69
+ } | undefined;
70
+ answer?: string[] | undefined;
71
71
  }>, z.ZodObject<{
72
- meta: z.ZodObject<{
73
- schemaVersion: z.ZodLiteral<"1.0">;
72
+ meta: z.ZodDefault<z.ZodObject<{
73
+ schemaVersion: z.ZodDefault<z.ZodString>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- schemaVersion: "1.0";
75
+ schemaVersion: string;
76
76
  }, {
77
- schemaVersion: "1.0";
78
- }>;
77
+ schemaVersion?: string | undefined;
78
+ }>>;
79
79
  } & {
80
80
  type: z.ZodLiteral<"currency">;
81
- answer: z.ZodNumber;
81
+ answer: z.ZodDefault<z.ZodNumber>;
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  type: "currency";
84
84
  meta: {
85
- schemaVersion: "1.0";
85
+ schemaVersion: string;
86
86
  };
87
87
  answer: number;
88
88
  }, {
89
89
  type: "currency";
90
- meta: {
91
- schemaVersion: "1.0";
92
- };
93
- answer: number;
90
+ meta?: {
91
+ schemaVersion?: string | undefined;
92
+ } | undefined;
93
+ answer?: number | undefined;
94
94
  }>, z.ZodObject<{
95
- answer: z.ZodString;
96
- meta: z.ZodObject<{
97
- schemaVersion: z.ZodLiteral<"1.0">;
95
+ meta: z.ZodDefault<z.ZodObject<{
96
+ schemaVersion: z.ZodDefault<z.ZodString>;
98
97
  }, "strip", z.ZodTypeAny, {
99
- schemaVersion: "1.0";
98
+ schemaVersion: string;
100
99
  }, {
101
- schemaVersion: "1.0";
102
- }>;
100
+ schemaVersion?: string | undefined;
101
+ }>>;
103
102
  } & {
104
103
  type: z.ZodLiteral<"date">;
104
+ answer: z.ZodDefault<z.ZodString>;
105
105
  }, "strip", z.ZodTypeAny, {
106
106
  type: "date";
107
107
  meta: {
108
- schemaVersion: "1.0";
108
+ schemaVersion: string;
109
109
  };
110
110
  answer: string;
111
111
  }, {
112
112
  type: "date";
113
- meta: {
114
- schemaVersion: "1.0";
115
- };
116
- answer: string;
113
+ meta?: {
114
+ schemaVersion?: string | undefined;
115
+ } | undefined;
116
+ answer?: string | undefined;
117
117
  }>, z.ZodObject<{
118
- meta: z.ZodObject<{
119
- schemaVersion: z.ZodLiteral<"1.0">;
118
+ meta: z.ZodDefault<z.ZodObject<{
119
+ schemaVersion: z.ZodDefault<z.ZodString>;
120
120
  }, "strip", z.ZodTypeAny, {
121
- schemaVersion: "1.0";
121
+ schemaVersion: string;
122
122
  }, {
123
- schemaVersion: "1.0";
124
- }>;
123
+ schemaVersion?: string | undefined;
124
+ }>>;
125
125
  } & {
126
126
  type: z.ZodLiteral<"dateRange">;
127
- answer: z.ZodObject<{
128
- start: z.ZodString;
129
- end: z.ZodString;
127
+ answer: z.ZodDefault<z.ZodObject<{
128
+ start: z.ZodDefault<z.ZodString>;
129
+ end: z.ZodDefault<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  start: string;
132
132
  end: string;
133
133
  }, {
134
- start: string;
135
- end: string;
136
- }>;
134
+ start?: string | undefined;
135
+ end?: string | undefined;
136
+ }>>;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  type: "dateRange";
139
139
  meta: {
140
- schemaVersion: "1.0";
140
+ schemaVersion: string;
141
141
  };
142
142
  answer: {
143
143
  start: string;
@@ -145,362 +145,361 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
145
145
  };
146
146
  }, {
147
147
  type: "dateRange";
148
- meta: {
149
- schemaVersion: "1.0";
150
- };
151
- answer: {
152
- start: string;
153
- end: string;
154
- };
148
+ meta?: {
149
+ schemaVersion?: string | undefined;
150
+ } | undefined;
151
+ answer?: {
152
+ start?: string | undefined;
153
+ end?: string | undefined;
154
+ } | undefined;
155
155
  }>, z.ZodObject<{
156
- meta: z.ZodObject<{
157
- schemaVersion: z.ZodLiteral<"1.0">;
156
+ meta: z.ZodDefault<z.ZodObject<{
157
+ schemaVersion: z.ZodDefault<z.ZodString>;
158
158
  }, "strip", z.ZodTypeAny, {
159
- schemaVersion: "1.0";
159
+ schemaVersion: string;
160
160
  }, {
161
- schemaVersion: "1.0";
162
- }>;
161
+ schemaVersion?: string | undefined;
162
+ }>>;
163
163
  } & {
164
164
  type: z.ZodLiteral<"email">;
165
- answer: z.ZodString;
165
+ answer: z.ZodDefault<z.ZodString>;
166
166
  }, "strip", z.ZodTypeAny, {
167
167
  type: "email";
168
168
  meta: {
169
- schemaVersion: "1.0";
169
+ schemaVersion: string;
170
170
  };
171
171
  answer: string;
172
172
  }, {
173
173
  type: "email";
174
- meta: {
175
- schemaVersion: "1.0";
176
- };
177
- answer: string;
174
+ meta?: {
175
+ schemaVersion?: string | undefined;
176
+ } | undefined;
177
+ answer?: string | undefined;
178
178
  }>, z.ZodObject<{
179
- meta: z.ZodObject<{
180
- schemaVersion: z.ZodLiteral<"1.0">;
179
+ meta: z.ZodDefault<z.ZodObject<{
180
+ schemaVersion: z.ZodDefault<z.ZodString>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- schemaVersion: "1.0";
182
+ schemaVersion: string;
183
183
  }, {
184
- schemaVersion: "1.0";
185
- }>;
184
+ schemaVersion?: string | undefined;
185
+ }>>;
186
186
  } & {
187
187
  type: z.ZodLiteral<"filteredSearch">;
188
- answer: z.ZodArray<z.ZodString, "many">;
188
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
189
189
  }, "strip", z.ZodTypeAny, {
190
190
  type: "filteredSearch";
191
191
  meta: {
192
- schemaVersion: "1.0";
192
+ schemaVersion: string;
193
193
  };
194
194
  answer: string[];
195
195
  }, {
196
196
  type: "filteredSearch";
197
- meta: {
198
- schemaVersion: "1.0";
199
- };
200
- answer: string[];
197
+ meta?: {
198
+ schemaVersion?: string | undefined;
199
+ } | undefined;
200
+ answer?: string[] | undefined;
201
201
  }>, z.ZodObject<{
202
- meta: z.ZodObject<{
203
- schemaVersion: z.ZodLiteral<"1.0">;
202
+ meta: z.ZodDefault<z.ZodObject<{
203
+ schemaVersion: z.ZodDefault<z.ZodString>;
204
204
  }, "strip", z.ZodTypeAny, {
205
- schemaVersion: "1.0";
205
+ schemaVersion: string;
206
206
  }, {
207
- schemaVersion: "1.0";
208
- }>;
207
+ schemaVersion?: string | undefined;
208
+ }>>;
209
209
  } & {
210
210
  type: z.ZodLiteral<"multiselectBox">;
211
- answer: z.ZodArray<z.ZodString, "many">;
211
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
212
212
  }, "strip", z.ZodTypeAny, {
213
213
  type: "multiselectBox";
214
214
  meta: {
215
- schemaVersion: "1.0";
215
+ schemaVersion: string;
216
216
  };
217
217
  answer: string[];
218
218
  }, {
219
219
  type: "multiselectBox";
220
- meta: {
221
- schemaVersion: "1.0";
222
- };
223
- answer: string[];
220
+ meta?: {
221
+ schemaVersion?: string | undefined;
222
+ } | undefined;
223
+ answer?: string[] | undefined;
224
224
  }>, z.ZodObject<{
225
- meta: z.ZodObject<{
226
- schemaVersion: z.ZodLiteral<"1.0">;
225
+ meta: z.ZodDefault<z.ZodObject<{
226
+ schemaVersion: z.ZodDefault<z.ZodString>;
227
227
  }, "strip", z.ZodTypeAny, {
228
- schemaVersion: "1.0";
228
+ schemaVersion: string;
229
229
  }, {
230
- schemaVersion: "1.0";
231
- }>;
230
+ schemaVersion?: string | undefined;
231
+ }>>;
232
232
  } & {
233
233
  type: z.ZodLiteral<"number">;
234
- answer: z.ZodNumber;
234
+ answer: z.ZodDefault<z.ZodNumber>;
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  type: "number";
237
237
  meta: {
238
- schemaVersion: "1.0";
238
+ schemaVersion: string;
239
239
  };
240
240
  answer: number;
241
241
  }, {
242
242
  type: "number";
243
- meta: {
244
- schemaVersion: "1.0";
245
- };
246
- answer: number;
243
+ meta?: {
244
+ schemaVersion?: string | undefined;
245
+ } | undefined;
246
+ answer?: number | undefined;
247
247
  }>, z.ZodObject<{
248
- meta: z.ZodObject<{
249
- schemaVersion: z.ZodLiteral<"1.0">;
248
+ meta: z.ZodDefault<z.ZodObject<{
249
+ schemaVersion: z.ZodDefault<z.ZodString>;
250
250
  }, "strip", z.ZodTypeAny, {
251
- schemaVersion: "1.0";
251
+ schemaVersion: string;
252
252
  }, {
253
- schemaVersion: "1.0";
254
- }>;
253
+ schemaVersion?: string | undefined;
254
+ }>>;
255
255
  } & {
256
256
  type: z.ZodLiteral<"radioButtons">;
257
- answer: z.ZodString;
257
+ answer: z.ZodDefault<z.ZodString>;
258
258
  }, "strip", z.ZodTypeAny, {
259
259
  type: "radioButtons";
260
260
  meta: {
261
- schemaVersion: "1.0";
261
+ schemaVersion: string;
262
262
  };
263
263
  answer: string;
264
264
  }, {
265
265
  type: "radioButtons";
266
- meta: {
267
- schemaVersion: "1.0";
268
- };
269
- answer: string;
266
+ meta?: {
267
+ schemaVersion?: string | undefined;
268
+ } | undefined;
269
+ answer?: string | undefined;
270
270
  }>, z.ZodObject<{
271
- meta: z.ZodObject<{
272
- schemaVersion: z.ZodLiteral<"1.0">;
271
+ meta: z.ZodDefault<z.ZodObject<{
272
+ schemaVersion: z.ZodDefault<z.ZodString>;
273
273
  }, "strip", z.ZodTypeAny, {
274
- schemaVersion: "1.0";
274
+ schemaVersion: string;
275
275
  }, {
276
- schemaVersion: "1.0";
277
- }>;
276
+ schemaVersion?: string | undefined;
277
+ }>>;
278
278
  } & {
279
279
  type: z.ZodLiteral<"selectBox">;
280
- answer: z.ZodString;
280
+ answer: z.ZodDefault<z.ZodString>;
281
281
  }, "strip", z.ZodTypeAny, {
282
282
  type: "selectBox";
283
283
  meta: {
284
- schemaVersion: "1.0";
284
+ schemaVersion: string;
285
285
  };
286
286
  answer: string;
287
287
  }, {
288
288
  type: "selectBox";
289
- meta: {
290
- schemaVersion: "1.0";
291
- };
292
- answer: string;
289
+ meta?: {
290
+ schemaVersion?: string | undefined;
291
+ } | undefined;
292
+ answer?: string | undefined;
293
293
  }>, z.ZodObject<{
294
- meta: z.ZodObject<{
295
- schemaVersion: z.ZodLiteral<"1.0">;
294
+ meta: z.ZodDefault<z.ZodObject<{
295
+ schemaVersion: z.ZodDefault<z.ZodString>;
296
296
  }, "strip", z.ZodTypeAny, {
297
- schemaVersion: "1.0";
297
+ schemaVersion: string;
298
298
  }, {
299
- schemaVersion: "1.0";
300
- }>;
299
+ schemaVersion?: string | undefined;
300
+ }>>;
301
301
  } & {
302
302
  type: z.ZodLiteral<"text">;
303
- answer: z.ZodString;
303
+ answer: z.ZodDefault<z.ZodString>;
304
304
  }, "strip", z.ZodTypeAny, {
305
305
  type: "text";
306
306
  meta: {
307
- schemaVersion: "1.0";
307
+ schemaVersion: string;
308
308
  };
309
309
  answer: string;
310
310
  }, {
311
311
  type: "text";
312
- meta: {
313
- schemaVersion: "1.0";
314
- };
315
- answer: string;
312
+ meta?: {
313
+ schemaVersion?: string | undefined;
314
+ } | undefined;
315
+ answer?: string | undefined;
316
316
  }>, z.ZodObject<{
317
- meta: z.ZodObject<{
318
- schemaVersion: z.ZodLiteral<"1.0">;
317
+ meta: z.ZodDefault<z.ZodObject<{
318
+ schemaVersion: z.ZodDefault<z.ZodString>;
319
319
  }, "strip", z.ZodTypeAny, {
320
- schemaVersion: "1.0";
320
+ schemaVersion: string;
321
321
  }, {
322
- schemaVersion: "1.0";
323
- }>;
322
+ schemaVersion?: string | undefined;
323
+ }>>;
324
324
  } & {
325
325
  type: z.ZodLiteral<"textArea">;
326
- answer: z.ZodString;
326
+ answer: z.ZodDefault<z.ZodString>;
327
327
  }, "strip", z.ZodTypeAny, {
328
328
  type: "textArea";
329
329
  meta: {
330
- schemaVersion: "1.0";
330
+ schemaVersion: string;
331
331
  };
332
332
  answer: string;
333
333
  }, {
334
334
  type: "textArea";
335
- meta: {
336
- schemaVersion: "1.0";
337
- };
338
- answer: string;
335
+ meta?: {
336
+ schemaVersion?: string | undefined;
337
+ } | undefined;
338
+ answer?: string | undefined;
339
339
  }>, z.ZodObject<{
340
- meta: z.ZodObject<{
341
- schemaVersion: z.ZodLiteral<"1.0">;
340
+ meta: z.ZodDefault<z.ZodObject<{
341
+ schemaVersion: z.ZodDefault<z.ZodString>;
342
342
  }, "strip", z.ZodTypeAny, {
343
- schemaVersion: "1.0";
343
+ schemaVersion: string;
344
344
  }, {
345
- schemaVersion: "1.0";
346
- }>;
345
+ schemaVersion?: string | undefined;
346
+ }>>;
347
347
  } & {
348
348
  type: z.ZodLiteral<"url">;
349
- answer: z.ZodString;
349
+ answer: z.ZodDefault<z.ZodString>;
350
350
  }, "strip", z.ZodTypeAny, {
351
351
  type: "url";
352
352
  meta: {
353
- schemaVersion: "1.0";
353
+ schemaVersion: string;
354
354
  };
355
355
  answer: string;
356
356
  }, {
357
357
  type: "url";
358
- meta: {
359
- schemaVersion: "1.0";
360
- };
361
- answer: string;
358
+ meta?: {
359
+ schemaVersion?: string | undefined;
360
+ } | undefined;
361
+ answer?: string | undefined;
362
362
  }>]>;
363
- export declare const TableColumnAnswerSchema: z.ZodObject<{
364
- heading: z.ZodString;
365
- content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
366
- meta: z.ZodObject<{
367
- schemaVersion: z.ZodLiteral<"1.0">;
363
+ export declare const TableRowAnswerSchema: z.ZodObject<{
364
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
365
+ meta: z.ZodDefault<z.ZodObject<{
366
+ schemaVersion: z.ZodDefault<z.ZodString>;
368
367
  }, "strip", z.ZodTypeAny, {
369
- schemaVersion: "1.0";
368
+ schemaVersion: string;
370
369
  }, {
371
- schemaVersion: "1.0";
372
- }>;
370
+ schemaVersion?: string | undefined;
371
+ }>>;
373
372
  } & {
374
- type: z.ZodLiteral<"typeaheadSearch">;
375
- answer: z.ZodString;
373
+ type: z.ZodLiteral<"affiliationSearch">;
374
+ answer: z.ZodDefault<z.ZodString>;
376
375
  }, "strip", z.ZodTypeAny, {
377
- type: "typeaheadSearch";
376
+ type: "affiliationSearch";
378
377
  meta: {
379
- schemaVersion: "1.0";
378
+ schemaVersion: string;
380
379
  };
381
380
  answer: string;
382
381
  }, {
383
- type: "typeaheadSearch";
384
- meta: {
385
- schemaVersion: "1.0";
386
- };
387
- answer: string;
382
+ type: "affiliationSearch";
383
+ meta?: {
384
+ schemaVersion?: string | undefined;
385
+ } | undefined;
386
+ answer?: string | undefined;
388
387
  }>, z.ZodObject<{
389
- meta: z.ZodObject<{
390
- schemaVersion: z.ZodLiteral<"1.0">;
388
+ meta: z.ZodDefault<z.ZodObject<{
389
+ schemaVersion: z.ZodDefault<z.ZodString>;
391
390
  }, "strip", z.ZodTypeAny, {
392
- schemaVersion: "1.0";
391
+ schemaVersion: string;
393
392
  }, {
394
- schemaVersion: "1.0";
395
- }>;
393
+ schemaVersion?: string | undefined;
394
+ }>>;
396
395
  } & {
397
396
  type: z.ZodLiteral<"boolean">;
398
- answer: z.ZodBoolean;
397
+ answer: z.ZodDefault<z.ZodBoolean>;
399
398
  }, "strip", z.ZodTypeAny, {
400
399
  type: "boolean";
401
400
  meta: {
402
- schemaVersion: "1.0";
401
+ schemaVersion: string;
403
402
  };
404
403
  answer: boolean;
405
404
  }, {
406
405
  type: "boolean";
407
- meta: {
408
- schemaVersion: "1.0";
409
- };
410
- answer: boolean;
406
+ meta?: {
407
+ schemaVersion?: string | undefined;
408
+ } | undefined;
409
+ answer?: boolean | undefined;
411
410
  }>, z.ZodObject<{
412
- meta: z.ZodObject<{
413
- schemaVersion: z.ZodLiteral<"1.0">;
411
+ meta: z.ZodDefault<z.ZodObject<{
412
+ schemaVersion: z.ZodDefault<z.ZodString>;
414
413
  }, "strip", z.ZodTypeAny, {
415
- schemaVersion: "1.0";
414
+ schemaVersion: string;
416
415
  }, {
417
- schemaVersion: "1.0";
418
- }>;
416
+ schemaVersion?: string | undefined;
417
+ }>>;
419
418
  } & {
420
419
  type: z.ZodLiteral<"checkBoxes">;
421
- answer: z.ZodArray<z.ZodString, "many">;
420
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
422
421
  }, "strip", z.ZodTypeAny, {
423
422
  type: "checkBoxes";
424
423
  meta: {
425
- schemaVersion: "1.0";
424
+ schemaVersion: string;
426
425
  };
427
426
  answer: string[];
428
427
  }, {
429
428
  type: "checkBoxes";
430
- meta: {
431
- schemaVersion: "1.0";
432
- };
433
- answer: string[];
429
+ meta?: {
430
+ schemaVersion?: string | undefined;
431
+ } | undefined;
432
+ answer?: string[] | undefined;
434
433
  }>, z.ZodObject<{
435
- meta: z.ZodObject<{
436
- schemaVersion: z.ZodLiteral<"1.0">;
434
+ meta: z.ZodDefault<z.ZodObject<{
435
+ schemaVersion: z.ZodDefault<z.ZodString>;
437
436
  }, "strip", z.ZodTypeAny, {
438
- schemaVersion: "1.0";
437
+ schemaVersion: string;
439
438
  }, {
440
- schemaVersion: "1.0";
441
- }>;
439
+ schemaVersion?: string | undefined;
440
+ }>>;
442
441
  } & {
443
442
  type: z.ZodLiteral<"currency">;
444
- answer: z.ZodNumber;
443
+ answer: z.ZodDefault<z.ZodNumber>;
445
444
  }, "strip", z.ZodTypeAny, {
446
445
  type: "currency";
447
446
  meta: {
448
- schemaVersion: "1.0";
447
+ schemaVersion: string;
449
448
  };
450
449
  answer: number;
451
450
  }, {
452
451
  type: "currency";
453
- meta: {
454
- schemaVersion: "1.0";
455
- };
456
- answer: number;
452
+ meta?: {
453
+ schemaVersion?: string | undefined;
454
+ } | undefined;
455
+ answer?: number | undefined;
457
456
  }>, z.ZodObject<{
458
- answer: z.ZodString;
459
- meta: z.ZodObject<{
460
- schemaVersion: z.ZodLiteral<"1.0">;
457
+ meta: z.ZodDefault<z.ZodObject<{
458
+ schemaVersion: z.ZodDefault<z.ZodString>;
461
459
  }, "strip", z.ZodTypeAny, {
462
- schemaVersion: "1.0";
460
+ schemaVersion: string;
463
461
  }, {
464
- schemaVersion: "1.0";
465
- }>;
462
+ schemaVersion?: string | undefined;
463
+ }>>;
466
464
  } & {
467
465
  type: z.ZodLiteral<"date">;
466
+ answer: z.ZodDefault<z.ZodString>;
468
467
  }, "strip", z.ZodTypeAny, {
469
468
  type: "date";
470
469
  meta: {
471
- schemaVersion: "1.0";
470
+ schemaVersion: string;
472
471
  };
473
472
  answer: string;
474
473
  }, {
475
474
  type: "date";
476
- meta: {
477
- schemaVersion: "1.0";
478
- };
479
- answer: string;
475
+ meta?: {
476
+ schemaVersion?: string | undefined;
477
+ } | undefined;
478
+ answer?: string | undefined;
480
479
  }>, z.ZodObject<{
481
- meta: z.ZodObject<{
482
- schemaVersion: z.ZodLiteral<"1.0">;
480
+ meta: z.ZodDefault<z.ZodObject<{
481
+ schemaVersion: z.ZodDefault<z.ZodString>;
483
482
  }, "strip", z.ZodTypeAny, {
484
- schemaVersion: "1.0";
483
+ schemaVersion: string;
485
484
  }, {
486
- schemaVersion: "1.0";
487
- }>;
485
+ schemaVersion?: string | undefined;
486
+ }>>;
488
487
  } & {
489
488
  type: z.ZodLiteral<"dateRange">;
490
- answer: z.ZodObject<{
491
- start: z.ZodString;
492
- end: z.ZodString;
489
+ answer: z.ZodDefault<z.ZodObject<{
490
+ start: z.ZodDefault<z.ZodString>;
491
+ end: z.ZodDefault<z.ZodString>;
493
492
  }, "strip", z.ZodTypeAny, {
494
493
  start: string;
495
494
  end: string;
496
495
  }, {
497
- start: string;
498
- end: string;
499
- }>;
496
+ start?: string | undefined;
497
+ end?: string | undefined;
498
+ }>>;
500
499
  }, "strip", z.ZodTypeAny, {
501
500
  type: "dateRange";
502
501
  meta: {
503
- schemaVersion: "1.0";
502
+ schemaVersion: string;
504
503
  };
505
504
  answer: {
506
505
  start: string;
@@ -508,233 +507,232 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
508
507
  };
509
508
  }, {
510
509
  type: "dateRange";
511
- meta: {
512
- schemaVersion: "1.0";
513
- };
514
- answer: {
515
- start: string;
516
- end: string;
517
- };
510
+ meta?: {
511
+ schemaVersion?: string | undefined;
512
+ } | undefined;
513
+ answer?: {
514
+ start?: string | undefined;
515
+ end?: string | undefined;
516
+ } | undefined;
518
517
  }>, z.ZodObject<{
519
- meta: z.ZodObject<{
520
- schemaVersion: z.ZodLiteral<"1.0">;
518
+ meta: z.ZodDefault<z.ZodObject<{
519
+ schemaVersion: z.ZodDefault<z.ZodString>;
521
520
  }, "strip", z.ZodTypeAny, {
522
- schemaVersion: "1.0";
521
+ schemaVersion: string;
523
522
  }, {
524
- schemaVersion: "1.0";
525
- }>;
523
+ schemaVersion?: string | undefined;
524
+ }>>;
526
525
  } & {
527
526
  type: z.ZodLiteral<"email">;
528
- answer: z.ZodString;
527
+ answer: z.ZodDefault<z.ZodString>;
529
528
  }, "strip", z.ZodTypeAny, {
530
529
  type: "email";
531
530
  meta: {
532
- schemaVersion: "1.0";
531
+ schemaVersion: string;
533
532
  };
534
533
  answer: string;
535
534
  }, {
536
535
  type: "email";
537
- meta: {
538
- schemaVersion: "1.0";
539
- };
540
- answer: string;
536
+ meta?: {
537
+ schemaVersion?: string | undefined;
538
+ } | undefined;
539
+ answer?: string | undefined;
541
540
  }>, z.ZodObject<{
542
- meta: z.ZodObject<{
543
- schemaVersion: z.ZodLiteral<"1.0">;
541
+ meta: z.ZodDefault<z.ZodObject<{
542
+ schemaVersion: z.ZodDefault<z.ZodString>;
544
543
  }, "strip", z.ZodTypeAny, {
545
- schemaVersion: "1.0";
544
+ schemaVersion: string;
546
545
  }, {
547
- schemaVersion: "1.0";
548
- }>;
546
+ schemaVersion?: string | undefined;
547
+ }>>;
549
548
  } & {
550
549
  type: z.ZodLiteral<"filteredSearch">;
551
- answer: z.ZodArray<z.ZodString, "many">;
550
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
552
551
  }, "strip", z.ZodTypeAny, {
553
552
  type: "filteredSearch";
554
553
  meta: {
555
- schemaVersion: "1.0";
554
+ schemaVersion: string;
556
555
  };
557
556
  answer: string[];
558
557
  }, {
559
558
  type: "filteredSearch";
560
- meta: {
561
- schemaVersion: "1.0";
562
- };
563
- answer: string[];
559
+ meta?: {
560
+ schemaVersion?: string | undefined;
561
+ } | undefined;
562
+ answer?: string[] | undefined;
564
563
  }>, z.ZodObject<{
565
- meta: z.ZodObject<{
566
- schemaVersion: z.ZodLiteral<"1.0">;
564
+ meta: z.ZodDefault<z.ZodObject<{
565
+ schemaVersion: z.ZodDefault<z.ZodString>;
567
566
  }, "strip", z.ZodTypeAny, {
568
- schemaVersion: "1.0";
567
+ schemaVersion: string;
569
568
  }, {
570
- schemaVersion: "1.0";
571
- }>;
569
+ schemaVersion?: string | undefined;
570
+ }>>;
572
571
  } & {
573
572
  type: z.ZodLiteral<"multiselectBox">;
574
- answer: z.ZodArray<z.ZodString, "many">;
573
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
575
574
  }, "strip", z.ZodTypeAny, {
576
575
  type: "multiselectBox";
577
576
  meta: {
578
- schemaVersion: "1.0";
577
+ schemaVersion: string;
579
578
  };
580
579
  answer: string[];
581
580
  }, {
582
581
  type: "multiselectBox";
583
- meta: {
584
- schemaVersion: "1.0";
585
- };
586
- answer: string[];
582
+ meta?: {
583
+ schemaVersion?: string | undefined;
584
+ } | undefined;
585
+ answer?: string[] | undefined;
587
586
  }>, z.ZodObject<{
588
- meta: z.ZodObject<{
589
- schemaVersion: z.ZodLiteral<"1.0">;
587
+ meta: z.ZodDefault<z.ZodObject<{
588
+ schemaVersion: z.ZodDefault<z.ZodString>;
590
589
  }, "strip", z.ZodTypeAny, {
591
- schemaVersion: "1.0";
590
+ schemaVersion: string;
592
591
  }, {
593
- schemaVersion: "1.0";
594
- }>;
592
+ schemaVersion?: string | undefined;
593
+ }>>;
595
594
  } & {
596
595
  type: z.ZodLiteral<"number">;
597
- answer: z.ZodNumber;
596
+ answer: z.ZodDefault<z.ZodNumber>;
598
597
  }, "strip", z.ZodTypeAny, {
599
598
  type: "number";
600
599
  meta: {
601
- schemaVersion: "1.0";
600
+ schemaVersion: string;
602
601
  };
603
602
  answer: number;
604
603
  }, {
605
604
  type: "number";
606
- meta: {
607
- schemaVersion: "1.0";
608
- };
609
- answer: number;
605
+ meta?: {
606
+ schemaVersion?: string | undefined;
607
+ } | undefined;
608
+ answer?: number | undefined;
610
609
  }>, z.ZodObject<{
611
- meta: z.ZodObject<{
612
- schemaVersion: z.ZodLiteral<"1.0">;
610
+ meta: z.ZodDefault<z.ZodObject<{
611
+ schemaVersion: z.ZodDefault<z.ZodString>;
613
612
  }, "strip", z.ZodTypeAny, {
614
- schemaVersion: "1.0";
613
+ schemaVersion: string;
615
614
  }, {
616
- schemaVersion: "1.0";
617
- }>;
615
+ schemaVersion?: string | undefined;
616
+ }>>;
618
617
  } & {
619
618
  type: z.ZodLiteral<"radioButtons">;
620
- answer: z.ZodString;
619
+ answer: z.ZodDefault<z.ZodString>;
621
620
  }, "strip", z.ZodTypeAny, {
622
621
  type: "radioButtons";
623
622
  meta: {
624
- schemaVersion: "1.0";
623
+ schemaVersion: string;
625
624
  };
626
625
  answer: string;
627
626
  }, {
628
627
  type: "radioButtons";
629
- meta: {
630
- schemaVersion: "1.0";
631
- };
632
- answer: string;
628
+ meta?: {
629
+ schemaVersion?: string | undefined;
630
+ } | undefined;
631
+ answer?: string | undefined;
633
632
  }>, z.ZodObject<{
634
- meta: z.ZodObject<{
635
- schemaVersion: z.ZodLiteral<"1.0">;
633
+ meta: z.ZodDefault<z.ZodObject<{
634
+ schemaVersion: z.ZodDefault<z.ZodString>;
636
635
  }, "strip", z.ZodTypeAny, {
637
- schemaVersion: "1.0";
636
+ schemaVersion: string;
638
637
  }, {
639
- schemaVersion: "1.0";
640
- }>;
638
+ schemaVersion?: string | undefined;
639
+ }>>;
641
640
  } & {
642
641
  type: z.ZodLiteral<"selectBox">;
643
- answer: z.ZodString;
642
+ answer: z.ZodDefault<z.ZodString>;
644
643
  }, "strip", z.ZodTypeAny, {
645
644
  type: "selectBox";
646
645
  meta: {
647
- schemaVersion: "1.0";
646
+ schemaVersion: string;
648
647
  };
649
648
  answer: string;
650
649
  }, {
651
650
  type: "selectBox";
652
- meta: {
653
- schemaVersion: "1.0";
654
- };
655
- answer: string;
651
+ meta?: {
652
+ schemaVersion?: string | undefined;
653
+ } | undefined;
654
+ answer?: string | undefined;
656
655
  }>, z.ZodObject<{
657
- meta: z.ZodObject<{
658
- schemaVersion: z.ZodLiteral<"1.0">;
656
+ meta: z.ZodDefault<z.ZodObject<{
657
+ schemaVersion: z.ZodDefault<z.ZodString>;
659
658
  }, "strip", z.ZodTypeAny, {
660
- schemaVersion: "1.0";
659
+ schemaVersion: string;
661
660
  }, {
662
- schemaVersion: "1.0";
663
- }>;
661
+ schemaVersion?: string | undefined;
662
+ }>>;
664
663
  } & {
665
664
  type: z.ZodLiteral<"text">;
666
- answer: z.ZodString;
665
+ answer: z.ZodDefault<z.ZodString>;
667
666
  }, "strip", z.ZodTypeAny, {
668
667
  type: "text";
669
668
  meta: {
670
- schemaVersion: "1.0";
669
+ schemaVersion: string;
671
670
  };
672
671
  answer: string;
673
672
  }, {
674
673
  type: "text";
675
- meta: {
676
- schemaVersion: "1.0";
677
- };
678
- answer: string;
674
+ meta?: {
675
+ schemaVersion?: string | undefined;
676
+ } | undefined;
677
+ answer?: string | undefined;
679
678
  }>, z.ZodObject<{
680
- meta: z.ZodObject<{
681
- schemaVersion: z.ZodLiteral<"1.0">;
679
+ meta: z.ZodDefault<z.ZodObject<{
680
+ schemaVersion: z.ZodDefault<z.ZodString>;
682
681
  }, "strip", z.ZodTypeAny, {
683
- schemaVersion: "1.0";
682
+ schemaVersion: string;
684
683
  }, {
685
- schemaVersion: "1.0";
686
- }>;
684
+ schemaVersion?: string | undefined;
685
+ }>>;
687
686
  } & {
688
687
  type: z.ZodLiteral<"textArea">;
689
- answer: z.ZodString;
688
+ answer: z.ZodDefault<z.ZodString>;
690
689
  }, "strip", z.ZodTypeAny, {
691
690
  type: "textArea";
692
691
  meta: {
693
- schemaVersion: "1.0";
692
+ schemaVersion: string;
694
693
  };
695
694
  answer: string;
696
695
  }, {
697
696
  type: "textArea";
698
- meta: {
699
- schemaVersion: "1.0";
700
- };
701
- answer: string;
697
+ meta?: {
698
+ schemaVersion?: string | undefined;
699
+ } | undefined;
700
+ answer?: string | undefined;
702
701
  }>, z.ZodObject<{
703
- meta: z.ZodObject<{
704
- schemaVersion: z.ZodLiteral<"1.0">;
702
+ meta: z.ZodDefault<z.ZodObject<{
703
+ schemaVersion: z.ZodDefault<z.ZodString>;
705
704
  }, "strip", z.ZodTypeAny, {
706
- schemaVersion: "1.0";
705
+ schemaVersion: string;
707
706
  }, {
708
- schemaVersion: "1.0";
709
- }>;
707
+ schemaVersion?: string | undefined;
708
+ }>>;
710
709
  } & {
711
710
  type: z.ZodLiteral<"url">;
712
- answer: z.ZodString;
711
+ answer: z.ZodDefault<z.ZodString>;
713
712
  }, "strip", z.ZodTypeAny, {
714
713
  type: "url";
715
714
  meta: {
716
- schemaVersion: "1.0";
715
+ schemaVersion: string;
717
716
  };
718
717
  answer: string;
719
718
  }, {
720
719
  type: "url";
721
- meta: {
722
- schemaVersion: "1.0";
723
- };
724
- answer: string;
725
- }>]>;
720
+ meta?: {
721
+ schemaVersion?: string | undefined;
722
+ } | undefined;
723
+ answer?: string | undefined;
724
+ }>]>, "many">;
726
725
  }, "strip", z.ZodTypeAny, {
727
- heading: string;
728
- content: {
726
+ columns: ({
729
727
  type: "date";
730
728
  meta: {
731
- schemaVersion: "1.0";
729
+ schemaVersion: string;
732
730
  };
733
731
  answer: string;
734
732
  } | {
735
733
  type: "dateRange";
736
734
  meta: {
737
- schemaVersion: "1.0";
735
+ schemaVersion: string;
738
736
  };
739
737
  answer: {
740
738
  start: string;
@@ -743,321 +741,329 @@ export declare const TableColumnAnswerSchema: z.ZodObject<{
743
741
  } | {
744
742
  type: "filteredSearch";
745
743
  meta: {
746
- schemaVersion: "1.0";
744
+ schemaVersion: string;
747
745
  };
748
746
  answer: string[];
749
747
  } | {
750
- type: "typeaheadSearch";
748
+ type: "affiliationSearch";
751
749
  meta: {
752
- schemaVersion: "1.0";
750
+ schemaVersion: string;
753
751
  };
754
752
  answer: string;
755
753
  } | {
756
754
  type: "boolean";
757
755
  meta: {
758
- schemaVersion: "1.0";
756
+ schemaVersion: string;
759
757
  };
760
758
  answer: boolean;
761
759
  } | {
762
760
  type: "checkBoxes";
763
761
  meta: {
764
- schemaVersion: "1.0";
762
+ schemaVersion: string;
765
763
  };
766
764
  answer: string[];
767
765
  } | {
768
766
  type: "radioButtons";
769
767
  meta: {
770
- schemaVersion: "1.0";
768
+ schemaVersion: string;
771
769
  };
772
770
  answer: string;
773
771
  } | {
774
772
  type: "selectBox";
775
773
  meta: {
776
- schemaVersion: "1.0";
774
+ schemaVersion: string;
777
775
  };
778
776
  answer: string;
779
777
  } | {
780
778
  type: "multiselectBox";
781
779
  meta: {
782
- schemaVersion: "1.0";
780
+ schemaVersion: string;
783
781
  };
784
782
  answer: string[];
785
783
  } | {
786
784
  type: "currency";
787
785
  meta: {
788
- schemaVersion: "1.0";
786
+ schemaVersion: string;
789
787
  };
790
788
  answer: number;
791
789
  } | {
792
790
  type: "number";
793
791
  meta: {
794
- schemaVersion: "1.0";
792
+ schemaVersion: string;
795
793
  };
796
794
  answer: number;
797
795
  } | {
798
796
  type: "email";
799
797
  meta: {
800
- schemaVersion: "1.0";
798
+ schemaVersion: string;
801
799
  };
802
800
  answer: string;
803
801
  } | {
804
802
  type: "text";
805
803
  meta: {
806
- schemaVersion: "1.0";
804
+ schemaVersion: string;
807
805
  };
808
806
  answer: string;
809
807
  } | {
810
808
  type: "textArea";
811
809
  meta: {
812
- schemaVersion: "1.0";
810
+ schemaVersion: string;
813
811
  };
814
812
  answer: string;
815
813
  } | {
816
814
  type: "url";
817
815
  meta: {
818
- schemaVersion: "1.0";
816
+ schemaVersion: string;
819
817
  };
820
818
  answer: string;
821
- };
819
+ })[];
822
820
  }, {
823
- heading: string;
824
- content: {
821
+ columns: ({
825
822
  type: "date";
826
- meta: {
827
- schemaVersion: "1.0";
828
- };
829
- answer: string;
823
+ meta?: {
824
+ schemaVersion?: string | undefined;
825
+ } | undefined;
826
+ answer?: string | undefined;
830
827
  } | {
831
828
  type: "dateRange";
832
- meta: {
833
- schemaVersion: "1.0";
834
- };
835
- answer: {
836
- start: string;
837
- end: string;
838
- };
829
+ meta?: {
830
+ schemaVersion?: string | undefined;
831
+ } | undefined;
832
+ answer?: {
833
+ start?: string | undefined;
834
+ end?: string | undefined;
835
+ } | undefined;
839
836
  } | {
840
837
  type: "filteredSearch";
841
- meta: {
842
- schemaVersion: "1.0";
843
- };
844
- answer: string[];
838
+ meta?: {
839
+ schemaVersion?: string | undefined;
840
+ } | undefined;
841
+ answer?: string[] | undefined;
845
842
  } | {
846
- type: "typeaheadSearch";
847
- meta: {
848
- schemaVersion: "1.0";
849
- };
850
- answer: string;
843
+ type: "affiliationSearch";
844
+ meta?: {
845
+ schemaVersion?: string | undefined;
846
+ } | undefined;
847
+ answer?: string | undefined;
851
848
  } | {
852
849
  type: "boolean";
853
- meta: {
854
- schemaVersion: "1.0";
855
- };
856
- answer: boolean;
850
+ meta?: {
851
+ schemaVersion?: string | undefined;
852
+ } | undefined;
853
+ answer?: boolean | undefined;
857
854
  } | {
858
855
  type: "checkBoxes";
859
- meta: {
860
- schemaVersion: "1.0";
861
- };
862
- answer: string[];
856
+ meta?: {
857
+ schemaVersion?: string | undefined;
858
+ } | undefined;
859
+ answer?: string[] | undefined;
863
860
  } | {
864
861
  type: "radioButtons";
865
- meta: {
866
- schemaVersion: "1.0";
867
- };
868
- answer: string;
862
+ meta?: {
863
+ schemaVersion?: string | undefined;
864
+ } | undefined;
865
+ answer?: string | undefined;
869
866
  } | {
870
867
  type: "selectBox";
871
- meta: {
872
- schemaVersion: "1.0";
873
- };
874
- answer: string;
868
+ meta?: {
869
+ schemaVersion?: string | undefined;
870
+ } | undefined;
871
+ answer?: string | undefined;
875
872
  } | {
876
873
  type: "multiselectBox";
877
- meta: {
878
- schemaVersion: "1.0";
879
- };
880
- answer: string[];
874
+ meta?: {
875
+ schemaVersion?: string | undefined;
876
+ } | undefined;
877
+ answer?: string[] | undefined;
881
878
  } | {
882
879
  type: "currency";
883
- meta: {
884
- schemaVersion: "1.0";
885
- };
886
- answer: number;
880
+ meta?: {
881
+ schemaVersion?: string | undefined;
882
+ } | undefined;
883
+ answer?: number | undefined;
887
884
  } | {
888
885
  type: "number";
889
- meta: {
890
- schemaVersion: "1.0";
891
- };
892
- answer: number;
886
+ meta?: {
887
+ schemaVersion?: string | undefined;
888
+ } | undefined;
889
+ answer?: number | undefined;
893
890
  } | {
894
891
  type: "email";
895
- meta: {
896
- schemaVersion: "1.0";
897
- };
898
- answer: string;
892
+ meta?: {
893
+ schemaVersion?: string | undefined;
894
+ } | undefined;
895
+ answer?: string | undefined;
899
896
  } | {
900
897
  type: "text";
901
- meta: {
902
- schemaVersion: "1.0";
903
- };
904
- answer: string;
898
+ meta?: {
899
+ schemaVersion?: string | undefined;
900
+ } | undefined;
901
+ answer?: string | undefined;
905
902
  } | {
906
903
  type: "textArea";
907
- meta: {
908
- schemaVersion: "1.0";
909
- };
910
- answer: string;
904
+ meta?: {
905
+ schemaVersion?: string | undefined;
906
+ } | undefined;
907
+ answer?: string | undefined;
911
908
  } | {
912
909
  type: "url";
913
- meta: {
914
- schemaVersion: "1.0";
915
- };
916
- answer: string;
917
- };
910
+ meta?: {
911
+ schemaVersion?: string | undefined;
912
+ } | undefined;
913
+ answer?: string | undefined;
914
+ })[];
918
915
  }>;
919
- export declare const TableRowAnswerSchema: z.ZodObject<{
920
- columns: z.ZodArray<z.ZodObject<{
921
- heading: z.ZodString;
922
- content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
923
- meta: z.ZodObject<{
924
- schemaVersion: z.ZodLiteral<"1.0">;
916
+ export declare const TableAnswerSchema: z.ZodObject<{
917
+ meta: z.ZodDefault<z.ZodObject<{
918
+ schemaVersion: z.ZodDefault<z.ZodString>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ schemaVersion: string;
921
+ }, {
922
+ schemaVersion?: string | undefined;
923
+ }>>;
924
+ } & {
925
+ type: z.ZodLiteral<"table">;
926
+ columnHeadings: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
927
+ answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
928
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
929
+ meta: z.ZodDefault<z.ZodObject<{
930
+ schemaVersion: z.ZodDefault<z.ZodString>;
925
931
  }, "strip", z.ZodTypeAny, {
926
- schemaVersion: "1.0";
932
+ schemaVersion: string;
927
933
  }, {
928
- schemaVersion: "1.0";
929
- }>;
934
+ schemaVersion?: string | undefined;
935
+ }>>;
930
936
  } & {
931
- type: z.ZodLiteral<"typeaheadSearch">;
932
- answer: z.ZodString;
937
+ type: z.ZodLiteral<"affiliationSearch">;
938
+ answer: z.ZodDefault<z.ZodString>;
933
939
  }, "strip", z.ZodTypeAny, {
934
- type: "typeaheadSearch";
940
+ type: "affiliationSearch";
935
941
  meta: {
936
- schemaVersion: "1.0";
942
+ schemaVersion: string;
937
943
  };
938
944
  answer: string;
939
945
  }, {
940
- type: "typeaheadSearch";
941
- meta: {
942
- schemaVersion: "1.0";
943
- };
944
- answer: string;
946
+ type: "affiliationSearch";
947
+ meta?: {
948
+ schemaVersion?: string | undefined;
949
+ } | undefined;
950
+ answer?: string | undefined;
945
951
  }>, z.ZodObject<{
946
- meta: z.ZodObject<{
947
- schemaVersion: z.ZodLiteral<"1.0">;
952
+ meta: z.ZodDefault<z.ZodObject<{
953
+ schemaVersion: z.ZodDefault<z.ZodString>;
948
954
  }, "strip", z.ZodTypeAny, {
949
- schemaVersion: "1.0";
955
+ schemaVersion: string;
950
956
  }, {
951
- schemaVersion: "1.0";
952
- }>;
957
+ schemaVersion?: string | undefined;
958
+ }>>;
953
959
  } & {
954
960
  type: z.ZodLiteral<"boolean">;
955
- answer: z.ZodBoolean;
961
+ answer: z.ZodDefault<z.ZodBoolean>;
956
962
  }, "strip", z.ZodTypeAny, {
957
963
  type: "boolean";
958
964
  meta: {
959
- schemaVersion: "1.0";
965
+ schemaVersion: string;
960
966
  };
961
967
  answer: boolean;
962
968
  }, {
963
969
  type: "boolean";
964
- meta: {
965
- schemaVersion: "1.0";
966
- };
967
- answer: boolean;
970
+ meta?: {
971
+ schemaVersion?: string | undefined;
972
+ } | undefined;
973
+ answer?: boolean | undefined;
968
974
  }>, z.ZodObject<{
969
- meta: z.ZodObject<{
970
- schemaVersion: z.ZodLiteral<"1.0">;
975
+ meta: z.ZodDefault<z.ZodObject<{
976
+ schemaVersion: z.ZodDefault<z.ZodString>;
971
977
  }, "strip", z.ZodTypeAny, {
972
- schemaVersion: "1.0";
978
+ schemaVersion: string;
973
979
  }, {
974
- schemaVersion: "1.0";
975
- }>;
980
+ schemaVersion?: string | undefined;
981
+ }>>;
976
982
  } & {
977
983
  type: z.ZodLiteral<"checkBoxes">;
978
- answer: z.ZodArray<z.ZodString, "many">;
984
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
979
985
  }, "strip", z.ZodTypeAny, {
980
986
  type: "checkBoxes";
981
987
  meta: {
982
- schemaVersion: "1.0";
988
+ schemaVersion: string;
983
989
  };
984
990
  answer: string[];
985
991
  }, {
986
992
  type: "checkBoxes";
987
- meta: {
988
- schemaVersion: "1.0";
989
- };
990
- answer: string[];
993
+ meta?: {
994
+ schemaVersion?: string | undefined;
995
+ } | undefined;
996
+ answer?: string[] | undefined;
991
997
  }>, z.ZodObject<{
992
- meta: z.ZodObject<{
993
- schemaVersion: z.ZodLiteral<"1.0">;
998
+ meta: z.ZodDefault<z.ZodObject<{
999
+ schemaVersion: z.ZodDefault<z.ZodString>;
994
1000
  }, "strip", z.ZodTypeAny, {
995
- schemaVersion: "1.0";
1001
+ schemaVersion: string;
996
1002
  }, {
997
- schemaVersion: "1.0";
998
- }>;
1003
+ schemaVersion?: string | undefined;
1004
+ }>>;
999
1005
  } & {
1000
1006
  type: z.ZodLiteral<"currency">;
1001
- answer: z.ZodNumber;
1007
+ answer: z.ZodDefault<z.ZodNumber>;
1002
1008
  }, "strip", z.ZodTypeAny, {
1003
1009
  type: "currency";
1004
1010
  meta: {
1005
- schemaVersion: "1.0";
1011
+ schemaVersion: string;
1006
1012
  };
1007
1013
  answer: number;
1008
1014
  }, {
1009
1015
  type: "currency";
1010
- meta: {
1011
- schemaVersion: "1.0";
1012
- };
1013
- answer: number;
1016
+ meta?: {
1017
+ schemaVersion?: string | undefined;
1018
+ } | undefined;
1019
+ answer?: number | undefined;
1014
1020
  }>, z.ZodObject<{
1015
- answer: z.ZodString;
1016
- meta: z.ZodObject<{
1017
- schemaVersion: z.ZodLiteral<"1.0">;
1021
+ meta: z.ZodDefault<z.ZodObject<{
1022
+ schemaVersion: z.ZodDefault<z.ZodString>;
1018
1023
  }, "strip", z.ZodTypeAny, {
1019
- schemaVersion: "1.0";
1024
+ schemaVersion: string;
1020
1025
  }, {
1021
- schemaVersion: "1.0";
1022
- }>;
1026
+ schemaVersion?: string | undefined;
1027
+ }>>;
1023
1028
  } & {
1024
1029
  type: z.ZodLiteral<"date">;
1030
+ answer: z.ZodDefault<z.ZodString>;
1025
1031
  }, "strip", z.ZodTypeAny, {
1026
1032
  type: "date";
1027
1033
  meta: {
1028
- schemaVersion: "1.0";
1034
+ schemaVersion: string;
1029
1035
  };
1030
1036
  answer: string;
1031
1037
  }, {
1032
1038
  type: "date";
1033
- meta: {
1034
- schemaVersion: "1.0";
1035
- };
1036
- answer: string;
1039
+ meta?: {
1040
+ schemaVersion?: string | undefined;
1041
+ } | undefined;
1042
+ answer?: string | undefined;
1037
1043
  }>, z.ZodObject<{
1038
- meta: z.ZodObject<{
1039
- schemaVersion: z.ZodLiteral<"1.0">;
1044
+ meta: z.ZodDefault<z.ZodObject<{
1045
+ schemaVersion: z.ZodDefault<z.ZodString>;
1040
1046
  }, "strip", z.ZodTypeAny, {
1041
- schemaVersion: "1.0";
1047
+ schemaVersion: string;
1042
1048
  }, {
1043
- schemaVersion: "1.0";
1044
- }>;
1049
+ schemaVersion?: string | undefined;
1050
+ }>>;
1045
1051
  } & {
1046
1052
  type: z.ZodLiteral<"dateRange">;
1047
- answer: z.ZodObject<{
1048
- start: z.ZodString;
1049
- end: z.ZodString;
1053
+ answer: z.ZodDefault<z.ZodObject<{
1054
+ start: z.ZodDefault<z.ZodString>;
1055
+ end: z.ZodDefault<z.ZodString>;
1050
1056
  }, "strip", z.ZodTypeAny, {
1051
1057
  start: string;
1052
1058
  end: string;
1053
1059
  }, {
1054
- start: string;
1055
- end: string;
1056
- }>;
1060
+ start?: string | undefined;
1061
+ end?: string | undefined;
1062
+ }>>;
1057
1063
  }, "strip", z.ZodTypeAny, {
1058
1064
  type: "dateRange";
1059
1065
  meta: {
1060
- schemaVersion: "1.0";
1066
+ schemaVersion: string;
1061
1067
  };
1062
1068
  answer: {
1063
1069
  start: string;
@@ -1065,233 +1071,232 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
1065
1071
  };
1066
1072
  }, {
1067
1073
  type: "dateRange";
1068
- meta: {
1069
- schemaVersion: "1.0";
1070
- };
1071
- answer: {
1072
- start: string;
1073
- end: string;
1074
- };
1074
+ meta?: {
1075
+ schemaVersion?: string | undefined;
1076
+ } | undefined;
1077
+ answer?: {
1078
+ start?: string | undefined;
1079
+ end?: string | undefined;
1080
+ } | undefined;
1075
1081
  }>, z.ZodObject<{
1076
- meta: z.ZodObject<{
1077
- schemaVersion: z.ZodLiteral<"1.0">;
1082
+ meta: z.ZodDefault<z.ZodObject<{
1083
+ schemaVersion: z.ZodDefault<z.ZodString>;
1078
1084
  }, "strip", z.ZodTypeAny, {
1079
- schemaVersion: "1.0";
1085
+ schemaVersion: string;
1080
1086
  }, {
1081
- schemaVersion: "1.0";
1082
- }>;
1087
+ schemaVersion?: string | undefined;
1088
+ }>>;
1083
1089
  } & {
1084
1090
  type: z.ZodLiteral<"email">;
1085
- answer: z.ZodString;
1091
+ answer: z.ZodDefault<z.ZodString>;
1086
1092
  }, "strip", z.ZodTypeAny, {
1087
1093
  type: "email";
1088
1094
  meta: {
1089
- schemaVersion: "1.0";
1095
+ schemaVersion: string;
1090
1096
  };
1091
1097
  answer: string;
1092
1098
  }, {
1093
1099
  type: "email";
1094
- meta: {
1095
- schemaVersion: "1.0";
1096
- };
1097
- answer: string;
1100
+ meta?: {
1101
+ schemaVersion?: string | undefined;
1102
+ } | undefined;
1103
+ answer?: string | undefined;
1098
1104
  }>, z.ZodObject<{
1099
- meta: z.ZodObject<{
1100
- schemaVersion: z.ZodLiteral<"1.0">;
1105
+ meta: z.ZodDefault<z.ZodObject<{
1106
+ schemaVersion: z.ZodDefault<z.ZodString>;
1101
1107
  }, "strip", z.ZodTypeAny, {
1102
- schemaVersion: "1.0";
1108
+ schemaVersion: string;
1103
1109
  }, {
1104
- schemaVersion: "1.0";
1105
- }>;
1110
+ schemaVersion?: string | undefined;
1111
+ }>>;
1106
1112
  } & {
1107
1113
  type: z.ZodLiteral<"filteredSearch">;
1108
- answer: z.ZodArray<z.ZodString, "many">;
1114
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1109
1115
  }, "strip", z.ZodTypeAny, {
1110
1116
  type: "filteredSearch";
1111
1117
  meta: {
1112
- schemaVersion: "1.0";
1118
+ schemaVersion: string;
1113
1119
  };
1114
1120
  answer: string[];
1115
1121
  }, {
1116
1122
  type: "filteredSearch";
1117
- meta: {
1118
- schemaVersion: "1.0";
1119
- };
1120
- answer: string[];
1123
+ meta?: {
1124
+ schemaVersion?: string | undefined;
1125
+ } | undefined;
1126
+ answer?: string[] | undefined;
1121
1127
  }>, z.ZodObject<{
1122
- meta: z.ZodObject<{
1123
- schemaVersion: z.ZodLiteral<"1.0">;
1128
+ meta: z.ZodDefault<z.ZodObject<{
1129
+ schemaVersion: z.ZodDefault<z.ZodString>;
1124
1130
  }, "strip", z.ZodTypeAny, {
1125
- schemaVersion: "1.0";
1131
+ schemaVersion: string;
1126
1132
  }, {
1127
- schemaVersion: "1.0";
1128
- }>;
1133
+ schemaVersion?: string | undefined;
1134
+ }>>;
1129
1135
  } & {
1130
1136
  type: z.ZodLiteral<"multiselectBox">;
1131
- answer: z.ZodArray<z.ZodString, "many">;
1137
+ answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1132
1138
  }, "strip", z.ZodTypeAny, {
1133
1139
  type: "multiselectBox";
1134
1140
  meta: {
1135
- schemaVersion: "1.0";
1141
+ schemaVersion: string;
1136
1142
  };
1137
1143
  answer: string[];
1138
1144
  }, {
1139
1145
  type: "multiselectBox";
1140
- meta: {
1141
- schemaVersion: "1.0";
1142
- };
1143
- answer: string[];
1146
+ meta?: {
1147
+ schemaVersion?: string | undefined;
1148
+ } | undefined;
1149
+ answer?: string[] | undefined;
1144
1150
  }>, z.ZodObject<{
1145
- meta: z.ZodObject<{
1146
- schemaVersion: z.ZodLiteral<"1.0">;
1151
+ meta: z.ZodDefault<z.ZodObject<{
1152
+ schemaVersion: z.ZodDefault<z.ZodString>;
1147
1153
  }, "strip", z.ZodTypeAny, {
1148
- schemaVersion: "1.0";
1154
+ schemaVersion: string;
1149
1155
  }, {
1150
- schemaVersion: "1.0";
1151
- }>;
1156
+ schemaVersion?: string | undefined;
1157
+ }>>;
1152
1158
  } & {
1153
1159
  type: z.ZodLiteral<"number">;
1154
- answer: z.ZodNumber;
1160
+ answer: z.ZodDefault<z.ZodNumber>;
1155
1161
  }, "strip", z.ZodTypeAny, {
1156
1162
  type: "number";
1157
1163
  meta: {
1158
- schemaVersion: "1.0";
1164
+ schemaVersion: string;
1159
1165
  };
1160
1166
  answer: number;
1161
1167
  }, {
1162
1168
  type: "number";
1163
- meta: {
1164
- schemaVersion: "1.0";
1165
- };
1166
- answer: number;
1169
+ meta?: {
1170
+ schemaVersion?: string | undefined;
1171
+ } | undefined;
1172
+ answer?: number | undefined;
1167
1173
  }>, z.ZodObject<{
1168
- meta: z.ZodObject<{
1169
- schemaVersion: z.ZodLiteral<"1.0">;
1174
+ meta: z.ZodDefault<z.ZodObject<{
1175
+ schemaVersion: z.ZodDefault<z.ZodString>;
1170
1176
  }, "strip", z.ZodTypeAny, {
1171
- schemaVersion: "1.0";
1177
+ schemaVersion: string;
1172
1178
  }, {
1173
- schemaVersion: "1.0";
1174
- }>;
1179
+ schemaVersion?: string | undefined;
1180
+ }>>;
1175
1181
  } & {
1176
1182
  type: z.ZodLiteral<"radioButtons">;
1177
- answer: z.ZodString;
1183
+ answer: z.ZodDefault<z.ZodString>;
1178
1184
  }, "strip", z.ZodTypeAny, {
1179
1185
  type: "radioButtons";
1180
1186
  meta: {
1181
- schemaVersion: "1.0";
1187
+ schemaVersion: string;
1182
1188
  };
1183
1189
  answer: string;
1184
1190
  }, {
1185
1191
  type: "radioButtons";
1186
- meta: {
1187
- schemaVersion: "1.0";
1188
- };
1189
- answer: string;
1192
+ meta?: {
1193
+ schemaVersion?: string | undefined;
1194
+ } | undefined;
1195
+ answer?: string | undefined;
1190
1196
  }>, z.ZodObject<{
1191
- meta: z.ZodObject<{
1192
- schemaVersion: z.ZodLiteral<"1.0">;
1197
+ meta: z.ZodDefault<z.ZodObject<{
1198
+ schemaVersion: z.ZodDefault<z.ZodString>;
1193
1199
  }, "strip", z.ZodTypeAny, {
1194
- schemaVersion: "1.0";
1200
+ schemaVersion: string;
1195
1201
  }, {
1196
- schemaVersion: "1.0";
1197
- }>;
1202
+ schemaVersion?: string | undefined;
1203
+ }>>;
1198
1204
  } & {
1199
1205
  type: z.ZodLiteral<"selectBox">;
1200
- answer: z.ZodString;
1206
+ answer: z.ZodDefault<z.ZodString>;
1201
1207
  }, "strip", z.ZodTypeAny, {
1202
1208
  type: "selectBox";
1203
1209
  meta: {
1204
- schemaVersion: "1.0";
1210
+ schemaVersion: string;
1205
1211
  };
1206
1212
  answer: string;
1207
1213
  }, {
1208
1214
  type: "selectBox";
1209
- meta: {
1210
- schemaVersion: "1.0";
1211
- };
1212
- answer: string;
1215
+ meta?: {
1216
+ schemaVersion?: string | undefined;
1217
+ } | undefined;
1218
+ answer?: string | undefined;
1213
1219
  }>, z.ZodObject<{
1214
- meta: z.ZodObject<{
1215
- schemaVersion: z.ZodLiteral<"1.0">;
1220
+ meta: z.ZodDefault<z.ZodObject<{
1221
+ schemaVersion: z.ZodDefault<z.ZodString>;
1216
1222
  }, "strip", z.ZodTypeAny, {
1217
- schemaVersion: "1.0";
1223
+ schemaVersion: string;
1218
1224
  }, {
1219
- schemaVersion: "1.0";
1220
- }>;
1225
+ schemaVersion?: string | undefined;
1226
+ }>>;
1221
1227
  } & {
1222
1228
  type: z.ZodLiteral<"text">;
1223
- answer: z.ZodString;
1229
+ answer: z.ZodDefault<z.ZodString>;
1224
1230
  }, "strip", z.ZodTypeAny, {
1225
1231
  type: "text";
1226
1232
  meta: {
1227
- schemaVersion: "1.0";
1233
+ schemaVersion: string;
1228
1234
  };
1229
1235
  answer: string;
1230
1236
  }, {
1231
1237
  type: "text";
1232
- meta: {
1233
- schemaVersion: "1.0";
1234
- };
1235
- answer: string;
1238
+ meta?: {
1239
+ schemaVersion?: string | undefined;
1240
+ } | undefined;
1241
+ answer?: string | undefined;
1236
1242
  }>, z.ZodObject<{
1237
- meta: z.ZodObject<{
1238
- schemaVersion: z.ZodLiteral<"1.0">;
1243
+ meta: z.ZodDefault<z.ZodObject<{
1244
+ schemaVersion: z.ZodDefault<z.ZodString>;
1239
1245
  }, "strip", z.ZodTypeAny, {
1240
- schemaVersion: "1.0";
1246
+ schemaVersion: string;
1241
1247
  }, {
1242
- schemaVersion: "1.0";
1243
- }>;
1248
+ schemaVersion?: string | undefined;
1249
+ }>>;
1244
1250
  } & {
1245
1251
  type: z.ZodLiteral<"textArea">;
1246
- answer: z.ZodString;
1252
+ answer: z.ZodDefault<z.ZodString>;
1247
1253
  }, "strip", z.ZodTypeAny, {
1248
1254
  type: "textArea";
1249
1255
  meta: {
1250
- schemaVersion: "1.0";
1256
+ schemaVersion: string;
1251
1257
  };
1252
1258
  answer: string;
1253
1259
  }, {
1254
1260
  type: "textArea";
1255
- meta: {
1256
- schemaVersion: "1.0";
1257
- };
1258
- answer: string;
1261
+ meta?: {
1262
+ schemaVersion?: string | undefined;
1263
+ } | undefined;
1264
+ answer?: string | undefined;
1259
1265
  }>, z.ZodObject<{
1260
- meta: z.ZodObject<{
1261
- schemaVersion: z.ZodLiteral<"1.0">;
1266
+ meta: z.ZodDefault<z.ZodObject<{
1267
+ schemaVersion: z.ZodDefault<z.ZodString>;
1262
1268
  }, "strip", z.ZodTypeAny, {
1263
- schemaVersion: "1.0";
1269
+ schemaVersion: string;
1264
1270
  }, {
1265
- schemaVersion: "1.0";
1266
- }>;
1271
+ schemaVersion?: string | undefined;
1272
+ }>>;
1267
1273
  } & {
1268
1274
  type: z.ZodLiteral<"url">;
1269
- answer: z.ZodString;
1275
+ answer: z.ZodDefault<z.ZodString>;
1270
1276
  }, "strip", z.ZodTypeAny, {
1271
1277
  type: "url";
1272
1278
  meta: {
1273
- schemaVersion: "1.0";
1279
+ schemaVersion: string;
1274
1280
  };
1275
1281
  answer: string;
1276
1282
  }, {
1277
1283
  type: "url";
1278
- meta: {
1279
- schemaVersion: "1.0";
1280
- };
1281
- answer: string;
1282
- }>]>;
1284
+ meta?: {
1285
+ schemaVersion?: string | undefined;
1286
+ } | undefined;
1287
+ answer?: string | undefined;
1288
+ }>]>, "many">;
1283
1289
  }, "strip", z.ZodTypeAny, {
1284
- heading: string;
1285
- content: {
1290
+ columns: ({
1286
1291
  type: "date";
1287
1292
  meta: {
1288
- schemaVersion: "1.0";
1293
+ schemaVersion: string;
1289
1294
  };
1290
1295
  answer: string;
1291
1296
  } | {
1292
1297
  type: "dateRange";
1293
1298
  meta: {
1294
- schemaVersion: "1.0";
1299
+ schemaVersion: string;
1295
1300
  };
1296
1301
  answer: {
1297
1302
  start: string;
@@ -1300,192 +1305,194 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
1300
1305
  } | {
1301
1306
  type: "filteredSearch";
1302
1307
  meta: {
1303
- schemaVersion: "1.0";
1308
+ schemaVersion: string;
1304
1309
  };
1305
1310
  answer: string[];
1306
1311
  } | {
1307
- type: "typeaheadSearch";
1312
+ type: "affiliationSearch";
1308
1313
  meta: {
1309
- schemaVersion: "1.0";
1314
+ schemaVersion: string;
1310
1315
  };
1311
1316
  answer: string;
1312
1317
  } | {
1313
1318
  type: "boolean";
1314
1319
  meta: {
1315
- schemaVersion: "1.0";
1320
+ schemaVersion: string;
1316
1321
  };
1317
1322
  answer: boolean;
1318
1323
  } | {
1319
1324
  type: "checkBoxes";
1320
1325
  meta: {
1321
- schemaVersion: "1.0";
1326
+ schemaVersion: string;
1322
1327
  };
1323
1328
  answer: string[];
1324
1329
  } | {
1325
1330
  type: "radioButtons";
1326
1331
  meta: {
1327
- schemaVersion: "1.0";
1332
+ schemaVersion: string;
1328
1333
  };
1329
1334
  answer: string;
1330
1335
  } | {
1331
1336
  type: "selectBox";
1332
1337
  meta: {
1333
- schemaVersion: "1.0";
1338
+ schemaVersion: string;
1334
1339
  };
1335
1340
  answer: string;
1336
1341
  } | {
1337
1342
  type: "multiselectBox";
1338
1343
  meta: {
1339
- schemaVersion: "1.0";
1344
+ schemaVersion: string;
1340
1345
  };
1341
1346
  answer: string[];
1342
1347
  } | {
1343
1348
  type: "currency";
1344
1349
  meta: {
1345
- schemaVersion: "1.0";
1350
+ schemaVersion: string;
1346
1351
  };
1347
1352
  answer: number;
1348
1353
  } | {
1349
1354
  type: "number";
1350
1355
  meta: {
1351
- schemaVersion: "1.0";
1356
+ schemaVersion: string;
1352
1357
  };
1353
1358
  answer: number;
1354
1359
  } | {
1355
1360
  type: "email";
1356
1361
  meta: {
1357
- schemaVersion: "1.0";
1362
+ schemaVersion: string;
1358
1363
  };
1359
1364
  answer: string;
1360
1365
  } | {
1361
1366
  type: "text";
1362
1367
  meta: {
1363
- schemaVersion: "1.0";
1368
+ schemaVersion: string;
1364
1369
  };
1365
1370
  answer: string;
1366
1371
  } | {
1367
1372
  type: "textArea";
1368
1373
  meta: {
1369
- schemaVersion: "1.0";
1374
+ schemaVersion: string;
1370
1375
  };
1371
1376
  answer: string;
1372
1377
  } | {
1373
1378
  type: "url";
1374
1379
  meta: {
1375
- schemaVersion: "1.0";
1380
+ schemaVersion: string;
1376
1381
  };
1377
1382
  answer: string;
1378
- };
1383
+ })[];
1379
1384
  }, {
1380
- heading: string;
1381
- content: {
1385
+ columns: ({
1382
1386
  type: "date";
1383
- meta: {
1384
- schemaVersion: "1.0";
1385
- };
1386
- answer: string;
1387
+ meta?: {
1388
+ schemaVersion?: string | undefined;
1389
+ } | undefined;
1390
+ answer?: string | undefined;
1387
1391
  } | {
1388
1392
  type: "dateRange";
1389
- meta: {
1390
- schemaVersion: "1.0";
1391
- };
1392
- answer: {
1393
- start: string;
1394
- end: string;
1395
- };
1393
+ meta?: {
1394
+ schemaVersion?: string | undefined;
1395
+ } | undefined;
1396
+ answer?: {
1397
+ start?: string | undefined;
1398
+ end?: string | undefined;
1399
+ } | undefined;
1396
1400
  } | {
1397
1401
  type: "filteredSearch";
1398
- meta: {
1399
- schemaVersion: "1.0";
1400
- };
1401
- answer: string[];
1402
+ meta?: {
1403
+ schemaVersion?: string | undefined;
1404
+ } | undefined;
1405
+ answer?: string[] | undefined;
1402
1406
  } | {
1403
- type: "typeaheadSearch";
1404
- meta: {
1405
- schemaVersion: "1.0";
1406
- };
1407
- answer: string;
1407
+ type: "affiliationSearch";
1408
+ meta?: {
1409
+ schemaVersion?: string | undefined;
1410
+ } | undefined;
1411
+ answer?: string | undefined;
1408
1412
  } | {
1409
1413
  type: "boolean";
1410
- meta: {
1411
- schemaVersion: "1.0";
1412
- };
1413
- answer: boolean;
1414
+ meta?: {
1415
+ schemaVersion?: string | undefined;
1416
+ } | undefined;
1417
+ answer?: boolean | undefined;
1414
1418
  } | {
1415
1419
  type: "checkBoxes";
1416
- meta: {
1417
- schemaVersion: "1.0";
1418
- };
1419
- answer: string[];
1420
+ meta?: {
1421
+ schemaVersion?: string | undefined;
1422
+ } | undefined;
1423
+ answer?: string[] | undefined;
1420
1424
  } | {
1421
1425
  type: "radioButtons";
1422
- meta: {
1423
- schemaVersion: "1.0";
1424
- };
1425
- answer: string;
1426
+ meta?: {
1427
+ schemaVersion?: string | undefined;
1428
+ } | undefined;
1429
+ answer?: string | undefined;
1426
1430
  } | {
1427
1431
  type: "selectBox";
1428
- meta: {
1429
- schemaVersion: "1.0";
1430
- };
1431
- answer: string;
1432
+ meta?: {
1433
+ schemaVersion?: string | undefined;
1434
+ } | undefined;
1435
+ answer?: string | undefined;
1432
1436
  } | {
1433
1437
  type: "multiselectBox";
1434
- meta: {
1435
- schemaVersion: "1.0";
1436
- };
1437
- answer: string[];
1438
+ meta?: {
1439
+ schemaVersion?: string | undefined;
1440
+ } | undefined;
1441
+ answer?: string[] | undefined;
1438
1442
  } | {
1439
1443
  type: "currency";
1440
- meta: {
1441
- schemaVersion: "1.0";
1442
- };
1443
- answer: number;
1444
+ meta?: {
1445
+ schemaVersion?: string | undefined;
1446
+ } | undefined;
1447
+ answer?: number | undefined;
1444
1448
  } | {
1445
1449
  type: "number";
1446
- meta: {
1447
- schemaVersion: "1.0";
1448
- };
1449
- answer: number;
1450
+ meta?: {
1451
+ schemaVersion?: string | undefined;
1452
+ } | undefined;
1453
+ answer?: number | undefined;
1450
1454
  } | {
1451
1455
  type: "email";
1452
- meta: {
1453
- schemaVersion: "1.0";
1454
- };
1455
- answer: string;
1456
+ meta?: {
1457
+ schemaVersion?: string | undefined;
1458
+ } | undefined;
1459
+ answer?: string | undefined;
1456
1460
  } | {
1457
1461
  type: "text";
1458
- meta: {
1459
- schemaVersion: "1.0";
1460
- };
1461
- answer: string;
1462
+ meta?: {
1463
+ schemaVersion?: string | undefined;
1464
+ } | undefined;
1465
+ answer?: string | undefined;
1462
1466
  } | {
1463
1467
  type: "textArea";
1464
- meta: {
1465
- schemaVersion: "1.0";
1466
- };
1467
- answer: string;
1468
+ meta?: {
1469
+ schemaVersion?: string | undefined;
1470
+ } | undefined;
1471
+ answer?: string | undefined;
1468
1472
  } | {
1469
1473
  type: "url";
1470
- meta: {
1471
- schemaVersion: "1.0";
1472
- };
1473
- answer: string;
1474
- };
1475
- }>, "many">;
1474
+ meta?: {
1475
+ schemaVersion?: string | undefined;
1476
+ } | undefined;
1477
+ answer?: string | undefined;
1478
+ })[];
1479
+ }>, "many">>;
1476
1480
  }, "strip", z.ZodTypeAny, {
1477
- columns: {
1478
- heading: string;
1479
- content: {
1481
+ type: "table";
1482
+ meta: {
1483
+ schemaVersion: string;
1484
+ };
1485
+ answer: {
1486
+ columns: ({
1480
1487
  type: "date";
1481
1488
  meta: {
1482
- schemaVersion: "1.0";
1489
+ schemaVersion: string;
1483
1490
  };
1484
1491
  answer: string;
1485
1492
  } | {
1486
1493
  type: "dateRange";
1487
1494
  meta: {
1488
- schemaVersion: "1.0";
1495
+ schemaVersion: string;
1489
1496
  };
1490
1497
  answer: {
1491
1498
  start: string;
@@ -1494,1154 +1501,186 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
1494
1501
  } | {
1495
1502
  type: "filteredSearch";
1496
1503
  meta: {
1497
- schemaVersion: "1.0";
1504
+ schemaVersion: string;
1498
1505
  };
1499
1506
  answer: string[];
1500
1507
  } | {
1501
- type: "typeaheadSearch";
1508
+ type: "affiliationSearch";
1502
1509
  meta: {
1503
- schemaVersion: "1.0";
1510
+ schemaVersion: string;
1504
1511
  };
1505
1512
  answer: string;
1506
1513
  } | {
1507
1514
  type: "boolean";
1508
1515
  meta: {
1509
- schemaVersion: "1.0";
1516
+ schemaVersion: string;
1510
1517
  };
1511
1518
  answer: boolean;
1512
1519
  } | {
1513
1520
  type: "checkBoxes";
1514
1521
  meta: {
1515
- schemaVersion: "1.0";
1522
+ schemaVersion: string;
1516
1523
  };
1517
1524
  answer: string[];
1518
1525
  } | {
1519
1526
  type: "radioButtons";
1520
1527
  meta: {
1521
- schemaVersion: "1.0";
1528
+ schemaVersion: string;
1522
1529
  };
1523
1530
  answer: string;
1524
1531
  } | {
1525
1532
  type: "selectBox";
1526
1533
  meta: {
1527
- schemaVersion: "1.0";
1534
+ schemaVersion: string;
1528
1535
  };
1529
1536
  answer: string;
1530
1537
  } | {
1531
1538
  type: "multiselectBox";
1532
1539
  meta: {
1533
- schemaVersion: "1.0";
1540
+ schemaVersion: string;
1534
1541
  };
1535
1542
  answer: string[];
1536
1543
  } | {
1537
1544
  type: "currency";
1538
1545
  meta: {
1539
- schemaVersion: "1.0";
1546
+ schemaVersion: string;
1540
1547
  };
1541
1548
  answer: number;
1542
1549
  } | {
1543
1550
  type: "number";
1544
1551
  meta: {
1545
- schemaVersion: "1.0";
1552
+ schemaVersion: string;
1546
1553
  };
1547
1554
  answer: number;
1548
1555
  } | {
1549
1556
  type: "email";
1550
1557
  meta: {
1551
- schemaVersion: "1.0";
1558
+ schemaVersion: string;
1552
1559
  };
1553
1560
  answer: string;
1554
1561
  } | {
1555
1562
  type: "text";
1556
1563
  meta: {
1557
- schemaVersion: "1.0";
1564
+ schemaVersion: string;
1558
1565
  };
1559
1566
  answer: string;
1560
1567
  } | {
1561
1568
  type: "textArea";
1562
1569
  meta: {
1563
- schemaVersion: "1.0";
1570
+ schemaVersion: string;
1564
1571
  };
1565
1572
  answer: string;
1566
1573
  } | {
1567
1574
  type: "url";
1568
1575
  meta: {
1569
- schemaVersion: "1.0";
1576
+ schemaVersion: string;
1570
1577
  };
1571
1578
  answer: string;
1572
- };
1579
+ })[];
1573
1580
  }[];
1581
+ columnHeadings: string[];
1574
1582
  }, {
1575
- columns: {
1576
- heading: string;
1577
- content: {
1583
+ type: "table";
1584
+ meta?: {
1585
+ schemaVersion?: string | undefined;
1586
+ } | undefined;
1587
+ answer?: {
1588
+ columns: ({
1578
1589
  type: "date";
1579
- meta: {
1580
- schemaVersion: "1.0";
1581
- };
1582
- answer: string;
1590
+ meta?: {
1591
+ schemaVersion?: string | undefined;
1592
+ } | undefined;
1593
+ answer?: string | undefined;
1583
1594
  } | {
1584
1595
  type: "dateRange";
1585
- meta: {
1586
- schemaVersion: "1.0";
1587
- };
1588
- answer: {
1589
- start: string;
1590
- end: string;
1591
- };
1596
+ meta?: {
1597
+ schemaVersion?: string | undefined;
1598
+ } | undefined;
1599
+ answer?: {
1600
+ start?: string | undefined;
1601
+ end?: string | undefined;
1602
+ } | undefined;
1592
1603
  } | {
1593
1604
  type: "filteredSearch";
1594
- meta: {
1595
- schemaVersion: "1.0";
1596
- };
1597
- answer: string[];
1605
+ meta?: {
1606
+ schemaVersion?: string | undefined;
1607
+ } | undefined;
1608
+ answer?: string[] | undefined;
1598
1609
  } | {
1599
- type: "typeaheadSearch";
1600
- meta: {
1601
- schemaVersion: "1.0";
1602
- };
1603
- answer: string;
1610
+ type: "affiliationSearch";
1611
+ meta?: {
1612
+ schemaVersion?: string | undefined;
1613
+ } | undefined;
1614
+ answer?: string | undefined;
1604
1615
  } | {
1605
1616
  type: "boolean";
1606
- meta: {
1607
- schemaVersion: "1.0";
1608
- };
1609
- answer: boolean;
1617
+ meta?: {
1618
+ schemaVersion?: string | undefined;
1619
+ } | undefined;
1620
+ answer?: boolean | undefined;
1610
1621
  } | {
1611
1622
  type: "checkBoxes";
1612
- meta: {
1613
- schemaVersion: "1.0";
1614
- };
1615
- answer: string[];
1623
+ meta?: {
1624
+ schemaVersion?: string | undefined;
1625
+ } | undefined;
1626
+ answer?: string[] | undefined;
1616
1627
  } | {
1617
1628
  type: "radioButtons";
1618
- meta: {
1619
- schemaVersion: "1.0";
1620
- };
1621
- answer: string;
1629
+ meta?: {
1630
+ schemaVersion?: string | undefined;
1631
+ } | undefined;
1632
+ answer?: string | undefined;
1622
1633
  } | {
1623
1634
  type: "selectBox";
1624
- meta: {
1625
- schemaVersion: "1.0";
1626
- };
1627
- answer: string;
1635
+ meta?: {
1636
+ schemaVersion?: string | undefined;
1637
+ } | undefined;
1638
+ answer?: string | undefined;
1628
1639
  } | {
1629
1640
  type: "multiselectBox";
1630
- meta: {
1631
- schemaVersion: "1.0";
1632
- };
1633
- answer: string[];
1641
+ meta?: {
1642
+ schemaVersion?: string | undefined;
1643
+ } | undefined;
1644
+ answer?: string[] | undefined;
1634
1645
  } | {
1635
1646
  type: "currency";
1636
- meta: {
1637
- schemaVersion: "1.0";
1638
- };
1639
- answer: number;
1647
+ meta?: {
1648
+ schemaVersion?: string | undefined;
1649
+ } | undefined;
1650
+ answer?: number | undefined;
1640
1651
  } | {
1641
1652
  type: "number";
1642
- meta: {
1643
- schemaVersion: "1.0";
1644
- };
1645
- answer: number;
1653
+ meta?: {
1654
+ schemaVersion?: string | undefined;
1655
+ } | undefined;
1656
+ answer?: number | undefined;
1646
1657
  } | {
1647
1658
  type: "email";
1648
- meta: {
1649
- schemaVersion: "1.0";
1650
- };
1651
- answer: string;
1659
+ meta?: {
1660
+ schemaVersion?: string | undefined;
1661
+ } | undefined;
1662
+ answer?: string | undefined;
1652
1663
  } | {
1653
1664
  type: "text";
1654
- meta: {
1655
- schemaVersion: "1.0";
1656
- };
1657
- answer: string;
1665
+ meta?: {
1666
+ schemaVersion?: string | undefined;
1667
+ } | undefined;
1668
+ answer?: string | undefined;
1658
1669
  } | {
1659
1670
  type: "textArea";
1660
- meta: {
1661
- schemaVersion: "1.0";
1662
- };
1663
- answer: string;
1671
+ meta?: {
1672
+ schemaVersion?: string | undefined;
1673
+ } | undefined;
1674
+ answer?: string | undefined;
1664
1675
  } | {
1665
1676
  type: "url";
1666
- meta: {
1667
- schemaVersion: "1.0";
1668
- };
1669
- answer: string;
1670
- };
1671
- }[];
1672
- }>;
1673
- export declare const TableAnswerSchema: z.ZodObject<{
1674
- meta: z.ZodObject<{
1675
- schemaVersion: z.ZodLiteral<"1.0">;
1676
- }, "strip", z.ZodTypeAny, {
1677
- schemaVersion: "1.0";
1678
- }, {
1679
- schemaVersion: "1.0";
1680
- }>;
1681
- } & {
1682
- type: z.ZodLiteral<"table">;
1683
- answer: z.ZodArray<z.ZodObject<{
1684
- columns: z.ZodArray<z.ZodObject<{
1685
- heading: z.ZodString;
1686
- content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1687
- meta: z.ZodObject<{
1688
- schemaVersion: z.ZodLiteral<"1.0">;
1689
- }, "strip", z.ZodTypeAny, {
1690
- schemaVersion: "1.0";
1691
- }, {
1692
- schemaVersion: "1.0";
1693
- }>;
1694
- } & {
1695
- type: z.ZodLiteral<"typeaheadSearch">;
1696
- answer: z.ZodString;
1697
- }, "strip", z.ZodTypeAny, {
1698
- type: "typeaheadSearch";
1699
- meta: {
1700
- schemaVersion: "1.0";
1701
- };
1702
- answer: string;
1703
- }, {
1704
- type: "typeaheadSearch";
1705
- meta: {
1706
- schemaVersion: "1.0";
1707
- };
1708
- answer: string;
1709
- }>, z.ZodObject<{
1710
- meta: z.ZodObject<{
1711
- schemaVersion: z.ZodLiteral<"1.0">;
1712
- }, "strip", z.ZodTypeAny, {
1713
- schemaVersion: "1.0";
1714
- }, {
1715
- schemaVersion: "1.0";
1716
- }>;
1717
- } & {
1718
- type: z.ZodLiteral<"boolean">;
1719
- answer: z.ZodBoolean;
1720
- }, "strip", z.ZodTypeAny, {
1721
- type: "boolean";
1722
- meta: {
1723
- schemaVersion: "1.0";
1724
- };
1725
- answer: boolean;
1726
- }, {
1727
- type: "boolean";
1728
- meta: {
1729
- schemaVersion: "1.0";
1730
- };
1731
- answer: boolean;
1732
- }>, z.ZodObject<{
1733
- meta: z.ZodObject<{
1734
- schemaVersion: z.ZodLiteral<"1.0">;
1735
- }, "strip", z.ZodTypeAny, {
1736
- schemaVersion: "1.0";
1737
- }, {
1738
- schemaVersion: "1.0";
1739
- }>;
1740
- } & {
1741
- type: z.ZodLiteral<"checkBoxes">;
1742
- answer: z.ZodArray<z.ZodString, "many">;
1743
- }, "strip", z.ZodTypeAny, {
1744
- type: "checkBoxes";
1745
- meta: {
1746
- schemaVersion: "1.0";
1747
- };
1748
- answer: string[];
1749
- }, {
1750
- type: "checkBoxes";
1751
- meta: {
1752
- schemaVersion: "1.0";
1753
- };
1754
- answer: string[];
1755
- }>, z.ZodObject<{
1756
- meta: z.ZodObject<{
1757
- schemaVersion: z.ZodLiteral<"1.0">;
1758
- }, "strip", z.ZodTypeAny, {
1759
- schemaVersion: "1.0";
1760
- }, {
1761
- schemaVersion: "1.0";
1762
- }>;
1763
- } & {
1764
- type: z.ZodLiteral<"currency">;
1765
- answer: z.ZodNumber;
1766
- }, "strip", z.ZodTypeAny, {
1767
- type: "currency";
1768
- meta: {
1769
- schemaVersion: "1.0";
1770
- };
1771
- answer: number;
1772
- }, {
1773
- type: "currency";
1774
- meta: {
1775
- schemaVersion: "1.0";
1776
- };
1777
- answer: number;
1778
- }>, z.ZodObject<{
1779
- answer: z.ZodString;
1780
- meta: z.ZodObject<{
1781
- schemaVersion: z.ZodLiteral<"1.0">;
1782
- }, "strip", z.ZodTypeAny, {
1783
- schemaVersion: "1.0";
1784
- }, {
1785
- schemaVersion: "1.0";
1786
- }>;
1787
- } & {
1788
- type: z.ZodLiteral<"date">;
1789
- }, "strip", z.ZodTypeAny, {
1790
- type: "date";
1791
- meta: {
1792
- schemaVersion: "1.0";
1793
- };
1794
- answer: string;
1795
- }, {
1796
- type: "date";
1797
- meta: {
1798
- schemaVersion: "1.0";
1799
- };
1800
- answer: string;
1801
- }>, z.ZodObject<{
1802
- meta: z.ZodObject<{
1803
- schemaVersion: z.ZodLiteral<"1.0">;
1804
- }, "strip", z.ZodTypeAny, {
1805
- schemaVersion: "1.0";
1806
- }, {
1807
- schemaVersion: "1.0";
1808
- }>;
1809
- } & {
1810
- type: z.ZodLiteral<"dateRange">;
1811
- answer: z.ZodObject<{
1812
- start: z.ZodString;
1813
- end: z.ZodString;
1814
- }, "strip", z.ZodTypeAny, {
1815
- start: string;
1816
- end: string;
1817
- }, {
1818
- start: string;
1819
- end: string;
1820
- }>;
1821
- }, "strip", z.ZodTypeAny, {
1822
- type: "dateRange";
1823
- meta: {
1824
- schemaVersion: "1.0";
1825
- };
1826
- answer: {
1827
- start: string;
1828
- end: string;
1829
- };
1830
- }, {
1831
- type: "dateRange";
1832
- meta: {
1833
- schemaVersion: "1.0";
1834
- };
1835
- answer: {
1836
- start: string;
1837
- end: string;
1838
- };
1839
- }>, z.ZodObject<{
1840
- meta: z.ZodObject<{
1841
- schemaVersion: z.ZodLiteral<"1.0">;
1842
- }, "strip", z.ZodTypeAny, {
1843
- schemaVersion: "1.0";
1844
- }, {
1845
- schemaVersion: "1.0";
1846
- }>;
1847
- } & {
1848
- type: z.ZodLiteral<"email">;
1849
- answer: z.ZodString;
1850
- }, "strip", z.ZodTypeAny, {
1851
- type: "email";
1852
- meta: {
1853
- schemaVersion: "1.0";
1854
- };
1855
- answer: string;
1856
- }, {
1857
- type: "email";
1858
- meta: {
1859
- schemaVersion: "1.0";
1860
- };
1861
- answer: string;
1862
- }>, z.ZodObject<{
1863
- meta: z.ZodObject<{
1864
- schemaVersion: z.ZodLiteral<"1.0">;
1865
- }, "strip", z.ZodTypeAny, {
1866
- schemaVersion: "1.0";
1867
- }, {
1868
- schemaVersion: "1.0";
1869
- }>;
1870
- } & {
1871
- type: z.ZodLiteral<"filteredSearch">;
1872
- answer: z.ZodArray<z.ZodString, "many">;
1873
- }, "strip", z.ZodTypeAny, {
1874
- type: "filteredSearch";
1875
- meta: {
1876
- schemaVersion: "1.0";
1877
- };
1878
- answer: string[];
1879
- }, {
1880
- type: "filteredSearch";
1881
- meta: {
1882
- schemaVersion: "1.0";
1883
- };
1884
- answer: string[];
1885
- }>, z.ZodObject<{
1886
- meta: z.ZodObject<{
1887
- schemaVersion: z.ZodLiteral<"1.0">;
1888
- }, "strip", z.ZodTypeAny, {
1889
- schemaVersion: "1.0";
1890
- }, {
1891
- schemaVersion: "1.0";
1892
- }>;
1893
- } & {
1894
- type: z.ZodLiteral<"multiselectBox">;
1895
- answer: z.ZodArray<z.ZodString, "many">;
1896
- }, "strip", z.ZodTypeAny, {
1897
- type: "multiselectBox";
1898
- meta: {
1899
- schemaVersion: "1.0";
1900
- };
1901
- answer: string[];
1902
- }, {
1903
- type: "multiselectBox";
1904
- meta: {
1905
- schemaVersion: "1.0";
1906
- };
1907
- answer: string[];
1908
- }>, z.ZodObject<{
1909
- meta: z.ZodObject<{
1910
- schemaVersion: z.ZodLiteral<"1.0">;
1911
- }, "strip", z.ZodTypeAny, {
1912
- schemaVersion: "1.0";
1913
- }, {
1914
- schemaVersion: "1.0";
1915
- }>;
1916
- } & {
1917
- type: z.ZodLiteral<"number">;
1918
- answer: z.ZodNumber;
1919
- }, "strip", z.ZodTypeAny, {
1920
- type: "number";
1921
- meta: {
1922
- schemaVersion: "1.0";
1923
- };
1924
- answer: number;
1925
- }, {
1926
- type: "number";
1927
- meta: {
1928
- schemaVersion: "1.0";
1929
- };
1930
- answer: number;
1931
- }>, z.ZodObject<{
1932
- meta: z.ZodObject<{
1933
- schemaVersion: z.ZodLiteral<"1.0">;
1934
- }, "strip", z.ZodTypeAny, {
1935
- schemaVersion: "1.0";
1936
- }, {
1937
- schemaVersion: "1.0";
1938
- }>;
1939
- } & {
1940
- type: z.ZodLiteral<"radioButtons">;
1941
- answer: z.ZodString;
1942
- }, "strip", z.ZodTypeAny, {
1943
- type: "radioButtons";
1944
- meta: {
1945
- schemaVersion: "1.0";
1946
- };
1947
- answer: string;
1948
- }, {
1949
- type: "radioButtons";
1950
- meta: {
1951
- schemaVersion: "1.0";
1952
- };
1953
- answer: string;
1954
- }>, z.ZodObject<{
1955
- meta: z.ZodObject<{
1956
- schemaVersion: z.ZodLiteral<"1.0">;
1957
- }, "strip", z.ZodTypeAny, {
1958
- schemaVersion: "1.0";
1959
- }, {
1960
- schemaVersion: "1.0";
1961
- }>;
1962
- } & {
1963
- type: z.ZodLiteral<"selectBox">;
1964
- answer: z.ZodString;
1965
- }, "strip", z.ZodTypeAny, {
1966
- type: "selectBox";
1967
- meta: {
1968
- schemaVersion: "1.0";
1969
- };
1970
- answer: string;
1971
- }, {
1972
- type: "selectBox";
1973
- meta: {
1974
- schemaVersion: "1.0";
1975
- };
1976
- answer: string;
1977
- }>, z.ZodObject<{
1978
- meta: z.ZodObject<{
1979
- schemaVersion: z.ZodLiteral<"1.0">;
1980
- }, "strip", z.ZodTypeAny, {
1981
- schemaVersion: "1.0";
1982
- }, {
1983
- schemaVersion: "1.0";
1984
- }>;
1985
- } & {
1986
- type: z.ZodLiteral<"text">;
1987
- answer: z.ZodString;
1988
- }, "strip", z.ZodTypeAny, {
1989
- type: "text";
1990
- meta: {
1991
- schemaVersion: "1.0";
1992
- };
1993
- answer: string;
1994
- }, {
1995
- type: "text";
1996
- meta: {
1997
- schemaVersion: "1.0";
1998
- };
1999
- answer: string;
2000
- }>, z.ZodObject<{
2001
- meta: z.ZodObject<{
2002
- schemaVersion: z.ZodLiteral<"1.0">;
2003
- }, "strip", z.ZodTypeAny, {
2004
- schemaVersion: "1.0";
2005
- }, {
2006
- schemaVersion: "1.0";
2007
- }>;
2008
- } & {
2009
- type: z.ZodLiteral<"textArea">;
2010
- answer: z.ZodString;
2011
- }, "strip", z.ZodTypeAny, {
2012
- type: "textArea";
2013
- meta: {
2014
- schemaVersion: "1.0";
2015
- };
2016
- answer: string;
2017
- }, {
2018
- type: "textArea";
2019
- meta: {
2020
- schemaVersion: "1.0";
2021
- };
2022
- answer: string;
2023
- }>, z.ZodObject<{
2024
- meta: z.ZodObject<{
2025
- schemaVersion: z.ZodLiteral<"1.0">;
2026
- }, "strip", z.ZodTypeAny, {
2027
- schemaVersion: "1.0";
2028
- }, {
2029
- schemaVersion: "1.0";
2030
- }>;
2031
- } & {
2032
- type: z.ZodLiteral<"url">;
2033
- answer: z.ZodString;
2034
- }, "strip", z.ZodTypeAny, {
2035
- type: "url";
2036
- meta: {
2037
- schemaVersion: "1.0";
2038
- };
2039
- answer: string;
2040
- }, {
2041
- type: "url";
2042
- meta: {
2043
- schemaVersion: "1.0";
2044
- };
2045
- answer: string;
2046
- }>]>;
2047
- }, "strip", z.ZodTypeAny, {
2048
- heading: string;
2049
- content: {
2050
- type: "date";
2051
- meta: {
2052
- schemaVersion: "1.0";
2053
- };
2054
- answer: string;
2055
- } | {
2056
- type: "dateRange";
2057
- meta: {
2058
- schemaVersion: "1.0";
2059
- };
2060
- answer: {
2061
- start: string;
2062
- end: string;
2063
- };
2064
- } | {
2065
- type: "filteredSearch";
2066
- meta: {
2067
- schemaVersion: "1.0";
2068
- };
2069
- answer: string[];
2070
- } | {
2071
- type: "typeaheadSearch";
2072
- meta: {
2073
- schemaVersion: "1.0";
2074
- };
2075
- answer: string;
2076
- } | {
2077
- type: "boolean";
2078
- meta: {
2079
- schemaVersion: "1.0";
2080
- };
2081
- answer: boolean;
2082
- } | {
2083
- type: "checkBoxes";
2084
- meta: {
2085
- schemaVersion: "1.0";
2086
- };
2087
- answer: string[];
2088
- } | {
2089
- type: "radioButtons";
2090
- meta: {
2091
- schemaVersion: "1.0";
2092
- };
2093
- answer: string;
2094
- } | {
2095
- type: "selectBox";
2096
- meta: {
2097
- schemaVersion: "1.0";
2098
- };
2099
- answer: string;
2100
- } | {
2101
- type: "multiselectBox";
2102
- meta: {
2103
- schemaVersion: "1.0";
2104
- };
2105
- answer: string[];
2106
- } | {
2107
- type: "currency";
2108
- meta: {
2109
- schemaVersion: "1.0";
2110
- };
2111
- answer: number;
2112
- } | {
2113
- type: "number";
2114
- meta: {
2115
- schemaVersion: "1.0";
2116
- };
2117
- answer: number;
2118
- } | {
2119
- type: "email";
2120
- meta: {
2121
- schemaVersion: "1.0";
2122
- };
2123
- answer: string;
2124
- } | {
2125
- type: "text";
2126
- meta: {
2127
- schemaVersion: "1.0";
2128
- };
2129
- answer: string;
2130
- } | {
2131
- type: "textArea";
2132
- meta: {
2133
- schemaVersion: "1.0";
2134
- };
2135
- answer: string;
2136
- } | {
2137
- type: "url";
2138
- meta: {
2139
- schemaVersion: "1.0";
2140
- };
2141
- answer: string;
2142
- };
2143
- }, {
2144
- heading: string;
2145
- content: {
2146
- type: "date";
2147
- meta: {
2148
- schemaVersion: "1.0";
2149
- };
2150
- answer: string;
2151
- } | {
2152
- type: "dateRange";
2153
- meta: {
2154
- schemaVersion: "1.0";
2155
- };
2156
- answer: {
2157
- start: string;
2158
- end: string;
2159
- };
2160
- } | {
2161
- type: "filteredSearch";
2162
- meta: {
2163
- schemaVersion: "1.0";
2164
- };
2165
- answer: string[];
2166
- } | {
2167
- type: "typeaheadSearch";
2168
- meta: {
2169
- schemaVersion: "1.0";
2170
- };
2171
- answer: string;
2172
- } | {
2173
- type: "boolean";
2174
- meta: {
2175
- schemaVersion: "1.0";
2176
- };
2177
- answer: boolean;
2178
- } | {
2179
- type: "checkBoxes";
2180
- meta: {
2181
- schemaVersion: "1.0";
2182
- };
2183
- answer: string[];
2184
- } | {
2185
- type: "radioButtons";
2186
- meta: {
2187
- schemaVersion: "1.0";
2188
- };
2189
- answer: string;
2190
- } | {
2191
- type: "selectBox";
2192
- meta: {
2193
- schemaVersion: "1.0";
2194
- };
2195
- answer: string;
2196
- } | {
2197
- type: "multiselectBox";
2198
- meta: {
2199
- schemaVersion: "1.0";
2200
- };
2201
- answer: string[];
2202
- } | {
2203
- type: "currency";
2204
- meta: {
2205
- schemaVersion: "1.0";
2206
- };
2207
- answer: number;
2208
- } | {
2209
- type: "number";
2210
- meta: {
2211
- schemaVersion: "1.0";
2212
- };
2213
- answer: number;
2214
- } | {
2215
- type: "email";
2216
- meta: {
2217
- schemaVersion: "1.0";
2218
- };
2219
- answer: string;
2220
- } | {
2221
- type: "text";
2222
- meta: {
2223
- schemaVersion: "1.0";
2224
- };
2225
- answer: string;
2226
- } | {
2227
- type: "textArea";
2228
- meta: {
2229
- schemaVersion: "1.0";
2230
- };
2231
- answer: string;
2232
- } | {
2233
- type: "url";
2234
- meta: {
2235
- schemaVersion: "1.0";
2236
- };
2237
- answer: string;
2238
- };
2239
- }>, "many">;
2240
- }, "strip", z.ZodTypeAny, {
2241
- columns: {
2242
- heading: string;
2243
- content: {
2244
- type: "date";
2245
- meta: {
2246
- schemaVersion: "1.0";
2247
- };
2248
- answer: string;
2249
- } | {
2250
- type: "dateRange";
2251
- meta: {
2252
- schemaVersion: "1.0";
2253
- };
2254
- answer: {
2255
- start: string;
2256
- end: string;
2257
- };
2258
- } | {
2259
- type: "filteredSearch";
2260
- meta: {
2261
- schemaVersion: "1.0";
2262
- };
2263
- answer: string[];
2264
- } | {
2265
- type: "typeaheadSearch";
2266
- meta: {
2267
- schemaVersion: "1.0";
2268
- };
2269
- answer: string;
2270
- } | {
2271
- type: "boolean";
2272
- meta: {
2273
- schemaVersion: "1.0";
2274
- };
2275
- answer: boolean;
2276
- } | {
2277
- type: "checkBoxes";
2278
- meta: {
2279
- schemaVersion: "1.0";
2280
- };
2281
- answer: string[];
2282
- } | {
2283
- type: "radioButtons";
2284
- meta: {
2285
- schemaVersion: "1.0";
2286
- };
2287
- answer: string;
2288
- } | {
2289
- type: "selectBox";
2290
- meta: {
2291
- schemaVersion: "1.0";
2292
- };
2293
- answer: string;
2294
- } | {
2295
- type: "multiselectBox";
2296
- meta: {
2297
- schemaVersion: "1.0";
2298
- };
2299
- answer: string[];
2300
- } | {
2301
- type: "currency";
2302
- meta: {
2303
- schemaVersion: "1.0";
2304
- };
2305
- answer: number;
2306
- } | {
2307
- type: "number";
2308
- meta: {
2309
- schemaVersion: "1.0";
2310
- };
2311
- answer: number;
2312
- } | {
2313
- type: "email";
2314
- meta: {
2315
- schemaVersion: "1.0";
2316
- };
2317
- answer: string;
2318
- } | {
2319
- type: "text";
2320
- meta: {
2321
- schemaVersion: "1.0";
2322
- };
2323
- answer: string;
2324
- } | {
2325
- type: "textArea";
2326
- meta: {
2327
- schemaVersion: "1.0";
2328
- };
2329
- answer: string;
2330
- } | {
2331
- type: "url";
2332
- meta: {
2333
- schemaVersion: "1.0";
2334
- };
2335
- answer: string;
2336
- };
2337
- }[];
2338
- }, {
2339
- columns: {
2340
- heading: string;
2341
- content: {
2342
- type: "date";
2343
- meta: {
2344
- schemaVersion: "1.0";
2345
- };
2346
- answer: string;
2347
- } | {
2348
- type: "dateRange";
2349
- meta: {
2350
- schemaVersion: "1.0";
2351
- };
2352
- answer: {
2353
- start: string;
2354
- end: string;
2355
- };
2356
- } | {
2357
- type: "filteredSearch";
2358
- meta: {
2359
- schemaVersion: "1.0";
2360
- };
2361
- answer: string[];
2362
- } | {
2363
- type: "typeaheadSearch";
2364
- meta: {
2365
- schemaVersion: "1.0";
2366
- };
2367
- answer: string;
2368
- } | {
2369
- type: "boolean";
2370
- meta: {
2371
- schemaVersion: "1.0";
2372
- };
2373
- answer: boolean;
2374
- } | {
2375
- type: "checkBoxes";
2376
- meta: {
2377
- schemaVersion: "1.0";
2378
- };
2379
- answer: string[];
2380
- } | {
2381
- type: "radioButtons";
2382
- meta: {
2383
- schemaVersion: "1.0";
2384
- };
2385
- answer: string;
2386
- } | {
2387
- type: "selectBox";
2388
- meta: {
2389
- schemaVersion: "1.0";
2390
- };
2391
- answer: string;
2392
- } | {
2393
- type: "multiselectBox";
2394
- meta: {
2395
- schemaVersion: "1.0";
2396
- };
2397
- answer: string[];
2398
- } | {
2399
- type: "currency";
2400
- meta: {
2401
- schemaVersion: "1.0";
2402
- };
2403
- answer: number;
2404
- } | {
2405
- type: "number";
2406
- meta: {
2407
- schemaVersion: "1.0";
2408
- };
2409
- answer: number;
2410
- } | {
2411
- type: "email";
2412
- meta: {
2413
- schemaVersion: "1.0";
2414
- };
2415
- answer: string;
2416
- } | {
2417
- type: "text";
2418
- meta: {
2419
- schemaVersion: "1.0";
2420
- };
2421
- answer: string;
2422
- } | {
2423
- type: "textArea";
2424
- meta: {
2425
- schemaVersion: "1.0";
2426
- };
2427
- answer: string;
2428
- } | {
2429
- type: "url";
2430
- meta: {
2431
- schemaVersion: "1.0";
2432
- };
2433
- answer: string;
2434
- };
2435
- }[];
2436
- }>, "many">;
2437
- }, "strip", z.ZodTypeAny, {
2438
- type: "table";
2439
- meta: {
2440
- schemaVersion: "1.0";
2441
- };
2442
- answer: {
2443
- columns: {
2444
- heading: string;
2445
- content: {
2446
- type: "date";
2447
- meta: {
2448
- schemaVersion: "1.0";
2449
- };
2450
- answer: string;
2451
- } | {
2452
- type: "dateRange";
2453
- meta: {
2454
- schemaVersion: "1.0";
2455
- };
2456
- answer: {
2457
- start: string;
2458
- end: string;
2459
- };
2460
- } | {
2461
- type: "filteredSearch";
2462
- meta: {
2463
- schemaVersion: "1.0";
2464
- };
2465
- answer: string[];
2466
- } | {
2467
- type: "typeaheadSearch";
2468
- meta: {
2469
- schemaVersion: "1.0";
2470
- };
2471
- answer: string;
2472
- } | {
2473
- type: "boolean";
2474
- meta: {
2475
- schemaVersion: "1.0";
2476
- };
2477
- answer: boolean;
2478
- } | {
2479
- type: "checkBoxes";
2480
- meta: {
2481
- schemaVersion: "1.0";
2482
- };
2483
- answer: string[];
2484
- } | {
2485
- type: "radioButtons";
2486
- meta: {
2487
- schemaVersion: "1.0";
2488
- };
2489
- answer: string;
2490
- } | {
2491
- type: "selectBox";
2492
- meta: {
2493
- schemaVersion: "1.0";
2494
- };
2495
- answer: string;
2496
- } | {
2497
- type: "multiselectBox";
2498
- meta: {
2499
- schemaVersion: "1.0";
2500
- };
2501
- answer: string[];
2502
- } | {
2503
- type: "currency";
2504
- meta: {
2505
- schemaVersion: "1.0";
2506
- };
2507
- answer: number;
2508
- } | {
2509
- type: "number";
2510
- meta: {
2511
- schemaVersion: "1.0";
2512
- };
2513
- answer: number;
2514
- } | {
2515
- type: "email";
2516
- meta: {
2517
- schemaVersion: "1.0";
2518
- };
2519
- answer: string;
2520
- } | {
2521
- type: "text";
2522
- meta: {
2523
- schemaVersion: "1.0";
2524
- };
2525
- answer: string;
2526
- } | {
2527
- type: "textArea";
2528
- meta: {
2529
- schemaVersion: "1.0";
2530
- };
2531
- answer: string;
2532
- } | {
2533
- type: "url";
2534
- meta: {
2535
- schemaVersion: "1.0";
2536
- };
2537
- answer: string;
2538
- };
2539
- }[];
2540
- }[];
2541
- }, {
2542
- type: "table";
2543
- meta: {
2544
- schemaVersion: "1.0";
2545
- };
2546
- answer: {
2547
- columns: {
2548
- heading: string;
2549
- content: {
2550
- type: "date";
2551
- meta: {
2552
- schemaVersion: "1.0";
2553
- };
2554
- answer: string;
2555
- } | {
2556
- type: "dateRange";
2557
- meta: {
2558
- schemaVersion: "1.0";
2559
- };
2560
- answer: {
2561
- start: string;
2562
- end: string;
2563
- };
2564
- } | {
2565
- type: "filteredSearch";
2566
- meta: {
2567
- schemaVersion: "1.0";
2568
- };
2569
- answer: string[];
2570
- } | {
2571
- type: "typeaheadSearch";
2572
- meta: {
2573
- schemaVersion: "1.0";
2574
- };
2575
- answer: string;
2576
- } | {
2577
- type: "boolean";
2578
- meta: {
2579
- schemaVersion: "1.0";
2580
- };
2581
- answer: boolean;
2582
- } | {
2583
- type: "checkBoxes";
2584
- meta: {
2585
- schemaVersion: "1.0";
2586
- };
2587
- answer: string[];
2588
- } | {
2589
- type: "radioButtons";
2590
- meta: {
2591
- schemaVersion: "1.0";
2592
- };
2593
- answer: string;
2594
- } | {
2595
- type: "selectBox";
2596
- meta: {
2597
- schemaVersion: "1.0";
2598
- };
2599
- answer: string;
2600
- } | {
2601
- type: "multiselectBox";
2602
- meta: {
2603
- schemaVersion: "1.0";
2604
- };
2605
- answer: string[];
2606
- } | {
2607
- type: "currency";
2608
- meta: {
2609
- schemaVersion: "1.0";
2610
- };
2611
- answer: number;
2612
- } | {
2613
- type: "number";
2614
- meta: {
2615
- schemaVersion: "1.0";
2616
- };
2617
- answer: number;
2618
- } | {
2619
- type: "email";
2620
- meta: {
2621
- schemaVersion: "1.0";
2622
- };
2623
- answer: string;
2624
- } | {
2625
- type: "text";
2626
- meta: {
2627
- schemaVersion: "1.0";
2628
- };
2629
- answer: string;
2630
- } | {
2631
- type: "textArea";
2632
- meta: {
2633
- schemaVersion: "1.0";
2634
- };
2635
- answer: string;
2636
- } | {
2637
- type: "url";
2638
- meta: {
2639
- schemaVersion: "1.0";
2640
- };
2641
- answer: string;
2642
- };
2643
- }[];
2644
- }[];
1677
+ meta?: {
1678
+ schemaVersion?: string | undefined;
1679
+ } | undefined;
1680
+ answer?: string | undefined;
1681
+ })[];
1682
+ }[] | undefined;
1683
+ columnHeadings?: string[] | undefined;
2645
1684
  }>;
2646
1685
  export type TableAnswerType = z.infer<typeof TableAnswerSchema>;
2647
1686
  export type AnyTableColumnAnswerType = z.infer<typeof AnyTableColumnAnswerSchema>;