Added routing by permissions #130
This commit is contained in:
@@ -1,13 +1,28 @@
|
||||
import { AuthRoles } from "./auth-roles.enum";
|
||||
import {AuthRoles} from "./auth-roles.enum";
|
||||
|
||||
export interface AuthUserDTO {
|
||||
id?: number;
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
email: string | null;
|
||||
password: string | null;
|
||||
isConfirmed?: boolean
|
||||
authRole?: AuthRoles;
|
||||
createdAt?: string;
|
||||
modifiedAt?: string;
|
||||
id?: number;
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
email: string | null;
|
||||
password: string | null;
|
||||
isConfirmed?: boolean;
|
||||
authRole?: AuthRoles;
|
||||
users?: UserDTO[];
|
||||
createdAt?: string;
|
||||
modifiedAt?: string;
|
||||
}
|
||||
|
||||
|
||||
export interface UserDTO {
|
||||
id: number;
|
||||
discordId: number;
|
||||
xp: number;
|
||||
minecraftId: number | null;
|
||||
server: number;
|
||||
createdAt: string;
|
||||
modifiedAt: string;
|
||||
isTechnician: boolean;
|
||||
isAdmin: boolean;
|
||||
IsModerator: boolean;
|
||||
}
|
||||
|
Reference in New Issue
Block a user