Files
klz-cables.com/.pnpm-store/v10/files/8b/fb8c789ed10ca7240bb1b7713cd658fe1ecadb2b4821413ba07894ef996d80a5ba9635e66d6d2988c33d16c0f79be4c9dfa7dee39640c2587f2265328962a8
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

19 lines
784 B
Plaintext

import type { SanitizedConfig } from '../config/types.js';
import type { TypedFallbackLocale } from '../index.js';
import type { PayloadRequest } from '../types/index.js';
/**
* Mutates the Request to contain 'locale' and 'fallbackLocale' based on data or searchParams
*/
export declare function addLocalesToRequestFromData(req: PayloadRequest): void;
type SanitizeLocalesArgs = {
fallbackLocale: TypedFallbackLocale;
locale: string;
localization: SanitizedConfig['localization'];
};
type SanitizeLocalesReturn = {
fallbackLocale?: TypedFallbackLocale;
locale?: string;
};
export declare const sanitizeLocales: ({ fallbackLocale, locale, localization, }: SanitizeLocalesArgs) => SanitizeLocalesReturn;
export {};
//# sourceMappingURL=addLocalesToRequest.d.ts.map