mirror of
https://github.com/danbulant/ester_os
synced 2026-06-24 17:11:59 +00:00
Define user
This commit is contained in:
parent
95514067c7
commit
ca8e182ebf
2 changed files with 20 additions and 0 deletions
15
client/src/defs/user.ts
Normal file
15
client/src/defs/user.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
import UserSettings from "./userSettings";
|
||||||
|
|
||||||
|
interface User {
|
||||||
|
sysName: string;
|
||||||
|
uuid: string;
|
||||||
|
firstName: string;
|
||||||
|
lastName: string;
|
||||||
|
|
||||||
|
avatar: URL;
|
||||||
|
backgrounds: URL[];
|
||||||
|
|
||||||
|
settings: UserSettings;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default User;
|
||||||
5
client/src/defs/userSettings.ts
Normal file
5
client/src/defs/userSettings.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
interface UserSettings {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export default UserSettings;
|
||||||
Loading…
Reference in a new issue