mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-07 13:42:34 +00:00
feat: update workspace detail page
This commit is contained in:
3
web/src/types/modules/WorkspaceUser.d.ts
vendored
3
web/src/types/modules/WorkspaceUser.d.ts
vendored
@ -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 {
|
||||
|
2
web/src/types/modules/workspace.d.ts
vendored
2
web/src/types/modules/workspace.d.ts
vendored
@ -10,6 +10,8 @@ interface Workspace {
|
||||
|
||||
name: string;
|
||||
description: string;
|
||||
|
||||
workspaceUserList: WorkspaceUser[];
|
||||
}
|
||||
|
||||
interface WorkspaceCreate {
|
||||
|
Reference in New Issue
Block a user