Skip to main content
Version: 3.0.0-beta

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

Defined in​

packages/firecms_core/src/types/datasource.ts:18

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