PeerTube/server/helpers/custom-validators/index.js

20 lines
491 B
JavaScript
Raw Normal View History

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