added user variables to AppComonent & login functionality
parent
838487a9fc
commit
6536389eb8
@ -1 +1,2 @@
|
|||||||
|
<app-scaffold id="headerbar"></app-scaffold>
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
@ -0,0 +1,15 @@
|
|||||||
|
export interface User {
|
||||||
|
loggedIn : boolean;
|
||||||
|
userID : number;
|
||||||
|
username : string;
|
||||||
|
handle : string;
|
||||||
|
email : string;
|
||||||
|
points : number;
|
||||||
|
level : number;
|
||||||
|
|
||||||
|
friendIDs : number[];
|
||||||
|
groupIDs : number[];
|
||||||
|
chatIDs : number[];
|
||||||
|
|
||||||
|
requestIDs : number[];
|
||||||
|
}
|
Loading…
Reference in New Issue