feat: add class-transformer dependency for better data transformation

refactor(prisma): update User model to include banned status and ban details

refactor(prisma): modify Account model to include new authentication fields

refactor(prisma): enhance Session model with impersonation tracking

refactor(prisma): adjust Verification model to include value field

feat(auth): integrate admin plugin and enhance email verification process

refactor(category): enforce ownership checks in category service methods

refactor(item): update item service to validate category ownership

feat(item): add ability to fetch items by category

refactor(restaurant): implement ownership checks and admin routes in restaurant controller

fix(user): restrict user access to admin routes

feat(exception): implement global exception filter for consistent error handling
This commit is contained in:
2025-11-09 21:47:18 +03:00
parent f0948a5b05
commit 04b7c41abf
21 changed files with 678 additions and 173 deletions
+1
View File
@@ -26,6 +26,7 @@
"@prisma/client": "^6.18.0",
"@thallesp/nestjs-better-auth": "^2.1.0",
"better-auth": "^1.3.8",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"jose": "3.16.0",
"reflect-metadata": "^0.2.2",