diff options
Diffstat (limited to 'server/helpers/custom-validators/index.js')
-rw-r--r-- | server/helpers/custom-validators/index.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/server/helpers/custom-validators/index.js b/server/helpers/custom-validators/index.js new file mode 100644 index 000000000..ab3066822 --- /dev/null +++ b/server/helpers/custom-validators/index.js | |||
@@ -0,0 +1,15 @@ | |||
1 | 'use strict' | ||
2 | |||
3 | const miscValidators = require('./misc') | ||
4 | const usersValidators = require('./users') | ||
5 | const videosValidators = require('./videos') | ||
6 | |||
7 | const validators = { | ||
8 | misc: miscValidators, | ||
9 | users: usersValidators, | ||
10 | videos: videosValidators | ||
11 | } | ||
12 | |||
13 | // --------------------------------------------------------------------------- | ||
14 | |||
15 | module.exports = validators | ||