@dmptool/types 1.2.3 → 1.2.5

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 (42) hide show
  1. package/README.md +8 -0
  2. package/dist/answers/__tests__/answers.spec.js +122 -6
  3. package/dist/answers/answer.d.ts +3 -3
  4. package/dist/answers/graphQLAnswers.d.ts +120 -25
  5. package/dist/answers/graphQLAnswers.js +22 -5
  6. package/dist/answers/index.d.ts +399 -31
  7. package/dist/answers/index.js +8 -2
  8. package/dist/answers/numberAnswers.d.ts +40 -0
  9. package/dist/answers/numberAnswers.js +8 -1
  10. package/dist/answers/tableAnswers.d.ts +1688 -75
  11. package/dist/answers/tableAnswers.js +63 -2
  12. package/dist/questions/__tests__/graphQLQuestions.spec.js +177 -39
  13. package/dist/questions/__tests__/numberQuestions.spec.js +36 -0
  14. package/dist/questions/__tests__/tableQuestion.spec.js +145 -0
  15. package/dist/questions/__tests__/usage.spec.js +162 -1
  16. package/dist/questions/graphQLQuestions.d.ts +420 -60
  17. package/dist/questions/graphQLQuestions.js +257 -11
  18. package/dist/questions/index.d.ts +4849 -189
  19. package/dist/questions/index.js +9 -2
  20. package/dist/questions/numberQuestions.d.ts +105 -0
  21. package/dist/questions/numberQuestions.js +12 -1
  22. package/dist/questions/question.d.ts +4 -4
  23. package/dist/questions/question.js +25 -4
  24. package/dist/questions/tableQuestions.d.ts +5930 -679
  25. package/dist/questions/tableQuestions.js +188 -3
  26. package/dist/schemas/anyAnswer.schema.json +137 -17
  27. package/dist/schemas/anyQuestion.schema.json +847 -101
  28. package/dist/schemas/anyTableColumnAnswer.schema.json +116 -5
  29. package/dist/schemas/anyTableColumnQuestion.schema.json +326 -24
  30. package/dist/schemas/licenseSearchAnswer.schema.json +49 -0
  31. package/dist/schemas/licenseSearchQuestion.schema.json +164 -0
  32. package/dist/schemas/metadataStandardSearchAnswer.schema.json +49 -0
  33. package/dist/schemas/metadataStandardSearchQuestion.schema.json +174 -0
  34. package/dist/schemas/numberWithContextAnswer.schema.json +45 -0
  35. package/dist/schemas/numberWithContextQuestion.schema.json +84 -0
  36. package/dist/schemas/repositorySearchAnswer.schema.json +49 -0
  37. package/dist/schemas/repositorySearchQuestion.schema.json +180 -0
  38. package/dist/schemas/researchOutputTableAnswer.schema.json +519 -0
  39. package/dist/schemas/researchOutputTableQuestion.schema.json +1183 -0
  40. package/dist/schemas/tableAnswer.schema.json +116 -5
  41. package/dist/schemas/tableQuestion.schema.json +348 -24
  42. package/package.json +9 -5
@@ -199,20 +199,73 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
199
199
  schemaVersion?: string | undefined;
200
200
  }>>;
