Files
klz-cables.com/.pnpm-store/v10/files/fc/db4e73ae69873dc2eb0ba0866d6c93598d152f0b9fba216b6def83ddd0a0b787c642329599a67e39f02f78d9d857cb7e6a78257a11c9aa12c362fbe43598dd
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
754 B
Plaintext

{"version":3,"sources":["../../src/utilities/getSelectMode.ts"],"sourcesContent":["import type { SelectMode, SelectType } from '../types/index.js'\n\nexport const getSelectMode = (select: SelectType): SelectMode => {\n for (const key in select) {\n const selectValue = select[key]\n if (selectValue === false) {\n return 'exclude'\n }\n\n if (typeof selectValue === 'object') {\n return getSelectMode(selectValue)\n }\n }\n\n return 'include'\n}\n"],"names":["getSelectMode","select","key","selectValue"],"mappings":"AAEA,OAAO,MAAMA,gBAAgB,CAACC;IAC5B,IAAK,MAAMC,OAAOD,OAAQ;QACxB,MAAME,cAAcF,MAAM,CAACC,IAAI;QAC/B,IAAIC,gBAAgB,OAAO;YACzB,OAAO;QACT;QAEA,IAAI,OAAOA,gBAAgB,UAAU;YACnC,OAAOH,cAAcG;QACvB;IACF;IAEA,OAAO;AACT,EAAC"}