Files
klz-cables.com/.pnpm-store/v10/files/0c/a56b1407820f4233af1d86b284b2f8506eb20ed1bdb5eed63d8181415fcf034406908fc83b560efe5588bb0889d760ea39c025b0d61e3af669ac955a89c850
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

23 lines
733 B
Plaintext

/**
* Create the result object for the image resize operation based on the
* provided parameters. If the name is not provided, an empty result object
* is returned.
*
* @param filename - the filename of the image
* @param width - the width of the image
* @param height - the height of the image
* @param filesize - the filesize of the image
* @param mimeType - the mime type of the image
* @returns a FileSize result object
*/ export const createImageSize = ({ filename = null, filesize = null, height = null, mimeType = null, url = null, width = null })=>{
return {
filename,
filesize,
height,
mimeType,
url,
width
};
};
//# sourceMappingURL=createImageSize.js.map