feat: add multi choice submission logic

This commit is contained in:
2026-08-21 10:25:33 +03:30
parent ca88e6994e
commit 2e146e52b5
12 changed files with 262 additions and 22 deletions
+3 -1
View File
@@ -4,7 +4,8 @@
"questionId": "Question's Id",
"submission": "Submission",
"submissionId": "Submission's Id",
"choiceId": "Choice's Id"
"choiceId": "Choice's Id",
"choiceIds": "Choice Ids list"
},
"errors": {
"alreadyTookTest": "You already took this test.",
@@ -12,6 +13,7 @@
"emptyNumericValue": "A numeric value should be provided as answer.",
"numericValueRange": "Numeric value is out of specified range.",
"emptyChoiceId": "Choice Id should be provided as answer.",
"emptyChoiceIds": "Choice Ids should be provided as answer.",
"transitionNotFound": "No transition found for the test",
"uniqueSubmissionQuestion": "Question's Answer already exists."
}