2016-02-07 04:23:23 -06:00
|
|
|
'use strict'
|
2015-11-07 07:16:26 -06:00
|
|
|
|
2016-05-13 11:10:46 -05:00
|
|
|
const paginationReqValidators = require('./pagination')
|
2016-03-16 16:29:27 -05:00
|
|
|
const podsReqValidators = require('./pods')
|
|
|
|
const remoteReqValidators = require('./remote')
|
2016-05-17 14:03:00 -05:00
|
|
|
const sortReqValidators = require('./sort')
|
2016-03-16 16:29:27 -05:00
|
|
|
const videosReqValidators = require('./videos')
|
2016-02-07 04:47:30 -06:00
|
|
|
|
2016-03-16 16:29:27 -05:00
|
|
|
const reqValidators = {
|
2016-05-13 11:10:46 -05:00
|
|
|
pagination: paginationReqValidators,
|
2016-02-07 04:47:30 -06:00
|
|
|
pods: podsReqValidators,
|
|
|
|
remote: remoteReqValidators,
|
2016-05-17 14:03:00 -05:00
|
|
|
sort: sortReqValidators,
|
2016-02-07 04:47:30 -06:00
|
|
|
videos: videosReqValidators
|
2016-02-07 04:23:23 -06:00
|
|
|
}
|
2015-11-07 07:16:26 -06:00
|
|
|
|
2016-02-07 04:23:23 -06:00
|
|
|
// ---------------------------------------------------------------------------
|
2016-01-31 04:23:52 -06:00
|
|
|
|
2016-02-07 04:23:23 -06:00
|
|
|
module.exports = reqValidators
|