Files
SAE-BUT2/src/interfaces/user.interface.ts
T
2026-07-15 18:52:21 +02:00

17 lines
389 B
TypeScript
Executable File

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;
}