Files
klz-cables.com/.pnpm-store/v10/files/c5/4a6724fc0c1ed6b41623c8ee97d538133760d3d956c51bf9eb214925348dc885acaac836164d580d4f9a655d3bfa3346eb6a9ad10f45ea7b0109ba90b18d00
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
966 B
Plaintext

{"version":3,"file":"groupItemIDsByRelation.js","names":["groupItemIDsByRelation","items","reduce","acc","item","relationTo","push","value","id"],"sources":["../../../src/providers/Folders/groupItemIDsByRelation.ts"],"sourcesContent":["import type { FolderOrDocument } from 'payload/shared'\n\nexport function groupItemIDsByRelation(items: FolderOrDocument[]) {\n return items.reduce(\n (acc, item) => {\n if (!acc[item.relationTo]) {\n acc[item.relationTo] = []\n }\n acc[item.relationTo].push(item.value.id)\n\n return acc\n },\n {} as Record<string, (number | string)[]>,\n )\n}\n"],"mappings":"AAEA,OAAO,SAASA,uBAAuBC,KAAyB;EAC9D,OAAOA,KAAA,CAAMC,MAAM,CACjB,CAACC,GAAA,EAAKC,IAAA;IACJ,IAAI,CAACD,GAAG,CAACC,IAAA,CAAKC,UAAU,CAAC,EAAE;MACzBF,GAAG,CAACC,IAAA,CAAKC,UAAU,CAAC,GAAG,EAAE;IAC3B;IACAF,GAAG,CAACC,IAAA,CAAKC,UAAU,CAAC,CAACC,IAAI,CAACF,IAAA,CAAKG,KAAK,CAACC,EAAE;IAEvC,OAAOL,GAAA;EACT,GACA,CAAC;AAEL","ignoreList":[]}