@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
@@ -22,30 +22,35 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
22
22
  meta: z.ZodObject<{
23
23
  schemaVersion: z.ZodDefault<z.ZodString>;
24
24
  }, z.core.$strip>;
25
+ comment: z.ZodOptional<z.ZodString>;
25
26
  }, z.core.$strip>, z.ZodObject<{
26
27
  type: z.ZodLiteral<"boolean">;
27
28
  answer: z.ZodDefault<z.ZodBoolean>;
28
29
  meta: z.ZodObject<{
29
30
  schemaVersion: z.ZodDefault<z.ZodString>;
30
31
  }, z.core.$strip>;
32
+ comment: z.ZodOptional<z.ZodString>;
31
33
  }, z.core.$strip>, z.ZodObject<{
32
34
  type: z.ZodLiteral<"checkBoxes">;
33
35
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
34
36
  meta: z.ZodObject<{
35
37
  schemaVersion: z.ZodDefault<z.ZodString>;
36
38
  }, z.core.$strip>;
39
+ comment: z.ZodOptional<z.ZodString>;
37
40
  }, z.core.$strip>, z.ZodObject<{
38
41
  type: z.ZodLiteral<"currency">;
39
42
  answer: z.ZodDefault<z.ZodNumber>;
40
43
  meta: z.ZodObject<{
41
44
  schemaVersion: z.ZodDefault<z.ZodString>;
42
45
  }, z.core.$strip>;
46
+ comment: z.ZodOptional<z.ZodString>;
43
47
  }, z.core.$strip>, z.ZodObject<{
44
48
  type: z.ZodLiteral<"date">;
45
49
  answer: z.ZodDefault<z.ZodString>;
46
50
  meta: z.ZodObject<{
47
51
  schemaVersion: z.ZodDefault<z.ZodString>;
48
52
  }, z.core.$strip>;
53
+ comment: z.ZodOptional<z.ZodString>;
49
54
  }, z.core.$strip>, z.ZodObject<{
50
55
  type: z.ZodLiteral<"dateRange">;
51
56
  answer: z.ZodObject<{
@@ -55,12 +60,14 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
55
60
  meta: z.ZodObject<{
56
61
  schemaVersion: z.ZodDefault<z.ZodString>;
57
62
  }, z.core.$strip>;
63
+ comment: z.ZodOptional<z.ZodString>;
58
64
  }, z.core.$strip>, z.ZodObject<{
59
65
  type: z.ZodLiteral<"email">;
60
66
  answer: z.ZodDefault<z.ZodString>;
61
67
  meta: z.ZodObject<{
62
68
  schemaVersion: z.ZodDefault<z.ZodString>;
63
69
  }, z.core.$strip>;
70
+ comment: z.ZodOptional<z.ZodString>;
64
71
  }, z.core.$strip>, z.ZodObject<{
65
72
  type: z.ZodLiteral<"licenseSearch">;
66
73
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -70,6 +77,7 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
70
77
  meta: z.ZodObject<{
71
78
  schemaVersion: z.ZodDefault<z.ZodString>;
72
79
  }, z.core.$strip>;
80
+ comment: z.ZodOptional<z.ZodString>;
73
81
  }, z.core.$strip>, z.ZodObject<{
74
82
  type: z.ZodLiteral<"metadataStandardSearch">;
75
83
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -79,18 +87,21 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
79
87
  meta: z.ZodObject<{
80
88
  schemaVersion: z.ZodDefault<z.ZodString>;
81
89
  }, z.core.$strip>;
90
+ comment: z.ZodOptional<z.ZodString>;
82
91
  }, z.core.$strip>, z.ZodObject<{
83
92
  type: z.ZodLiteral<"multiselectBox">;
84
93
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
85
94
  meta: z.ZodObject<{
86
95
  schemaVersion: z.ZodDefault<z.ZodString>;
87
96
  }, z.core.$strip>;
97
+ comment: z.ZodOptional<z.ZodString>;
88
98
  }, z.core.$strip>, z.ZodObject<{
89
99
  type: z.ZodLiteral<"number">;
90
100
  answer: z.ZodDefault<z.ZodNumber>;
91
101
  meta: z.ZodObject<{
92
102
  schemaVersion: z.ZodDefault<z.ZodString>;
93
103
  }, z.core.$strip>;
104
+ comment: z.ZodOptional<z.ZodString>;
94
105
  }, z.core.$strip>, z.ZodObject<{
95
106
  type: z.ZodLiteral<"numberRange">;
96
107
  answer: z.ZodObject<{
@@ -100,12 +111,14 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
100
111
  meta: z.ZodObject<{
101
112
  schemaVersion: z.ZodDefault<z.ZodString>;
102
113
  }, z.core.$strip>;
114
+ comment: z.ZodOptional<z.ZodString>;
103
115
  }, z.core.$strip>, z.ZodObject<{
104
116
  type: z.ZodLiteral<"radioButtons">;
105
117
  answer: z.ZodDefault<z.ZodString>;
106
118
  meta: z.ZodObject<{
107
119
  schemaVersion: z.ZodDefault<z.ZodString>;
108
120
  }, z.core.$strip>;
121
+ comment: z.ZodOptional<z.ZodString>;
109
122
  }, z.core.$strip>, z.ZodObject<{
110
123
  type: z.ZodLiteral<"repositorySearch">;
111
124
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -115,12 +128,14 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
115
128
  meta: z.ZodObject<{
116
129
  schemaVersion: z.ZodDefault<z.ZodString>;
117
130
  }, z.core.$strip>;
131
+ comment: z.ZodOptional<z.ZodString>;
118
132
  }, z.core.$strip>, z.ZodObject<{
119
133
  type: z.ZodLiteral<"selectBox">;
120
134
  answer: z.ZodDefault<z.ZodString>;
121
135
  meta: z.ZodObject<{
122
136
  schemaVersion: z.ZodDefault<z.ZodString>;
123
137
  }, z.core.$strip>;
138
+ comment: z.ZodOptional<z.ZodString>;
124
139
  }, z.core.$strip>, z.ZodObject<{
125
140
  type: z.ZodLiteral<"table">;
126
141
  columnHeadings: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -134,30 +149,35 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
134
149
  meta: z.ZodObject<{
135
150
  schemaVersion: z.ZodDefault<z.ZodString>;
136
151
  }, z.core.$strip>;
152
+ comment: z.ZodOptional<z.ZodString>;
137
153
  }, z.core.$strip>, z.ZodObject<{
138
154
  type: z.ZodLiteral<"boolean">;
139
155
  answer: z.ZodDefault<z.ZodBoolean>;
140
156
  meta: z.ZodObject<{
141
157
  schemaVersion: z.ZodDefault<z.ZodString>;
142
158
  }, z.core.$strip>;
159
+ comment: z.ZodOptional<z.ZodString>;
143
160
  }, z.core.$strip>, z.ZodObject<{
144
161
  type: z.ZodLiteral<"checkBoxes">;
145
162
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
146
163
  meta: z.ZodObject<{
147
164
  schemaVersion: z.ZodDefault<z.ZodString>;
148
165
  }, z.core.$strip>;
166
+ comment: z.ZodOptional<z.ZodString>;
149
167
  }, z.core.$strip>, z.ZodObject<{
150
168
  type: z.ZodLiteral<"currency">;
151
169
  answer: z.ZodDefault<z.ZodNumber>;
152
170
  meta: z.ZodObject<{
153
171
  schemaVersion: z.ZodDefault<z.ZodString>;
154
172
  }, z.core.$strip>;
173
+ comment: z.ZodOptional<z.ZodString>;
155
174
  }, z.core.$strip>, z.ZodObject<{
156
175
  type: z.ZodLiteral<"date">;
157
176
  answer: z.ZodDefault<z.ZodString>;
158
177
  meta: z.ZodObject<{
159
178
  schemaVersion: z.ZodDefault<z.ZodString>;
160
179
  }, z.core.$strip>;
180
+ comment: z.ZodOptional<z.ZodString>;
161
181
  }, z.core.$strip>, z.ZodObject<{
162
182
  type: z.ZodLiteral<"dateRange">;
163
183
  answer: z.ZodObject<{
@@ -167,12 +187,14 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
167
187
  meta: z.ZodObject<{
168
188
  schemaVersion: z.ZodDefault<z.ZodString>;
169
189
  }, z.core.$strip>;
190
+ comment: z.ZodOptional<z.ZodString>;
170
191
  }, z.core.$strip>, z.ZodObject<{
171
192
  type: z.ZodLiteral<"email">;
172
193
  answer: z.ZodDefault<z.ZodString>;
173
194
  meta: z.ZodObject<{
174
195
  schemaVersion: z.ZodDefault<z.ZodString>;
175
196
  }, z.core.$strip>;
197
+ comment: z.ZodOptional<z.ZodString>;
176
198
  }, z.core.$strip>, z.ZodObject<{
177
199
  type: z.ZodLiteral<"licenseSearch">;
178
200
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -182,6 +204,7 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
182
204
  meta: z.ZodObject<{
183
205
  schemaVersion: z.ZodDefault<z.ZodString>;
184
206
  }, z.core.$strip>;
207
+ comment: z.ZodOptional<z.ZodString>;
185
208
  }, z.core.$strip>, z.ZodObject<{
186
209
  type: z.ZodLiteral<"metadataStandardSearch">;
187
210
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -191,18 +214,21 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
191
214
  meta: z.ZodObject<{
192
215
  schemaVersion: z.ZodDefault<z.ZodString>;
193
216
  }, z.core.$strip>;
217
+ comment: z.ZodOptional<z.ZodString>;
194
218
  }, z.core.$strip>, z.ZodObject<{
195
219
  type: z.ZodLiteral<"multiselectBox">;
196
220
  answer: z.ZodDefault<z.ZodArray<z.ZodString>>;
197
221
  meta: z.ZodObject<{
198
222
  schemaVersion: z.ZodDefault<z.ZodString>;
199
223
  }, z.core.$strip>;
224
+ comment: z.ZodOptional<z.ZodString>;
200
225
  }, z.core.$strip>, z.ZodObject<{
201
226
  type: z.ZodLiteral<"number">;
202
227
  answer: z.ZodDefault<z.ZodNumber>;
203
228
  meta: z.ZodObject<{
204
229
  schemaVersion: z.ZodDefault<z.ZodString>;
205
230
  }, z.core.$strip>;
231
+ comment: z.ZodOptional<z.ZodString>;
206
232
  }, z.core.$strip>, z.ZodObject<{
207
233
  type: z.ZodLiteral<"numberWithContext">;
208
234
  answer: z.ZodObject<{
@@ -212,12 +238,14 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
212
238
  meta: z.ZodObject<{
213
239
  schemaVersion: z.ZodDefault<z.ZodString>;
214
240
  }, z.core.$strip>;
241
+ comment: z.ZodOptional<z.ZodString>;
215
242
  }, z.core.$strip>, z.ZodObject<{
216
243
  type: z.ZodLiteral<"radioButtons">;
217
244
  answer: z.ZodDefault<z.ZodString>;
218
245
  meta: z.ZodObject<{
219
246
  schemaVersion: z.ZodDefault<z.ZodString>;
220
247
  }, z.core.$strip>;
248
+ comment: z.ZodOptional<z.ZodString>;
221
249
  }, z.core.$strip>, z.ZodObject<{
222
250
  type: z.ZodLiteral<"repositorySearch">;
223
251
  answer: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -227,53 +255,62 @@ export declare const AnyAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
227
255
  meta: z.ZodObject<{
228
256
  schemaVersion: z.ZodDefault<z.ZodString>;
229
257
  }, z.core.$strip>;
258
+ comment: z.ZodOptional<z.ZodString>;
230
259
  }, z.core.$strip>, z.ZodObject<{
231
260
  type: z.ZodLiteral<"selectBox">;
232
261
  answer: z.ZodDefault<z.ZodString>;
233
262
  meta: z.ZodObject<{
234
263
  schemaVersion: z.ZodDefault<z.ZodString>;
235
264
  }, z.core.$strip>;
265
+ comment: z.ZodOptional<z.ZodString>;
236
266
  }, z.core.$strip>, z.ZodObject<{
237
267
  type: z.ZodLiteral<"text">;
238
268
  answer: z.ZodDefault<z.ZodString>;
239
269
  meta: z.ZodObject<{
240
270
  schemaVersion: z.ZodDefault<z.ZodString>;
241
271
  }, z.core.$strip>;
272
+ comment: z.ZodOptional<z.ZodString>;
242
273
  }, z.core.$strip>, z.ZodObject<{
243
274
  type: z.ZodLiteral<"textArea">;
244
275
  answer: z.ZodDefault<z.ZodString>;
245
276
  meta: z.ZodObject<{
246
277
  schemaVersion: z.ZodDefault<z.ZodString>;
247
278
  }, z.core.$strip>;
279
+ comment: z.ZodOptional<z.ZodString>;
248
280
  }, z.core.$strip>, z.ZodObject<{
249
281
  type: z.ZodLiteral<"url">;
250
282
  answer: z.ZodDefault<z.ZodString>;
251
283
  meta: z.ZodObject<{
252
284
  schemaVersion: z.ZodDefault<z.ZodString>;
253
285
  }, z.core.$strip>;
286
+ comment: z.ZodOptional<z.ZodString>;
254
287
  }, z.core.$strip>], "type">>;
255
288
  }, z.core.$strip>>;
256
289
  meta: z.ZodObject<{
257
290
  schemaVersion: z.ZodDefault<z.ZodString>;
258
291
  }, z.core.$strip>;
292
+ comment: z.ZodOptional<z.ZodString>;
259
293
  }, z.core.$strip>, z.ZodObject<{
260
294
  type: z.ZodLiteral<"text">;
261
295
  answer: z.ZodDefault<z.ZodString>;
262
296
  meta: z.ZodObject<{
263
297
  schemaVersion: z.ZodDefault<z.ZodString>;
264
298
  }, z.core.$strip>;
299
+ comment: z.ZodOptional<z.ZodString>;
265
300
  }, z.core.$strip>, z.ZodObject<{
266
301
  type: z.ZodLiteral<"textArea">;
267
302
  answer: z.ZodDefault<z.ZodString>;
268
303
  meta: z.ZodObject<{
269
304
  schemaVersion: z.ZodDefault<z.ZodString>;
270
305
  }, z.core.$strip>;
306
+ comment: z.ZodOptional<z.ZodString>;
271
307
  }, z.core.$strip>, z.ZodObject<{
272
308
  type: z.ZodLiteral<"url">;
273
309
  answer: z.ZodDefault<z.ZodString>;
274
310
  meta: z.ZodObject<{
275
311
  schemaVersion: z.ZodDefault<z.ZodString>;
276
312
  }, z.core.$strip>;
313
+ comment: z.ZodOptional<z.ZodString>;
277
314
  }, z.core.$strip>], "type">;
