Skip to main content
Version: 2.0.0

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
Keyextends string

Defined in

lib/src/types/collections.ts:367

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!