Skip to main content

SchemaNative<F, O>

Defined in: native/src/types.ts:37

Extends

  • Schema<F, O>.WithOptionalStyleSheets

Type Parameters

Type Parameter
F extends FullField
O extends string

Methods

createRule()

createRule(): RuleType

Defined in: react-querybuilder/src/types/propsUsingReact.ts:579

Returns

RuleType

Inherited from

Schema.createRule


createRuleGroup()

createRuleGroup(ic?: boolean): RuleGroupTypeAny

Defined in: react-querybuilder/src/types/propsUsingReact.ts:580

Parameters

ParameterType
ic?boolean

Returns

RuleGroupTypeAny

Inherited from

Schema.createRuleGroup


dispatchQuery()

dispatchQuery(query: RuleGroupTypeAny): void

Defined in: react-querybuilder/src/types/propsUsingReact.ts:581

Parameters

ParameterType
queryRuleGroupTypeAny

Returns

void

Inherited from

Schema.dispatchQuery


getInputType()

getInputType(field: string, operator: string, meta: { fieldData: F; }): null | InputType

Defined in: react-querybuilder/src/types/propsUsingReact.ts:587

Parameters

ParameterType
fieldstring
operatorstring
meta{ fieldData: F; }
meta.fieldDataF

Returns

null | InputType

Inherited from

Schema.getInputType


getOperators()

getOperators(field: string, meta: { fieldData: F; }): FullOperator<string>[] | OptionGroup<FullOperator<string>>[]

Defined in: react-querybuilder/src/types/propsUsingReact.ts:583

Parameters

ParameterType
fieldstring
meta{ fieldData: F; }
meta.fieldDataF

Returns

FullOperator<string>[] | OptionGroup<FullOperator<string>>[]

Inherited from

Schema.getOperators


getQuery()

getQuery(): RuleGroupTypeAny

Defined in: react-querybuilder/src/types/propsUsingReact.ts:582

Returns

RuleGroupTypeAny

Inherited from

Schema.getQuery


getRuleClassname()

getRuleClassname(rule: RuleType, misc: { fieldData: F; }): Classname

Defined in: react-querybuilder/src/types/propsUsingReact.ts:589

Parameters

ParameterType
ruleRuleType
misc{ fieldData: F; }
misc.fieldDataF

Returns

Classname

Inherited from

Schema.getRuleClassname


getRuleGroupClassname()

getRuleGroupClassname(ruleGroup: RuleGroupTypeAny): Classname

Defined in: react-querybuilder/src/types/propsUsingReact.ts:590

Parameters

ParameterType
ruleGroupRuleGroupTypeAny

Returns

Classname

Inherited from

Schema.getRuleGroupClassname


getValueEditorSeparator()

getValueEditorSeparator(field: string, operator: string, meta: { fieldData: F; }): ReactNode

Defined in: react-querybuilder/src/types/propsUsingReact.ts:585

Parameters

ParameterType
fieldstring
operatorstring
meta{ fieldData: F; }
meta.fieldDataF

Returns

ReactNode

Inherited from

Schema.getValueEditorSeparator


getValueEditorType()

getValueEditorType(field: string, operator: string, meta: { fieldData: F; }): ValueEditorType

Defined in: react-querybuilder/src/types/propsUsingReact.ts:584

Parameters

ParameterType
fieldstring
operatorstring
meta{ fieldData: F; }
meta.fieldDataF

Returns

ValueEditorType

Inherited from

Schema.getValueEditorType


getValues()

