CollectionActionsProps
@firecms/core / CollectionActionsProps
Interface: CollectionActionsProps<M, USER, EC>
Section titled “Interface: CollectionActionsProps<M, USER, EC>”Defined in: types/collections.ts:376
Parameter passed to the Actions prop in the collection configuration.
The component will receive this prop when it is rendered in the collection
toolbar.
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
EC extends EntityCollection<M> = EntityCollection<M>
Properties
Section titled “Properties”collection
Section titled “collection”collection:
EC
Defined in: types/collections.ts:396
The collection configuration
collectionEntitiesCount
Section titled “collectionEntitiesCount”collectionEntitiesCount:
number
Defined in: types/collections.ts:418
Count of the entities in this collection
context
Section titled “context”context:
FireCMSContext<USER>
Defined in: types/collections.ts:413
Context of the app status
parentCollectionIds
Section titled “parentCollectionIds”parentCollectionIds:
string[]
Defined in: types/collections.ts:391
Array of the parent path segments like ['users']
path:
string
Defined in: types/collections.ts:381
Full collection path of this entity. This is the full path, like
users/1234/addresses
relativePath
Section titled “relativePath”relativePath:
string
Defined in: types/collections.ts:386
Path of the last collection, like addresses
selectionController
Section titled “selectionController”selectionController:
SelectionController<M>
Defined in: types/collections.ts:402
Use this controller to get the selected entities and to update the selected entities state.
tableController
Section titled “tableController”tableController:
EntityTableController<M>
Defined in: types/collections.ts:408
Use this controller to get the table controller and to update the table controller state.