UNPKG

copious-transitions

Version:
24 lines (15 loc) 539 B
const {GeneralValidator} = require('../../index') class DefaultValidator extends GeneralValidator { constructor() { super() this.self = this } // prepare_tests() { // application specific not in the conf ... may be in the db .. add to the field_set object of the GeneralValidator // ADD IN A CAPTCHA VALIDATION... // // load application fields // this.application_tests = {} // each applicaton has to set up its own } } module.exports = new DefaultValidator()