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
300 B
Plaintext
2 lines
300 B
Plaintext
const e=(e,t)=>()=>({path:`/files`,method:`POST`,body:e,params:t??{},headers:{"Content-Type":`multipart/form-data`}}),t=(e,t,n)=>()=>({path:`/files/import`,method:`POST`,body:JSON.stringify({url:e,data:t??{}}),params:n??{}});export{t as importFile,e as uploadFiles};
|
|
//# sourceMappingURL=files.js.map |