Files
klz-cables.com/.pnpm-store/v10/files/a2/f66a47639695b3ab5d8e79075c0ba90d273044a2394364a3a03f6b5980a7bc2ed56c49fc409f7eef78840f651b17a6ed70de4a9d40a099bcd7e621d73e0898
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
816 B
Plaintext

{"version":3,"file":"sort.cjs","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"}