Enhance role management by adding 'title' property to CreateRoleDto, UpdateRoleDto, and Role entity; update RoleService to handle title in create and update operations; modify DatabaseSeeder to include titles for predefined roles.

This commit is contained in:
2025-11-18 10:24:45 +03:30
parent 7bc94b4126
commit 6f22dddcec
7 changed files with 342 additions and 8 deletions
+2 -1
View File
@@ -34,6 +34,7 @@
"@mikro-orm/postgresql": "^6.5.8",
"@nest-lab/fastify-multer": "^1.3.0",
"@nestjs/axios": "^4.0.1",
"@nestjs/bullmq": "^11.0.4",
"@nestjs/cache-manager": "^3.0.1",
"@nestjs/common": "^11.0.1",
"@nestjs/config": "^4.0.2",
@@ -55,10 +56,10 @@
"ulid": "^3.0.1"
},
"devDependencies": {
"@mikro-orm/seeder": "^6.5.8",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@mikro-orm/cli": "^6.5.8",
"@mikro-orm/seeder": "^6.5.8",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",