feat(app): wire set_group/delete_group bridge commands
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -130,6 +130,14 @@ export async function createGroup(name: string, color: string): Promise<string>
|
||||
return data.group_id;
|
||||
}
|
||||
|
||||
export async function setGroup(groupId: string, meta: { name?: string; color?: string; order?: number }): Promise<void> {
|
||||
await invoke("set_group", { groupId, name: meta.name ?? null, color: meta.color ?? null, order: meta.order ?? null });
|
||||
}
|
||||
|
||||
export async function deleteGroup(groupId: string): Promise<void> {
|
||||
await invoke("delete_group", { groupId });
|
||||
}
|
||||
|
||||
export async function closeSurfaceCmd(surfaceId: string): Promise<void> {
|
||||
await invoke("close_surface", { surfaceId });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user