Files
klz-cables.com/.pnpm-store/v10/files/4b/eeb870780a9bc42bb2eefbdb4bc198f95309b3862516a1c12230110cf3e710c46f0f25d0ffc288b433232fe868064f05e8f37c55f09588c30b3c66756d0612
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
815 B
Plaintext

{"version":3,"file":"sort.js","names":[],"sources":["../../../../src/rest/commands/utils/sort.ts"],"sourcesContent":["import type { RestCommand } from '../../types.js';\n\n/**\n * If a collection has a sort field, this util can be used to move items in that manual order.\n * @param collection The collection to sort\n * @param item Id of the item to move\n * @param to Id of the item to move to\n * @returns Nothing\n */\nexport const utilitySort =\n\t<Schema>(collection: keyof Schema, item: string | number, to: string | number): RestCommand<void, Schema> =>\n\t() => ({\n\t\tmethod: 'POST',\n\t\tpath: `/utils/sort/${collection as string}`,\n\t\tbody: JSON.stringify({ item, to }),\n\t});\n"],"mappings":"AASA,MAAa,GACH,EAA0B,EAAuB,SACnD,CACN,OAAQ,OACR,KAAM,eAAe,IACrB,KAAM,KAAK,UAAU,CAAE,OAAM,KAAI,CAAC,CAClC"}