@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
|
@@ -250,6 +250,9 @@
|
|
|
250
250
|
"default": "a",
|
|
251
251
|
"type": "string"
|
|
252
252
|
},
|
|
253
|
+
"description": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
253
256
|
"checked": {
|
|
254
257
|
"default": false,
|
|
255
258
|
"type": "boolean"
|
|
@@ -945,15 +948,13 @@
|
|
|
945
948
|
"default": "a",
|
|
946
949
|
"type": "string"
|
|
947
950
|
},
|
|
948
|
-
"
|
|
949
|
-
"
|
|
950
|
-
"type": "boolean"
|
|
951
|
+
"description": {
|
|
952
|
+
"type": "string"
|
|
951
953
|
}
|
|
952
954
|
},
|
|
953
955
|
"required": [
|
|
954
956
|
"label",
|
|
955
|
-
"value"
|
|
956
|
-
"selected"
|
|
957
|
+
"value"
|
|
957
958
|
],
|
|
958
959
|
"additionalProperties": false
|
|
959
960
|
}
|
|
@@ -1218,15 +1219,13 @@
|
|
|
1218
1219
|
"default": "a",
|
|
1219
1220
|
"type": "string"
|
|
1220
1221
|
},
|
|
1221
|
-
"
|
|
1222
|
-
"
|
|
1223
|
-
"type": "boolean"
|
|
1222
|
+
"description": {
|
|
1223
|
+
"type": "string"
|
|
1224
1224
|
}
|
|
1225
1225
|
},
|
|
1226
1226
|
"required": [
|
|
1227
1227
|
"label",
|
|
1228
|
-
"value"
|
|
1229
|
-
"selected"
|
|
1228
|
+
"value"
|
|
1230
1229
|
],
|
|
1231
1230
|
"additionalProperties": false
|
|
1232
1231
|
}
|
|
@@ -1530,6 +1529,9 @@
|
|
|
1530
1529
|
"meta"
|
|
1531
1530
|
],
|
|
1532
1531
|
"additionalProperties": false
|
|
1532
|
+
},
|
|
1533
|
+
"commonStandardId": {
|
|
1534
|
+
"type": "string"
|
|
1533
1535
|
}
|
|
1534
1536
|
},
|
|
1535
1537
|
"required": [
|
|
@@ -1636,6 +1638,9 @@
|
|
|
1636
1638
|
"meta"
|
|
1637
1639
|
],
|
|
1638
1640
|
"additionalProperties": false
|
|
1641
|
+
},
|
|
1642
|
+
"commonStandardId": {
|
|
1643
|
+
"type": "string"
|
|
1639
1644
|
}
|
|
1640
1645
|
},
|
|
1641
1646
|
"required": [
|
|
@@ -1727,15 +1732,13 @@
|
|
|
1727
1732
|
"default": "a",
|
|
1728
1733
|
"type": "string"
|
|
1729
1734
|
},
|
|
1730
|
-
"
|
|
1731
|
-
"
|
|
1732
|
-
"type": "boolean"
|
|
1735
|
+
"description": {
|
|
1736
|
+
"type": "string"
|
|
1733
1737
|
}
|
|
1734
1738
|
},
|
|
1735
1739
|
"required": [
|
|
1736
1740
|
"label",
|
|
1737
|
-
"value"
|
|
1738
|
-
"selected"
|
|
1741
|
+
"value"
|
|
1739
1742
|
],
|
|
1740
1743
|
"additionalProperties": false
|
|
1741
1744
|
}
|
|
@@ -1751,6 +1754,9 @@
|
|
|
1751
1754
|
"options"
|
|
1752
1755
|
],
|
|
1753
1756
|
"additionalProperties": false
|
|
1757
|
+
},
|
|
1758
|
+
"commonStandardId": {
|
|
1759
|
+
"type": "string"
|
|
1754
1760
|
}
|
|
1755
1761
|
},
|
|
1756
1762
|
"required": [
|
|
@@ -1835,6 +1841,9 @@
|
|
|
1835
1841
|
"default": "a",
|
|
1836
1842
|
"type": "string"
|
|
1837
1843
|
},
|
|
1844
|
+
"description": {
|
|
1845
|
+
"type": "string"
|
|
1846
|
+
},
|
|
1838
1847
|
"checked": {
|
|
1839
1848
|
"default": false,
|
|
1840
1849
|
"type": "boolean"
|
|
@@ -1859,6 +1868,9 @@
|
|
|
1859
1868
|
"options"
|
|
1860
1869
|
],
|
|
1861
1870
|
"additionalProperties": false
|
|
1871
|
+
},
|
|
1872
|
+
"commonStandardId": {
|
|
1873
|
+
"type": "string"
|
|
1862
1874
|
}
|
|
1863
1875
|
},
|
|
1864
1876
|
"required": [
|
|
@@ -1943,15 +1955,13 @@
|
|
|
1943
1955
|
"default": "a",
|
|
1944
1956
|
"type": "string"
|
|
1945
1957
|
},
|
|
1946
|
-
"
|
|
1947
|
-
"
|
|
1948
|
-
"type": "boolean"
|
|
1958
|
+
"description": {
|
|
1959
|
+
"type": "string"
|
|
1949
1960
|
}
|
|
1950
1961
|
},
|
|
1951
1962
|
"required": [
|
|
1952
1963
|
"label",
|
|
1953
|
-
"value"
|
|
1954
|
-
"selected"
|
|
1964
|
+
"value"
|
|
1955
1965
|
],
|
|
1956
1966
|
"additionalProperties": false
|
|
1957
1967
|
}
|
|
@@ -1967,6 +1977,9 @@
|
|
|
1967
1977
|
"options"
|
|
1968
1978
|
],
|
|
1969
1979
|
"additionalProperties": false
|
|
1980
|
+
},
|
|
1981
|
+
"commonStandardId": {
|
|
1982
|
+
"type": "string"
|
|
1970
1983
|
}
|
|
1971
1984
|
},
|
|
1972
1985
|
"required": [
|
|
@@ -2061,6 +2074,9 @@
|
|
|
2061
2074
|
"meta"
|
|
2062
2075
|
],
|
|
2063
2076
|
"additionalProperties": false
|
|
2077
|
+
},
|
|
2078
|
+
"commonStandardId": {
|
|
2079
|
+
"type": "string"
|
|
2064
2080
|
}
|
|
2065
2081
|
},
|
|
2066
2082
|
"required": [
|
|
@@ -2187,6 +2203,9 @@
|
|
|
2187
2203
|
"meta"
|
|
2188
2204
|
],
|
|
2189
2205
|
"additionalProperties": false
|
|
2206
|
+
},
|
|
2207
|
+
"commonStandardId": {
|
|
2208
|
+
"type": "string"
|
|
2190
2209
|
}
|
|
2191
2210
|
},
|
|
2192
2211
|
"required": [
|
|
@@ -2356,6 +2375,9 @@
|
|
|
2356
2375
|
],
|
|
2357
2376
|
"additionalProperties": false
|
|
2358
2377
|
},
|
|
2378
|
+
"commonStandardId": {
|
|
2379
|
+
"type": "string"
|
|
2380
|
+
},
|
|
2359
2381
|
"preferences": {
|
|
2360
2382
|
"default": [],
|
|
2361
2383
|
"type": "array",
|
|
@@ -2548,6 +2570,9 @@
|
|
|
2548
2570
|
],
|
|
2549
2571
|
"additionalProperties": false
|
|
2550
2572
|
},
|
|
2573
|
+
"commonStandardId": {
|
|
2574
|
+
"type": "string"
|
|
2575
|
+
},
|
|
2551
2576
|
"preferences": {
|
|
2552
2577
|
"default": [],
|
|
2553
2578
|
"type": "array",
|
|
@@ -2739,6 +2764,9 @@
|
|
|
2739
2764
|
],
|
|
2740
2765
|
"additionalProperties": false
|
|
2741
2766
|
},
|
|
2767
|
+
"commonStandardId": {
|
|
2768
|
+
"type": "string"
|
|
2769
|
+
},
|
|
2742
2770
|
"preferences": {
|
|
2743
2771
|
"default": [],
|
|
2744
2772
|
"type": "array",
|
|
@@ -2934,15 +2962,13 @@
|
|
|
2934
2962
|
"default": "a",
|
|
2935
2963
|
"type": "string"
|
|
2936
2964
|
},
|
|
2937
|
-
"
|
|
2938
|
-
"
|
|
2939
|
-
"type": "boolean"
|
|
2965
|
+
"description": {
|
|
2966
|
+
"type": "string"
|
|
2940
2967
|
}
|
|
2941
2968
|
},
|
|
2942
2969
|
"required": [
|
|
2943
2970
|
"label",
|
|
2944
|
-
"value"
|
|
2945
|
-
"selected"
|
|
2971
|
+
"value"
|
|
2946
2972
|
],
|
|
2947
2973
|
"additionalProperties": false
|
|
2948
2974
|
}
|
|
@@ -3294,6 +3320,9 @@
|
|
|
3294
3320
|
"default": "a",
|
|
3295
3321
|
"type": "string"
|
|
3296
3322
|
},
|
|
3323
|
+
"description": {
|
|
3324
|
+
"type": "string"
|
|
3325
|
+
},
|
|
3297
3326
|
"checked": {
|
|
3298
3327
|
"default": false,
|
|
3299
3328
|
"type": "boolean"
|
|
@@ -4146,15 +4175,13 @@
|
|
|
4146
4175
|
"default": "a",
|
|
4147
4176
|
"type": "string"
|
|
4148
4177
|
},
|
|
4149
|
-
"
|
|
4150
|
-
"
|
|
4151
|
-
"type": "boolean"
|
|
4178
|
+
"description": {
|
|
4179
|
+
"type": "string"
|
|
4152
4180
|
}
|
|
4153
4181
|
},
|
|
4154
4182
|
"required": [
|
|
4155
4183
|
"label",
|
|
4156
|
-
"value"
|
|
4157
|
-
"selected"
|
|
4184
|
+
"value"
|
|
4158
4185
|
],
|
|
4159
4186
|
"additionalProperties": false
|
|
4160
4187
|
}
|
|
@@ -4371,15 +4398,13 @@
|
|
|
4371
4398
|
"default": "a",
|
|
4372
4399
|
"type": "string"
|
|
4373
4400
|
},
|
|
4374
|
-
"
|
|
4375
|
-
"
|
|
4376
|
-
"type": "boolean"
|
|
4401
|
+
"description": {
|
|
4402
|
+
"type": "string"
|
|
4377
4403
|
}
|
|
4378
4404
|
},
|
|
4379
4405
|
"required": [
|
|
4380
4406
|
"label",
|
|
4381
|
-
"value"
|
|
4382
|
-
"selected"
|
|
4407
|
+
"value"
|
|
4383
4408
|
],
|
|
4384
4409
|
"additionalProperties": false
|
|
4385
4410
|
}
|
|
@@ -250,6 +250,9 @@
|
|
|
250
250
|
"default": "a",
|
|
251
251
|
"type": "string"
|
|
252
252
|
},
|
|
253
|
+
"description": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
253
256
|
"checked": {
|
|
254
257
|
"default": false,
|
|
255
258
|
"type": "boolean"
|
|
@@ -1102,15 +1105,13 @@
|
|
|
1102
1105
|
"default": "a",
|
|
1103
1106
|
"type": "string"
|
|
1104
1107
|
},
|
|
1105
|
-
"
|
|
1106
|
-
"
|
|
1107
|
-
"type": "boolean"
|
|
1108
|
+
"description": {
|
|
1109
|
+
"type": "string"
|
|
1108
1110
|
}
|
|
1109
1111
|
},
|
|
1110
1112
|
"required": [
|
|
1111
1113
|
"label",
|
|
1112
|
-
"value"
|
|
1113
|
-
"selected"
|
|
1114
|
+
"value"
|
|
1114
1115
|
],
|
|
1115
1116
|
"additionalProperties": false
|
|
1116
1117
|
}
|
|
@@ -1327,15 +1328,13 @@
|
|
|
1327
1328
|
"default": "a",
|
|
1328
1329
|
"type": "string"
|
|
1329
1330
|
},
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
"type": "boolean"
|
|
1331
|
+
"description": {
|
|
1332
|
+
"type": "string"
|
|
1333
1333
|
}
|
|
1334
1334
|
},
|
|
1335
1335
|
"required": [
|
|
1336
1336
|
"label",
|
|
1337
|
-
"value"
|
|
1338
|
-
"selected"
|
|
1337
|
+
"value"
|
|
1339
1338
|
],
|
|
1340
1339
|
"additionalProperties": false
|
|
1341
1340
|
}
|