feat: add admin module

This commit is contained in:
2026-06-01 14:45:01 +03:30
parent 7dda2564a8
commit 967b96184a
30 changed files with 335 additions and 30 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
"wrongPhoneOrPass": "Entered phone number or password is wrong.",
"unauthorized": "Unauthorized access",
"tokenReuse": "Token reuse detected.",
"invalidOTP": "OTP is invalid or expired."
"invalidOTP": "OTP is invalid or expired.",
"accessDenied": "Access denied. You do not have the required permissions to perform this action."
},
"messages": {
"otpSent": "OTP sent to {phone}.",
+15
View File
@@ -0,0 +1,15 @@
{
"fields": {
"title": "Title",
"description": "Description",
"accessType": "Access Type",
"price": "Price",
"isActive": "Is Active"
},
"errors": {
"intPrice": "Price should be an integer."
},
"messages": {
"createSuccess": "Test Created Successfully."
}
}
+3 -1
View File
@@ -3,5 +3,7 @@
"minLengthField": "{field} should contain atleast {min} characters.",
"maxLengthField": "{field} should contain maximum {max} characters.",
"wrongField": "{field} is not correct.",
"fieldsMustMatch": "{field1} must match {field2}"
"wrongFieldFormat": "{field} format is wrong.",
"fieldsMustMatch": "{field1} must match {field2}.",
"duplicateField": "{field} already exists."
}