aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/middlewares/reqValidators/index.js
blob: be68f6a297e4f12c20345a13a28aee6dbe5e60e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
            
 
                                                       

                                               
                                           
                                               
 
                       
                                      

                              
                          
                             
 
 
                                                                              
 
                              
'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