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