Files
klz-cables.com/.pnpm-store/v10/files/24/3e49253ac9200c20983f672b7ac2c939cde78dce1c8705fa41bc4f6ad17f883f2fac1d3c02408a8ee52df48de59db6a6e98915bc83e8ec73b6d205a4346bbd
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

26 lines
792 B
Plaintext

import { promise } from './promise.js';
export const traverseFields = async ({ id, blockData, collection, context, doc, fields, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingDoc })=>{
const promises = [];
fields.forEach((field, fieldIndex)=>{
promises.push(promise({
id,
blockData,
collection,
context,
doc,
field,
fieldIndex,
overrideAccess,
parentIndexPath,
parentIsLocalized,
parentPath,
parentSchemaPath,
req,
siblingDoc,
siblingFields: fields
}));
});
await Promise.all(promises);
};
//# sourceMappingURL=traverseFields.js.map