Skip to main content

Interface: EntityOnDeleteProps<M>

Parameters passed to hooks when an entity is deleted

Type parameters

NameType
Mextends Object

Properties

context

context: FireCMSContext<any>

Context of the app status

Defined in

models/entity_callbacks.ts:129


entity

entity: Entity<M>

Deleted entity

Defined in

models/entity_callbacks.ts:124


entityId

entityId: string

Deleted entity id

Defined in

models/entity_callbacks.ts:119


path

path: string

Path of the parent collection

Defined in

models/entity_callbacks.ts:114


schema

schema: ResolvedEntitySchema<M>

Schema of the entity being deleted

Defined in

models/entity_callbacks.ts:109