1
0
Fork 0
peertube/server/helpers/custom-validators/index.js

20 lines
491 B
JavaScript
Raw Normal View History

2016-07-31 14:58:43 -04:00
'use strict'
const miscValidators = require('./misc')
const podsValidators = require('./pods')
2017-01-04 14:59:23 -05:00
const remoteValidators = require('./remote')
2016-07-31 14:58:43 -04:00
const usersValidators = require('./users')
const videosValidators = require('./videos')
const validators = {
misc: miscValidators,
pods: podsValidators,
2017-01-04 14:59:23 -05:00
remote: remoteValidators,
2016-07-31 14:58:43 -04:00
users: usersValidators,
videos: videosValidators
}
// ---------------------------------------------------------------------------
module.exports = validators