Delivers the desired result to the UserSuppliedResultCondition. Pass this into its constructor.

interface UserSuppliedResultConditionConfig {
    conditionType: string;
    category?: ConditionCategory;
    result: ConditionEvaluateResult;
}

Hierarchy (view full)

Properties

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