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

22 lines
828 B
Plaintext

import type { SanitizedConfig } from '../config/types.js';
import type { FlattenedField } from '../fields/config/types.js';
/**
* Get the field by its schema path, e.g. group.title, array.group.title
* If there were any localized on the path, `pathHasLocalized` will be true and `localizedPath` will look like:
* `group.<locale>.title` // group is localized here
*/
export declare const getFieldByPath: ({ config, fields, includeRelationships, localizedPath, path, }: {
config?: SanitizedConfig;
fields: FlattenedField[];
includeRelationships?: boolean;
localizedPath?: string;
/**
* The schema path, e.g. `array.group.title`
*/
path: string;
}) => {
field: FlattenedField;
localizedPath: string;
pathHasLocalized: boolean;
} | null;
//# sourceMappingURL=getFieldByPath.d.ts.map