mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
25 lines
412 B
TypeScript
25 lines
412 B
TypeScript
|
interface IUser {
|
||
|
authDetails: IAuthDetails;
|
||
|
showDialog: boolean;
|
||
|
profile?: IProfile;
|
||
|
}
|
||
|
|
||
|
interface IAuthDetails {
|
||
|
type: string;
|
||
|
path: string;
|
||
|
message: string;
|
||
|
options: string[];
|
||
|
}
|
||
|
|
||
|
interface IProfile {
|
||
|
id: number;
|
||
|
createdAt: string;
|
||
|
imageUrl: string;
|
||
|
loginAttempts: number;
|
||
|
permissions: string[];
|
||
|
seenAt: string;
|
||
|
username: string;
|
||
|
}
|
||
|
|
||
|
export default IUser;
|