diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 14:30:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 23a3a8827cb8b862f5cc7ee2819f39918303beca (patch) | |
tree | 93a3bdbd02787d32094d6d50aa209f2c079038a5 /shared/extra-utils/server | |
parent | 480d6ea6791fe4100f1905af1e1e3a08173594ea (diff) | |
download | PeerTube-23a3a8827cb8b862f5cc7ee2819f39918303beca.tar.gz PeerTube-23a3a8827cb8b862f5cc7ee2819f39918303beca.tar.zst PeerTube-23a3a8827cb8b862f5cc7ee2819f39918303beca.zip |
Introduce overviews command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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' | |||
13 | import { LogsCommand } from '../logs' | 13 | import { LogsCommand } from '../logs' |
14 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' | 14 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' |
15 | import { AbusesCommand } from '../moderation' | 15 | import { AbusesCommand } from '../moderation' |
16 | import { OverviewsCommand } from '../overviews' | ||
16 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
17 | 18 | ||
18 | interface ServerInfo { | 19 | interface ServerInfo { |
@@ -73,6 +74,7 @@ interface ServerInfo { | |||
73 | feedCommand?: FeedCommand | 74 | feedCommand?: FeedCommand |
74 | logsCommand?: LogsCommand | 75 | logsCommand?: LogsCommand |
75 | abusesCommand?: AbusesCommand | 76 | abusesCommand?: AbusesCommand |
77 | overviewsCommand?: OverviewsCommand | ||
76 | } | 78 | } |
77 | 79 | ||
78 | function parallelTests () { | 80 | function parallelTests () { |
@@ -284,6 +286,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
284 | server.feedCommand = new FeedCommand(server) | 286 | server.feedCommand = new FeedCommand(server) |
285 | server.logsCommand = new LogsCommand(server) | 287 | server.logsCommand = new LogsCommand(server) |
286 | server.abusesCommand = new AbusesCommand(server) | 288 | server.abusesCommand = new AbusesCommand(server) |
289 | server.overviewsCommand = new OverviewsCommand(server) | ||
287 | 290 | ||
288 | res(server) | 291 | res(server) |
289 | }) | 292 | }) |