Files
klz-cables.com/.pnpm-store/v10/files/18/151488fdf501e3627051aff1786169a421a564d4ce57e006d126a96af88558ce6304508fbc214a2bcf11912d72adb08c10a20bac570c0ff15cbe115632fba6
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
441 B
Plaintext

import{isSystemCollection as e}from"../../utils/is-system-collection.js";import{throwIfEmpty as t}from"../../utils/throw-if-empty.js";import"../../../index.js";const n=(n,r)=>()=>{let i=String(n);return t(i,`Collection cannot be empty`),{path:e(i)?`/${i.substring(9)}`:`/items/${i}`,method:`GET`,params:{...r.query??{},...r.groupBy?{groupBy:r.groupBy}:{},aggregate:r.aggregate}}};export{n as aggregate};
//# sourceMappingURL=aggregate.js.map