diff options
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index bd5c29e51..95c876110 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -18,7 +18,16 @@ import { makeGetRequest } from '../requests/requests' | |||
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { SocketIOCommand } from '../socket' | 19 | import { SocketIOCommand } from '../socket' |
20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' | 20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' |
21 | import { BlacklistCommand, CaptionsCommand, ChangeOwnershipCommand, HistoryCommand, LiveCommand, PlaylistsCommand, ServicesCommand } from '../videos' | 21 | import { |
22 | BlacklistCommand, | ||
23 | CaptionsCommand, | ||
24 | ChangeOwnershipCommand, | ||
25 | HistoryCommand, | ||
26 | ImportsCommand, | ||
27 | LiveCommand, | ||
28 | PlaylistsCommand, | ||
29 | ServicesCommand | ||
30 | } from '../videos' | ||
22 | import { ConfigCommand } from './config-command' | 31 | import { ConfigCommand } from './config-command' |
23 | import { ContactFormCommand } from './contact-form-command' | 32 | import { ContactFormCommand } from './contact-form-command' |
24 | import { DebugCommand } from './debug-command' | 33 | import { DebugCommand } from './debug-command' |
@@ -107,6 +116,7 @@ interface ServerInfo { | |||
107 | changeOwnershipCommand?: ChangeOwnershipCommand | 116 | changeOwnershipCommand?: ChangeOwnershipCommand |
108 | playlistsCommand?: PlaylistsCommand | 117 | playlistsCommand?: PlaylistsCommand |
109 | historyCommand?: HistoryCommand | 118 | historyCommand?: HistoryCommand |
119 | importsCommand?: ImportsCommand | ||
110 | } | 120 | } |
111 | 121 | ||
112 | function parallelTests () { | 122 | function parallelTests () { |
@@ -339,6 +349,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
339 | server.changeOwnershipCommand = new ChangeOwnershipCommand(server) | 349 | server.changeOwnershipCommand = new ChangeOwnershipCommand(server) |
340 | server.playlistsCommand = new PlaylistsCommand(server) | 350 | server.playlistsCommand = new PlaylistsCommand(server) |
341 | server.historyCommand = new HistoryCommand(server) | 351 | server.historyCommand = new HistoryCommand(server) |
352 | server.importsCommand = new ImportsCommand(server) | ||
342 | 353 | ||
343 | res(server) | 354 | res(server) |
344 | }) | 355 | }) |