David Prince
fix: add all missing local module stubs (remote_mcp_registry, mcp_auth, mcp_transport, etc)
cce8120 | import api from "../api"; | |
| export async function listProjects() { | |
| const { data } = await api.get("/api/projects"); | |
| return data; | |
| } | |
| export async function getProject(id) { | |
| const { data } = await api.get(`/api/projects/${id}`); | |
| return data; | |
| } | |
| export async function createProject(payload) { | |
| const { data } = await api.post("/api/projects", payload); | |
| return data; | |
| } | |
| export async function updateProject(id, payload) { | |
| const { data } = await api.put(`/api/projects/${id}`, payload); | |
| return data; | |
| } | |
| export async function deleteProject(id) { | |
| const { data } = await api.delete(`/api/projects/${id}`); | |
| return data; | |
| } | |
| export async function saveFiles(id, files) { | |
| const { data } = await api.post(`/api/projects/${id}/files`, { files }); | |
| return data; | |
| } | |