"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.registerValidator = registerValidator;
exports.unregisterValidator = unregisterValidator;
exports.validators = void 0;
var _validators = require("@inkline/inkline/validation/validators");
const validators = exports.validators = {
  alpha: _validators.alpha,
  alphanumeric: _validators.alphanumeric,
  custom: _validators.custom,
  number: _validators.number,
  email: _validators.email,
  max: _validators.max,
  maxLength: _validators.maxLength,
  min: _validators.min,
  minLength: _validators.minLength,
  required: _validators.required,
  sameAs: _validators.sameAs
};
function registerValidator(name, validator) {
  validators[name] = validator;
}
function unregisterValidator(name) {
  delete validators[name];
}