David Prince
fix: add all missing local module stubs (remote_mcp_registry, mcp_auth, mcp_transport, etc)
cce8120
Raw
History Blame Contribute Delete
490 Bytes
import api from "../api";
const deployment={
providers:()=>api.get("/api/deployment/providers"),
list:()=>api.get("/api/deployment"),
status:(id)=>api.get(`/api/deployment/${id}`),
logs:(id)=>api.get(`/api/deployment/${id}/logs`),
deploy:(payload)=>api.post("/api/deployment",payload),
redeploy:(id)=>api.post(`/api/deployment/${id}/redeploy`),
cancel:(id)=>api.post(`/api/deployment/${id}/cancel`),
remove:(id)=>api.delete(`/api/deployment/${id}`)
};
export default deployment;