mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 23:34:27 +00:00
chore(ui): Merge UI repository
This commit is contained in:
commit
725fcf80aa
274 files changed
+33204
No files matched your search
@@ -0,0 +1 @@
|
||||
export * from "./users";
|
||||
@@ -0,0 +1,52 @@
|
||||
export interface UserAttributes {
|
||||
name: string;
|
||||
email: string;
|
||||
company_name: string;
|
||||
date_joined: string;
|
||||
}
|
||||
|
||||
export interface Membership {
|
||||
type: string;
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface MembershipMeta {
|
||||
count: number;
|
||||
}
|
||||
|
||||
export interface UserRelationships {
|
||||
memberships: {
|
||||
meta: MembershipMeta;
|
||||
data: Membership[];
|
||||
};
|
||||
}
|
||||
|
||||
export interface UserData {
|
||||
type: string;
|
||||
id: string;
|
||||
attributes: UserAttributes;
|
||||
relationships: UserRelationships;
|
||||
}
|
||||
|
||||
export interface Meta {
|
||||
version: string;
|
||||
}
|
||||
|
||||
export interface UserProps {
|
||||
data: UserData;
|
||||
meta: Meta;
|
||||
}
|
||||
|
||||
export interface TokenAttributes {
|
||||
refreshToken: string;
|
||||
accessToken: string;
|
||||
}
|
||||
|
||||
export interface TokenData {
|
||||
type: string;
|
||||
attributes: TokenAttributes;
|
||||
}
|
||||
|
||||
export interface SignInResponse {
|
||||
data: TokenData;
|
||||
}
|
||||
Reference in new issue
Block a user