import * as path from 'path' ; import { validatiorFunction } from './model.header' ; export const universalValidatorPath = path . join ( __dirname , '..' , 'ts' , 'universalValidators.js' ) ; const newRawValidators = require ( universalValidatorPath ) ; namespace export const validators = newRawValidators . validators ; exports . regexps = newRawValidators . regexps ;