feat: added auth guard and some decorators

This commit is contained in:
2026-07-26 16:13:54 +03:30
parent 45464c070f
commit efd468873d
15 changed files with 199 additions and 35 deletions
+7
View File
@@ -0,0 +1,7 @@
import { RoleType } from "src/users/enums/user-role.enum";
export interface ITokenPayload {
id: string;
phone: string;
roles: RoleType[];
}