Pular para o conteúdo

EntityCollectionsBuilder

Este conteúdo não está disponível em sua língua ainda.

@firecms/core


@firecms/core / EntityCollectionsBuilder

Type Alias: EntityCollectionsBuilder()<EC>

Section titled “Type Alias: EntityCollectionsBuilder()<EC>”

EntityCollectionsBuilder<EC> = (params) => EC[] | Promise<EC[]>

Defined in: types/firecms.tsx:28

Use this callback to build entity collections dynamically. You can use the user to decide which collections to show. You can also use the data source to fetch additional data to build the collections. Note: you can use any type of synchronous or asynchronous code here, including fetching data from external sources, like using the Firestore APIs directly, or a REST API.

EC extends EntityCollection = EntityCollection

AuthController

DataSourceDelegate

User | null

EC[] | Promise<EC[]>