2023-10-11 07:35:24 +00:00
|
|
|
export interface WorkspaceRole {
|
2019-12-23 12:16:33 +00:00
|
|
|
id: string;
|
|
|
|
|
name: string;
|
2020-01-14 09:47:45 +00:00
|
|
|
displayName?: string;
|
2020-01-06 09:07:30 +00:00
|
|
|
isDefault?: boolean;
|
2023-10-11 07:35:24 +00:00
|
|
|
}
|
2019-12-23 12:16:33 +00:00
|
|
|
|
2023-10-11 07:35:24 +00:00
|
|
|
export interface Workspace {
|
2019-12-23 12:16:33 +00:00
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
website?: string;
|
2020-08-28 18:51:16 +00:00
|
|
|
email?: string;
|
2020-12-01 22:01:27 +00:00
|
|
|
logoUrl?: string;
|
|
|
|
|
uploadProgress?: number;
|
2020-11-25 12:24:14 +00:00
|
|
|
userPermissions?: string[];
|
2023-10-11 07:35:24 +00:00
|
|
|
}
|
2020-06-17 10:19:56 +00:00
|
|
|
|
2023-10-11 07:35:24 +00:00
|
|
|
export interface WorkspaceUserRoles {
|
2023-04-06 13:03:49 +00:00
|
|
|
id?: string;
|
|
|
|
|
name?: string;
|
|
|
|
|
description?: string;
|
2023-03-31 11:37:09 +00:00
|
|
|
entityType: ENTITY_TYPE;
|
2023-04-06 13:03:49 +00:00
|
|
|
entityName?: string;
|
|
|
|
|
entityId?: string;
|
2023-03-29 17:07:06 +00:00
|
|
|
autoCreated: boolean;
|
2023-10-11 07:35:24 +00:00
|
|
|
}
|
2023-03-29 17:07:06 +00:00
|
|
|
|
2023-10-11 07:35:24 +00:00
|
|
|
export interface WorkspaceUser {
|
2020-06-17 10:19:56 +00:00
|
|
|
name: string;
|
2022-08-22 17:57:07 +00:00
|
|
|
username: string;
|
|
|
|
|
userId: string;
|
|
|
|
|
permissionGroupId: string;
|
|
|
|
|
permissionGroupName: string;
|
2020-06-25 03:05:41 +00:00
|
|
|
isDeleting: boolean;
|
|
|
|
|
isChangingRole: boolean;
|
2023-02-15 07:39:50 +00:00
|
|
|
photoId?: string;
|
2023-03-29 17:07:06 +00:00
|
|
|
roles: WorkspaceUserRoles[];
|
2023-10-11 07:35:24 +00:00
|
|
|
}
|
2020-06-17 10:19:56 +00:00
|
|
|
|
2023-03-31 11:37:09 +00:00
|
|
|
export enum ENTITY_TYPE {
|
|
|
|
|
WORKSPACE = "Workspace",
|
|
|
|
|
APPLICATION = "Application",
|
|
|
|
|
}
|