Type Alias: ListenEntityProps<M>
ListenEntityProps<
M
>:FetchEntityProps
<M
> &object
Type declaration​
databaseId?​
optional
databaseId:string
onError()?​
optional
onError: (error
) =>void
Parameters​
• error: Error
Returns​
void
onUpdate()​
onUpdate: (
entity
) =>void
Parameters​
• entity: Entity
<M
>
Returns​
void
Type Parameters​
• M extends Record
<string
, any
> = any