Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
import * as reactQuerybuilder from "https://deno.land/x/react_querybuilder@v7.0.0-alpha.2/packages/react-querybuilder/src/types/options.ts";

Interfaces

A generic Option requiring name and value properties. Props that extend OptionList accept FlexibleOption, but corresponding props sent to subcomponents will always be translated to this type first to ensure both name and value are available.

A generic option. Used directly in OptionList or as the child element of an OptionGroup.

Type Aliases

A generic Option with either a name or value as its primary identifier. OptionList-type props accept this type, but corresponding props sent to subcomponents will always be translated to FullOption first.

An array of options or option groups, like OptionList, but each member may use either name or value as the primary identifier.

Map of option identifiers to their respective Option.

An array of options or option groups, like OptionList, but using FullOption instead of Option. This means that every member is guaranteed to have both name and value.

Map of option identifiers to their respective FullOption.

Map of option identifiers to their respective FullOption. Must include all possible strings from the identifier type.

Extracts the type of the identifying property from a FlexibleOption.

Extracts the Option type from a FlexibleOptionList.

T
NameLabelPair
deprecated

An Option group within an OptionList.

Either an array of Option or an array of OptionGroup.

Utility type to turn an Option into a FlexibleOption.

Utility type to turn an Option, ValueOption or FlexibleOption into a FullOption.

Like Option but requiring value instead of name.