Files
klz-cables.com/.pnpm-store/v10/files/43/162c9cc6baf7731d3cb70118f35f687fdacaf4309c048d6971f2a322b75a1eeb8c15aab9c71aba9f6017f3d9821e2498c02a9e4754bf025763b0a354f70c7a
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

31 lines
1.0 KiB
Plaintext

import type { ClientTab } from '../admin/types.js';
import type { ClientField, Field, Tab, TabAsFieldClient } from './config/types.js';
type Args = {
field: ClientField | ClientTab | Field | Tab | TabAsFieldClient;
index: number;
parentIndexPath: string;
/**
* Needed to generate data paths. Omit if you only need schema paths, e.g. within field schema maps.
*/
parentPath?: string;
parentSchemaPath: string;
};
type FieldPaths = {
/**
* A string of '-' separated indexes representing where
* to find this field in a given field schema array.
* It will always be complete and accurate.
*/
indexPath: string;
/**
* Path for this field relative to its position in the data.
*/
path: string;
/**
* Path for this field relative to its position in the schema.
*/
schemaPath: string;
};
export declare function getFieldPaths({ field, index, parentIndexPath, parentPath, parentSchemaPath, }: Args): FieldPaths;
export {};
//# sourceMappingURL=getFieldPaths.d.ts.map