mirror of https://github.com/Chocobozzz/PeerTube
20 lines
491 B
JavaScript
20 lines
491 B
JavaScript
'use strict'
|
|
|
|
const miscValidators = require('./misc')
|
|
const podsValidators = require('./pods')
|
|
const remoteValidators = require('./remote')
|
|
const usersValidators = require('./users')
|
|
const videosValidators = require('./videos')
|
|
|
|
const validators = {
|
|
misc: miscValidators,
|
|
pods: podsValidators,
|
|
remote: remoteValidators,
|
|
users: usersValidators,
|
|
videos: videosValidators
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
module.exports = validators
|