Skip to main content
Version: 2.0.0-alpha

Interface: EntityIdUpdateProps<M, UserType>

Parameters passed to hooks when an entity is deleted

Type parameters

NameType
Mextends Object = any
UserTypeextends User = User

Properties

collection

collection: ResolvedEntityCollection<M>

collection of the entity being deleted

Defined in

lib/src/models/entity_callbacks.ts:187


context

context: FireCMSContext<User>

Context of the app status

Defined in

lib/src/models/entity_callbacks.ts:207


entityId

Optional entityId: string

Current entity id

Defined in

lib/src/models/entity_callbacks.ts:197


path

path: string

Path of the parent collection

Defined in

lib/src/models/entity_callbacks.ts:192


values

values: M

Entity values

Defined in

lib/src/models/entity_callbacks.ts:202