PeerTube/server/middlewares/validators/index.js

20 lines
511 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 videosValidators = require('./videos')
const validators = {
pagination: paginationValidators,
pods: podsValidators,
remote: remoteValidators,
sort: sortValidators,
videos: videosValidators
}
// ---------------------------------------------------------------------------
module.exports = validators