Files
klz-cables.com/.pnpm-store/v10/files/8e/b185767f7b1135314f946ec95ce50720b51175c9b32fed051e32d1f0a9bf5ffba11eb10df32eb39bbbbbbedfdc88029e8bf74a8b997484b8cd0eab1e8d24f2
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

1 line
1.3 KiB
Plaintext

{"version":3,"sources":["../../../src/collections/endpoints/count.ts"],"sourcesContent":["import { status as httpStatus } from 'http-status'\n\nimport type { PayloadHandler } from '../../config/types.js'\n\nimport { getRequestCollection } from '../../utilities/getRequestEntity.js'\nimport { parseParams } from '../../utilities/parseParams/index.js'\nimport { countOperation } from '../operations/count.js'\n\nexport const countHandler: PayloadHandler = async (req) => {\n const collection = getRequestCollection(req)\n\n const { trash, where } = parseParams(req.query)\n\n const result = await countOperation({\n collection,\n req,\n trash,\n where,\n })\n\n return Response.json(result, {\n status: httpStatus.OK,\n })\n}\n"],"names":["status","httpStatus","getRequestCollection","parseParams","countOperation","countHandler","req","collection","trash","where","query","result","Response","json","OK"],"mappings":"AAAA,SAASA,UAAUC,UAAU,QAAQ,cAAa;AAIlD,SAASC,oBAAoB,QAAQ,sCAAqC;AAC1E,SAASC,WAAW,QAAQ,uCAAsC;AAClE,SAASC,cAAc,QAAQ,yBAAwB;AAEvD,OAAO,MAAMC,eAA+B,OAAOC;IACjD,MAAMC,aAAaL,qBAAqBI;IAExC,MAAM,EAAEE,KAAK,EAAEC,KAAK,EAAE,GAAGN,YAAYG,IAAII,KAAK;IAE9C,MAAMC,SAAS,MAAMP,eAAe;QAClCG;QACAD;QACAE;QACAC;IACF;IAEA,OAAOG,SAASC,IAAI,CAACF,QAAQ;QAC3BX,QAAQC,WAAWa,EAAE;IACvB;AACF,EAAC"}