From 23a3a8827cb8b862f5cc7ee2819f39918303beca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 6 Jul 2021 14:30:20 +0200 Subject: Introduce overviews command --- shared/extra-utils/server/servers.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/extra-utils/server') diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index f05f0dbbe..70be96cf6 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts @@ -13,6 +13,7 @@ import { FeedCommand } from '../feeds' import { LogsCommand } from '../logs' import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' import { AbusesCommand } from '../moderation' +import { OverviewsCommand } from '../overviews' import { makeGetRequest } from '../requests/requests' interface ServerInfo { @@ -73,6 +74,7 @@ interface ServerInfo { feedCommand?: FeedCommand logsCommand?: LogsCommand abusesCommand?: AbusesCommand + overviewsCommand?: OverviewsCommand } function parallelTests () { @@ -284,6 +286,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] server.feedCommand = new FeedCommand(server) server.logsCommand = new LogsCommand(server) server.abusesCommand = new AbusesCommand(server) + server.overviewsCommand = new OverviewsCommand(server) res(server) }) -- cgit v1.2.3