1
0
Fork 0
peertube/server/middlewares/reqValidators/index.js
2016-05-17 21:03:00 +02:00

19 lines
547 B
JavaScript

'use strict'
const paginationReqValidators = require('./pagination')
const podsReqValidators = require('./pods')
const remoteReqValidators = require('./remote')
const sortReqValidators = require('./sort')
const videosReqValidators = require('./videos')
const reqValidators = {
pagination: paginationReqValidators,
pods: podsReqValidators,
remote: remoteReqValidators,
sort: sortReqValidators,
videos: videosReqValidators
}
// ---------------------------------------------------------------------------
module.exports = reqValidators