Interface: EntityOnDeleteProps<M, UserType>
Parameters passed to hooks when an entity is deleted
Type parameters​
Name | Type |
---|---|
M | extends Object = any |
UserType | extends User = User |
Properties​
collection​
• collection: ResolvedEntityCollection
<M
>
collection of the entity being deleted
Defined in​
lib/src/models/entity_callbacks.ts:105
context​
• context: FireCMSContext
<User
>
Context of the app status
Defined in​
lib/src/models/entity_callbacks.ts:125
entity​
• entity: Entity
<M
>
Deleted entity
Defined in​
lib/src/models/entity_callbacks.ts:120
entityId​
• entityId: string
Deleted entity id
Defined in​
lib/src/models/entity_callbacks.ts:115
path​
• path: string
Path of the parent collection