UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

10 lines (9 loc) 560 B
import { EntityCollection, ModifyCollectionProps } from "../types"; /** * */ export declare function joinCollectionLists(targetCollections: EntityCollection[], sourceCollections: EntityCollection[] | undefined, parentPaths?: string[], modifyCollection?: (props: ModifyCollectionProps) => EntityCollection | void): EntityCollection[]; /** * */ export declare function mergeCollection(target: EntityCollection, source: EntityCollection, parentPaths?: string[], modifyCollection?: (props: ModifyCollectionProps) => EntityCollection | void): EntityCollection;