Files
firecms/website/docs/api/interfaces/entitydeleteprops.md
2021-06-06 13:36:47 +02:00

1.3 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
entitydeleteprops Interface: EntityDeleteProps<S, Key> EntityDeleteProps 0 null

Parameters passed to hooks when an entity is deleted

Type parameters

Name Type
S S: EntitySchema<Key>
Key Key: string = Extract<keyof S["properties"], string>

Properties

collectionPath

collectionPath: string

Firestore path of the parent collection

Defined in

models/models.ts:313


context

context: CMSAppContext

Context of the app status

Defined in

models/models.ts:328


entity

entity: Entity<S, Key>

Deleted entity

Defined in

models/models.ts:323


id

id: string

Deleted entity id

Defined in

models/models.ts:318


schema

schema: S

Schema of the entity being deleted

Defined in

models/models.ts:308