Skip to main content

WorkspaceUser

type WorkspaceUser = {
fullName: string;
imageId: string | null;
isDeleted: boolean;
role: "ADMIN" | "MEMBER" | "GUEST";
timezone: string;
userEmail: string;
userId: string;
workspaceId: string;
};

Represents a user within a workspace (MemberView from API).

Type Declaration

NameTypeDefault value
fullNamestring-
imageIdstring | null-
isDeletedboolean-
role"ADMIN" | "MEMBER" | "GUEST"WorkspaceRoleSchema
timezonestring-
userEmailstring-
userIdstring-
workspaceIdstring-