import{a0 as t,a7 as p,l as c,a6 as a}from"./main-BMMRv56V.js";const i="/collections",$={getList:e=>c(i,e),getById:e=>c(`${i}/${e}`),create:e=>t(i,e),update:(e,s)=>a(`${i}/${e}`,s),delete:e=>p(`${i}/${e}`),getRecipes:e=>c(`${i}/${e}/recipes`),addRecipe:(e,s)=>t(`${i}/${e}/recipes`,s),removeRecipe:(e,s)=>p(`${i}/${e}/recipes/${s}`),reorderRecipes:(e,s)=>t(`${i}/${e}/recipes/reorder`,{items:s})};export{$ as c};
