Skip to main content

RuleGroupType<R extends RuleType = RuleType, C extends string = string>

Defined in: packages/core/src/types/ruleGroups.ts:57

The main rule group type. This type is used for query definitions as well as all sub-groups of queries.

Extends​

Type Parameters​

Type ParameterDefault type
R extends RuleTypeRuleType
C extends stringstring

Properties​

combinator​

combinator: C

Defined in: packages/core/src/types/ruleGroups.ts:61


disabled?​

optional disabled?: boolean

Defined in: packages/core/src/types/ruleGroups.ts:10

Inherited from​

CommonRuleAndGroupProperties.disabled


id?​

optional id?: string

Defined in: packages/core/src/types/ruleGroups.ts:9

Inherited from​

CommonRuleAndGroupProperties.id


muted?​

optional muted?: boolean

Defined in: packages/core/src/types/ruleGroups.ts:16

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


not?​

optional not?: boolean

Defined in: packages/core/src/types/ruleGroups.ts:63


path?​

optional path?: Path

Defined in: packages/core/src/types/ruleGroups.ts:8

Inherited from​

CommonRuleAndGroupProperties.path


rules​

rules: RuleGroupArray<RuleGroupType<R, C>, R>

Defined in: packages/core/src/types/ruleGroups.ts:62


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.