aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 14:30:20 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit23a3a8827cb8b862f5cc7ee2819f39918303beca (patch)
tree93a3bdbd02787d32094d6d50aa209f2c079038a5 /shared/extra-utils/server
parent480d6ea6791fe4100f1905af1e1e3a08173594ea (diff)
downloadPeerTube-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.ts3
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'
13import { LogsCommand } from '../logs' 13import { LogsCommand } from '../logs'
14import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' 14import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs'
15import { AbusesCommand } from '../moderation' 15import { AbusesCommand } from '../moderation'
16import { OverviewsCommand } from '../overviews'
16import { makeGetRequest } from '../requests/requests' 17import { makeGetRequest } from '../requests/requests'
17 18
18interface ServerInfo { 19interface 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
78function parallelTests () { 80function 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 })