@dmptool/types 2.0.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +70 -1
  2. package/dist/answers/__tests__/defaults.spec.js +80 -21
  3. package/dist/answers/answer.d.ts +2 -0
  4. package/dist/answers/answer.js +4 -2
  5. package/dist/answers/dateAnswers.d.ts +4 -0
  6. package/dist/answers/graphQLAnswers.d.ts +8 -0
  7. package/dist/answers/index.d.ts +37 -0
  8. package/dist/answers/numberAnswers.d.ts +8 -0
  9. package/dist/answers/optionBasedAnswers.d.ts +10 -0
  10. package/dist/answers/tableAnswers.d.ts +94 -0
  11. package/dist/answers/textAnswers.d.ts +8 -0
  12. package/dist/dmp/__tests__/commonStandard.spec.d.ts +1 -0
  13. package/dist/dmp/__tests__/commonStandard.spec.js +210 -0
  14. package/dist/dmp/__tests__/extensions.spec.d.ts +1 -0
  15. package/dist/dmp/__tests__/extensions.spec.js +99 -0
  16. package/dist/dmp/extension.d.ts +1117 -0
  17. package/dist/dmp/extension.js +234 -0
  18. package/dist/dmp/index.d.ts +9 -0
  19. package/dist/dmp/index.js +69 -0
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.js +1 -0
  22. package/dist/questions/__tests__/defaults.spec.js +2 -2
  23. package/dist/questions/__tests__/optionBasedQuestions.spec.js +8 -4
  24. package/dist/questions/dateQuestions.d.ts +4 -0
  25. package/dist/questions/dateQuestions.js +2 -2
  26. package/dist/questions/index.d.ts +30 -22
  27. package/dist/questions/numberQuestions.d.ts +8 -0
  28. package/dist/questions/numberQuestions.js +4 -4
  29. package/dist/questions/optionBasedQuestions.d.ts +10 -0
  30. package/dist/questions/optionBasedQuestions.js +5 -5
  31. package/dist/questions/tableQuestions.d.ts +393 -25
  32. package/dist/questions/tableQuestions.js +3 -2
  33. package/dist/questions/textQuestions.d.ts +4 -0
  34. package/dist/questions/textQuestions.js +2 -2
  35. package/dist/schemas/affiliationSearchAnswer.schema.json +50 -0
  36. package/dist/schemas/affiliationSearchQuestion.schema.json +142 -0
  37. package/dist/schemas/anyAnswer.schema.json +1537 -0
  38. package/dist/schemas/anyQuestion.schema.json +4828 -0
  39. package/dist/schemas/anyTableColumnAnswer.schema.json +741 -0
  40. package/dist/schemas/anyTableColumnQuestion.schema.json +1560 -0
  41. package/dist/schemas/booleanAnswer.schema.json +36 -0
  42. package/dist/schemas/booleanQuestion.schema.json +55 -0
  43. package/dist/schemas/checkboxesAnswer.schema.json +41 -0
  44. package/dist/schemas/checkboxesQuestion.schema.json +80 -0
  45. package/dist/schemas/currencyAnswer.schema.json +36 -0
  46. package/dist/schemas/currencyQuestion.schema.json +73 -0
  47. package/dist/schemas/dateAnswer.schema.json +36 -0
  48. package/dist/schemas/datePickerAnswer.schema.json +37 -0
  49. package/dist/schemas/datePickerQuestion.schema.json +52 -0
  50. package/dist/schemas/dateQuestion.schema.json +66 -0
  51. package/dist/schemas/dateRangeAnswer.schema.json +50 -0
  52. package/dist/schemas/dateRangeQuestion.schema.json +124 -0
  53. package/dist/schemas/dmp.schema.json +2070 -0
  54. package/dist/schemas/dmpExtension.schema.json +1985 -0
  55. package/dist/schemas/emailAnswer.schema.json +36 -0
  56. package/dist/schemas/emailQuestion.schema.json +71 -0
  57. package/dist/schemas/filteredSearchAnswer.schema.json +40 -0
  58. package/dist/schemas/filteredSearchQuestion.schema.json +130 -0
  59. package/dist/schemas/licenseSearchAnswer.schema.json +54 -0
  60. package/dist/schemas/licenseSearchQuestion.schema.json +140 -0
  61. package/dist/schemas/metadataStandardSearchAnswer.schema.json +54 -0
  62. package/dist/schemas/metadataStandardSearchQuestion.schema.json +141 -0
  63. package/dist/schemas/multiselectBoxAnswer.schema.json +41 -0
  64. package/dist/schemas/multiselectBoxQuestion.schema.json +87 -0
  65. package/dist/schemas/numberAnswer.schema.json +36 -0
  66. package/dist/schemas/numberQuestion.schema.json +68 -0
  67. package/dist/schemas/numberRangeAnswer.schema.json +50 -0
  68. package/dist/schemas/numberRangeQuestion.schema.json +128 -0
  69. package/dist/schemas/numberWithContextAnswer.schema.json +50 -0
  70. package/dist/schemas/numberWithContextQuestion.schema.json +98 -0
  71. package/dist/schemas/radioButtonsAnswer.schema.json +36 -0
  72. package/dist/schemas/radioButtonsQuestion.schema.json +80 -0
  73. package/dist/schemas/repositorySearchAnswer.schema.json +54 -0
  74. package/dist/schemas/repositorySearchQuestion.schema.json +140 -0
  75. package/dist/schemas/researchOutputTableAnswer.schema.json +20065 -0
  76. package/dist/schemas/researchOutputTableQuestion.schema.json +140 -0
  77. package/dist/schemas/selectBoxAnswer.schema.json +36 -0
  78. package/dist/schemas/selectBoxQuestion.schema.json +87 -0
  79. package/dist/schemas/tableAnswer.schema.json +797 -0
  80. package/dist/schemas/tableQuestion.schema.json +1662 -0
  81. package/dist/schemas/textAnswer.schema.json +36 -0
  82. package/dist/schemas/textAreaAnswer.schema.json +36 -0
  83. package/dist/schemas/textAreaQuestion.schema.json +78 -0
  84. package/dist/schemas/textQuestion.schema.json +63 -0
  85. package/dist/schemas/typeaheadSearchAnswer.schema.json +37 -0
  86. package/dist/schemas/typeaheadSearchQuestion.schema.json +120 -0
  87. package/dist/schemas/urlAnswer.schema.json +36 -0
  88. package/dist/schemas/urlQuestion.schema.json +66 -0
  89. package/package.json +12 -4
  90. package/schemas/.placeholder +0 -0
  91. package/schemas/affiliationSearchAnswer.schema.json +50 -0
  92. package/schemas/affiliationSearchQuestion.schema.json +142 -0
  93. package/schemas/anyAnswer.schema.json +1537 -0
  94. package/schemas/anyQuestion.schema.json +4828 -0
  95. package/schemas/anyTableColumnAnswer.schema.json +741 -0
  96. package/schemas/anyTableColumnQuestion.schema.json +1560 -0
  97. package/schemas/booleanAnswer.schema.json +36 -0
  98. package/schemas/booleanQuestion.schema.json +55 -0
  99. package/schemas/checkboxesAnswer.schema.json +41 -0
  100. package/schemas/checkboxesQuestion.schema.json +80 -0
  101. package/schemas/currencyAnswer.schema.json +36 -0
  102. package/schemas/currencyQuestion.schema.json +73 -0
  103. package/schemas/dateAnswer.schema.json +36 -0
  104. package/schemas/datePickerAnswer.schema.json +37 -0
  105. package/schemas/datePickerQuestion.schema.json +52 -0
  106. package/schemas/dateQuestion.schema.json +66 -0
  107. package/schemas/dateRangeAnswer.schema.json +50 -0
  108. package/schemas/dateRangeQuestion.schema.json +124 -0
  109. package/schemas/dmp.schema.json +2070 -0
  110. package/schemas/dmpExtension.schema.json +1985 -0
  111. package/schemas/emailAnswer.schema.json +36 -0
  112. package/schemas/emailQuestion.schema.json +71 -0
  113. package/schemas/filteredSearchAnswer.schema.json +40 -0
  114. package/schemas/filteredSearchQuestion.schema.json +130 -0
  115. package/schemas/licenseSearchAnswer.schema.json +54 -0
  116. package/schemas/licenseSearchQuestion.schema.json +140 -0
  117. package/schemas/metadataStandardSearchAnswer.schema.json +54 -0
  118. package/schemas/metadataStandardSearchQuestion.schema.json +141 -0
  119. package/schemas/multiselectBoxAnswer.schema.json +41 -0
  120. package/schemas/multiselectBoxQuestion.schema.json +87 -0
  121. package/schemas/numberAnswer.schema.json +36 -0
  122. package/schemas/numberQuestion.schema.json +68 -0
  123. package/schemas/numberRangeAnswer.schema.json +50 -0
  124. package/schemas/numberRangeQuestion.schema.json +128 -0
  125. package/schemas/numberWithContextAnswer.schema.json +50 -0
  126. package/schemas/numberWithContextQuestion.schema.json +98 -0
  127. package/schemas/radioButtonsAnswer.schema.json +36 -0
  128. package/schemas/radioButtonsQuestion.schema.json +80 -0
  129. package/schemas/repositorySearchAnswer.schema.json +54 -0
  130. package/schemas/repositorySearchQuestion.schema.json +140 -0
  131. package/schemas/researchOutputTableAnswer.schema.json +20065 -0
  132. package/schemas/researchOutputTableQuestion.schema.json +140 -0
  133. package/schemas/selectBoxAnswer.schema.json +36 -0
  134. package/schemas/selectBoxQuestion.schema.json +87 -0
  135. package/schemas/tableAnswer.schema.json +797 -0
  136. package/schemas/tableQuestion.schema.json +1662 -0
  137. package/schemas/textAnswer.schema.json +36 -0
  138. package/schemas/textAreaAnswer.schema.json +36 -0
  139. package/schemas/textAreaQuestion.schema.json +78 -0
  140. package/schemas/textQuestion.schema.json +63 -0
  141. package/schemas/typeaheadSearchAnswer.schema.json +37 -0
  142. package/schemas/typeaheadSearchQuestion.schema.json +120 -0
  143. package/schemas/urlAnswer.schema.json +36 -0
  144. package/schemas/urlQuestion.schema.json +66 -0
