feat: update workspace detail page

This commit is contained in:
steven
2022-10-04 18:51:53 +08:00
parent 922f8e6f95
commit 572a93c5f0
9 changed files with 94 additions and 121 deletions

View File

@ -3,10 +3,11 @@ type Role = "ADMIN" | "USER";
interface WorkspaceUser {
workspaceId: WorkspaceId;
userId: UserId;
user: User;
role: Role;
createdTs: TimeStamp;
updatedTs: TimeStamp;
email: string;
name: string;
}
interface WorkspaceUserUpsert {

View File

@ -10,6 +10,8 @@ interface Workspace {
name: string;
description: string;
workspaceUserList: WorkspaceUser[];
}
interface WorkspaceCreate {