aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/middlewares/validators/index.js
blob: 6c3a9c2b4d032c197c09652d64a8f9947c4e0184 (plain) (tree)
1
2
3
4
5
6
7





                                                    
                                          






                                            
                         





                                                                              
'use strict'

const paginationValidators = require('./pagination')
const podsValidators = require('./pods')
const remoteValidators = require('./remote')
const sortValidators = require('./sort')
const usersValidators = require('./users')
const videosValidators = require('./videos')

const validators = {
  pagination: paginationValidators,
  pods: podsValidators,
  remote: remoteValidators,
  sort: sortValidators,
  users: usersValidators,
  videos: videosValidators
}

// ---------------------------------------------------------------------------

module.exports = validators