removed id field which is never populated added help modal in applications page and intercom to load in help modal shutdown intercom on signout to clear existing chats Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
23 lines
417 B
TypeScript
23 lines
417 B
TypeScript
export const ANONYMOUS_USERNAME = "anonymousUser";
|
|
|
|
type Gender = "MALE" | "FEMALE";
|
|
|
|
export type User = {
|
|
email: string;
|
|
currentOrganizationId: string;
|
|
organizationIds: string[];
|
|
applications: UserApplication[];
|
|
username: string;
|
|
name: string;
|
|
gender: Gender;
|
|
};
|
|
|
|
export interface UserApplication {
|
|
id: string;
|
|
name: string;
|
|
}
|
|
|
|
export const CurrentUserDetailsRequestPayload = {
|
|
id: "profile",
|
|
};
|