Skip to main content

Interface: EntityOnDeleteProps<M>

Parameters passed to hooks when an entity is deleted

Type parameters#

NameType
MM: Object

Properties#

context#

context: FireCMSContext

Context of the app status

Defined in#

models/entity_callbacks.ts:119


entity#

entity: Entity<M>

Deleted entity

Defined in#

models/entity_callbacks.ts:114


entityId#

entityId: string

Deleted entity id

Defined in#

models/entity_callbacks.ts:109


path#

path: string

Path of the parent collection

Defined in#

models/entity_callbacks.ts:104


schema#

schema: EntitySchema<M>

Schema of the entity being deleted

Defined in#

models/entity_callbacks.ts:99