RuleType<F, O, V, C>
The main rule type. The field, operator, and value properties
can be narrowed with generics.
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
F extends string | string |
O extends string | string |
V | any |
C extends string | string |
Properties
combinatorPreceding?
optionalcombinatorPreceding:C
Only used when adding a rule to a query that uses independent combinators.
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:30
disabled?
optionaldisabled:boolean
Inherited from
CommonRuleAndGroupProperties.disabled
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:9
field
field:
F
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:23
id?
optionalid:string
Inherited from
CommonRuleAndGroupProperties.id
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:8
operator
operator:
O
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:24
path?
optionalpath:Path
Inherited from
CommonRuleAndGroupProperties.path
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:7
value
value:
V
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:25
valueSource?
optionalvalueSource:ValueSource
Defined in
packages/react-querybuilder/src/types/ruleGroups.ts:26
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.