import{a0 as i,a7 as s,a6 as p,l as $}from"./main-BMMRv56V.js";const t="/shopping-lists",r={getList:e=>$(t,e),getById:e=>$(`${t}/${e}`),create:e=>i(t,e),update:(e,a)=>p(`${t}/${e}`,a),delete:e=>s(`${t}/${e}`),addItem:(e,a)=>i(`${t}/${e}/items`,a),updateItem:(e,a,o)=>p(`${t}/${e}/items/${a}`,o),removeItem:(e,a)=>s(`${t}/${e}/items/${a}`),fromRecipe:(e,a)=>i(`${t}/from-recipe`,{recipe_id:e,servings:a}),fromMealPlan:e=>i(`${t}/from-meal-plan`,{collection_id:e})};export{r as s};
