import{a0 as s,as as $,a7 as i,a6 as c,l as p}from"./main-BMMRv56V.js";const a="/recipes",o={getList:e=>p(a,e),getById:e=>p(`${a}/${e}`),create:e=>s(a,e),update:(e,t)=>c(`${a}/${e}`,t),delete:e=>i(`${a}/${e}`),bulkDelete:e=>i(`${a}/bulk`,{ids:e}),changeStatus:(e,t)=>$(`${a}/${e}/status`,{status:t}),bulkAction:(e,t,r)=>s(`${a}/bulk-action`,{action:e,ids:t,...r}),reorder:e=>s(`${a}/reorder`,{items:e}),duplicate:e=>s(`${a}/${e}/duplicate`)};export{o as r};
