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
15 lines
587 B
Plaintext
15 lines
587 B
Plaintext
import type { Block, Field, FlattenedBlock, FlattenedField } from '../fields/config/types.js';
|
|
export declare const flattenBlock: ({ block }: {
|
|
block: Block;
|
|
}) => FlattenedBlock;
|
|
/**
|
|
* Flattens all fields in a collection, preserving the nested field structure.
|
|
* @param cache
|
|
* @param fields
|
|
*/
|
|
export declare const flattenAllFields: ({ cache, fields, }: {
|
|
/** Allows you to get FlattenedField[] from Field[] anywhere without performance overhead by caching. */
|
|
cache?: boolean;
|
|
fields: Field[];
|
|
}) => FlattenedField[];
|
|
//# sourceMappingURL=flattenAllFields.d.ts.map |