Skip to main content

Type alias: FilterCombination<Key>

Ƭ FilterCombination<Key>: Partial<Record<Key, "asc" | "desc">>

Used to indicate valid filter combinations (e.g. created in Firestore) If the user selects a specific filter/sort combination, the CMS checks if it's valid, otherwise it reverts to the simpler valid case

Type parameters#

NameType
KeyKey: string

Defined in#

models/collections.ts:334