Files
SAE-BUT2-frontend/src/interfaces/user.interface.ts
T

17 lines
389 B
TypeScript

import TaskType from "./task.interface";
export default interface User {
id: number;
name: string;
lastname: string;
role: string;
email: string;
phone: string | null;
created_at: string;
isAdmin: boolean;
validate: number;
tasks: TaskType[];
profile_photo_path?: string | null,
email_notifications: number,
web_notifications: number;
}