201
201
  } & {
202
- type: z.ZodLiteral<"filteredSearch">;
203
- answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
202
+ type: z.ZodLiteral<"licenseSearch">;
203
+ answer: z.ZodDefault<z.ZodArray<z.ZodDefault<z.ZodObject<{
204
+ licenseId: z.ZodDefault<z.ZodString>;
205
+ 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">>;
204
213
  }, "strip", z.ZodTypeAny, {
205
- type: "filteredSearch";
214
+ type: "licenseSearch";
206
215
  meta: {
207
216
  schemaVersion: string;
208
217
  };
209
- answer: string[];
218
+ answer: {
219
+ licenseId: string;
220
+ licenseName: string;
221
+ }[];
210
222
  }, {
211
- type: "filteredSearch";
223
+ type: "licenseSearch";
212
224
  meta?: {
213
225
  schemaVersion?: string | undefined;
214
226
  } | undefined;
215
- answer?: string[] | undefined;
227
+ answer?: ({
228
+ licenseId?: string | undefined;
229
+ licenseName?: string | undefined;
230
+ } | undefined)[] | undefined;
231
+ }>, z.ZodObject<{
232
+ meta: z.ZodDefault<z.ZodObject<{
233
+ schemaVersion: z.ZodDefault<z.ZodString>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ schemaVersion: string;
236
+ }, {
237
+ schemaVersion?: string | undefined;
238
+ }>>;
239
+ } & {
240
+ type: z.ZodLiteral<"metadataStandardSearch">;
241
+ answer: z.ZodDefault<z.ZodArray<z.ZodDefault<z.ZodObject<{
242
+ metadataStandardId: z.ZodDefault<z.ZodString>;
243
+ 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;
216
269
  }>, z.ZodObject<{
217
270
  meta: z.ZodDefault<z.ZodObject<{
218
271
  schemaVersion: z.ZodDefault<z.ZodString>;
@@ -267,6 +320,44 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
267
320
  }, {
268
321
  schemaVersion?: string | undefined;
269
322
  }>>;
323
+ } & {
324
+ type: z.ZodLiteral<"numberWithContext">;
325
+ answer: z.ZodObject<{
326
+ value: z.ZodDefault<z.ZodNumber>;
327
+ 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<{
355
+ schemaVersion: z.ZodDefault<z.ZodString>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ schemaVersion: string;
358
+ }, {
359
+ schemaVersion?: string | undefined;
360
+ }>>;
270
361
  } & {
271
362
  type: z.ZodLiteral<"radioButtons">;
272
363
  answer: z.ZodDefault<z.ZodString>;
@@ -290,6 +381,44 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<"type",
290
381
  }, {
291
382
  schemaVersion?: string | undefined;
292
383
  }>>;
384
+ } & {
385
+ type: z.ZodLiteral<"repositorySearch">;
386
+ answer: z.ZodDefault<z.ZodArray<z.ZodDefault<z.ZodObject<{
387
+ repositoryId: z.ZodDefault<z.ZodString>;
388
+ 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<{
416
+ schemaVersion: z.ZodDefault<z.ZodString>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ schemaVersion: string;
419
+ }, {
420
+ schemaVersion?: string | undefined;
421
+ }>>;
293
422
  } & {
294
423
  type: z.ZodLiteral<"selectBox">;
295
424
  answer: z.ZodDefault<z.ZodString>;
@@ -576,20 +705,73 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
576
705
  schemaVersion?: string | undefined;
577
706
  }>>;
578
707
  } & {
579
- type: z.ZodLiteral<"filteredSearch">;
580
- answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
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">>;
581
719
  }, "strip", z.ZodTypeAny, {
582
- type: "filteredSearch";
720
+ type: "licenseSearch";
583
721
  meta: {
584
722
  schemaVersion: string;
585
723
  };
586
- answer: string[];
724
+ answer: {
725
+ licenseId: string;
726
+ licenseName: string;
727
+ }[];
587
728
  }, {
588
- type: "filteredSearch";
729
+ type: "licenseSearch";
589
730
  meta?: {
590
731
  schemaVersion?: string | undefined;
591
732
  } | undefined;
592
- answer?: string[] | 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;
593
775
  }>, z.ZodObject<{
594
776
  meta: z.ZodDefault<z.ZodObject<{
595
777
  schemaVersion: z.ZodDefault<z.ZodString>;
@@ -644,6 +826,44 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
644
826
  }, {
645
827
  schemaVersion?: string | undefined;
646
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
+ }>>;
647
867
  } & {
648
868
  type: z.ZodLiteral<"radioButtons">;
649
869
  answer: z.ZodDefault<z.ZodString>;
@@ -667,6 +887,44 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
667
887
  }, {
668
888
  schemaVersion?: string | undefined;
669
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
+ }>>;
670
928
  } & {
671
929
  type: z.ZodLiteral<"selectBox">;
672
930
  answer: z.ZodDefault<z.ZodString>;
@@ -769,20 +1027,41 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
769
1027
  end: string;
770
1028
  };
771
1029
  } | {
772
- type: "filteredSearch";
1030
+ type: "affiliationSearch";
773
1031
  meta: {
774
1032
  schemaVersion: string;
775
1033
  };
776
- answer: string[];
1034
+ answer: {
1035
+ affiliationId: string;
1036
+ affiliationName: string;
1037
+ };
777
1038
  } | {
778
- type: "affiliationSearch";
1039
+ type: "licenseSearch";
779
1040
  meta: {
780
1041
  schemaVersion: string;
781
1042
  };
782
1043
  answer: {
783
- affiliationId: string;
784
- affiliationName: string;
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;
785
1060
  };
1061
+ answer: {
1062
+ repositoryId: string;
1063
+ repositoryName: string;
1064
+ }[];
786
1065
  } | {
787
1066
  type: "boolean";
788
1067
  meta: {
@@ -825,6 +1104,15 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
825
1104
  schemaVersion: string;
826
1105
  };
827
1106
  answer: number;
1107
+ } | {
1108
+ type: "numberWithContext";
1109
+ meta: {
1110
+ schemaVersion: string;
1111
+ };
1112
+ answer: {
1113
+ value: number;
1114
+ context: string;
1115
+ };
828
1116
  } | {
829
1117
  type: "email";
830
1118
  meta: {
@@ -866,12 +1154,6 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
866
1154
  start?: string | undefined;
867
1155
  end?: string | undefined;
868
1156
  } | undefined;
869
- } | {
870
- type: "filteredSearch";
871
- meta?: {
872
- schemaVersion?: string | undefined;
873
- } | undefined;
874
- answer?: string[] | undefined;
875
1157
  } | {
876
1158
  type: "affiliationSearch";
877
1159
  meta?: {
@@ -881,6 +1163,33 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
881
1163
  affiliationId?: string | undefined;
882
1164
  affiliationName?: string | undefined;
883
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;
884
1193
  } | {
885
1194
  type: "boolean";
886
1195
  meta?: {
@@ -923,6 +1232,15 @@ export declare const TableRowAnswerSchema: z.ZodObject<{
923
1232
  schemaVersion?: string | undefined;
924
1233
  } | undefined;
925
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;
926
1244
  } | {
927
1245
  type: "email";
928
1246
  meta?: {
@@ -1161,20 +1479,73 @@ export declare const TableAnswerSchema: z.ZodObject<{
1161
1479
  schemaVersion?: string | undefined;
1162
1480
  }>>;
1163
1481
  } & {
1164
- type: z.ZodLiteral<"filteredSearch">;
1165
- answer: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1482
+ type: z.ZodLiteral<"licenseSearch">;
1483
+ answer: z.ZodDefault<z.ZodArray<z.ZodDefault<z.ZodObject<{
1484
+ licenseId: z.ZodDefault<z.ZodString>;
1485
+ 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">>;
1166
1493
  }, "strip", z.ZodTypeAny, {
1167
- type: "filteredSearch";
1494
+ type: "licenseSearch";
1168
1495
  meta: {
1169
1496
  schemaVersion: string;
1170
1497
  };
1171
- answer: string[];
1498
+ answer: {
1499
+ licenseId: string;
1500
+ licenseName: string;
1501
+ }[];
1172
1502
  }, {
1173
- type: "filteredSearch";
1503
+ type: "licenseSearch";
1174
1504
  meta?: {
1175
1505
  schemaVersion?: string | undefined;
1176
1506
  } | undefined;
1177
- answer?: string[] | undefined;
1507
+ answer?: ({
1508
+ licenseId?: string | undefined;
1509
+ licenseName?: string | undefined;
1510
+ } | undefined)[] | undefined;
1511
+ }>, z.ZodObject<{
1512
+ meta: z.ZodDefault<z.ZodObject<{
1513
+ schemaVersion: z.ZodDefault<z.ZodString>;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ schemaVersion: string;
1516
+ }, {
1517
+ schemaVersion?: string | undefined;
1518
+ }>>;
1519
+ } & {
1520
+ type: z.ZodLiteral<"metadataStandardSearch">;
1521
+ answer: z.ZodDefault<z.ZodArray<z.ZodDefault<z.ZodObject<{
1522
+ metadataStandardId: z.ZodDefault<z.ZodString>;
1523
+ 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;
1178
1549
  }>, z.ZodObject<{
1179
1550
  meta: z.ZodDefault<z.ZodObject<{
1180
1551
  schemaVersion: z.ZodDefault<z.ZodString>;
@@ -1230,20 +1601,35 @@ export declare const TableAnswerSchema: z.ZodObject<{
1230
1601
  schemaVersion?: string | undefined;
1231
1602
  }>>;
1232
1603
  } & {
1233
- type: z.ZodLiteral<"radioButtons">;
1234
- answer: z.ZodDefault<z.ZodString>;
1604
+ type: z.ZodLiteral<"numberWithContext">;
1605
+ answer: z.ZodObject<{
1606
+ value: z.ZodDefault<z.ZodNumber>;
1607
+ 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
+ }>;
1235
1615
  }, "strip", z.ZodTypeAny, {
1236
- type: "radioButtons";
1616
+ type: "numberWithContext";
1237
1617
  meta: {
1238
1618
  schemaVersion: string;
1239
1619
  };
1240
- answer: string;
1620
+ answer: {
1621
+ value: number;
1622
+ context: string;
1623
+ };
1241
1624
  }, {
1242
- type: "radioButtons";
1625
+ type: "numberWithContext";
1626
+ answer: {
1627
+ value?: number | undefined;
1628
+ context?: string | undefined;
1629
+ };
1243
1630
  meta?: {
1244
1631
  schemaVersion?: string | undefined;
1245
1632
  } | undefined;
1246
- answer?: string | undefined;
1247
1633
  }>, z.ZodObject<{
1248
1634
  meta: z.ZodDefault<z.ZodObject<{
1249
1635
  schemaVersion: z.ZodDefault<z.ZodString>;
@@ -1253,16 +1639,16 @@ export declare const TableAnswerSchema: z.ZodObject<{
1253
1639
  schemaVersion?: string | undefined;
1254
1640
  }>>;
1255
1641
  } & {
1256
- type: z.ZodLiteral<"selectBox">;
1642
+ type: z.ZodLiteral<"radioButtons">;
1257
1643
  answer: z.ZodDefault<z.ZodString>;
1258
1644
  }, "strip", z.ZodTypeAny, {
1259
- type: "selectBox";
1645
+ type: "radioButtons";
1260
1646
  meta: {
1261
1647
  schemaVersion: string;
1262
1648
  };
1263
1649
  answer: string;
1264
1650
  }, {
1265
- type: "selectBox";
1651
+ type: "radioButtons";
1266
1652
  meta?: {
1267
1653
  schemaVersion?: string | undefined;
1268
1654
  } | undefined;
@@ -1276,20 +1662,35 @@ export declare const TableAnswerSchema: z.ZodObject<{
1276
1662
  schemaVersion?: string | undefined;
1277
1663
  }>>;
1278
1664
  } & {
1279
- type: z.ZodLiteral<"text">;
1280
- answer: z.ZodDefault<z.ZodString>;
1665
+ type: z.ZodLiteral<"repositorySearch">;
1666
+ answer: z.ZodDefault<z.ZodArray<z.ZodDefault<z.ZodObject<{
1667
+ repositoryId: z.ZodDefault<z.ZodString>;
1668
+ 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">>;
1281
1676
  }, "strip", z.ZodTypeAny, {
1282
- type: "text";
1677
+ type: "repositorySearch";
1283
1678
  meta: {
1284
1679
  schemaVersion: string;
1285
1680
  };
1286
- answer: string;
1681
+ answer: {
1682
+ repositoryId: string;
1683
+ repositoryName: string;
1684
+ }[];
1287
1685
  }, {
1288
- type: "text";
1686
+ type: "repositorySearch";
1289
1687
  meta?: {
1290
1688
  schemaVersion?: string | undefined;
1291
1689
  } | undefined;
1292
- answer?: string | undefined;
1690
+ answer?: ({
1691
+ repositoryId?: string | undefined;
1692
+ repositoryName?: string | undefined;
1693
+ } | undefined)[] | undefined;
1293
1694
  }>, z.ZodObject<{
1294
1695
  meta: z.ZodDefault<z.ZodObject<{
1295
1696
  schemaVersion: z.ZodDefault<z.ZodString>;
@@ -1299,16 +1700,16 @@ export declare const TableAnswerSchema: z.ZodObject<{
1299
1700
  schemaVersion?: string | undefined;
1300
1701
  }>>;
1301
1702
  } & {
1302
- type: z.ZodLiteral<"textArea">;
1703
+ type: z.ZodLiteral<"selectBox">;
1303
1704
  answer: z.ZodDefault<z.ZodString>;
1304
1705
  }, "strip", z.ZodTypeAny, {
1305
- type: "textArea";
1706
+ type: "selectBox";
1306
1707
  meta: {
1307
1708
  schemaVersion: string;
1308
1709
  };
1309
1710
  answer: string;
1310
1711
  }, {
1311
- type: "textArea";
1712
+ type: "selectBox";
1312
1713
  meta?: {
1313
1714
  schemaVersion?: string | undefined;
1314
1715
  } | undefined;
@@ -1322,23 +1723,69 @@ export declare const TableAnswerSchema: z.ZodObject<{
1322
1723
  schemaVersion?: string | undefined;
1323
1724
  }>>;
1324
1725
  } & {
1325
- type: z.ZodLiteral<"url">;
1726
+ type: z.ZodLiteral<"text">;
1326
1727
  answer: z.ZodDefault<z.ZodString>;
1327
1728
  }, "strip", z.ZodTypeAny, {
1328
- type: "url";
1729
+ type: "text";
1329
1730
  meta: {
1330
1731
  schemaVersion: string;
1331
1732
  };
1332
1733
  answer: string;
1333
1734
  }, {
1334
- type: "url";
1735
+ type: "text";
1335
1736
  meta?: {
1336
1737
  schemaVersion?: string | undefined;
1337
1738
  } | undefined;
1338
1739
  answer?: string | undefined;
1339
- }>]>, "many">;
1340
- }, "strip", z.ZodTypeAny, {
1341
- columns: ({
1740
+ }>, z.ZodObject<{
1741
+ meta: z.ZodDefault<z.ZodObject<{
1742
+ schemaVersion: z.ZodDefault<z.ZodString>;
1743
+ }, "strip", z.ZodTypeAny, {
1744
+ schemaVersion: string;
1745
+ }, {
1746
+ schemaVersion?: string | undefined;
1747
+ }>>;
1748
+ } & {
1749
+ type: z.ZodLiteral<"textArea">;
1750
+ 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<{
1765
+ schemaVersion: z.ZodDefault<z.ZodString>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ schemaVersion: string;
1768
+ }, {
1769
+ schemaVersion?: string | undefined;
1770
+ }>>;
1771
+ } & {
1772
+ type: z.ZodLiteral<"url">;
1773
+ 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: ({
1342
1789
  type: "date";
1343
1790
  meta: {
1344
1791
  schemaVersion: string;
@@ -1354,20 +1801,41 @@ export declare const TableAnswerSchema: z.ZodObject<{
1354
1801
  end: string;
1355
1802
  };
1356
1803
  } | {
1357
- type: "filteredSearch";
1804
+ type: "affiliationSearch";
1358
1805
  meta: {
1359
1806
  schemaVersion: string;
1360
1807
  };
1361
- answer: string[];
1808
+ answer: {
1809
+ affiliationId: string;
1810
+ affiliationName: string;
1811
+ };
1362
1812
  } | {
1363
- type: "affiliationSearch";
1813
+ type: "licenseSearch";
1364
1814
  meta: {
1365
1815
  schemaVersion: string;
1366
1816
  };
1367
1817
  answer: {
1368
- affiliationId: string;
1369
- affiliationName: string;
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;
1370
1834
  };
1835
+ answer: {
1836
+ repositoryId: string;
1837
+ repositoryName: string;
1838
+ }[];
1371
1839
  } | {
1372
1840
  type: "boolean";
1373
1841
  meta: {
@@ -1410,6 +1878,15 @@ export declare const TableAnswerSchema: z.ZodObject<{
1410
1878
  schemaVersion: string;
1411
1879
  };
1412
1880
  answer: number;
1881
+ } | {
1882
+ type: "numberWithContext";
1883
+ meta: {
1884
+ schemaVersion: string;
1885
+ };
1886
+ answer: {
1887
+ value: number;
1888
+ context: string;
1889
+ };
1413
1890
  } | {
1414
1891
  type: "email";
1415
1892
  meta: {
@@ -1451,12 +1928,6 @@ export declare const TableAnswerSchema: z.ZodObject<{
1451
1928
  start?: string | undefined;
1452
1929
  end?: string | undefined;
1453
1930
  } | undefined;
1454
- } | {
1455
- type: "filteredSearch";
1456
- meta?: {
1457
- schemaVersion?: string | undefined;
1458
- } | undefined;
1459
- answer?: string[] | undefined;
1460
1931
  } | {
1461
1932
  type: "affiliationSearch";
1462
1933
  meta?: {
@@ -1466,6 +1937,33 @@ export declare const TableAnswerSchema: z.ZodObject<{
1466
1937
  affiliationId?: string | undefined;
1467
1938
  affiliationName?: string | undefined;
1468
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;
1469
1967
  } | {
1470
1968
  type: "boolean";
1471
1969
  meta?: {
@@ -1508,6 +2006,15 @@ export declare const TableAnswerSchema: z.ZodObject<{
1508
2006
  schemaVersion?: string | undefined;
1509
2007
  } | undefined;
1510
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;
1511
2018
  } | {
1512
2019
  type: "email";
1513
2020
  meta?: {
@@ -1556,20 +2063,41 @@ export declare const TableAnswerSchema: z.ZodObject<{
1556
2063
  end: string;
1557
2064
  };
1558
2065
  } | {
1559
- type: "filteredSearch";
2066
+ type: "affiliationSearch";
1560
2067
  meta: {
1561
2068
  schemaVersion: string;
1562
2069
  };
1563
- answer: string[];
2070
+ answer: {
2071
+ affiliationId: string;
2072
+ affiliationName: string;
2073
+ };
1564
2074
  } | {
1565
- type: "affiliationSearch";
2075
+ type: "licenseSearch";
1566
2076
  meta: {
1567
2077
  schemaVersion: string;
1568
2078
  };
1569
2079
  answer: {
1570
- affiliationId: string;
1571
- affiliationName: string;
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;
1572
2096
  };
2097
+ answer: {
2098
+ repositoryId: string;
2099
+ repositoryName: string;
2100
+ }[];
1573
2101
  } | {
1574
2102
  type: "boolean";
1575
2103
  meta: {
@@ -1612,6 +2140,15 @@ export declare const TableAnswerSchema: z.ZodObject<{
1612
2140
  schemaVersion: string;
1613
2141
  };
1614
2142
  answer: number;
2143
+ } | {
2144
+ type: "numberWithContext";
2145
+ meta: {
2146
+ schemaVersion: string;
2147
+ };
2148
+ answer: {
2149
+ value: number;
2150
+ context: string;
2151
+ };
1615
2152
  } | {
1616
2153
  type: "email";
1617
2154
  meta: {
@@ -1660,12 +2197,6 @@ export declare const TableAnswerSchema: z.ZodObject<{
1660
2197
  start?: string | undefined;
1661
2198
  end?: string | undefined;
1662
2199
  } | undefined;
1663
- } | {
1664
- type: "filteredSearch";
1665
- meta?: {
1666
- schemaVersion?: string | undefined;
1667
- } | undefined;
1668
- answer?: string[] | undefined;
1669
2200
  } | {
1670
2201
  type: "affiliationSearch";
1671
2202
  meta?: {
@@ -1675,6 +2206,33 @@ export declare const TableAnswerSchema: z.ZodObject<{
1675
2206
  affiliationId?: string | undefined;
1676
2207
  affiliationName?: string | undefined;
1677
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;
1678
2236
  } | {
1679
2237
  type: "boolean";
1680
2238
  meta?: {
@@ -1717,6 +2275,1060 @@ export declare const TableAnswerSchema: z.ZodObject<{
1717
2275
  schemaVersion?: string | undefined;
1718
2276
  } | undefined;
1719
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<{
2764
+ 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, {
2833
+ columns: ({
2834
+ type: "date";
2835
+ meta: {
2836
+ schemaVersion: string;
2837
+ };
2838
+ answer: string;
2839
+ } | {
2840
+ type: "dateRange";
2841
+ meta: {
2842
+ schemaVersion: string;
2843
+ };
2844
+ answer: {
2845
+ start: string;
2846
+ end: string;
2847
+ };
2848
+ } | {
2849
+ type: "affiliationSearch";
2850
+ meta: {
2851
+ schemaVersion: string;
2852
+ };
2853
+ answer: {
2854
+ affiliationId: string;
2855
+ affiliationName: string;
2856
+ };
2857
+ } | {
2858
+ type: "licenseSearch";
2859
+ meta: {
2860
+ schemaVersion: string;
2861
+ };
2862
+ answer: {
2863
+ licenseId: string;
2864
+ licenseName: string;
2865
+ }[];
2866
+ } | {
2867
+ type: "metadataStandardSearch";
2868
+ meta: {
2869
+ schemaVersion: string;
2870
+ };
2871
+ answer: {
2872
+ metadataStandardId: string;
2873
+ metadataStandardName: string;
2874
+ }[];
2875
+ } | {
2876
+ type: "repositorySearch";
2877
+ meta: {
2878
+ schemaVersion: string;
2879
+ };
2880
+ answer: {
2881
+ repositoryId: string;
2882
+ repositoryName: string;
2883
+ }[];
2884
+ } | {
2885
+ type: "boolean";
2886
+ meta: {
2887
+ schemaVersion: string;
2888
+ };
2889
+ answer: boolean;
2890
+ } | {
2891
+ type: "checkBoxes";
2892
+ meta: {
2893
+ schemaVersion: string;
2894
+ };
2895
+ answer: string[];
2896
+ } | {
2897
+ type: "radioButtons";
2898
+ meta: {
2899
+ schemaVersion: string;
2900
+ };
2901
+ answer: string;
2902
+ } | {
2903
+ type: "selectBox";
2904
+ meta: {
2905
+ schemaVersion: string;
2906
+ };
2907
+ answer: string;
2908
+ } | {
2909
+ type: "multiselectBox";
2910
+ meta: {
2911
+ schemaVersion: string;
2912
+ };
2913
+ answer: string[];
2914
+ } | {
2915
+ type: "currency";
2916
+ meta: {
2917
+ schemaVersion: string;
2918
+ };
2919
+ answer: number;
2920
+ } | {
2921
+ type: "number";
2922
+ meta: {
2923
+ schemaVersion: string;
2924
+ };
2925
+ answer: number;
2926
+ } | {
2927
+ type: "numberWithContext";
2928
+ meta: {
2929
+ schemaVersion: string;
2930
+ };
2931
+ answer: {
2932
+ value: number;
2933
+ context: string;
2934
+ };
2935
+ } | {
2936
+ type: "email";
2937
+ meta: {
2938
+ schemaVersion: string;
2939
+ };
2940
+ answer: string;
2941
+ } | {
2942
+ type: "text";
2943
+ meta: {
2944
+ schemaVersion: string;
2945
+ };
2946
+ answer: string;
2947
+ } | {
2948
+ type: "textArea";
2949
+ meta: {
2950
+ schemaVersion: string;
2951
+ };
2952
+ answer: string;
2953
+ } | {
2954
+ type: "url";
2955
+ meta: {
2956
+ schemaVersion: string;
2957
+ };
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
+ })[];
3088
+ }>, "many">>;
3089
+ }, "strip", z.ZodTypeAny, {
3090
+ type: "researchOutputTable";
3091
+ meta: {
3092
+ schemaVersion: string;
3093
+ };
3094
+ answer: {
3095
+ columns: ({
3096
+ type: "date";
3097
+ meta: {
3098
+ schemaVersion: string;
3099
+ };
3100
+ answer: string;
3101
+ } | {
3102
+ type: "dateRange";
3103
+ meta: {
3104
+ schemaVersion: string;
3105
+ };
3106
+ answer: {
3107
+ start: string;
3108
+ end: string;
3109
+ };
3110
+ } | {
3111
+ type: "affiliationSearch";
3112
+ meta: {
3113
+ schemaVersion: string;
3114
+ };
3115
+ answer: {
3116
+ affiliationId: string;
3117
+ affiliationName: string;
3118
+ };
3119
+ } | {
3120
+ type: "licenseSearch";
3121
+ meta: {
3122
+ schemaVersion: string;
3123
+ };
3124
+ answer: {
3125
+ licenseId: string;
3126
+ licenseName: string;
3127
+ }[];
3128
+ } | {
3129
+ type: "metadataStandardSearch";
3130
+ meta: {
3131
+ schemaVersion: string;
3132
+ };
3133
+ answer: {
3134
+ metadataStandardId: string;
3135
+ metadataStandardName: string;
3136
+ }[];
3137
+ } | {
3138
+ type: "repositorySearch";
3139
+ meta: {
3140
+ schemaVersion: string;
3141
+ };
3142
+ answer: {
3143
+ repositoryId: string;
3144
+ repositoryName: string;
3145
+ }[];
3146
+ } | {
3147
+ type: "boolean";
3148
+ meta: {
3149
+ schemaVersion: string;
3150
+ };
3151
+ answer: boolean;
3152
+ } | {
3153
+ type: "checkBoxes";
3154
+ meta: {
3155
+ schemaVersion: string;
3156
+ };
3157
+ answer: string[];
3158
+ } | {
3159
+ type: "radioButtons";
3160
+ meta: {
3161
+ schemaVersion: string;
3162
+ };
3163
+ answer: string;
3164
+ } | {
3165
+ type: "selectBox";
3166
+ meta: {
3167
+ schemaVersion: string;
3168
+ };
3169
+ answer: string;
3170
+ } | {
3171
+ type: "multiselectBox";
3172
+ meta: {
3173
+ schemaVersion: string;
3174
+ };
3175
+ answer: string[];
3176
+ } | {
3177
+ type: "currency";
3178
+ meta: {
3179
+ schemaVersion: string;
3180
+ };
3181
+ answer: number;
3182
+ } | {
3183
+ type: "number";
3184
+ meta: {
3185
+ schemaVersion: string;
3186
+ };
3187
+ answer: number;
3188
+ } | {
3189
+ type: "numberWithContext";
3190
+ meta: {
3191
+ schemaVersion: string;
3192
+ };
3193
+ answer: {
3194
+ value: number;
3195
+ context: string;
3196
+ };
3197
+ } | {
3198
+ type: "email";
3199
+ meta: {
3200
+ schemaVersion: string;
3201
+ };
3202
+ answer: string;
3203
+ } | {
3204
+ type: "text";
3205
+ meta: {
3206
+ schemaVersion: string;
3207
+ };
3208
+ answer: string;
3209
+ } | {
3210
+ type: "textArea";
3211
+ meta: {
3212
+ schemaVersion: string;
3213
+ };
3214
+ answer: string;
3215
+ } | {
3216
+ type: "url";
3217
+ meta: {
3218
+ schemaVersion: string;
3219
+ };
3220
+ answer: string;
3221
+ })[];
3222
+ }[];
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;
1720
3332
  } | {
1721
3333
  type: "email";
1722
3334
  meta?: {
@@ -1746,4 +3358,5 @@ export declare const TableAnswerSchema: z.ZodObject<{
1746
3358
  columnHeadings?: string[] | undefined;
1747
3359
  }>;
1748
3360
  export type TableAnswerType = z.infer<typeof TableAnswerSchema>;
3361
+ export type ResearchOutputTableAnswerType = z.infer<typeof ResearchOutputTableAnswerSchema>;
1749
3362
  export type AnyTableColumnAnswerType = z.infer<typeof AnyTableColumnAnswerSchema>;