@dmptool/types 1.0.5 → 1.0.7
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 +5 -4
- package/dist/answers/__tests__/answers.spec.js +59 -7
- package/dist/answers/answer.d.ts +3 -3
- package/dist/answers/dateAnswers.d.ts +5 -5
- package/dist/answers/dateAnswers.js +3 -3
- package/dist/answers/index.d.ts +892 -513
- package/dist/answers/index.js +3 -2
- package/dist/answers/primitiveAnswers.d.ts +39 -0
- package/dist/answers/primitiveAnswers.js +8 -1
- package/dist/answers/tableAnswers.d.ts +1639 -32
- package/dist/answers/tableAnswers.js +10 -3
- package/dist/questions/__tests__/dateQuestions.spec.js +20 -20
- package/dist/questions/__tests__/primitiveQuestions.spec.js +92 -0
- package/dist/questions/__tests__/tableQuestion.spec.d.ts +1 -0
- package/dist/questions/__tests__/tableQuestion.spec.js +73 -0
- package/dist/questions/dateQuestions.d.ts +19 -19
- package/dist/questions/dateQuestions.js +8 -8
- package/dist/questions/graphQLQuestions.d.ts +20 -20
- package/dist/questions/graphQLQuestions.js +1 -1
- package/dist/questions/index.d.ts +1875 -1380
- package/dist/questions/index.js +3 -2
- package/dist/questions/optionBasedQuestions.js +1 -1
- package/dist/questions/primitiveQuestions.d.ts +214 -0
- package/dist/questions/primitiveQuestions.js +20 -3
- package/dist/questions/question.d.ts +4 -4
- package/dist/questions/question.js +2 -1
- package/dist/questions/tableQuestions.d.ts +2176 -145
- package/dist/questions/tableQuestions.js +7 -3
- package/dist/schemas/anyAnswer.schema.json +144 -119
- package/dist/schemas/anyQuestion.schema.json +161 -132
- package/dist/schemas/anyTableColumnAnswer.schema.json +1 -1
- package/dist/schemas/anyTableColumnQuestion.schema.json +20 -3
- package/dist/schemas/currencyQuestion.schema.json +10 -0
- package/dist/schemas/dateAnswer.schema.json +37 -0
- package/dist/schemas/datePickerAnswer.schema.json +4 -4
- package/dist/schemas/datePickerQuestion.schema.json +6 -5
- package/dist/schemas/dateQuestion.schema.json +51 -0
- package/dist/schemas/dateRangeQuestion.schema.json +1 -1
- package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
- package/dist/schemas/numberRangeAnswer.schema.json +50 -0
- package/dist/schemas/numberRangeQuestion.schema.json +106 -0
- package/dist/schemas/tableAnswer.schema.json +349 -324
- package/dist/schemas/tableQuestion.schema.json +497 -468
- package/dist/schemas/textAreaQuestion.schema.json +10 -0
- package/package.json +1 -1
|
@@ -11,10 +11,20 @@
|
|
|
11
11
|
"meta": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"const": "1.0"
|
|
17
|
+
},
|
|
18
|
+
"labelTranslationKey": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
14
21
|
"asRichText": {
|
|
15
22
|
"type": "boolean"
|
|
16
23
|
}
|
|
17
24
|
},
|
|
25
|
+
"required": [
|
|
26
|
+
"schemaVersion"
|
|
27
|
+
],
|
|
18
28
|
"additionalProperties": false
|
|
19
29
|
},
|
|
20
30
|
"attributes": {
|