mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -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;
|
|
}
|