@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
|
@@ -32,7 +32,7 @@ exports.FilteredSearchQuestionSchema = question_1.QuestionSchema.merge(zod_1.z.o
|
|
|
32
32
|
graphQL: GraphQLQuery, // The GraphQL query options for the filtered search
|
|
33
33
|
attributes: zod_1.z.object({
|
|
34
34
|
multiple: zod_1.z.boolean().optional() // Whether to allow multiple selections (default is true)
|
|
35
|
-
})
|
|
35
|
+
}).optional()
|
|
36
36
|
}));
|
|
37
37
|
// Typeahead search question and answer
|
|
38
38
|
exports.TypeaheadSearchQuestionSchema = question_1.QuestionSchema.merge(zod_1.z.object({
|