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

18 lines
418 B
JavaScript
Raw Normal View History

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