Skip to content

Commit 7de1b06

Browse files
committed
feat: 워크스페이스 query API Types 추가
1 parent 0668dcc commit 7de1b06

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
export interface Workspace {
2+
workspaceId: string;
3+
title: string;
4+
description: string;
5+
thumbnailUrl: string;
6+
role: "owner" | "guest";
7+
}
8+
9+
export interface CreateWorkSpaceResquest {
10+
title: string;
11+
description: string;
12+
visibility: "private" | "public";
13+
thumbnailUrl: string;
14+
}
15+
16+
export interface CreateWorkSpaceResponse {
17+
message: string;
18+
workspaceId: string;
19+
}
20+
21+
export interface RemoveWorkSpaceResponse {
22+
message: string;
23+
}
24+
25+
export interface GetUserWorkspaceResponse {
26+
message: string;
27+
workspaces: Workspace[];
28+
}

0 commit comments

Comments
 (0)