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
12 lines
653 B
Plaintext
12 lines
653 B
Plaintext
/**
|
|
* Safely resolves a deeply nested value from a document using dot-notation accessor paths.
|
|
*
|
|
* Used in list views to retrieve field values, especially for fields hoisted from nested structures
|
|
* like groups, where the accessor may be in the form of `group.someField`.
|
|
*
|
|
* @param doc - The document object to retrieve the value from.
|
|
* @param path - A dot-separated accessor string (e.g., "group.someField").
|
|
* @returns The resolved value at the specified path, or undefined if any segment is missing.
|
|
*/
|
|
export declare const findValueFromPath: (doc: Record<string, any>, path: string) => any;
|
|
//# sourceMappingURL=findValueFromPath.d.ts.map |