You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 line
346B

  1. import{k as t}from"./index.db1e0641.js";const n=e=>t.get("/file/download",{params:e,responseType:"blob"}),d=e=>t.post("/file/upload",e),p=async(e,o)=>{const s=await n({fileId:e}),a=URL.createObjectURL(s);return o?s:a},c=e=>e!=null&&e.length?e.map(o=>({fileId:o.response.id,fileName:o.response.originalFileName})):[];export{p as d,c as f,d as u};