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')
|
2016-08-04 16:32:36 -04:00
|
|
|
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,
|
2016-08-04 16:32:36 -04:00
|
|
|
users: usersValidators,
|
2016-07-01 10:16:40 -04:00
|
|
|
videos: videosValidators
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
module.exports = validators
|