EntityOnDeleteProps
@firecms/core / EntityOnDeleteProps
Interface: EntityOnDeleteProps<M, USER>
Section titled “Interface: EntityOnDeleteProps<M, USER>”Defined in: types/entity_callbacks.ts:171
Parameters passed to hooks when an entity is deleted
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Properties
Section titled “Properties”collection
Section titled “collection”collection:
ResolvedEntityCollection<M>
Defined in: types/entity_callbacks.ts:176
collection of the entity being deleted
context
Section titled “context”context:
FireCMSContext<USER>
Defined in: types/entity_callbacks.ts:196
Context of the app status
entity
Section titled “entity”entity:
Entity<M>
Defined in: types/entity_callbacks.ts:191
Deleted entity
entityId
Section titled “entityId”entityId:
string
Defined in: types/entity_callbacks.ts:186
Deleted entity id
path:
string
Defined in: types/entity_callbacks.ts:181
Path of the parent collection