diff options
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index bd3be8373..e0e49d2c4 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -11,13 +11,14 @@ import { CLICommand } from '../cli' | |||
11 | import { CustomPagesCommand } from '../custom-pages' | 11 | import { CustomPagesCommand } from '../custom-pages' |
12 | import { FeedCommand } from '../feeds' | 12 | import { FeedCommand } from '../feeds' |
13 | import { LogsCommand } from '../logs' | 13 | import { LogsCommand } from '../logs' |
14 | import { SQLCommand } from '../miscs' | ||
14 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' | 15 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' |
15 | import { AbusesCommand } from '../moderation' | 16 | import { AbusesCommand } from '../moderation' |
16 | import { OverviewsCommand } from '../overviews' | 17 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 18 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | 19 | import { SearchCommand } from '../search' |
19 | import { SocketIOCommand } from '../socket' | 20 | import { SocketIOCommand } from '../socket' |
20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' | 21 | import { AccountsCommand, BlocklistCommand, NotificationsCommand, SubscriptionsCommand } from '../users' |
21 | import { | 22 | import { |
22 | BlacklistCommand, | 23 | BlacklistCommand, |
23 | CaptionsCommand, | 24 | CaptionsCommand, |
@@ -30,7 +31,6 @@ import { | |||
30 | ServicesCommand, | 31 | ServicesCommand, |
31 | StreamingPlaylistsCommand | 32 | StreamingPlaylistsCommand |
32 | } from '../videos' | 33 | } from '../videos' |
33 | import { SQLCommand } from '../miscs' | ||
34 | import { CommentsCommand } from '../videos/comments-command' | 34 | import { CommentsCommand } from '../videos/comments-command' |
35 | import { ConfigCommand } from './config-command' | 35 | import { ConfigCommand } from './config-command' |
36 | import { ContactFormCommand } from './contact-form-command' | 36 | import { ContactFormCommand } from './contact-form-command' |
@@ -125,6 +125,7 @@ interface ServerInfo { | |||
125 | channelsCommand?: ChannelsCommand | 125 | channelsCommand?: ChannelsCommand |
126 | commentsCommand?: CommentsCommand | 126 | commentsCommand?: CommentsCommand |
127 | sqlCommand?: SQLCommand | 127 | sqlCommand?: SQLCommand |
128 | notificationsCommand?: NotificationsCommand | ||
128 | } | 129 | } |
129 | 130 | ||
130 | function parallelTests () { | 131 | function parallelTests () { |
@@ -370,6 +371,7 @@ function assignCommands (server: ServerInfo) { | |||
370 | server.channelsCommand = new ChannelsCommand(server) | 371 | server.channelsCommand = new ChannelsCommand(server) |
371 | server.commentsCommand = new CommentsCommand(server) | 372 | server.commentsCommand = new CommentsCommand(server) |
372 | server.sqlCommand = new SQLCommand(server) | 373 | server.sqlCommand = new SQLCommand(server) |
374 | server.notificationsCommand = new NotificationsCommand(server) | ||
373 | } | 375 | } |
374 | 376 | ||
375 | async function reRunServer (server: ServerInfo, configOverride?: any) { | 377 | async function reRunServer (server: ServerInfo, configOverride?: any) { |