Commit Graph

17 Commits

Author SHA1 Message Date
morteza cfc0366eca get rest admina 2025-12-29 15:20:00 +03:30
morteza 9b409f3e07 get admins, get system roles, 2025-12-28 10:26:24 +03:30
morteza c25a5afe01 lint 2025-12-13 11:14:18 +03:30
morteza 249e7f7581 update notif 2025-12-12 21:28:46 +03:30
morteza 01631c147a normalize phone 2025-12-06 22:42:26 +03:30
morteza bd8c64f7c4 isSystem: false 2025-11-24 20:39:23 +03:30
morteza 9996ea3b09 update auth 2025-11-24 16:08:16 +03:30
morteza e79040d81e fix bug in admin 2025-11-24 11:34:54 +03:30
morteza 08e2da0e5c shipment methods 2025-11-23 16:16:10 +03:30
morteza d894bae756 shipment methods 2025-11-23 15:25:36 +03:30
morteza a3f0593443 update 2025-11-23 14:48:58 +03:30
morteza 7dd1b61cac update admin 2025-11-23 12:22:17 +03:30
morteza 8a217f6034 Add AdminId decorator for extracting adminId from requests; refactor AdminController to utilize new decorator for fetching admin details and restaurant-specific admins; update AdminService to handle admin creation and retrieval by restaurant; remove unused role and permission entities for cleaner architecture. 2025-11-18 16:45:44 +03:30
morteza 9abab789fc Refactor Admin module by removing role and permission controllers, services, and DTOs; update imports to utilize Roles module for role and permission entities; adjust AdminService and AdminModule accordingly. 2025-11-18 15:43:24 +03:30
morteza 2da66cdd86 Implement 'getMe' endpoint in AdminController to retrieve current admin details; update AdminService to return transformed admin details and adjust findById method for improved data handling. Remove unused user profile retrieval method from AdminUserController. 2025-11-18 10:58:28 +03:30
morteza 607e2ec2cf Enhance AdminService with caching for admin permissions and add UtilsModule to AdminModule imports 2025-11-17 23:59:57 +03:30
morteza 7bd2b59cb1 Refactor admin module structure: moved services and controllers to providers and controllers directories, added PermissionService and PermissionController, updated Admin entity relationships, and created AdminRole entity. 2025-11-17 23:04:28 +03:30