Skip to content

CollectionFetchProps

@firecms/core


@firecms/core / CollectionFetchProps

Defined in: hooks/data/useCollectionFetch.tsx:10

M extends Record<string, any>

collection: EntityCollection<M>

Defined in: hooks/data/useCollectionFetch.tsx:20

collection of the entity displayed by this collection


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

Defined in: hooks/data/useCollectionFetch.tsx:30

Filter the fetched data by the property


optional itemCount: number

Defined in: hooks/data/useCollectionFetch.tsx:25

Number of entities to fetch


path: string

Defined in: hooks/data/useCollectionFetch.tsx:15

Absolute collection path


optional searchString: string

Defined in: hooks/data/useCollectionFetch.tsx:40

Search string


optional sortBy: [Extract<keyof M, string>, "desc" | "asc"]

Defined in: hooks/data/useCollectionFetch.tsx:35

Sort the results by