Configuration for WhenCondition The child conditions are the childConditionConfig of ConditionWithOneChildBaseConfig.

interface WhenConditionConfig {
    childConditionConfig: ConditionConfig;
    enablerConfig: ConditionConfig;
    conditionType: string;
    category?: ConditionCategory;
}

Hierarchy (view full)

Properties

childConditionConfig: ConditionConfig

The Config for condition to negate.

enablerConfig: ConditionConfig

The condition that must be matched for the child condition to be evaluated. Value is required.

conditionType: string

Identifies the class for ConditionFactory to create. It is also used as the Validator's errorCode when ValidatorConfig.errorCode was not assigned.

Most Condition classes have an official value for Category. This allows you to override that official value in special situations and supply a value when the Condition does not.

Generated using TypeDoc v0.25.12