diff options
Diffstat (limited to 'shared/utils/server/servers.ts')
-rw-r--r-- | shared/utils/server/servers.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/utils/server/servers.ts b/shared/utils/server/servers.ts index bde7dd5c2..5288d253a 100644 --- a/shared/utils/server/servers.ts +++ b/shared/utils/server/servers.ts | |||
@@ -6,6 +6,7 @@ import { root, wait } from '../miscs/miscs' | |||
6 | import { readdir, readFile } from 'fs-extra' | 6 | import { readdir, readFile } from 'fs-extra' |
7 | import { existsSync } from 'fs' | 7 | import { existsSync } from 'fs' |
8 | import { expect } from 'chai' | 8 | import { expect } from 'chai' |
9 | import { VideoChannel } from '../../models/videos' | ||
9 | 10 | ||
10 | interface ServerInfo { | 11 | interface ServerInfo { |
11 | app: ChildProcess, | 12 | app: ChildProcess, |
@@ -25,6 +26,7 @@ interface ServerInfo { | |||
25 | } | 26 | } |
26 | 27 | ||
27 | accessToken?: string | 28 | accessToken?: string |
29 | videoChannel?: VideoChannel | ||
28 | 30 | ||
29 | video?: { | 31 | video?: { |
30 | id: number | 32 | id: number |
@@ -39,6 +41,8 @@ interface ServerInfo { | |||
39 | id: number | 41 | id: number |
40 | uuid: string | 42 | uuid: string |
41 | } | 43 | } |
44 | |||
45 | videos?: { id: number, uuid: string }[] | ||
42 | } | 46 | } |
43 | 47 | ||
44 | function flushAndRunMultipleServers (totalServers: number, configOverride?: Object) { | 48 | function flushAndRunMultipleServers (totalServers: number, configOverride?: Object) { |