Skip to content

EntityOnDeleteProps

@firecms/core


@firecms/core / EntityOnDeleteProps

Defined in: types/entity_callbacks.ts:171

Parameters passed to hooks when an entity is deleted

M extends Record<string, any> = any

USER extends User = User

collection: ResolvedEntityCollection<M>

Defined in: types/entity_callbacks.ts:176

collection of the entity being deleted


context: FireCMSContext<USER>

Defined in: types/entity_callbacks.ts:196

Context of the app status


entity: Entity<M>

Defined in: types/entity_callbacks.ts:191

Deleted entity


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