(workspaceId: number, name: string)
| 98 | } |
| 99 | |
| 100 | export async function renameWorkspace(workspaceId: number, name: string): Promise<void> { |
| 101 | return invoke("rename_workspace", { workspaceId, name }); |
| 102 | } |
| 103 | |
| 104 | export async function deleteWorkspace(workspaceId: number): Promise<void> { |
| 105 | return invoke("delete_workspace", { workspaceId }); |