Skip to main content
Version: 3.0.0-beta

Interface: CollectionActionsProps<M, USER, EC>

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​

• M extends Record<string, any> = any

• USER extends User = User

• EC extends EntityCollection<M> = EntityCollection<M>

Properties​

collection​

collection: EC

The collection configuration

Defined in​

packages/firecms_core/src/types/collections.ts:355


collectionEntitiesCount​

collectionEntitiesCount: number

Count of the entities in this collection

Defined in​

packages/firecms_core/src/types/collections.ts:377


context​

context: FireCMSContext<USER>

Context of the app status

Defined in​

packages/firecms_core/src/types/collections.ts:372


parentCollectionIds​

parentCollectionIds: string[]

Array of the parent path segments like ['users']

Defined in​

packages/firecms_core/src/types/collections.ts:350


path​

path: string

Full collection path of this entity. This is the full path, like users/1234/addresses

Defined in​

packages/firecms_core/src/types/collections.ts:340


relativePath​

relativePath: string

Path of the last collection, like addresses

Defined in​

packages/firecms_core/src/types/collections.ts:345


selectionController​

selectionController: SelectionController<M>

Use this controller to get the selected entities and to update the selected entities state.

Defined in​

packages/firecms_core/src/types/collections.ts:361


tableController​

tableController: EntityTableController<M>

Use this controller to get the table controller and to update the table controller state.

Defined in​

packages/firecms_core/src/types/collections.ts:367

Sign up to our newsletter to get the latest news and updates. No spam!