feat(frontend): contract types + REST client (MSW-tested)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import { apiFetch } from "./client";
|
||||
|
||||
export const listWorkspaces = () =>
|
||||
apiFetch<{ name: string; file: string }[]>("/workspaces");
|
||||
Reference in New Issue
Block a user