UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

7 lines (6 loc) 642 B
import { EntityCollection, ResolvedEntityCollection, ResolvedProperty } from "../../types"; import { PropertyColumnConfig } from "../EntityCollectionTable/EntityCollectionTableProps"; export declare const COLLECTION_GROUP_PARENT_ID = "collectionGroupParent"; export declare function useColumnIds<M extends Record<string, any>>(collection: ResolvedEntityCollection<M>, includeSubcollections: boolean): PropertyColumnConfig[]; export declare function getColumnKeysForProperty(property: ResolvedProperty, key: string, disabled?: boolean): PropertyColumnConfig[]; export declare function getFormFieldKeys(collection: EntityCollection): string[];