Refactor Dashboard

Took 1 hour 32 minutes
This commit is contained in:
Lucàs
2023-03-23 12:26:24 +01:00
parent ebb57ac3b6
commit c241c8b4fe
13 changed files with 171 additions and 148 deletions
+6
View File
@@ -0,0 +1,6 @@
import {User} from '@/models/data_models/User';
export type Session = {
user: User
token: string
}
+8
View File
@@ -0,0 +1,8 @@
export type User = {
id: string
email: string
password: string
firstName: string
lastName: string
role: "USER" | "ADMIN"
}