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

20 lines
491 B
JavaScript
Raw Normal View History

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