aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/index.js
blob: 0471b3f92c618b803206c8a0c88b445b0599feec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict'

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

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

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

module.exports = validators