feat: added auth guard and some decorators
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { RoleType } from "src/users/enums/user-role.enum";
|
||||
|
||||
export interface ITokenPayload {
|
||||
id: string;
|
||||
phone: string;
|
||||
roles: RoleType[];
|
||||
}
|
||||
Reference in New Issue
Block a user