RECondition<R, C>
Defined in: rules-engine/src/types/rulesEngine.ts:14
A condition within a RulesEngine. Each condition has an antecedent (rule group)
and an optional consequent. A condition may also itself contain nested conditions.
Extends
CommonRuleAndGroupProperties.Partial<RulesEngine<R,C>>
Type Parameters
| Type Parameter | Default type |
|---|---|
R extends RuleType | RuleType |
C extends string | string |
Properties
antecedent
antecedent:
RuleGroupType
Defined in: rules-engine/src/types/rulesEngine.ts:16
conditions?
optionalconditions:RECondition<RuleType<string,string,any,string>,string>[]
Defined in: rules-engine/src/types/rulesEngine.ts:56
Inherited from
Partial.conditions
consequent?
optionalconsequent:Consequent
Defined in: rules-engine/src/types/rulesEngine.ts:17
defaultConsequent?
optionaldefaultConsequent:Consequent
Defined in: rules-engine/src/types/rulesEngine.ts:57
Inherited from
Partial.defaultConsequent
disabled?
optionaldisabled:boolean
Defined in: core/src/types/ruleGroups.ts:9
Inherited from
CommonRuleAndGroupProperties.disabled
id?
optionalid:string
Defined in: core/src/types/ruleGroups.ts:8
Inherited from
CommonRuleAndGroupProperties.id
muted?
optionalmuted:boolean
Defined in: core/src/types/ruleGroups.ts:15
Whether this rule or group is muted. When muted, the rule or group is excluded from query export formats (SQL, JSON, MongoDB, etc.). For groups, muting recursively mutes all children.
Inherited from
CommonRuleAndGroupProperties.muted
path?
optionalpath:Path
Defined in: core/src/types/ruleGroups.ts:7
Inherited from
CommonRuleAndGroupProperties.path
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.