feat: add i18n persistence model

This commit is contained in:
poyrazavsever
2026-07-19 03:06:47 +03:00
parent f4a2342ac4
commit 805beccf95
11 changed files with 4670 additions and 3 deletions
+2
View File
@@ -1,5 +1,6 @@
export type DomainErrorCode =
| "VALIDATION_ERROR"
| "UNSUPPORTED_LOCALE"
| "UNAUTHENTICATED"
| "FORBIDDEN"
| "NOT_FOUND"
@@ -11,6 +12,7 @@ export type DomainErrorCode =
const statusByCode: Record<DomainErrorCode, number> = {
VALIDATION_ERROR: 400,
UNSUPPORTED_LOCALE: 400,
UNAUTHENTICATED: 401,
FORBIDDEN: 403,
NOT_FOUND: 404,