getValues(field: string, operator: string, meta: { fieldData: F; }): WithUnknownIndex<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; } & {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>[] | OptionGroup<WithUnknownIndex<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; } & {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>>[]

Defined in: react-querybuilder/src/types/propsUsingReact.ts:588

Parameters

ParameterType
fieldstring
operatorstring
meta{ fieldData: F; }
meta.fieldDataF

Returns

WithUnknownIndex<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; } & {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>[] | OptionGroup<WithUnknownIndex<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; } & {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>>[]

Inherited from

Schema.getValues


getValueSources()

getValueSources(field: string, operator: string, meta: { fieldData: F; }): ValueSources

Defined in: react-querybuilder/src/types/propsUsingReact.ts:586

Parameters

ParameterType
fieldstring
operatorstring
meta{ fieldData: F; }
meta.fieldDataF

Returns

ValueSources

Inherited from

Schema.getValueSources

Properties

accessibleDescriptionGenerator

accessibleDescriptionGenerator: AccessibleDescriptionGenerator

Defined in: react-querybuilder/src/types/propsUsingReact.ts:591

Inherited from

Schema.accessibleDescriptionGenerator


addRuleToNewGroups

addRuleToNewGroups: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:600

Inherited from

Schema.addRuleToNewGroups


autoSelectField

autoSelectField: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:597

Inherited from

Schema.autoSelectField


autoSelectOperator

autoSelectOperator: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:598

Inherited from

Schema.autoSelectOperator


autoSelectValue

autoSelectValue: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:599

Inherited from

Schema.autoSelectValue


classNames

classNames: Classnames

Defined in: react-querybuilder/src/types/propsUsingReact.ts:576

Inherited from

Schema.classNames


combinators

combinators: FullCombinator[] | OptionGroup<FullCombinator>[]

Defined in: react-querybuilder/src/types/propsUsingReact.ts:577

Inherited from

Schema.combinators


controls

controls: Required<SetNonNullable<Partial<{ actionElement: ComponentType<ActionProps>; addGroupAction: null | ComponentType<ActionWithRulesAndAddersProps>; addRuleAction: null | ComponentType<ActionWithRulesAndAddersProps>; cloneGroupAction: null | ComponentType<ActionWithRulesProps>; cloneRuleAction: null | ComponentType<ActionProps>; combinatorSelector: null | ComponentType<CombinatorSelectorProps>; dragHandle: null | ForwardRefExoticComponent<DragHandleProps & RefAttributes<HTMLElement>>; fieldSelector: null | ComponentType<FieldSelectorProps<F>>; inlineCombinator: null | ComponentType<InlineCombinatorProps>; lockGroupAction: null | ComponentType<ActionWithRulesProps>; lockRuleAction: null | ComponentType<ActionWithRulesProps>; notToggle: null | ComponentType<NotToggleProps>; operatorSelector: null | ComponentType<OperatorSelectorProps>; removeGroupAction: null | ComponentType<ActionWithRulesProps>; removeRuleAction: null | ComponentType<ActionProps>; rule: ComponentType<RuleProps<string, string>>; ruleGroup: ComponentType<RuleGroupProps<F, O>>; ruleGroupBodyElements: ComponentType<RuleGroupProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }, string> & UseRuleGroup>; ruleGroupHeaderElements: ComponentType<RuleGroupProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }, string> & UseRuleGroup>; shiftActions: null | ComponentType<ShiftActionsProps>; valueEditor: null | ComponentType<ValueEditorProps<F, O>>; valueSelector: ComponentType<ValueSelectorProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>>; valueSourceSelector: null | ComponentType<ValueSourceSelectorProps>; }>, "rule" | "ruleGroup" | "inlineCombinator" | "shiftActions" | "actionElement" | "addGroupAction" | "addRuleAction" | "cloneGroupAction" | "cloneRuleAction" | "combinatorSelector" | "dragHandle" | "fieldSelector" | "lockGroupAction" | "lockRuleAction" | "notToggle" | "operatorSelector" | "removeGroupAction" | "removeRuleAction" | "ruleGroupBodyElements" | "ruleGroupHeaderElements" | "valueEditor" | "valueSelector" | "valueSourceSelector">>

Defined in: react-querybuilder/src/types/propsUsingReact.ts:578

Inherited from

Schema.controls


disabledPaths

disabledPaths: Path[]

Defined in: react-querybuilder/src/types/propsUsingReact.ts:606

Inherited from

Schema.disabledPaths


enableDragAndDrop

enableDragAndDrop: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:601

Inherited from

Schema.enableDragAndDrop


fieldMap

fieldMap: Partial<Record<GetOptionIdentifierType<F>, F>>

Defined in: react-querybuilder/src/types/propsUsingReact.ts:575

Inherited from

Schema.fieldMap


fields

fields: FullOptionList<F>

Defined in: react-querybuilder/src/types/propsUsingReact.ts:574

Inherited from

Schema.fields


independentCombinators

independentCombinators: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:603

Inherited from

Schema.independentCombinators


listsAsArrays

listsAsArrays: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:604

Inherited from

Schema.listsAsArrays


parseNumbers

parseNumbers: ParseNumbersPropConfig

Defined in: react-querybuilder/src/types/propsUsingReact.ts:605

Inherited from

Schema.parseNumbers


qbId

qbId: string

Defined in: react-querybuilder/src/types/propsUsingReact.ts:573

Inherited from

Schema.qbId


showCloneButtons

showCloneButtons: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:595

Inherited from

Schema.showCloneButtons


showCombinatorsBetweenRules

showCombinatorsBetweenRules: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:592

Inherited from

Schema.showCombinatorsBetweenRules


showLockButtons

showLockButtons: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:596

Inherited from

Schema.showLockButtons


showNotToggle

showNotToggle: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:593

Inherited from

Schema.showNotToggle


showShiftActions

showShiftActions: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:594

Inherited from

Schema.showShiftActions


styles?

optional styles: WrapEachPropertyInStyleProp<QueryBuilderNativeStyles>

Defined in: native/src/types.ts:31

Inherited from

WithOptionalStyleSheets.styles


suppressStandardClassnames

suppressStandardClassnames: boolean

Defined in: react-querybuilder/src/types/propsUsingReact.ts:607

Inherited from

Schema.suppressStandardClassnames


validationMap

validationMap: ValidationMap

Defined in: react-querybuilder/src/types/propsUsingReact.ts:602

Inherited from

Schema.validationMap


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.