Files
klz-cables.com/.pnpm-store/v10/files/07/95f6716bd9e09b5f18cf9758e3b79bc6a6af7a53dcd86fb9c9905ab24b0fdbe02cd4a96ba1b177b1be984fccb02e3e137620b45f825d16ec7b9dad140f9b73
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

21 lines
538 B
Plaintext

import type { Maybe } from './Maybe';
export interface Path {
readonly prev: Path | undefined;
readonly key: string | number;
readonly typename: string | undefined;
}
/**
* Given a Path and a key, return a new Path containing the new key.
*/
export declare function addPath(
prev: Readonly<Path> | undefined,
key: string | number,
typename: string | undefined,
): Path;
/**
* Given a Path, return an Array of the path keys.
*/
export declare function pathToArray(
path: Maybe<Readonly<Path>>,
): Array<string | number>;