reamed user metrics into user data and added avatar picture and started to implement the user settings page

This commit is contained in:
Clément Le Bihan
2023-04-09 18:56:45 +02:00
parent fbf85a635e
commit 572bb0056d
6 changed files with 130 additions and 58 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
import Metrics from "./Metrics";
import UserData from "./UserData";
import Model from "./Model";
import UserSettings from "./UserSettings";
@@ -6,9 +6,8 @@ interface User extends Model {
name: string;
email: string;
isGuest: boolean;
xp: number;
premium: boolean;
metrics: Metrics;
data: UserData;
settings: UserSettings;
}