Skip to main content
Version: 3.0.0-beta

Interface: EntityOnDeleteProps<M, UserType>

Parameters passed to hooks when an entity is deleted

Type Parameters​

• M extends Record<string, any> = any

• UserType extends User = User

Properties​

collection​

collection: ResolvedEntityCollection<M>

collection of the entity being deleted

Defined in​

packages/firecms_core/src/types/entity_callbacks.ts:176


context​

context: FireCMSContext<UserType>

Context of the app status

Defined in​

packages/firecms_core/src/types/entity_callbacks.ts:196


entity​

entity: Entity<M>

Deleted entity

Defined in​

packages/firecms_core/src/types/entity_callbacks.ts:191


entityId​

entityId: string

Deleted entity id

Defined in​

packages/firecms_core/src/types/entity_callbacks.ts:186


path​

path: string

Path of the parent collection

Defined in​

packages/firecms_core/src/types/entity_callbacks.ts:181

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