PeerTube/server/middlewares/validators/index.js

22 lines
580 B
JavaScript
Raw Normal View History

2016-07-01 09:16:40 -05:00
'use strict'
const paginationValidators = require('./pagination')
const podsValidators = require('./pods')
const remoteValidators = require('./remote')
const sortValidators = require('./sort')
const usersValidators = require('./users')
2016-07-01 09:16:40 -05:00
const videosValidators = require('./videos')
const validators = {
pagination: paginationValidators,
pods: podsValidators,
remote: remoteValidators,
sort: sortValidators,
users: usersValidators,
2016-07-01 09:16:40 -05:00
videos: videosValidators
}
// ---------------------------------------------------------------------------
module.exports = validators