Skip to main content
Version: 2.0.0

Interface: EntityIdUpdateProps<M>

Parameters passed to hooks when an entity is deleted

Type parameters​

NameType
Mextends Record<string, any> = any

Properties​

collection​

• collection: ResolvedEntityCollection<M>

collection of the entity being deleted

Defined in​

lib/src/types/entity_callbacks.ts:188


context​

• context: FireCMSContext

Context of the app status

Defined in​

lib/src/types/entity_callbacks.ts:208


entityId​

• Optional entityId: string

Current entity id

Defined in​

lib/src/types/entity_callbacks.ts:198


path​

• path: string

Path of the parent collection

Defined in​

lib/src/types/entity_callbacks.ts:193


values​

• values: M

Entity values

Defined in​

lib/src/types/entity_callbacks.ts:203

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!