Home Reference Source

src/validator/rules/index.js

const custom = require('./Custom');
const date = require('./Date');
const day = require('./Day');
const email = require('./Email');
const json = require('./JSON');
const mask = require('./Mask');
const max = require('./Max');
const maxDate = require('./MaxDate');
const maxLength = require('./MaxLength');
const maxWords = require('./MaxWords');
const min = require('./Min');
const minDate = require('./MinDate');
const minLength = require('./MinLength');
const minWords = require('./MinWords');
const pattern = require('./Pattern');
const required = require('./Required');
const select = require('./Select');
const unique = require('./Unique');
const url = require('./Url');
const minYear = require('./MinYear');
const maxYear = require('./MaxYear');
const time = require('./Time');

module.exports = {
  custom,
  date,
  day,
  email,
  json,
  mask,
  max,
  maxDate,
  maxLength,
  maxWords,
  min,
  minDate,
  minLength,
  minWords,
  pattern,
  required,
  select,
  unique,
  url,
  minYear,
  maxYear,
  time,
};