Type Alias: EntityCollectionsBuilder()<EC>
EntityCollectionsBuilder<
EC
>: (params
) =>EC
[] |Promise
<EC
[]>
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.
Type Parameters​
• EC extends EntityCollection
= EntityCollection
Parameters​
• params
• params.authController: AuthController
• params.dataSource: DataSourceDelegate
• params.user: User
| null
Returns​
EC
[] | Promise
<EC
[]>