d5dc807b09
Create html element to log in and sign in
22 lines
494 B
TypeScript
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: [],
|
|
) {
|
|
}
|
|
}
|