feat: add choices entity admin crud

This commit is contained in:
2026-06-17 11:11:26 +03:30
parent 0eea63fec1
commit 1e8036abca
31 changed files with 805 additions and 201 deletions
+7 -1
View File
@@ -2,6 +2,12 @@
"errors": {
"internalServerError": "Internal Server Error",
"tooManyRequests": "Too many requests! Try again after {minutes} min.",
"requestTimeout": "Unable to process your request at the moment."
"requestTimeout": "Unable to process your request at the moment.",
"entityNotFound": "{entity} not found."
},
"messages": {
"createSuccess": "{entity} created successfully.",
"updateSuccess": "Changes were made successfully.",
"deleteSuccess": "{entity} deleted successfully."
}
}
+8 -4
View File
@@ -5,13 +5,17 @@
"content": "Content",
"order": "Order",
"required": "Required",
"metadata": "Metadata"
"metadata": "Metadata",
"question": "Question",
"text": "Text",
"value": "Value",
"choice": "Choice"
},
"errors": {
"uniqueOrderConstraint": "Order value should be unique.",
"questionNotFound": "Question not found."
"uniqueOrderConstraint": "Order value should be unique."
},
"messages": {
"createSuccess": "Question Created Successfully."
"createSuccess": "Question Created Successfully.",
"choiceCreateSuccess": "Choice Created Successfully."
}
}
+2 -2
View File
@@ -4,11 +4,11 @@
"description": "Description",
"accessType": "Access Type",
"price": "Price",
"isActive": "Is Active"
"isActive": "Is Active",
"test": "Test"
},
"errors": {
"intPrice": "Price should be an integer.",
"testNotFound": "Test not found.",
"priceAccessConstraint": "Test's price depends on access type of 'Paid'."
},
"messages": {