17 lines
389 B
TypeScript
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;
|
|
} |