User

export type User = {
    userId: string;
    email: string;
    handle: string;
    roles: UserRole[];
    createdAt: number;
    updatedAt: number;
    name?: string;
    status?: UserStatus;
};
export type UserAlias = { userId: string; handle: string; };
export type UserRole = { teamId: string; role: UserTeamRole; };
export type UserTeamRole = 'admin' | 'developer';
export type UserStatus = string;

Last updated