Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
2 lines
1.1 KiB
Plaintext
2 lines
1.1 KiB
Plaintext
import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=e=>()=>({path:`/deployments`,params:e??{},method:`GET`}),n=(t,n)=>()=>(e(t,`Provider cannot be empty`),{path:`/deployments/${t}`,params:n??{},method:`GET`}),r=t=>()=>(e(t,`Provider cannot be empty`),{path:`/deployments/${t}/dashboard`,method:`GET`}),i=t=>()=>(e(t,`Provider cannot be empty`),{path:`/deployments/${t}/projects`,method:`GET`}),a=(t,n,r)=>()=>(e(t,`Provider cannot be empty`),e(n,`Project ID cannot be empty`),{path:`/deployments/${t}/projects/${n}`,params:r??{},method:`GET`}),o=(t,n,r)=>()=>(e(t,`Provider cannot be empty`),e(n,`Project ID cannot be empty`),{path:`/deployments/${t}/projects/${n}/runs`,params:r??{},method:`GET`}),s=(t,n,r)=>()=>(e(t,`Provider cannot be empty`),e(n,`Run ID cannot be empty`),{path:`/deployments/${t}/runs/${n}`,params:r??{},method:`GET`});export{n as readDeployment,r as readDeploymentDashboard,a as readDeploymentProject,i as readDeploymentProjects,s as readDeploymentRun,o as readDeploymentRuns,t as readDeployments};
|
|
//# sourceMappingURL=deployment.js.map |