Files
klz-cables.com/.pnpm-store/v10/files/60/f68962d067d570ccba22ca2ab44feeb1a7feca4888d03165d12b2e2aa917e875ad8aabc4f0241018e616c61e3d7b30c5ee7aba6439ad0b5dfcbb1f65dd768c
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

15 lines
488 B
Plaintext

import { GraphQLEnumType } from 'graphql';
import { formatName } from '../utilities/formatName.js';
export const buildLocaleInputType = (localization)=>{
return new GraphQLEnumType({
name: 'LocaleInputType',
values: localization.localeCodes.reduce((values, locale)=>({
...values,
[formatName(locale)]: {
value: locale
}
}), {})
});
};
//# sourceMappingURL=buildLocaleInputType.js.map