Files
klz-cables.com/.pnpm-store/v10/files/6c/ee0acfd855a0af5048d2c34ceb4d609ff6a32720cfcd581da60deb01e7edfaed1d06b8911af3b1bc19e73236701ec9d5db3e844610fc5f54f01cea65f477b6
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
525 B
Plaintext

const e=require(`../../utils/is-system-collection.cjs`),t=(t,n,r)=>()=>{let i=String(t);if(e.isSystemCollection(i))throw Error(`Cannot use createItems for core collections`);return{path:`/items/${i}`,params:r??{},body:JSON.stringify(n),method:`POST`}},n=(t,n,r)=>()=>{let i=String(t);if(e.isSystemCollection(i))throw Error(`Cannot use createItem for core collections`);return{path:`/items/${i}`,params:r??{},body:JSON.stringify(n),method:`POST`}};exports.createItem=n,exports.createItems=t;
//# sourceMappingURL=items.cjs.map