mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
21 lines
414 B
TypeScript
21 lines
414 B
TypeScript
import type { IDataObject } from 'n8n-workflow';
|
|
import type { IMembershipDto } from './CommonDtos';
|
|
|
|
const enum UserStatusEnum {
|
|
ACTIVE,
|
|
PENDING_EMAIL_VERIFICATION,
|
|
DELETED,
|
|
}
|
|
|
|
export interface IUserDto {
|
|
activeWorkspace: string;
|
|
defaultWorkspace: string;
|
|
email: string;
|
|
id: string;
|
|
memberships: IMembershipDto[];
|
|
name: string;
|
|
profilePicture: string;
|
|
settings: IDataObject;
|
|
status: UserStatusEnum;
|
|
}
|