Skip to main content
Version: 2.0.0

Interface: FetchCollectionProps<M>

Type parameters

NameType
Mextends Record<string, any> = any

Properties

collection

collection: EntityCollection<M, string, User> | ResolvedEntityCollection<M>

Defined in

packages/firecms/src/types/datasource.ts:29


filter

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

Defined in

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


limit

Optional limit: number

Defined in

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


order

Optional order: "asc" | "desc"

Defined in

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


orderBy

Optional orderBy: string

Defined in

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


path

path: string

Defined in

packages/firecms/src/types/datasource.ts:28


searchString

Optional searchString: string

Defined in

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


startAfter

Optional startAfter: any[]

Defined in

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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!