workadventure/front/src/Connexion/LocalUser.ts
Gregoire Parant d5dc807b09 Login & Sign in
Create html element to log in and sign in
2020-12-21 16:48:40 +01:00

22 lines
494 B
TypeScript

export interface CharacterTexture {
id: number,
level: number,
url: string,
rights: string
}
export class LocalUser {
constructor(public readonly uuid:string, public readonly jwtToken: string, public readonly textures: CharacterTexture[]) {
}
}
export class ConnectedUser {
constructor(
public readonly name:string,
public readonly email: string,
public readonly notification: [],
public readonly announcements: [],
) {
}
}