aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/index.js
blob: 6c3a9c2b4d032c197c09652d64a8f9947c4e0184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
'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