Complete question transition validation

This commit is contained in:
2026-08-02 16:52:59 +03:30
parent 779565b555
commit a3b7c70999
6 changed files with 266 additions and 19 deletions
+18 -1
View File
@@ -22,7 +22,24 @@
"questionTransition": {
"sameQuestion": "fromQuestion and toQuestion are the same",
"fromQuestionNotBelongToTest": "fromQuestion doesnt belong to the test.",
"toQuestionNotBelongToTest": "toQuestion doesnt belong to the test."
"toQuestionNotBelongToTest": "toQuestion doesnt belong to the test.",
"startMustNotHaveFromQuestion": "Start must not have fromQuestion.",
"startMustHaveToQuestion": "Start must have toQuestion.",
"startMustNotHaveCondition": "Start must not have condition.",
"endMustHaveFromQuestion": "End must have fromQuestion.",
"endMustNotHaveToQuestion": "End must not have toQuestion.",
"endMustNotHaveCondition": "End must not have condition.",
"invalidTransition": "Invalid Transition!",
"defaultMustNotHaveCondition": "Default must not have condition.",
"fromQuestionMustBeMultiChoice": "fromQuestion must be multi choice.",
"invalidChoiceCondition": "Invalid choice condition!",
"choiceNotBelongToQuestion": "Choice does not belong to the question.",
"fromQuestionMustBeNumeric": "fromQuestion must be numeric.",
"invalidNumberRange": "Invalid number range!",
"startAlreadyExists": "Start already exists.",
"endAlreadyExists": "End already exists.",
"defaultAlreadyExists": "Default already exists.",
"duplicateTransition": "Duplicate Transition!"
}
},
"messages": {