Skip to main content

WorkspaceUser

type WorkspaceUser = {
avatarUrls?: | {
s195: string;
s35: string;
s60: string;
s640: string;
}
| null;
dateFormat?: string | null;
email?: string | null;
firstName?: string | null;
fullName: string;
id: number;
imageId?: string | null;
removed: boolean;
restricted?: boolean | null;
setupPending?: boolean | null;
shortName: string;
status?: | {
activeUntil?: string | null;
effects?: {
pauseActivity?: {
scope?: {
mode?: string;
};
};
pauseNotifications?: {
scope?: {
mode?: string;
};
};
};
emoji?: string | null;
message: string;
}
| null;
theme?: number | null;
timeFormat?: string | null;
timezone: string;
userType: "USER" | "GUEST" | "ADMIN";
version: number;
};

Type Declaration​

NameType
avatarUrls?| { s195: string; s35: string; s60: string; s640: string; } | null
dateFormat?string | null
email?string | null
firstName?string | null
fullNamestring
idnumber
imageId?string | null
removedboolean
restricted?boolean | null
setupPending?boolean | null
shortNamestring
status?| { activeUntil?: string | null; effects?: { pauseActivity?: { scope?: { mode?: string; }; }; pauseNotifications?: { scope?: { mode?: string; }; }; }; emoji?: string | null; message: string; } | null
theme?number | null
timeFormat?string | null
timezonestring
userType"USER" | "GUEST" | "ADMIN"
versionnumber