278
315
  export declare const AnyAnswerJSONSchema: z.core.JSONSchema.JSONSchema;
279
316
  export declare const AnswerSchemaMap: Record<z.infer<typeof QuestionFormatsEnum>, z.ZodTypeAny>;
@@ -5,6 +5,7 @@ export declare const CurrencyAnswerSchema: z.ZodObject<{
5
5
  meta: z.ZodObject<{
6
6
  schemaVersion: z.ZodDefault<z.ZodString>;
7
7
  }, z.core.$strip>;
8
+ comment: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  export declare const DefaultCurrencyAnswer: {
10
11
  type: "currency";
@@ -12,6 +13,7 @@ export declare const DefaultCurrencyAnswer: {
12
13
  meta: {
13
14
  schemaVersion: string;
14
15
  };
16
+ comment?: string | undefined;
15
17
  };
16
18
  export declare const NumberAnswerSchema: z.ZodObject<{
17
19
  type: z.ZodLiteral<"number">;
@@ -19,6 +21,7 @@ export declare const NumberAnswerSchema: z.ZodObject<{
19
21
  meta: z.ZodObject<{
20
22
  schemaVersion: z.ZodDefault<z.ZodString>;
21
23
  }, z.core.$strip>;
24
+ comment: z.ZodOptional<z.ZodString>;
22
25
  }, z.core.$strip>;
23
26
  export declare const DefaultNumberAnswer: {
24
27
  type: "number";
@@ -26,6 +29,7 @@ export declare const DefaultNumberAnswer: {
26
29
  meta: {
27
30
  schemaVersion: string;
28
31
  };
32
+ comment?: string | undefined;
29
33
  };
30
34
  export declare const NumberRangeAnswerSchema: z.ZodObject<{
31
35
  type: z.ZodLiteral<"numberRange">;
@@ -36,6 +40,7 @@ export declare const NumberRangeAnswerSchema: z.ZodObject<{
36
40
  meta: z.ZodObject<{
37
41
  schemaVersion: z.ZodDefault<z.ZodString>;
38
42
  }, z.core.$strip>;
43
+ comment: z.ZodOptional<z.ZodString>;
39
44
  }, z.core.$strip>;
40
45
  export declare const DefaultNumberRangeAnswer: {
41
46
  type: "numberRange";
@@ -46,6 +51,7 @@ export declare const DefaultNumberRangeAnswer: {
46
51
  meta: {
47
52
  schemaVersion: string;
48
53
  };
54
+ comment?: string | undefined;
49
55
  };
50
56
  export declare const NumberWithContextAnswerSchema: z.ZodObject<{
51
57
  type: z.ZodLiteral<"numberWithContext">;
@@ -56,6 +62,7 @@ export declare const NumberWithContextAnswerSchema: z.ZodObject<{
56
62
  meta: z.ZodObject<{
57
63
  schemaVersion: z.ZodDefault<z.ZodString>;
58
64
  }, z.core.$strip>;
65
+ comment: z.ZodOptional<z.ZodString>;
59
66
  }, z.core.$strip>;
60
67
  export declare const DefaultNumberWithContextAnswer: {
61
68
  type: "numberWithContext";
@@ -66,6 +73,7 @@ export declare const DefaultNumberWithContextAnswer: {
66
73
  meta: {
67
74
  schemaVersion: string;
68
75
  };
76
+ comment?: string | undefined;
69
77
  };
70
78
  export type CurrencyAnswerType = z.infer<typeof CurrencyAnswerSchema>;
71
79
  export type NumberAnswerType = z.infer<typeof NumberAnswerSchema>;
@@ -5,6 +5,7 @@ export declare const BooleanAnswerSchema: z.ZodObject<{
5
5
  meta: z.ZodObject<{
6
6
  schemaVersion: z.ZodDefault<z.ZodString>;
7
7
  }, z.core.$strip>;
8
+ comment: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  export declare const DefaultBooleanAnswer: {
10
11
  type: "boolean";
@@ -12,6 +13,7 @@ export declare const DefaultBooleanAnswer: {
12
13
  meta: {
13
14
  schemaVersion: string;
14
15
  };
16
+ comment?: string | undefined;
15
17
  };
16
18
  export declare const CheckboxesAnswerSchema: z.ZodObject<{
17
19
  type: z.ZodLiteral<"checkBoxes">;
@@ -19,6 +21,7 @@ export declare const CheckboxesAnswerSchema: z.ZodObject<{
19
21
  meta: z.ZodObject<{
20
22
  schemaVersion: z.ZodDefault<z.ZodString>;
21
23
  }, z.core.$strip>;
24
+ comment: z.ZodOptional<z.ZodString>;
22
25
  }, z.core.$strip>;
23
26
  export declare const DefaultCheckboxesAnswer: {
24
27
  type: "checkBoxes";
@@ -26,6 +29,7 @@ export declare const DefaultCheckboxesAnswer: {
26
29
  meta: {
27
30
  schemaVersion: string;
28
31
  };
32
+ comment?: string | undefined;
29
33
  };
30
34
  export declare const RadioButtonsAnswerSchema: z.ZodObject<{
31
35
  type: z.ZodLiteral<"radioButtons">;
@@ -33,6 +37,7 @@ export declare const RadioButtonsAnswerSchema: z.ZodObject<{
33
37
  meta: z.ZodObject<{
34
38
  schemaVersion: z.ZodDefault<z.ZodString>;
35
39
  }, z.core.$strip>;
40
+ comment: z.ZodOptional<z.ZodString>;
36
41
  }, z.core.$strip>;
37
42
  export declare const DefaultRadioButtonsAnswer: {
38
43
  type: "radioButtons";
@@ -40,6 +45,7 @@ export declare const DefaultRadioButtonsAnswer: {
40
45
  meta: {
41
46
  schemaVersion: string;
42
47
  };
48
+ comment?: string | undefined;
43
49
  };
44
50
  export declare const SelectBoxAnswerSchema: z.ZodObject<{
45
51
  type: z.ZodLiteral<"selectBox">;
@@ -47,6 +53,7 @@ export declare const SelectBoxAnswerSchema: z.ZodObject<{
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>;
51
58
  export declare const DefaultSelectBoxAnswer: {
52
59
  type: "selectBox";
@@ -54,6 +61,7 @@ export declare const DefaultSelectBoxAnswer: {
54
61
  meta: {
55
62
  schemaVersion: string;
56
63
  };
64
+ comment?: string | undefined;
57
65
  };
58
66
  export declare const MultiselectBoxAnswerSchema: z.ZodObject<{
59
67
  type: z.ZodLiteral<"multiselectBox">;
@@ -61,6 +69,7 @@ export declare const MultiselectBoxAnswerSchema: z.ZodObject<{
61
69
  meta: z.ZodObject<{
62
70
  schemaVersion: z.ZodDefault<z.ZodString>;
63
71
  }, z.core.$strip>;
72
+ comment: z.ZodOptional<z.ZodString>;
64
73
  }, z.core.$strip>;
65
74
  export declare const DefaultMultiselectBoxAnswer: {
66
75
  type: "multiselectBox";
@@ -68,6 +77,7 @@ export declare const DefaultMultiselectBoxAnswer: {
68
77
  meta: {
69
78
  schemaVersion: string;
70
79
  };
80
+ comment?: string | undefined;
71
81
  };
72
82
  export type BooleanAnswerType = z.infer<typeof BooleanAnswerSchema>;
73
83
  export type CheckboxesAnswerType = z.infer<typeof CheckboxesAnswerSchema>;