1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src/interfaces/user.ts

23 lines
450 B
TypeScript
Raw Normal View History

export interface IUser {
id: number;
email: string;
name: string;
createdAt: string;
imageUrl: string;
loginAttempts: number;
permissions: string[] | null;
inviteLink: string;
rootRole: number;
seenAt: string | null;
username?: string;
isAPI: boolean;
paid?: boolean;
addedAt?: string;
}
export interface IPermission {
permission: string;
project?: string;
environment?: string;
}