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