2020-02-21 02:41:08 -08:00
|
|
|
import { IMembershipDto } from './CommonDtos';
|
2020-02-03 14:11:35 -08:00
|
|
|
|
|
|
|
enum UserStatusEnum {
|
2022-08-01 13:47:55 -07:00
|
|
|
ACTIVE,
|
|
|
|
PENDING_EMAIL_VERIFICATION,
|
|
|
|
DELETED,
|
2020-02-03 14:11:35 -08:00
|
|
|
}
|
|
|
|
|
2022-08-01 13:47:55 -07:00
|
|
|
interface IUserSettingsDto {}
|
2020-02-03 14:11:35 -08:00
|
|
|
|
2020-10-04 07:28:05 -07:00
|
|
|
export interface IUserDto {
|
2020-02-03 14:11:35 -08:00
|
|
|
activeWorkspace: string;
|
|
|
|
defaultWorkspace: string;
|
|
|
|
email: string;
|
|
|
|
id: string;
|
2020-10-04 07:32:12 -07:00
|
|
|
memberships: IMembershipDto[];
|
2020-02-03 14:11:35 -08:00
|
|
|
name: string;
|
|
|
|
profilePicture: string;
|
|
|
|
settings: IUserSettingsDto;
|
|
|
|
status: UserStatusEnum;
|
|
|
|
}
|