Skip to content

buildCollection

@firecms/core


@firecms/core / buildCollection

buildCollection<M, USER>(collection): EntityCollection<M, USER>

Defined in: util/builders.ts:29

Identity function we use to defeat the type system of Typescript and build collection views with all its properties

M extends Record<string, any> = any

USER extends User = User

EntityCollection<M, USER>

EntityCollection<M, USER>