Files
klz-cables.com/.pnpm-store/v10/files/b9/fa08f2d556d19516bbc03d3ae9f3ccc5c204ad234e8604e0136011bfd1a164148f44d932e7172e48d5feae0e7ec782046d4aa39eaee48a5a5d55f4987bfe3f
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.4 KiB
Plaintext

{"version":3,"sources":["../../../src/uploads/image-resizing/createImageSize.ts"],"sourcesContent":["/**\n * Create the result object for the image resize operation based on the\n * provided parameters. If the name is not provided, an empty result object\n * is returned.\n *\n * @param filename - the filename of the image\n * @param width - the width of the image\n * @param height - the height of the image\n * @param filesize - the filesize of the image\n * @param mimeType - the mime type of the image\n * @returns a FileSize result object\n */\n\nimport type { FileSize } from '../types.js'\n\ntype CreateResultArgs = {\n filename?: FileSize['filename']\n filesize?: FileSize['filesize']\n height?: FileSize['height']\n mimeType?: FileSize['mimeType']\n url?: FileSize['url']\n width?: FileSize['width']\n}\nexport const createImageSize = ({\n filename = null,\n filesize = null,\n height = null,\n mimeType = null,\n url = null,\n width = null,\n}: CreateResultArgs): FileSize => {\n return {\n filename,\n filesize,\n height,\n mimeType,\n url,\n width,\n }\n}\n"],"names":["createImageSize","filename","filesize","height","mimeType","url","width"],"mappings":"AAAA;;;;;;;;;;;CAWC,GAYD,OAAO,MAAMA,kBAAkB,CAAC,EAC9BC,WAAW,IAAI,EACfC,WAAW,IAAI,EACfC,SAAS,IAAI,EACbC,WAAW,IAAI,EACfC,MAAM,IAAI,EACVC,QAAQ,IAAI,EACK;IACjB,OAAO;QACLL;QACAC;QACAC;QACAC;QACAC;QACAC;IACF;AACF,EAAC"}