1
0
Fork 0
peertube/server/middlewares/validators/index.js

22 lines
580 B
JavaScript
Raw Normal View History

2016-07-01 10:16:40 -04: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 10:16:40 -04:00
const videosValidators = require('./videos')
const validators = {
pagination: paginationValidators,
pods: podsValidators,
remote: remoteValidators,
sort: sortValidators,
users: usersValidators,
2016-07-01 10:16:40 -04:00
videos: videosValidators
}
// ---------------------------------------------------------------------------
module.exports = validators