Interface RegistrationOptions

These options are used for pre-defined valiations in order to enable the user to decide, how the created pre-defined valiation should be registered.

interface RegistrationOptions {
    registration: Partial<ValidationRuleOptions> | "MYSELF";
}

Properties

Properties

registration: Partial<ValidationRuleOptions> | "MYSELF"

'MYSELF' indicates, that the caller is responsible to register the validation rule, otherwise the given options are used to register the return validation rule now.