@dmptool/types 2.1.0 → 2.2.1
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/README.md +70 -1
- package/dist/answers/__tests__/defaults.spec.js +80 -21
- package/dist/answers/answer.d.ts +2 -0
- package/dist/answers/answer.js +4 -2
- package/dist/answers/dateAnswers.d.ts +4 -0
- package/dist/answers/graphQLAnswers.d.ts +8 -0
- package/dist/answers/index.d.ts +37 -0
- package/dist/answers/numberAnswers.d.ts +8 -0
- package/dist/answers/optionBasedAnswers.d.ts +10 -0
- package/dist/answers/tableAnswers.d.ts +94 -0
- package/dist/answers/textAnswers.d.ts +8 -0
- package/dist/dmp/extension.d.ts +111 -0
- package/dist/dmp/index.js +48 -2
- package/dist/questions/__tests__/defaults.spec.js +12 -12
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +25 -16
- package/dist/questions/dateQuestions.d.ts +4 -0
- package/dist/questions/dateQuestions.js +2 -2
- package/dist/questions/index.d.ts +38 -7
- package/dist/questions/numberQuestions.d.ts +8 -0
- package/dist/questions/numberQuestions.js +4 -4
- package/dist/questions/optionBasedQuestions.d.ts +18 -6
- package/dist/questions/optionBasedQuestions.js +23 -10
- package/dist/questions/tableQuestions.d.ts +94 -16
- package/dist/questions/tableQuestions.js +9 -9
- package/dist/questions/textQuestions.d.ts +4 -0
- package/dist/questions/textQuestions.js +2 -2
- package/dist/schemas/affiliationSearchAnswer.schema.json +3 -0
- package/dist/schemas/anyAnswer.schema.json +111 -0
- package/dist/schemas/anyQuestion.schema.json +114 -35
- package/dist/schemas/anyTableColumnAnswer.schema.json +54 -0
- package/dist/schemas/anyTableColumnQuestion.schema.json +42 -10
- package/dist/schemas/booleanAnswer.schema.json +3 -0
- package/dist/schemas/booleanQuestion.schema.json +3 -0
- package/dist/schemas/checkboxesAnswer.schema.json +3 -0
- package/dist/schemas/checkboxesQuestion.schema.json +6 -0
- package/dist/schemas/currencyAnswer.schema.json +3 -0
- package/dist/schemas/currencyQuestion.schema.json +3 -0
- package/dist/schemas/dateAnswer.schema.json +3 -0
- package/dist/schemas/dateQuestion.schema.json +3 -0
- package/dist/schemas/dateRangeAnswer.schema.json +3 -0
- package/dist/schemas/dateRangeQuestion.schema.json +3 -0
- package/dist/schemas/dmpExtension.schema.json +111 -0
- package/dist/schemas/emailAnswer.schema.json +3 -0
- package/dist/schemas/emailQuestion.schema.json +3 -0
- package/dist/schemas/licenseSearchAnswer.schema.json +3 -0
- package/dist/schemas/metadataStandardSearchAnswer.schema.json +3 -0
- package/dist/schemas/multiselectBoxAnswer.schema.json +3 -0
- package/dist/schemas/multiselectBoxQuestion.schema.json +6 -5
- package/dist/schemas/numberAnswer.schema.json +3 -0
- package/dist/schemas/numberQuestion.schema.json +3 -0
- package/dist/schemas/numberRangeAnswer.schema.json +3 -0
- package/dist/schemas/numberRangeQuestion.schema.json +3 -0
- package/dist/schemas/numberWithContextAnswer.schema.json +3 -0
- package/dist/schemas/numberWithContextQuestion.schema.json +3 -0
- package/dist/schemas/radioButtonsAnswer.schema.json +3 -0
- package/dist/schemas/radioButtonsQuestion.schema.json +6 -5
- package/dist/schemas/repositorySearchAnswer.schema.json +3 -0
- package/dist/schemas/researchOutputTableAnswer.schema.json +3344 -9
- package/dist/schemas/selectBoxAnswer.schema.json +3 -0
- package/dist/schemas/selectBoxQuestion.schema.json +6 -5
- package/dist/schemas/tableAnswer.schema.json +57 -0
- package/dist/schemas/tableQuestion.schema.json +42 -10
- package/dist/schemas/textAnswer.schema.json +3 -0
- package/dist/schemas/textAreaAnswer.schema.json +3 -0
- package/dist/schemas/urlAnswer.schema.json +3 -0
- package/dist/schemas/urlQuestion.schema.json +3 -0
- package/package.json +9 -4
- package/schemas/.placeholder +0 -0
- package/schemas/affiliationSearchAnswer.schema.json +50 -0
- package/schemas/affiliationSearchQuestion.schema.json +142 -0
- package/schemas/anyAnswer.schema.json +1537 -0
- package/schemas/anyQuestion.schema.json +4823 -0
- package/schemas/anyTableColumnAnswer.schema.json +741 -0
- package/schemas/anyTableColumnQuestion.schema.json +1559 -0
- package/schemas/booleanAnswer.schema.json +36 -0
- package/schemas/booleanQuestion.schema.json +55 -0
- package/schemas/checkboxesAnswer.schema.json +41 -0
- package/schemas/checkboxesQuestion.schema.json +83 -0
- package/schemas/currencyAnswer.schema.json +36 -0
- package/schemas/currencyQuestion.schema.json +73 -0
- package/schemas/dateAnswer.schema.json +36 -0
- package/schemas/datePickerAnswer.schema.json +37 -0
- package/schemas/datePickerQuestion.schema.json +52 -0
- package/schemas/dateQuestion.schema.json +66 -0
- package/schemas/dateRangeAnswer.schema.json +50 -0
- package/schemas/dateRangeQuestion.schema.json +124 -0
- package/schemas/dmp.schema.json +2070 -0
- package/schemas/dmpExtension.schema.json +1985 -0
- package/schemas/emailAnswer.schema.json +36 -0
- package/schemas/emailQuestion.schema.json +71 -0
- package/schemas/filteredSearchAnswer.schema.json +40 -0
- package/schemas/filteredSearchQuestion.schema.json +130 -0
- package/schemas/licenseSearchAnswer.schema.json +54 -0
- package/schemas/licenseSearchQuestion.schema.json +140 -0
- package/schemas/metadataStandardSearchAnswer.schema.json +54 -0
- package/schemas/metadataStandardSearchQuestion.schema.json +141 -0
- package/schemas/multiselectBoxAnswer.schema.json +41 -0
- package/schemas/multiselectBoxQuestion.schema.json +85 -0
- package/schemas/numberAnswer.schema.json +36 -0
- package/schemas/numberQuestion.schema.json +68 -0
- package/schemas/numberRangeAnswer.schema.json +50 -0
- package/schemas/numberRangeQuestion.schema.json +128 -0
- package/schemas/numberWithContextAnswer.schema.json +50 -0
- package/schemas/numberWithContextQuestion.schema.json +98 -0
- package/schemas/radioButtonsAnswer.schema.json +36 -0
- package/schemas/radioButtonsQuestion.schema.json +78 -0
- package/schemas/repositorySearchAnswer.schema.json +54 -0
- package/schemas/repositorySearchQuestion.schema.json +140 -0
- package/schemas/researchOutputTableAnswer.schema.json +20065 -0
- package/schemas/researchOutputTableQuestion.schema.json +140 -0
- package/schemas/selectBoxAnswer.schema.json +36 -0
- package/schemas/selectBoxQuestion.schema.json +85 -0
- package/schemas/tableAnswer.schema.json +797 -0
- package/schemas/tableQuestion.schema.json +1661 -0
- package/schemas/textAnswer.schema.json +36 -0
- package/schemas/textAreaAnswer.schema.json +36 -0
- package/schemas/textAreaQuestion.schema.json +78 -0
- package/schemas/textQuestion.schema.json +63 -0
- package/schemas/typeaheadSearchAnswer.schema.json +37 -0
- package/schemas/typeaheadSearchQuestion.schema.json +120 -0
- package/schemas/urlAnswer.schema.json +36 -0
- package/schemas/urlQuestion.schema.json +66 -0
|
@@ -60,18 +60,19 @@
|
|
|
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
|
}
|
|
73
|
+
},
|
|
74
|
+
"showCommentField": {
|
|
75
|
+
"type": "boolean"
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
78
|
"required": [
|
|
@@ -53,18 +53,19 @@
|
|
|
53
53
|
"default": "a",
|
|
54
54
|
"type": "string"
|
|
55
55
|
},
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"type": "boolean"
|
|
56
|
+
"description": {
|
|
57
|
+
"type": "string"
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
"required": [
|
|
62
61
|
"label",
|
|
63
|
-
"value"
|
|
64
|
-
"selected"
|
|
62
|
+
"value"
|
|
65
63
|
],
|
|
66
64
|
"additionalProperties": false
|
|
67
65
|
}
|
|
66
|
+
},
|
|
67
|
+
"showCommentField": {
|
|
68
|
+
"type": "boolean"
|
|
68
69
|
}
|
|
69
70
|
},
|
|
70
71
|
"required": [
|