@@ -8,30 +8,35 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodO
8
8
  meta: z.ZodObject<{
9
9
  schemaVersion: z.ZodDefault<z.ZodString>;
10
10
  }, z.core.$strip>;
11
+ comment: z.ZodOptional<z.ZodString>;
11
12
  }, z.core.$strip>, z.ZodObject<{
12
13
  type: z.ZodLiteral<"boolean">;
13
14
  answer: z.ZodDefault<z.ZodBoolean>;
14
15
  meta: z.ZodObject<{
15
16
  schemaVersion: z.ZodDefault<z.ZodString>;
16
17
  }, z.core.$strip>;
18
+ comment: z.ZodOptional<z.ZodString>;
17
19
  }, z.core.$strip>, z.ZodObject<{
18
20
  type: z.ZodLiteral<"checkBoxes">;
19
21
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
20
22
  meta: z.ZodObject<{
21
23
  schemaVersion: z.ZodDefault<z.ZodString>;
22
24
  }, z.core.$strip>;
25
+ comment: z.ZodOptional<z.ZodString>;
23
26
  }, z.core.$strip>, z.ZodObject<{
24
27
  type: z.ZodLiteral<"currency">;
25
28
  answer: z.ZodDefault<z.ZodNumber>;
26
29
  meta: z.ZodObject<{
27
30
  schemaVersion: z.ZodDefault<z.ZodString>;
28
31
  }, z.core.$strip>;
32
+ comment: z.ZodOptional<z.ZodString>;
29
33
  }, z.core.$strip>, z.ZodObject<{
30
34
  type: z.ZodLiteral<"date">;
31
35
  answer: z.ZodDefault<z.ZodString>;
32
36
  meta: z.ZodObject<{
33
37
  schemaVersion: z.ZodDefault<z.ZodString>;
34
38
  }, z.core.$strip>;
39
+ comment: z.ZodOptional<z.ZodString>;
35
40
  }, z.core.$strip>, z.ZodObject<{
36
41
  type: z.ZodLiteral<"dateRange">;
37
42
  answer: z.ZodObject<{
@@ -41,12 +46,14 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodO
41
46
  meta: z.ZodObject<{
42
47
  schemaVersion: z.ZodDefault<z.ZodString>;
43
48
  }, z.core.$strip>;
49
+ comment: z.ZodOptional<z.ZodString>;
44
50
  }, z.core.$strip>, z.ZodObject<{
45
51
  type: z.ZodLiteral<"email">;
46
52
  answer: z.ZodDefault<z.ZodString>;
47
53
  meta: z.ZodObject<{
48
54
  schemaVersion: z.ZodDefault<z.ZodString>;
49
55
  }, z.core.$strip>;
56
+ comment: z.ZodOptional<z.ZodString>;
50
57
  }, z.core.$strip>, z.ZodObject<{
51
58
  type: z.ZodLiteral<"licenseSearch">;
52
59
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -56,6 +63,7 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodO
56
63
  meta: z.ZodObject<{
57
64
  schemaVersion: z.ZodDefault<z.ZodString>;
58
65
  }, z.core.$strip>;
66
+ comment: z.ZodOptional<z.ZodString>;
59
67
  }, z.core.$strip>, z.ZodObject<{
60
68
  type: z.ZodLiteral<"metadataStandardSearch">;
61
69
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -65,18 +73,21 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodO
65
73
  meta: z.ZodObject<{
66
74
  schemaVersion: z.ZodDefault<z.ZodString>;
67
75
  }, z.core.$strip>;
76
+ comment: z.ZodOptional<z.ZodString>;
68
77
  }, z.core.$strip>, z.ZodObject<{
69
78
  type: z.ZodLiteral<"multiselectBox">;
70
79
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
71
80
  meta: z.ZodObject<{
72
81
  schemaVersion: z.ZodDefault<z.ZodString>;
73
82
  }, z.core.$strip>;
83
+ comment: z.ZodOptional<z.ZodString>;
74
84
  }, z.core.$strip>, z.ZodObject<{
75
85
  type: z.ZodLiteral<"number">;
76
86
  answer: z.ZodDefault<z.ZodNumber>;
77
87
  meta: z.ZodObject<{
78
88
  schemaVersion: z.ZodDefault<z.ZodString>;
79
89
  }, z.core.$strip>;
90
+ comment: z.ZodOptional<z.ZodString>;
80
91
  }, z.core.$strip>, z.ZodObject<{
81
92
  type: z.ZodLiteral<"numberWithContext">;
82
93
  answer: z.ZodObject<{
@@ -86,12 +97,14 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodO
86
97
  meta: z.ZodObject<{
87
98
  schemaVersion: z.ZodDefault<z.ZodString>;
88
99
  }, z.core.$strip>;
100
+ comment: z.ZodOptional<z.ZodString>;
89
101
  }, z.core.$strip>, z.ZodObject<{
90
102
  type: z.ZodLiteral<"radioButtons">;
91
103
  answer: z.ZodDefault<z.ZodString>;
92
104
  meta: z.ZodObject<{
93
105
  schemaVersion: z.ZodDefault<z.ZodString>;
94
106
  }, z.core.$strip>;
107
+ comment: z.ZodOptional<z.ZodString>;
95
108
  }, z.core.$strip>, z.ZodObject<{
96
109
  type: z.ZodLiteral<"repositorySearch">;
97
110
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -101,30 +114,35 @@ export declare const AnyTableColumnAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodO
101
114
  meta: z.ZodObject<{
102
115
  schemaVersion: z.ZodDefault<z.ZodString>;
103
116
  }, z.core.$strip>;
117
+ comment: z.ZodOptional<z.ZodString>;
104
118
  }, z.core.$strip>, z.ZodObject<{
105
119
  type: z.ZodLiteral<"selectBox">;
106
120
  answer: z.ZodDefault<z.ZodString>;
107
121
  meta: z.ZodObject<{
108
122
  schemaVersion: z.ZodDefault<z.ZodString>;
109
123
  }, z.core.$strip>;
124
+ comment: z.ZodOptional<z.ZodString>;
110
125
  }, z.core.$strip>, z.ZodObject<{
111
126
  type: z.ZodLiteral<"text">;
112
127
  answer: z.ZodDefault<z.ZodString>;
113
128
  meta: z.ZodObject<{
114
129
  schemaVersion: z.ZodDefault<z.ZodString>;
115
130
  }, z.core.$strip>;
131
+ comment: z.ZodOptional<z.ZodString>;
116
132
  }, z.core.$strip>, z.ZodObject<{
117
133
  type: z.ZodLiteral<"textArea">;
118
134
  answer: z.ZodDefault<z.ZodString>;
119
135
  meta: z.ZodObject<{
120
136
  schemaVersion: z.ZodDefault<z.ZodString>;
121
137
  }, z.core.$strip>;
138
+ comment: z.ZodOptional<z.ZodString>;
122
139
  }, z.core.$strip>, z.ZodObject<{
123
140
  type: z.ZodLiteral<"url">;
124
141
  answer: z.ZodDefault<z.ZodString>;
125
142
  meta: z.ZodObject<{
126
143
  schemaVersion: z.ZodDefault<z.ZodString>;
127
144
  }, z.core.$strip>;
145
+ comment: z.ZodOptional<z.ZodString>;
128
146
  }, z.core.$strip>], "type">;
129
147
  export declare const TableAnswerSchema: z.ZodObject<{
130
148
  type: z.ZodLiteral<"table">;
@@ -139,30 +157,35 @@ export declare const TableAnswerSchema: z.ZodObject<{
139
157
  meta: z.ZodObject<{
140
158
  schemaVersion: z.ZodDefault<z.ZodString>;
141
159
  }, z.core.$strip>;
160
+ comment: z.ZodOptional<z.ZodString>;
142
161
  }, z.core.$strip>, z.ZodObject<{
143
162
  type: z.ZodLiteral<"boolean">;
144
163
  answer: z.ZodDefault<z.ZodBoolean>;
145
164
  meta: z.ZodObject<{
146
165
  schemaVersion: z.ZodDefault<z.ZodString>;
147
166
  }, z.core.$strip>;
167
+ comment: z.ZodOptional<z.ZodString>;
148
168
  }, z.core.$strip>, z.ZodObject<{
149
169
  type: z.ZodLiteral<"checkBoxes">;
150
170
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
151
171
  meta: z.ZodObject<{
152
172
  schemaVersion: z.ZodDefault<z.ZodString>;
153
173
  }, z.core.$strip>;
174
+ comment: z.ZodOptional<z.ZodString>;
154
175
  }, z.core.$strip>, z.ZodObject<{
155
176
  type: z.ZodLiteral<"currency">;
156
177
  answer: z.ZodDefault<z.ZodNumber>;
157
178
  meta: z.ZodObject<{
158
179
  schemaVersion: z.ZodDefault<z.ZodString>;
159
180
  }, z.core.$strip>;
181
+ comment: z.ZodOptional<z.ZodString>;
160
182
  }, z.core.$strip>, z.ZodObject<{
161
183
  type: z.ZodLiteral<"date">;
162
184
  answer: z.ZodDefault<z.ZodString>;
163
185
  meta: z.ZodObject<{
164
186
  schemaVersion: z.ZodDefault<z.ZodString>;
165
187
  }, z.core.$strip>;
188
+ comment: z.ZodOptional<z.ZodString>;
166
189
  }, z.core.$strip>, z.ZodObject<{
167
190
  type: z.ZodLiteral<"dateRange">;
168
191
  answer: z.ZodObject<{
@@ -172,12 +195,14 @@ export declare const TableAnswerSchema: z.ZodObject<{
172
195
  meta: z.ZodObject<{
173
196
  schemaVersion: z.ZodDefault<z.ZodString>;
174
197
  }, z.core.$strip>;
198
+ comment: z.ZodOptional<z.ZodString>;
175
199
  }, z.core.$strip>, z.ZodObject<{
176
200
  type: z.ZodLiteral<"email">;
177
201
  answer: z.ZodDefault<z.ZodString>;
178
202
  meta: z.ZodObject<{
179
203
  schemaVersion: z.ZodDefault<z.ZodString>;
180
204
  }, z.core.$strip>;
205
+ comment: z.ZodOptional<z.ZodString>;
181
206
  }, z.core.$strip>, z.ZodObject<{
182
207
  type: z.ZodLiteral<"licenseSearch">;
183
208
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -187,6 +212,7 @@ export declare const TableAnswerSchema: z.ZodObject<{
187
212
  meta: z.ZodObject<{
188
213
  schemaVersion: z.ZodDefault<z.ZodString>;
189
214
  }, z.core.$strip>;
215
+ comment: z.ZodOptional<z.ZodString>;
190
216
  }, z.core.$strip>, z.ZodObject<{
191
217
  type: z.ZodLiteral<"metadataStandardSearch">;
192
218
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -196,18 +222,21 @@ export declare const TableAnswerSchema: z.ZodObject<{
196
222
  meta: z.ZodObject<{
197
223
  schemaVersion: z.ZodDefault<z.ZodString>;
198
224
  }, z.core.$strip>;
225
+ comment: z.ZodOptional<z.ZodString>;
199
226
  }, z.core.$strip>, z.ZodObject<{
200
227
  type: z.ZodLiteral<"multiselectBox">;
201
228
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
202
229
  meta: z.ZodObject<{
203
230
  schemaVersion: z.ZodDefault<z.ZodString>;
204
231
  }, z.core.$strip>;
232
+ comment: z.ZodOptional<z.ZodString>;
205
233
  }, z.core.$strip>, z.ZodObject<{
206
234
  type: z.ZodLiteral<"number">;
207
235
  answer: z.ZodDefault<z.ZodNumber>;
208
236
  meta: z.ZodObject<{
209
237
  schemaVersion: z.ZodDefault<z.ZodString>;
210
238
  }, z.core.$strip>;
239
+ comment: z.ZodOptional<z.ZodString>;
211
240
  }, z.core.$strip>, z.ZodObject<{
212
241
  type: z.ZodLiteral<"numberWithContext">;
213
242
  answer: z.ZodObject<{
@@ -217,12 +246,14 @@ export declare const TableAnswerSchema: z.ZodObject<{
217
246
  meta: z.ZodObject<{
218
247
  schemaVersion: z.ZodDefault<z.ZodString>;
219
248
  }, z.core.$strip>;
249
+ comment: z.ZodOptional<z.ZodString>;
220
250
  }, z.core.$strip>, z.ZodObject<{
221
251
  type: z.ZodLiteral<"radioButtons">;
222
252
  answer: z.ZodDefault<z.ZodString>;
223
253
  meta: z.ZodObject<{
224
254
  schemaVersion: z.ZodDefault<z.ZodString>;
225
255
  }, z.core.$strip>;
256
+ comment: z.ZodOptional<z.ZodString>;
226
257
  }, z.core.$strip>, z.ZodObject<{
227
258
  type: z.ZodLiteral<"repositorySearch">;
228
259
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -232,35 +263,41 @@ export declare const TableAnswerSchema: z.ZodObject<{
232
263
  meta: z.ZodObject<{
233
264
  schemaVersion: z.ZodDefault<z.ZodString>;
234
265
  }, z.core.$strip>;
266
+ comment: z.ZodOptional<z.ZodString>;
235
267
  }, z.core.$strip>, z.ZodObject<{
236
268
  type: z.ZodLiteral<"selectBox">;
237
269
  answer: z.ZodDefault<z.ZodString>;
238
270
  meta: z.ZodObject<{
239
271
  schemaVersion: z.ZodDefault<z.ZodString>;
240
272
  }, z.core.$strip>;
273
+ comment: z.ZodOptional<z.ZodString>;
241
274
  }, z.core.$strip>, z.ZodObject<{
242
275
  type: z.ZodLiteral<"text">;
243
276
  answer: z.ZodDefault<z.ZodString>;
244
277
  meta: z.ZodObject<{
245
278
  schemaVersion: z.ZodDefault<z.ZodString>;
246
279
  }, z.core.$strip>;
280
+ comment: z.ZodOptional<z.ZodString>;
247
281
  }, z.core.$strip>, z.ZodObject<{
248
282
  type: z.ZodLiteral<"textArea">;
249
283
  answer: z.ZodDefault<z.ZodString>;
250
284
  meta: z.ZodObject<{
251
285
  schemaVersion: z.ZodDefault<z.ZodString>;
252
286
  }, z.core.$strip>;
287
+ comment: z.ZodOptional<z.ZodString>;
253
288
  }, z.core.$strip>, z.ZodObject<{
254
289
  type: z.ZodLiteral<"url">;
255
290
  answer: z.ZodDefault<z.ZodString>;
256
291
  meta: z.ZodObject<{
257
292
  schemaVersion: z.ZodDefault<z.ZodString>;
258
293
  }, z.core.$strip>;
294
+ comment: z.ZodOptional<z.ZodString>;
259
295
  }, z.core.$strip>], "type">>;
260
296
  }, z.core.$strip>>;
261
297
  meta: z.ZodObject<{
262
298
  schemaVersion: z.ZodDefault<z.ZodString>;
263
299
  }, z.core.$strip>;
300
+ comment: z.ZodOptional<z.ZodString>;
264
301
  }, z.core.$strip>;
265
302
  export declare const DefaultTableAnswer: {
266
303
  type: "table";
@@ -272,6 +309,7 @@ export declare const DefaultTableAnswer: {
272
309
  meta: {
273
310
  schemaVersion: string;
274
311
  };
312
+ comment?: string | undefined;
275
313
  } | {
276
314
  type: "dateRange";
277
315
  answer: {
@@ -281,6 +319,7 @@ export declare const DefaultTableAnswer: {
281
319
  meta: {
282
320
  schemaVersion: string;
283
321
  };
322
+ comment?: string | undefined;
284
323
  } | {
285
324
  type: "affiliationSearch";
286
325
  answer: {
@@ -290,6 +329,7 @@ export declare const DefaultTableAnswer: {
290
329
  meta: {
291
330
  schemaVersion: string;
292
331
  };
332
+ comment?: string | undefined;
293
333
  } | {
294
334
  type: "licenseSearch";
295
335
  answer: {
@@ -299,6 +339,7 @@ export declare const DefaultTableAnswer: {
299
339
  meta: {
300
340
  schemaVersion: string;
301
341
  };
342
+ comment?: string | undefined;
302
343
  } | {
303
344
  type: "metadataStandardSearch";
304
345
  answer: {
@@ -308,6 +349,7 @@ export declare const DefaultTableAnswer: {
308
349
  meta: {
309
350
  schemaVersion: string;
310
351
  };
352
+ comment?: string | undefined;
311
353
  } | {
312
354
  type: "repositorySearch";
313
355
  answer: {
@@ -317,48 +359,56 @@ export declare const DefaultTableAnswer: {
317
359
  meta: {
318
360
  schemaVersion: string;
319
361
  };
362
+ comment?: string | undefined;
320
363
  } | {
321
364
  type: "boolean";
322
365
  answer: boolean;
323
366
  meta: {
324
367
  schemaVersion: string;
325
368
  };
369
+ comment?: string | undefined;
326
370
  } | {
327
371
  type: "checkBoxes";
328
372
  answer: string[];
329
373
  meta: {
330
374
  schemaVersion: string;
331
375
  };
376
+ comment?: string | undefined;
332
377
  } | {
333
378
  type: "radioButtons";
334
379
  answer: string;
335
380
  meta: {
336
381
  schemaVersion: string;
337
382
  };
383
+ comment?: string | undefined;
338
384
  } | {
339
385
  type: "selectBox";
340
386
  answer: string;
341
387
  meta: {
342
388
  schemaVersion: string;
343
389
  };
390
+ comment?: string | undefined;
344
391
  } | {
345
392
  type: "multiselectBox";
346
393
  answer: string[];
347
394
  meta: {
348
395
  schemaVersion: string;
349
396
  };
397
+ comment?: string | undefined;
350
398
  } | {
351
399
  type: "currency";
352
400
  answer: number;
353
401
  meta: {
354
402
  schemaVersion: string;
355
403
  };
404
+ comment?: string | undefined;
356
405
  } | {
357
406
  type: "number";
358
407
  answer: number;
359
408
  meta: {
360
409
  schemaVersion: string;
361
410
  };
411
+ comment?: string | undefined;
362
412
  } | {
363
413
  type: "numberWithContext";
364
414
  answer: {
@@ -368,35 +418,41 @@ export declare const DefaultTableAnswer: {
368
418
  meta: {
369
419
  schemaVersion: string;
370
420
  };
421
+ comment?: string | undefined;
371
422
  } | {
372
423
  type: "email";
373
424
  answer: string;
374
425
  meta: {
375
426
  schemaVersion: string;
376
427
  };
428
+ comment?: string | undefined;
377
429
  } | {
378
430
  type: "text";
379
431
  answer: string;
380
432
  meta: {
381
433
  schemaVersion: string;
382
434
  };
435
+ comment?: string | undefined;
383
436
  } | {
384
437
  type: "textArea";
385
438
  answer: string;
386
439
  meta: {
387
440
  schemaVersion: string;
388
441
  };
442
+ comment?: string | undefined;
389
443
  } | {
390
444
  type: "url";
391
445
  answer: string;
392
446
  meta: {
393
447
  schemaVersion: string;
394
448
  };
449
+ comment?: string | undefined;
395
450
  })[];
396
451
  }[];
397
452
  meta: {
398
453
  schemaVersion: string;
399
454
  };
455
+ comment?: string | undefined;
400
456
  };
401
457
  export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
402
458
  type: z.ZodLiteral<"researchOutputTable">;
@@ -411,30 +467,35 @@ export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
411
467
  meta: z.ZodObject<{
412
468
  schemaVersion: z.ZodDefault<z.ZodString>;
413
469
  }, z.core.$strip>;
470
+ comment: z.ZodOptional<z.ZodString>;
414
471
  }, z.core.$strip>, z.ZodObject<{
415
472
  type: z.ZodLiteral<"boolean">;
416
473
  answer: z.ZodDefault<z.ZodBoolean>;
417
474
  meta: z.ZodObject<{
418
475
  schemaVersion: z.ZodDefault<z.ZodString>;
419
476
  }, z.core.$strip>;
477
+ comment: z.ZodOptional<z.ZodString>;
420
478
  }, z.core.$strip>, z.ZodObject<{
421
479
  type: z.ZodLiteral<"checkBoxes">;
422
480
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
423
481
  meta: z.ZodObject<{
424
482
  schemaVersion: z.ZodDefault<z.ZodString>;
425
483
  }, z.core.$strip>;
484
+ comment: z.ZodOptional<z.ZodString>;
426
485
  }, z.core.$strip>, z.ZodObject<{
427
486
  type: z.ZodLiteral<"currency">;
428
487
  answer: z.ZodDefault<z.ZodNumber>;
429
488
  meta: z.ZodObject<{
430
489
  schemaVersion: z.ZodDefault<z.ZodString>;
431
490
  }, z.core.$strip>;
491
+ comment: z.ZodOptional<z.ZodString>;
432
492
  }, z.core.$strip>, z.ZodObject<{
433
493
  type: z.ZodLiteral<"date">;
434
494
  answer: z.ZodDefault<z.ZodString>;
435
495
  meta: z.ZodObject<{
436
496
  schemaVersion: z.ZodDefault<z.ZodString>;
437
497
  }, z.core.$strip>;
498
+ comment: z.ZodOptional<z.ZodString>;
438
499
  }, z.core.$strip>, z.ZodObject<{
439
500
  type: z.ZodLiteral<"dateRange">;
440
501
  answer: z.ZodObject<{
@@ -444,12 +505,14 @@ export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
444
505
  meta: z.ZodObject<{
445
506
  schemaVersion: z.ZodDefault<z.ZodString>;
446
507
  }, z.core.$strip>;
508
+ comment: z.ZodOptional<z.ZodString>;
447
509
  }, z.core.$strip>, z.ZodObject<{
448
510
  type: z.ZodLiteral<"email">;
449
511
  answer: z.ZodDefault<z.ZodString>;
450
512
  meta: z.ZodObject<{
451
513
  schemaVersion: z.ZodDefault<z.ZodString>;
452
514
  }, z.core.$strip>;
515
+ comment: z.ZodOptional<z.ZodString>;
453
516
  }, z.core.$strip>, z.ZodObject<{
454
517
  type: z.ZodLiteral<"licenseSearch">;
455
518
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -459,6 +522,7 @@ export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
459
522
  meta: z.ZodObject<{
460
523
  schemaVersion: z.ZodDefault<z.ZodString>;
461
524
  }, z.core.$strip>;
525
+ comment: z.ZodOptional<z.ZodString>;
462
526
  }, z.core.$strip>, z.ZodObject<{
463
527
  type: z.ZodLiteral<"metadataStandardSearch">;
464
528
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -468,18 +532,21 @@ export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
468
532
  meta: z.ZodObject<{
469
533
  schemaVersion: z.ZodDefault<z.ZodString>;
470
534
  }, z.core.$strip>;
535
+ comment: z.ZodOptional<z.ZodString>;
471
536
  }, z.core.$strip>, z.ZodObject<{
472
537
  type: z.ZodLiteral<"multiselectBox">;
473
538
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
474
539
  meta: z.ZodObject<{
475
540
  schemaVersion: z.ZodDefault<z.ZodString>;
476
541
  }, z.core.$strip>;
542
+ comment: z.ZodOptional<z.ZodString>;
477
543
  }, z.core.$strip>, z.ZodObject<{
478
544
  type: z.ZodLiteral<"number">;
479
545
  answer: z.ZodDefault<z.ZodNumber>;
480
546
  meta: z.ZodObject<{
481
547
  schemaVersion: z.ZodDefault<z.ZodString>;
482
548
  }, z.core.$strip>;
549
+ comment: z.ZodOptional<z.ZodString>;
483
550
  }, z.core.$strip>, z.ZodObject<{
484
551
  type: z.ZodLiteral<"numberWithContext">;
485
552
  answer: z.ZodObject<{
@@ -489,12 +556,14 @@ export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
489
556
  meta: z.ZodObject<{
490
557
  schemaVersion: z.ZodDefault<z.ZodString>;
491
558
  }, z.core.$strip>;
559
+ comment: z.ZodOptional<z.ZodString>;
492
560
  }, z.core.$strip>, z.ZodObject<{
493
561
  type: z.ZodLiteral<"radioButtons">;
494
562
  answer: z.ZodDefault<z.ZodString>;
495
563
  meta: z.ZodObject<{
496
564
  schemaVersion: z.ZodDefault<z.ZodString>;
497
565
  }, z.core.$strip>;
566
+ comment: z.ZodOptional<z.ZodString>;
498
567
  }, z.core.$strip>, z.ZodObject<{
499
568
  type: z.ZodLiteral<"repositorySearch">;
500
569
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -504,35 +573,41 @@ export declare const ResearchOutputTableAnswerSchema: z.ZodObject<{
504
573
  meta: z.ZodObject<{
505
574
  schemaVersion: z.ZodDefault<z.ZodString>;
506
575
  }, z.core.$strip>;
576
+ comment: z.ZodOptional<z.ZodString>;
507
577
  }, z.core.$strip>, z.ZodObject<{
508
578
  type: z.ZodLiteral<"selectBox">;
509
579
  answer: z.ZodDefault<z.ZodString>;
510
580
  meta: z.ZodObject<{
511
581
  schemaVersion: z.ZodDefault<z.ZodString>;
512
582
  }, z.core.$strip>;
583
+ comment: z.ZodOptional<z.ZodString>;
513
584
  }, z.core.$strip>, z.ZodObject<{
514
585
  type: z.ZodLiteral<"text">;
515
586
  answer: z.ZodDefault<z.ZodString>;
516
587
  meta: z.ZodObject<{
517
588
  schemaVersion: z.ZodDefault<z.ZodString>;
518
589
  }, z.core.$strip>;
590
+ comment: z.ZodOptional<z.ZodString>;
519
591
  }, z.core.$strip>, z.ZodObject<{
520
592
  type: z.ZodLiteral<"textArea">;
521
593
  answer: z.ZodDefault<z.ZodString>;
522
594
  meta: z.ZodObject<{
523
595
  schemaVersion: z.ZodDefault<z.ZodString>;
524
596
  }, z.core.$strip>;
597
+ comment: z.ZodOptional<z.ZodString>;
525
598
  }, z.core.$strip>, z.ZodObject<{
526
599
  type: z.ZodLiteral<"url">;
527
600
  answer: z.ZodDefault<z.ZodString>;
528
601
  meta: z.ZodObject<{
529
602
  schemaVersion: z.ZodDefault<z.ZodString>;
530
603
  }, z.core.$strip>;
604
+ comment: z.ZodOptional<z.ZodString>;
531
605
  }, z.core.$strip>], "type">>;
532
606
  }, z.core.$strip>>;
533
607
  meta: z.ZodObject<{
534
608
  schemaVersion: z.ZodDefault<z.ZodString>;
535
609
  }, z.core.$strip>;
610
+ comment: z.ZodOptional<z.ZodString>;
536
611
  }, z.core.$strip>;
537
612
  export declare const DefaultResearchOutputTableAnswer: {
538
613
  type: "researchOutputTable";
@@ -544,6 +619,7 @@ export declare const DefaultResearchOutputTableAnswer: {
544
619
  meta: {
545
620
  schemaVersion: string;
546
621
  };
622
+ comment?: string | undefined;
547
623
  } | {
548
624
  type: "dateRange";
549
625
  answer: {
@@ -553,6 +629,7 @@ export declare const DefaultResearchOutputTableAnswer: {
553
629
  meta: {
554
630
  schemaVersion: string;
555
631
  };
632
+ comment?: string | undefined;
556
633
  } | {
557
634
  type: "affiliationSearch";
558
635
  answer: {
@@ -562,6 +639,7 @@ export declare const DefaultResearchOutputTableAnswer: {
562
639
  meta: {
563
640
  schemaVersion: string;
564
641
  };
642
+ comment?: string | undefined;
565
643
  } | {
566
644
  type: "licenseSearch";
567
645
  answer: {
@@ -571,6 +649,7 @@ export declare const DefaultResearchOutputTableAnswer: {
571
649
  meta: {
572
650
  schemaVersion: string;
573
651
  };
652
+ comment?: string | undefined;
574
653
  } | {
575
654
  type: "metadataStandardSearch";
576
655
  answer: {
@@ -580,6 +659,7 @@ export declare const DefaultResearchOutputTableAnswer: {
580
659
  meta: {
581
660
  schemaVersion: string;
582
661
  };
662
+ comment?: string | undefined;
583
663
  } | {
584
664
  type: "repositorySearch";
585
665
  answer: {
@@ -589,48 +669,56 @@ export declare const DefaultResearchOutputTableAnswer: {
589
669
  meta: {
590
670
  schemaVersion: string;
591
671
  };
672
+ comment?: string | undefined;
592
673
  } | {
593
674
  type: "boolean";
594
675
  answer: boolean;
595
676
  meta: {
596
677
  schemaVersion: string;
597
678
  };
679
+ comment?: string | undefined;
598
680
  } | {
599
681
  type: "checkBoxes";
600
682
  answer: string[];
601
683
  meta: {
602
684
  schemaVersion: string;
603
685
  };
686
+ comment?: string | undefined;
604
687
  } | {
605
688
  type: "radioButtons";
606
689
  answer: string;
607
690
  meta: {
608
691
  schemaVersion: string;
609
692
  };
693
+ comment?: string | undefined;
610
694
  } | {
611
695
  type: "selectBox";
612
696
  answer: string;
613
697
  meta: {
614
698
  schemaVersion: string;
615
699
  };
700
+ comment?: string | undefined;
616
701
  } | {
617
702
  type: "multiselectBox";
618
703
  answer: string[];
619
704
  meta: {
620
705
  schemaVersion: string;
621
706
  };
707
+ comment?: string | undefined;
622
708
  } | {
623
709
  type: "currency";
624
710
  answer: number;
625
711
  meta: {
626
712
  schemaVersion: string;
627
713
  };
714
+ comment?: string | undefined;
628
715
  } | {
629
716
  type: "number";
630
717
  answer: number;
631
718
  meta: {
632
719
  schemaVersion: string;
633
720
  };
721
+ comment?: string | undefined;
634
722
  } | {
635
723
  type: "numberWithContext";
636
724
  answer: {
@@ -640,35 +728,41 @@ export declare const DefaultResearchOutputTableAnswer: {
640
728
  meta: {
641
729
  schemaVersion: string;
642
730
  };
731
+ comment?: string | undefined;
643
732
  } | {
644
733
  type: "email";
645
734
  answer: string;
646
735
  meta: {
647
736
  schemaVersion: string;
648
737
  };
738
+ comment?: string | undefined;
649
739
  } | {
650
740
  type: "text";
651
741
  answer: string;
652
742
  meta: {
653
743
  schemaVersion: string;
654
744
  };
745
+ comment?: string | undefined;
655
746
  } | {
656
747
  type: "textArea";
657
748
  answer: string;
658
749
  meta: {
659
750
  schemaVersion: string;
660
751
  };
752
+ comment?: string | undefined;
661
753
  } | {
662
754
  type: "url";
663
755
  answer: string;
664
756
  meta: {
665
757
  schemaVersion: string;
666
758
  };
759
+ comment?: string | undefined;
667
760
  })[];
668
761
  }[];
669
762
  meta: {
670
763
  schemaVersion: string;
671
764
  };
765
+ comment?: string | undefined;
672
766
  };
673
767
  export type TableAnswerType = z.infer<typeof TableAnswerSchema>;
674
768
  export type ResearchOutputTableAnswerType = z.infer<typeof ResearchOutputTableAnswerSchema>;