Skip to main content

EntityOnSaveProps <M, UserType>

Parameters passed to hooks when an entity is saved

Index

Properties

collection

Resolved collection of the entity

context

context: FireCMSContext<UserType>

Context of the app status

entityId

entityId: string

ID of the entity

path

path: string

Full path of the CMS where this entity is being saved. Might contain unresolved aliases.

optionalpreviousValues

previousValues?: Partial<M>

Previous values

resolvedPath

resolvedPath: string

Full path where this entity is being saved, with alias resolved

status

status: EntityStatus

New or existing entity

values

values: Partial<M>

Values being saved

Sign up to our newsletter to get the latest news and updates. No spam!