Files
klz-cables.com/.pnpm-store/v10/files/21/4c0ec6fa27946850acfef47caf6b13cb5078011e3801d65b4bf5b2b634a5cfc19bf4747abbd50d121cda49c7f74df3c3f671eba50b46d319d511b32f0127ed
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
507 B
Plaintext

import{isSystemCollection as e}from"../../utils/is-system-collection.js";const t=(t,n,r)=>()=>{let i=String(t);if(e(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(i))throw Error(`Cannot use createItem for core collections`);return{path:`/items/${i}`,params:r??{},body:JSON.stringify(n),method:`POST`}};export{n as createItem,t as createItems};
//# sourceMappingURL=items.js.map