aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r--shared/extra-utils/server/servers.ts13
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'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { SocketIOCommand } from '../socket' 19import { SocketIOCommand } from '../socket'
20import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' 20import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users'
21import { BlacklistCommand, CaptionsCommand, ChangeOwnershipCommand, HistoryCommand, LiveCommand, PlaylistsCommand, ServicesCommand } from '../videos' 21import {
22 BlacklistCommand,
23 CaptionsCommand,
24 ChangeOwnershipCommand,
25 HistoryCommand,
26 ImportsCommand,
27 LiveCommand,
28 PlaylistsCommand,
29 ServicesCommand
30} from '../videos'
22import { ConfigCommand } from './config-command' 31import { ConfigCommand } from './config-command'
23import { ContactFormCommand } from './contact-form-command' 32import { ContactFormCommand } from './contact-form-command'
24import { DebugCommand } from './debug-command' 33import { 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
112function parallelTests () { 122function 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 })