Skip to main content
Version: 3.0.0-beta

Interface: FetchCollectionProps<M>

Type Parameters​

• M extends Record<string, any> = any

Properties​

collection?​

optional collection: EntityCollection<M, any> | ResolvedEntityCollection<M>

Defined in​

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


filter?​

optional filter: Partial<Record<Extract<keyof M, string>, [WhereFilterOp, any]>>

Defined in​

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


limit?​

optional limit: number

Defined in​

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


order?​

optional order: "asc" | "desc"

Defined in​

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


orderBy?​

optional orderBy: string

Defined in​

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


path​

path: string

Defined in​

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


searchString?​

optional searchString: string

Defined in​

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


startAfter?​

optional startAfter: any

Defined in​

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

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