aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/videos/videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/videos/videos.ts')
-rw-r--r--shared/extra-utils/videos/videos.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts
index 86f49384d..b41533808 100644
--- a/shared/extra-utils/videos/videos.ts
+++ b/shared/extra-utils/videos/videos.ts
@@ -9,12 +9,12 @@ import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } fr
9import { dateIsValid, testImage, webtorrentAdd } from '../miscs' 9import { dateIsValid, testImage, webtorrentAdd } from '../miscs'
10import { makeRawRequest } from '../requests/requests' 10import { makeRawRequest } from '../requests/requests'
11import { waitJobs } from '../server' 11import { waitJobs } from '../server'
12import { ServerInfo } from '../server/servers' 12import { PeerTubeServer } from '../server/server'
13import { VideoEdit } from './videos-command' 13import { VideoEdit } from './videos-command'
14 14
15async function checkVideoFilesWereRemoved ( 15async function checkVideoFilesWereRemoved (
16 videoUUID: string, 16 videoUUID: string,
17 server: ServerInfo, 17 server: PeerTubeServer,
18 directories = [ 18 directories = [
19 'redundancy', 19 'redundancy',
20 'videos', 20 'videos',
@@ -40,7 +40,7 @@ async function checkVideoFilesWereRemoved (
40} 40}
41 41
42function checkUploadVideoParam ( 42function checkUploadVideoParam (
43 server: ServerInfo, 43 server: PeerTubeServer,
44 token: string, 44 token: string,
45 attributes: Partial<VideoEdit>, 45 attributes: Partial<VideoEdit>,
46 expectedStatus = HttpStatusCode.OK_200, 46 expectedStatus = HttpStatusCode.OK_200,
@@ -52,7 +52,7 @@ function checkUploadVideoParam (
52} 52}
53 53
54async function completeVideoCheck ( 54async function completeVideoCheck (
55 server: ServerInfo, 55 server: PeerTubeServer,
56 video: any, 56 video: any,
57 attributes: { 57 attributes: {
58 name: string 58 name: string
@@ -197,7 +197,7 @@ async function completeVideoCheck (
197 197
198// serverNumber starts from 1 198// serverNumber starts from 1
199async function uploadRandomVideoOnServers ( 199async function uploadRandomVideoOnServers (
200 servers: ServerInfo[], 200 servers: PeerTubeServer[],
201 serverNumber: number, 201 serverNumber: number,
202 additionalParams?: VideoEdit & { prefixName?: string } 202 additionalParams?: VideoEdit & { prefixName?: string }
203) { 203) {