Co-authored-by: Sidhant Goel <sidhant@appsmith.com> Co-authored-by: Ankita Kinger <ankita@appsmith.com> Co-authored-by: Sangeeth Sivan <sangeeth@appsmith.com> Co-authored-by: Parthvi <80334441+Parthvi12@users.noreply.github.com>
35 lines
682 B
TypeScript
35 lines
682 B
TypeScript
import { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants";
|
|
|
|
export type WorkspaceRole = {
|
|
id: string;
|
|
name: string;
|
|
displayName?: string;
|
|
isDefault?: boolean;
|
|
};
|
|
|
|
export type Workspace = {
|
|
id: string;
|
|
name: string;
|
|
website?: string;
|
|
email?: string;
|
|
logoUrl?: string;
|
|
uploadProgress?: number;
|
|
userPermissions?: string[];
|
|
};
|
|
|
|
export type WorkspaceUser = {
|
|
name: string;
|
|
username: string;
|
|
userId: string;
|
|
permissionGroupId: string;
|
|
permissionGroupName: string;
|
|
isDeleting: boolean;
|
|
isChangingRole: boolean;
|
|
};
|
|
|
|
export type Workspaces = {
|
|
applications: ApplicationPayload[];
|
|
workspace: Workspace;
|
|
users: WorkspaceUser[];
|
|
};
|