]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Server: remove useless hash affectations
authorChocobozzz <florian.bigard@gmail.com>
Sun, 2 Oct 2016 10:19:02 +0000 (12:19 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sun, 2 Oct 2016 10:19:02 +0000 (12:19 +0200)
39 files changed:
server/helpers/custom-validators/misc.js
server/helpers/custom-validators/pods.js
server/helpers/custom-validators/users.js
server/helpers/custom-validators/videos.js
server/helpers/peertube-crypto.js
server/helpers/requests.js
server/helpers/utils.js
server/initializers/checker.js
server/initializers/installer.js
server/lib/friends.js
server/lib/oauth-model.js
server/middlewares/admin.js
server/middlewares/oauth.js
server/middlewares/pagination.js
server/middlewares/pods.js
server/middlewares/search.js
server/middlewares/secure.js
server/middlewares/sort.js
server/middlewares/validators/pagination.js
server/middlewares/validators/pods.js
server/middlewares/validators/remote.js
server/middlewares/validators/sort.js
server/middlewares/validators/users.js
server/middlewares/validators/utils.js
server/middlewares/validators/videos.js
server/models/application.js
server/models/oauth-client.js
server/models/oauth-token.js
server/models/pods.js
server/models/user.js
server/models/utils.js
server/models/video.js
server/tests/utils/login.js
server/tests/utils/miscs.js
server/tests/utils/pods.js
server/tests/utils/requests.js
server/tests/utils/servers.js
server/tests/utils/users.js
server/tests/utils/videos.js

index 782ae3dee5f6e5af572370e6c8a6d0596a3cd1b0..0527262419e2a1ef04584dc656fa6ae2ee08aba5 100644 (file)
@@ -1,8 +1,8 @@
 'use strict'
 
 const miscValidators = {
-  exists: exists,
-  isArray: isArray
+  exists,
+  isArray
 }
 
 function exists (value) {
index 28d04a05dc02ac2923bca5b2e3c5c9701f663bbf..40f8b5d0b895f4ad8819a0625f14c3727d98113d 100644 (file)
@@ -5,7 +5,7 @@ const validator = require('express-validator').validator
 const miscValidators = require('./misc')
 
 const podsValidators = {
-  isEachUniqueUrlValid: isEachUniqueUrlValid
+  isEachUniqueUrlValid
 }
 
 function isEachUniqueUrlValid (urls) {
index 0e92989e575fba437eb4cc2d8b73610fb413254d..88fa1592e858e25ab421b58672734fb0130b5b79 100644 (file)
@@ -7,9 +7,9 @@ const constants = require('../../initializers/constants')
 const USERS_CONSTRAINTS_FIELDS = constants.CONSTRAINTS_FIELDS.USERS
 
 const usersValidators = {
-  isUserPasswordValid: isUserPasswordValid,
-  isUserRoleValid: isUserRoleValid,
-  isUserUsernameValid: isUserUsernameValid
+  isUserPasswordValid,
+  isUserRoleValid,
+  isUserUsernameValid
 }
 
 function isUserPasswordValid (value) {
index ebe927208b75166061b0c367e47266c79d4be75a..a507ff68617a7e46925e31356843dc0585e8d7ec 100644 (file)
@@ -8,17 +8,17 @@ const miscValidators = require('./misc')
 const VIDEOS_CONSTRAINTS_FIELDS = constants.CONSTRAINTS_FIELDS.VIDEOS
 
 const videosValidators = {
-  isEachRemoteVideosValid: isEachRemoteVideosValid,
-  isVideoAuthorValid: isVideoAuthorValid,
-  isVideoDateValid: isVideoDateValid,
-  isVideoDescriptionValid: isVideoDescriptionValid,
-  isVideoDurationValid: isVideoDurationValid,
-  isVideoMagnetUriValid: isVideoMagnetUriValid,
-  isVideoNameValid: isVideoNameValid,
-  isVideoPodUrlValid: isVideoPodUrlValid,
-  isVideoTagsValid: isVideoTagsValid,
-  isVideoThumbnailValid: isVideoThumbnailValid,
-  isVideoThumbnail64Valid: isVideoThumbnail64Valid
+  isEachRemoteVideosValid,
+  isVideoAuthorValid,
+  isVideoDateValid,
+  isVideoDescriptionValid,
+  isVideoDurationValid,
+  isVideoMagnetUriValid,
+  isVideoNameValid,
+  isVideoPodUrlValid,
+  isVideoTagsValid,
+  isVideoThumbnailValid,
+  isVideoThumbnail64Valid
 }
 
 function isEachRemoteVideosValid (requests) {
index 4783e996596419e173c53f894350ca939a3c571e..1ff638b04ecce144a71698c9eaffea2efcef8391 100644 (file)
@@ -12,13 +12,13 @@ const logger = require('./logger')
 const algorithm = 'aes-256-ctr'
 
 const peertubeCrypto = {
-  checkSignature: checkSignature,
-  comparePassword: comparePassword,
-  createCertsIfNotExist: createCertsIfNotExist,
-  cryptPassword: cryptPassword,
-  decrypt: decrypt,
-  encrypt: encrypt,
-  sign: sign
+  checkSignature,
+  comparePassword,
+  createCertsIfNotExist,
+  cryptPassword,
+  decrypt,
+  encrypt,
+  sign
 }
 
 function checkSignature (publicKey, rawData, hexSignature) {
index f76ff3473dfd7d9c0f7158b52663566298e4e9cf..95775c981c1a5545d0e82bd45bc4bb48b88770f0 100644 (file)
@@ -7,8 +7,8 @@ const constants = require('../initializers/constants')
 const peertubeCrypto = require('./peertube-crypto')
 
 const requests = {
-  makeRetryRequest: makeRetryRequest,
-  makeSecureRequest: makeSecureRequest
+  makeRetryRequest,
+  makeSecureRequest
 }
 
 function makeRetryRequest (params, callback) {
index a77116e0833f44335848d3a4c8ccf0dec1af7bb9..9c2d402e3105047615d26bfe4ebd016deed2810d 100644 (file)
@@ -5,8 +5,8 @@ const crypto = require('crypto')
 const logger = require('./logger')
 
 const utils = {
-  cleanForExit: cleanForExit,
-  generateRandomString: generateRandomString
+  cleanForExit,
+  generateRandomString
 }
 
 function generateRandomString (size, callback) {
index 2a33009b4ed7b65f26529364b24b0c0d0d5bf415..91fbcfaf933ffe2885c491f44dc2e6de7c398f98 100644 (file)
@@ -7,9 +7,9 @@ const Client = mongoose.model('OAuthClient')
 const User = mongoose.model('User')
 
 const checker = {
-  checkConfig: checkConfig,
-  clientsExist: clientsExist,
-  usersExist: usersExist
+  checkConfig,
+  clientsExist,
+  usersExist
 }
 
 // Check the config files
index 8c3148e79fc9576f476f74fc6280ca2c13ecb4ee..1df300ba8d467fb76d3a7b5647fe1efc76559294 100644 (file)
@@ -18,7 +18,7 @@ const Client = mongoose.model('OAuthClient')
 const User = mongoose.model('User')
 
 const installer = {
-  installApplication: installApplication
+  installApplication
 }
 
 function installApplication (callback) {
@@ -107,9 +107,9 @@ function createOAuthAdminIfNotExist (callback) {
     }
 
     const user = new User({
-      username: username,
-      password: password,
-      role: role
+      username,
+      password,
+      role
     })
 
     user.save(function (err, createdUser) {
index 6c4383d8edbcc548d03560c82e20c8c3b533600b..556d2e7733e934f45d34a3d3098991ff56631c16 100644 (file)
@@ -17,13 +17,13 @@ const Request = mongoose.model('Request')
 const Video = mongoose.model('Video')
 
 const friends = {
-  addVideoToFriends: addVideoToFriends,
-  hasFriends: hasFriends,
-  getMyCertificate: getMyCertificate,
-  makeFriends: makeFriends,
-  quitFriends: quitFriends,
-  removeVideoToFriends: removeVideoToFriends,
-  sendOwnedVideosToPod: sendOwnedVideosToPod
+  addVideoToFriends,
+  hasFriends,
+  getMyCertificate,
+  makeFriends,
+  quitFriends,
+  removeVideoToFriends,
+  sendOwnedVideosToPod
 }
 
 function addVideoToFriends (video) {
index 6dab02fca80e1d882d6710d899bffe9c42f06d65..45f796796ca85880f67183a4af5853649a62008b 100644 (file)
@@ -8,12 +8,12 @@ const User = mongoose.model('User')
 
 // See https://github.com/oauthjs/node-oauth2-server/wiki/Model-specification for the model specifications
 const OAuthModel = {
-  getAccessToken: getAccessToken,
-  getClient: getClient,
-  getRefreshToken: getRefreshToken,
-  getUser: getUser,
-  revokeToken: revokeToken,
-  saveToken: saveToken
+  getAccessToken,
+  getClient,
+  getRefreshToken,
+  getUser,
+  revokeToken,
+  saveToken
 }
 
 // ---------------------------------------------------------------------------
index bcb60ab959ee2094380bd78abac4888726cd11ad..e6d9dc8878a7a4a3725e9f575121c4bef6a44b7a 100644 (file)
@@ -4,7 +4,7 @@ const constants = require('../initializers/constants')
 const logger = require('../helpers/logger')
 
 const adminMiddleware = {
-  ensureIsAdmin: ensureIsAdmin
+  ensureIsAdmin
 }
 
 function ensureIsAdmin (req, res, next) {
index 08584c41c7358ff00f19c40015cf18344084d623..3a02b9b4863c1e16b06502ae781368f13a48b7cb 100644 (file)
@@ -12,8 +12,8 @@ const oAuthServer = new OAuthServer({
 })
 
 const oAuth = {
-  authenticate: authenticate,
-  token: token
+  authenticate,
+  token
 }
 
 function authenticate (req, res, next) {
index a571e51f6c75ec3a6e7a28e3365998884adb0300..a90f60aab22dc684cd23e1078f6ff6dedea45fe7 100644 (file)
@@ -3,7 +3,7 @@
 const constants = require('../initializers/constants')
 
 const paginationMiddleware = {
-  setPagination: setPagination
+  setPagination
 }
 
 function setPagination (req, res, next) {
index 116b02b3c8116b63db48d5b22baafd51b905cef3..6e0874a7699833c0d8ed7804c90926c8c1aa61f9 100644 (file)
@@ -5,8 +5,8 @@ const urlModule = require('url')
 const logger = require('../helpers/logger')
 
 const podsMiddleware = {
-  setBodyUrlsPort: setBodyUrlsPort,
-  setBodyUrlPort: setBodyUrlPort
+  setBodyUrlsPort,
+  setBodyUrlPort
 }
 
 function setBodyUrlsPort (req, res, next) {
index 89302a5643fc7d68a14d347a0373b9c7b824c3d9..bb88faf545b23d5585d517aa52ff22cf0702be24 100644 (file)
@@ -1,7 +1,7 @@
 'use strict'
 
 const searchMiddleware = {
-  setVideosSearch: setVideosSearch
+  setVideosSearch
 }
 
 function setVideosSearch (req, res, next) {
index 33a52e8d9ba54121daa6961adcc1857ddfbbc669..58f824d14cbb4561f00d42c42d2c214e9640ea03 100644 (file)
@@ -7,8 +7,8 @@ const peertubeCrypto = require('../helpers/peertube-crypto')
 const Pod = mongoose.model('Pod')
 
 const secureMiddleware = {
-  checkSignature: checkSignature,
-  decryptBody: decryptBody
+  checkSignature,
+  decryptBody
 }
 
 function checkSignature (req, res, next) {
index 8ed15780587355c949ae1a3b569e57fb3cc6a84b..f0b7274eba11ea244a600f6e0037bef71e0793e6 100644 (file)
@@ -1,8 +1,8 @@
 'use strict'
 
 const sortMiddleware = {
-  setUsersSort: setUsersSort,
-  setVideosSort: setVideosSort
+  setUsersSort,
+  setVideosSort
 }
 
 function setUsersSort (req, res, next) {
index 8e9a010536fb7cfd1f2a6d62e98c8e1c888f3845..16682696e5a49cafc9e00c0a74a9c9eea0fdc45b 100644 (file)
@@ -4,7 +4,7 @@ const checkErrors = require('./utils').checkErrors
 const logger = require('../../helpers/logger')
 
 const validatorsPagination = {
-  pagination: pagination
+  pagination
 }
 
 function pagination (req, res, next) {
index 3c605c45e96353f40aa12983856d1547209d8613..fd3d1e2f243375ab5a2b52ccf07c330614b45d28 100644 (file)
@@ -5,8 +5,8 @@ const friends = require('../../lib/friends')
 const logger = require('../../helpers/logger')
 
 const validatorsPod = {
-  makeFriends: makeFriends,
-  podsAdd: podsAdd
+  makeFriends,
+  podsAdd
 }
 
 function makeFriends (req, res, next) {
index 87dc524a2bcc0e2b5620b3178ed1143cdd4bff35..8c29ef8ca40c63407c4353f1a0a3a1f610a435a9 100644 (file)
@@ -4,9 +4,9 @@ const checkErrors = require('./utils').checkErrors
 const logger = require('../../helpers/logger')
 
 const validatorsRemote = {
-  dataToDecrypt: dataToDecrypt,
-  remoteVideos: remoteVideos,
-  signature: signature
+  dataToDecrypt,
+  remoteVideos,
+  signature
 }
 
 function dataToDecrypt (req, res, next) {
index 37b34ef52cbca232c0153459640a10d88817f1d3..431d3fffd1e8b3062e46bd2eea7e0e3f68a54c0d 100644 (file)
@@ -5,8 +5,8 @@ const constants = require('../../initializers/constants')
 const logger = require('../../helpers/logger')
 
 const validatorsSort = {
-  usersSort: usersSort,
-  videosSort: videosSort
+  usersSort,
+  videosSort
 }
 
 function usersSort (req, res, next) {
index 5defdf4e30d8ace80888db8cb4719684658fe49f..d541e91247c0c1125761dff8f2b951836d90d501 100644 (file)
@@ -8,9 +8,9 @@ const logger = require('../../helpers/logger')
 const User = mongoose.model('User')
 
 const validatorsUsers = {
-  usersAdd: usersAdd,
-  usersRemove: usersRemove,
-  usersUpdate: usersUpdate
+  usersAdd,
+  usersRemove,
+  usersUpdate
 }
 
 function usersAdd (req, res, next) {
index f6e5b2b38206973cc9d2b26db940f4483f1ca0d1..3741b84c65c4c98ef7e26db287d9b25987704cf5 100644 (file)
@@ -5,7 +5,7 @@ const util = require('util')
 const logger = require('../../helpers/logger')
 
 const validatorsUtils = {
-  checkErrors: checkErrors
+  checkErrors
 }
 
 function checkErrors (req, res, next, statusCode) {
index e51087d5af9edabcc9825a955721210a5f5c59f6..76e943e77b2ed363a1385b8176d4475592a6c992 100644 (file)
@@ -10,10 +10,10 @@ const logger = require('../../helpers/logger')
 const Video = mongoose.model('Video')
 
 const validatorsVideos = {
-  videosAdd: videosAdd,
-  videosGet: videosGet,
-  videosRemove: videosRemove,
-  videosSearch: videosSearch
+  videosAdd,
+  videosGet,
+  videosRemove,
+  videosSearch
 }
 
 function videosAdd (req, res, next) {
index 8185f09157ac5e29e5f36e66c6de194e40a4646d..452ac4283ba71efa0b5942269682ead45f30bed8 100644 (file)
@@ -10,8 +10,8 @@ const ApplicationSchema = mongoose.Schema({
 })
 
 ApplicationSchema.statics = {
-  loadMongoSchemaVersion: loadMongoSchemaVersion,
-  updateMongoSchemaVersion: updateMongoSchemaVersion
+  loadMongoSchemaVersion,
+  updateMongoSchemaVersion
 }
 
 mongoose.model('Application', ApplicationSchema)
index 45834c5a5374328d238f20a78f68a534d36e9cfa..a1aefa985283ad279a6e925e3a918784b4c8e244 100644 (file)
@@ -11,9 +11,9 @@ const OAuthClientSchema = mongoose.Schema({
 OAuthClientSchema.path('clientSecret').required(true)
 
 OAuthClientSchema.statics = {
-  getByIdAndSecret: getByIdAndSecret,
-  list: list,
-  loadFirstClient: loadFirstClient
+  getByIdAndSecret,
+  list,
+  loadFirstClient
 }
 
 mongoose.model('OAuthClient', OAuthClientSchema)
index d53fdcf31fd336a970a722582d7c1577dc11a98b..5beb47bedb29ab230a1f93b87839764acdad4d23 100644 (file)
@@ -18,10 +18,10 @@ OAuthTokenSchema.path('client').required(true)
 OAuthTokenSchema.path('user').required(true)
 
 OAuthTokenSchema.statics = {
-  getByRefreshTokenAndPopulateClient: getByRefreshTokenAndPopulateClient,
-  getByTokenAndPopulateUser: getByTokenAndPopulateUser,
-  getByRefreshToken: getByRefreshToken,
-  removeByUserId: removeByUserId
+  getByRefreshTokenAndPopulateClient,
+  getByTokenAndPopulateUser,
+  getByRefreshToken,
+  removeByUserId
 }
 
 mongoose.model('OAuthToken', OAuthTokenSchema)
index 59de2d60cb62dd07b17445f24386b1d29c3aba7c..4020a96034bed386feaa9723f74eb336ef685e9f 100644 (file)
@@ -24,18 +24,18 @@ PodSchema.path('publicKey').required(true)
 PodSchema.path('score').validate(function (value) { return !isNaN(value) })
 
 PodSchema.methods = {
-  toFormatedJSON: toFormatedJSON
+  toFormatedJSON
 }
 
 PodSchema.statics = {
-  countAll: countAll,
-  incrementScores: incrementScores,
-  list: list,
-  listAllIds: listAllIds,
-  listBadPods: listBadPods,
-  load: load,
-  loadByUrl: loadByUrl,
-  removeAll: removeAll
+  countAll,
+  incrementScores,
+  list,
+  listAllIds,
+  listBadPods,
+  load,
+  loadByUrl,
+  removeAll
 }
 
 PodSchema.pre('save', function (next) {
index 91e8aeae1c93fa26aaae2fa4fa65692f55c8def6..a19de7072cd77ae5e881297e775f25c829ab45aa 100644 (file)
@@ -23,17 +23,17 @@ UserSchema.path('username').required(customUsersValidators.isUserUsernameValid)
 UserSchema.path('role').validate(customUsersValidators.isUserRoleValid)
 
 UserSchema.methods = {
-  isPasswordMatch: isPasswordMatch,
-  toFormatedJSON: toFormatedJSON
+  isPasswordMatch,
+  toFormatedJSON
 }
 
 UserSchema.statics = {
-  countTotal: countTotal,
-  getByUsername: getByUsername,
-  list: list,
-  listForApi: listForApi,
-  loadById: loadById,
-  loadByUsername: loadByUsername
+  countTotal,
+  getByUsername,
+  list,
+  listForApi,
+  loadById,
+  loadByUsername
 }
 
 UserSchema.pre('save', function (next) {
index a961e8c5ba4b07fd47f1a19fa409f00e8c038975..e798aabe67a0f67a2648f450f6c0f26879bc1191 100644 (file)
@@ -3,7 +3,7 @@
 const parallel = require('async/parallel')
 
 const utils = {
-  listForApiWithCount: listForApiWithCount
+  listForApiWithCount
 }
 
 function listForApiWithCount (query, start, count, sort, callback) {
index 0f60b6cd49112c5f0a456cda26c9a3a7b689d2ab..b9999c8f66f0c4fd000e96455692a3cba6975095 100644 (file)
@@ -47,22 +47,22 @@ VideoSchema.path('thumbnail').validate(function (value) {
 VideoSchema.path('tags').validate(customVideosValidators.isVideoTagsValid)
 
 VideoSchema.methods = {
-  isOwned: isOwned,
-  toFormatedJSON: toFormatedJSON,
-  toRemoteJSON: toRemoteJSON
+  isOwned,
+  toFormatedJSON,
+  toRemoteJSON
 }
 
 VideoSchema.statics = {
-  getDurationFromFile: getDurationFromFile,
-  listForApi: listForApi,
-  listByUrlAndMagnet: listByUrlAndMagnet,
-  listByUrls: listByUrls,
-  listOwned: listOwned,
-  listOwnedByAuthor: listOwnedByAuthor,
-  listRemotes: listRemotes,
-  load: load,
-  search: search,
-  seedAllExisting: seedAllExisting
+  getDurationFromFile,
+  listForApi,
+  listByUrlAndMagnet,
+  listByUrls,
+  listOwned,
+  listOwnedByAuthor,
+  listRemotes,
+  load,
+  search,
+  seedAllExisting
 }
 
 VideoSchema.pre('remove', function (next) {
index 1a5d75bc45b22d12659ce39ca182545086e0990e..465564e141b96eb2b8caf84730e2506c3bd1b43a 100644 (file)
@@ -3,8 +3,8 @@
 const request = require('supertest')
 
 const loginUtils = {
-  login: login,
-  loginAndGetAccessToken: loginAndGetAccessToken
+  login,
+  loginAndGetAccessToken
 }
 
 // ---------------------- Export functions --------------------
index 5414cd56161f9ce3b7326c9d19e095a002dcf946..4ceff65df5cb09e4bf316979bbc04ac6a1114cae 100644 (file)
@@ -1,7 +1,7 @@
 'use strict'
 
 const miscsUtils = {
-  dateIsValid: dateIsValid
+  dateIsValid
 }
 
 // ---------------------- Export functions --------------------
index 9a9148856bd4c0850854c6d3a417d0d046f5af4e..a8551a49dc108358c9b4da3650d3921e81d4f259 100644 (file)
@@ -3,9 +3,9 @@
 const request = require('supertest')
 
 const podsUtils = {
-  getFriendsList: getFriendsList,
-  makeFriends: makeFriends,
-  quitFriends: quitFriends
+  getFriendsList,
+  makeFriends,
+  quitFriends
 }
 
 // ---------------------- Export functions --------------------
index 410e42c77e1e0d395f536a51d70a9bbb93b158b6..b1470814d4729d25199a81d242cb415d70a24dbf 100644 (file)
@@ -3,9 +3,9 @@
 const request = require('supertest')
 
 const requestsUtils = {
-  makePostUploadRequest: makePostUploadRequest,
-  makePostBodyRequest: makePostBodyRequest,
-  makePutBodyRequest: makePutBodyRequest
+  makePostUploadRequest,
+  makePostBodyRequest,
+  makePutBodyRequest
 }
 
 // ---------------------- Export functions --------------------
index ee7cd8c0ab95689be66c79215c0afb07b6c8eb0d..d62838bc71529eb468bb8e54a76530b4a7142b5f 100644 (file)
@@ -6,9 +6,9 @@ const fork = childProcess.fork
 const pathUtils = require('path')
 
 const serversUtils = {
-  flushAndRunMultipleServers: flushAndRunMultipleServers,
-  flushTests: flushTests,
-  runServer: runServer
+  flushAndRunMultipleServers,
+  flushTests,
+  runServer
 }
 
 // ---------------------- Export functions --------------------
index 0cf4e4adb7ef56bcae91058e49858fdac734659e..2bf9c6e3e13f2e7f29359fe130d7c9e62c763291 100644 (file)
@@ -3,12 +3,12 @@
 const request = require('supertest')
 
 const usersUtils = {
-  createUser: createUser,
-  getUserInformation: getUserInformation,
-  getUsersList: getUsersList,
-  getUsersListPaginationAndSort: getUsersListPaginationAndSort,
-  removeUser: removeUser,
-  updateUser: updateUser
+  createUser,
+  getUserInformation,
+  getUsersList,
+  getUsersListPaginationAndSort,
+  removeUser,
+  updateUser
 }
 
 // ---------------------- Export functions --------------------
index 90ee9621eef18bbcc7f11ee3546cf354ebe95d70..536093db13998c0cf700753d00402924a3c6f7c8 100644 (file)
@@ -5,17 +5,17 @@ const pathUtils = require('path')
 const request = require('supertest')
 
 const videosUtils = {
-  getAllVideosListBy: getAllVideosListBy,
-  getVideo: getVideo,
-  getVideosList: getVideosList,
-  getVideosListPagination: getVideosListPagination,
-  getVideosListSort: getVideosListSort,
-  removeVideo: removeVideo,
-  searchVideo: searchVideo,
-  searchVideoWithPagination: searchVideoWithPagination,
-  searchVideoWithSort: searchVideoWithSort,
-  testVideoImage: testVideoImage,
-  uploadVideo: uploadVideo
+  getAllVideosListBy,
+  getVideo,
+  getVideosList,
+  getVideosListPagination,
+  getVideosListSort,
+  removeVideo,
+  searchVideo,
+  searchVideoWithPagination,
+  searchVideoWithSort,
+  testVideoImage,
+  uploadVideo
 }
 
 // ---------------------- Export functions --------------------