Fresh release output after merging dev: apps/api/release (server bundle, migrations and the database client) and the three front-end dist folders. All three front-ends type-check clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 lines
487 B
JavaScript
2 lines
487 B
JavaScript
import{x as r,z as f,M as m}from"./index-DDKWZYPX.js";function M(o){const{onSuccess:n,successMessage:i="با موفقیت حذف شد",successType:u="success",fallbackErrorMessage:l="خطا در حذف"}=o;async function d(a,e){var t,c;try{(e==null?void 0:e.method)==="post"?await r.post(a):await r.delete(a),f[u](i),await n()}catch(s){m.error({title:((c=(t=s==null?void 0:s.response)==null?void 0:t.data)==null?void 0:c.message)??l,okText:"بستن"})}}return{remove:d}}export{M as u};
|