import{h as n,ha as i,k as s}from"./chunk-O7TQGEFF.js";var o=class r{http=s(i);getWorkflows(){return this.http.get("/api/workflows")}getWorkflow(t){return this.http.get(`/api/workflows/${t}`)}getRuns(){return this.http.get("/api/runs")}getRun(t){return this.http.get(`/api/runs/${t}`)}startRun(t,e){return this.http.post("/api/runs",{workflow:t,args:e})}static \u0275fac=function(e){return new(e||r)};static \u0275prov=n({token:r,factory:r.\u0275fac,providedIn:"root"})};export{o as a};
