mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-17 02:51:51 +08:00
1.3 KiB
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
context
• context: CMSAppContext
Context of the app status
Defined in
entity
• entity: Entity<S, Key>
Deleted entity
Defined in
id
• id: string
Deleted entity id
Defined in
schema
• schema: S
Schema of the entity being deleted