Skip to main content

Interface: CollectionFetchProps<M>

Type parameters#

NameType
MM: Object

Properties#

currentSort#

Optional currentSort: Order

Defined in#

hooks/data/useCollectionFetch.tsx:35


entitiesDisplayedFirst#

Optional entitiesDisplayedFirst: Entity<M>[]

List of entities that will be displayed on top, no matter the ordering. This is used for reference fields selection

Defined in#

hooks/data/useCollectionFetch.tsx:29


filterValues#

Optional filterValues: FilterValues<M>

Defined in#

hooks/data/useCollectionFetch.tsx:31


itemCount#

Optional itemCount: number

Defined in#

hooks/data/useCollectionFetch.tsx:23


path#

path: string

Absolute collection path

Defined in#

hooks/data/useCollectionFetch.tsx:15


schema#

schema: EntitySchema<M>

Schema of the entity displayed by this collection

Defined in#

hooks/data/useCollectionFetch.tsx:20


searchString#

Optional searchString: string

Defined in#

hooks/data/useCollectionFetch.tsx:37


sortByProperty#

Optional sortByProperty: Extract<keyof M, string>

Defined in#

hooks/data/useCollectionFetch.tsx:33