@dmptool/types 2.2.0 → 2.3.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.
- package/dist/answers/__tests__/answers.spec.js +27 -14
- package/dist/answers/__tests__/defaults.spec.js +2 -0
- package/dist/answers/index.d.ts +102 -0
- package/dist/answers/index.js +1 -0
- package/dist/answers/tableAnswers.d.ts +614 -136
- package/dist/answers/tableAnswers.js +43 -20
- package/dist/dmp/__tests__/commonStandard.spec.js +26 -22
- package/dist/dmp/__tests__/extensions.spec.js +21 -15
- package/dist/dmp/extension.d.ts +385 -92
- package/dist/dmp/extension.js +49 -103
- package/dist/dmp/index.d.ts +515 -2
- package/dist/dmp/index.js +11 -1
- package/dist/questions/__tests__/defaults.spec.js +20 -10
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +17 -12
- package/dist/questions/__tests__/tableQuestion.spec.js +5 -0
- package/dist/questions/index.d.ts +20 -7
- package/dist/questions/optionBasedQuestions.d.ts +8 -6
- package/dist/questions/optionBasedQuestions.js +21 -8
- package/dist/questions/tableQuestions.d.ts +54 -16
- package/dist/questions/tableQuestions.js +56 -19
- package/dist/schemas/anyAnswer.schema.json +514 -0
- package/dist/schemas/anyQuestion.schema.json +60 -35
- package/dist/schemas/anyTableColumnQuestion.schema.json +9 -10
- package/dist/schemas/checkboxesQuestion.schema.json +3 -0
- package/dist/schemas/dmpExtension.schema.json +636 -140
- package/dist/schemas/multiselectBoxQuestion.schema.json +3 -5
- package/dist/schemas/radioButtonsQuestion.schema.json +3 -5
- package/dist/schemas/researchOutputTableAnswer.schema.json +6047 -11983
- package/dist/schemas/selectBoxQuestion.schema.json +3 -5
- package/dist/schemas/tableQuestion.schema.json +9 -10
- package/package.json +1 -1
- package/schemas/anyAnswer.schema.json +514 -0
- package/schemas/anyQuestion.schema.json +60 -35
- package/schemas/anyTableColumnQuestion.schema.json +9 -10
- package/schemas/checkboxesQuestion.schema.json +3 -0
- package/schemas/dmpExtension.schema.json +636 -140
- package/schemas/multiselectBoxQuestion.schema.json +3 -5
- package/schemas/radioButtonsQuestion.schema.json +3 -5
- package/schemas/researchOutputTableAnswer.schema.json +6047 -11983
- package/schemas/selectBoxQuestion.schema.json +3 -5
- package/schemas/tableQuestion.schema.json +9 -10
|
@@ -60,15 +60,13 @@
|
|
|
60
60
|
"default": "a",
|
|
61
61
|
"type": "string"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"type": "boolean"
|
|
63
|
+
"description": {
|
|
64
|
+
"type": "string"
|
|
66
65
|
}
|
|
67
66
|
},
|
|
68
67
|
"required": [
|
|
69
68
|
"label",
|
|
70
|
-
"value"
|
|
71
|
-
"selected"
|
|
69
|
+
"value"
|
|
72
70
|
],
|
|
73
71
|
"additionalProperties": false
|
|
74
72
|
}
|
|
@@ -334,6 +334,9 @@
|
|
|
334
334
|
"default": "a",
|
|
335
335
|
"type": "string"
|
|
336
336
|
},
|
|
337
|
+
"description": {
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
337
340
|
"checked": {
|
|
338
341
|
"default": false,
|
|
339
342
|
"type": "boolean"
|
|
@@ -1186,15 +1189,13 @@
|
|
|
1186
1189
|
"default": "a",
|
|
1187
1190
|
"type": "string"
|
|
1188
1191
|
},
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1191
|
-
"type": "boolean"
|
|
1192
|
+
"description": {
|
|
1193
|
+
"type": "string"
|
|
1192
1194
|
}
|
|
1193
1195
|
},
|
|
1194
1196
|
"required": [
|
|
1195
1197
|
"label",
|
|
1196
|
-
"value"
|
|
1197
|
-
"selected"
|
|
1198
|
+
"value"
|
|
1198
1199
|
],
|
|
1199
1200
|
"additionalProperties": false
|
|
1200
1201
|
}
|
|
@@ -1411,15 +1412,13 @@
|
|
|
1411
1412
|
"default": "a",
|
|
1412
1413
|
"type": "string"
|
|
1413
1414
|
},
|
|
1414
|
-
"
|
|
1415
|
-
"
|
|
1416
|
-
"type": "boolean"
|
|
1415
|
+
"description": {
|
|
1416
|
+
"type": "string"
|
|
1417
1417
|
}
|
|
1418
1418
|
},
|
|
1419
1419
|
"required": [
|
|
1420
1420
|
"label",
|
|
1421
|
-
"value"
|
|
1422
|
-
"selected"
|
|
1421
|
+
"value"
|
|
1423
1422
|
],
|
|
1424
1423
|
"additionalProperties": false
|
|
1425
1424
|
}
|