Files
klz-cables.com/.pnpm-store/v10/files/4a/f47a7a53d85e7a4cb3d93ef50c23435e0af9be3e9bc04bddb31d1e273b6663a482cfe995c6e149a9cf7a6bb410678e4f690d69820b7b848d661ecdbfd44ef6
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

20 lines
968 B
Plaintext

import type { Field } from '../fields/config/types.js';
import type { SanitizedConfig } from '../index.js';
import type { JsonObject } from '../types/index.js';
type MergeDataToSelectedLocalesArgs = {
configBlockReferences: SanitizedConfig['blocks'];
dataWithLocales: JsonObject;
docWithLocales: JsonObject;
fields: Field[];
parentIsLocalized?: boolean;
selectedLocales: string[];
};
/**
* Merges data from dataWithLocales onto docWithLocales for specified locales.
* For localized fields, merges only the specified locales while preserving others.
* For non-localized fields, keeps existing values from docWithLocales unchanged.
* Returns a new object without mutating the original.
*/
export declare function mergeLocalizedData({ configBlockReferences, dataWithLocales, docWithLocales, fields, parentIsLocalized, selectedLocales, }: MergeDataToSelectedLocalesArgs): JsonObject;
export {};
//# sourceMappingURL=mergeLocalizedData.d.ts.map