buildCollection
@firecms/core / buildCollection
Function: buildCollection()
Section titled “Function: 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
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Parameters
Section titled “Parameters”collection
Section titled “collection”EntityCollection<M, USER>
Returns
Section titled “Returns”EntityCollection<M, USER>