Files
klz-cables.com/.pnpm-store/v10/files/f4/c6b62c400879e6d8d27d1b595ff003fccbaac4a1ccab4bbb996b40892ce0e556d281eac94342d6fc7758141f762d27d9cd96df4710a9315301426374786749
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

2 lines
510 B
Plaintext

import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=(t,n,r)=>()=>(e(t,`Keys cannot be empty`),{path:`/presets`,params:r??{},body:JSON.stringify({keys:t,data:n}),method:`PATCH`}),n=(e,t)=>()=>({path:`/presets`,params:t??{},body:JSON.stringify(e),method:`PATCH`}),r=(t,n,r)=>()=>(e(String(t),`Key cannot be empty`),{path:`/presets/${t}`,params:r??{},body:JSON.stringify(n),method:`PATCH`});export{r as updatePreset,t as updatePresets,n as updatePresetsBatch};
//# sourceMappingURL=presets.js.map