Skip to main content
Version: 3.0.0-beta

Type Alias: ListenCollectionProps<M>

ListenCollectionProps<M>: FetchCollectionProps<M> & object

Type declaration​

onError()?​

optional onError: (error) => void

Parameters​

• error: Error

Returns​

void

onUpdate()​

onUpdate: (entities) => void

Parameters​

• entities: Entity<M>[]

Returns​

void

Type Parameters​

• M extends Record<string, any> = any

Defined in​

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

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