diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 15:22:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | af971e06c620bd46a5aa64c8833364e7022b5e3d (patch) | |
tree | 4288b66b79fe4dd1ab9496e85a3abf7d747ad03a /shared/extra-utils/server | |
parent | 23a3a8827cb8b862f5cc7ee2819f39918303beca (diff) | |
download | PeerTube-af971e06c620bd46a5aa64c8833364e7022b5e3d.tar.gz PeerTube-af971e06c620bd46a5aa64c8833364e7022b5e3d.tar.zst PeerTube-af971e06c620bd46a5aa64c8833364e7022b5e3d.zip |
Introduce search 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 70be96cf6..8ccf790fc 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -15,6 +15,7 @@ import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../mi | |||
15 | import { AbusesCommand } from '../moderation' | 15 | import { AbusesCommand } from '../moderation' |
16 | import { OverviewsCommand } from '../overviews' | 16 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | ||
18 | 19 | ||
19 | interface ServerInfo { | 20 | interface ServerInfo { |
20 | app: ChildProcess | 21 | app: ChildProcess |
@@ -75,6 +76,7 @@ interface ServerInfo { | |||
75 | logsCommand?: LogsCommand | 76 | logsCommand?: LogsCommand |
76 | abusesCommand?: AbusesCommand | 77 | abusesCommand?: AbusesCommand |
77 | overviewsCommand?: OverviewsCommand | 78 | overviewsCommand?: OverviewsCommand |
79 | searchCommand?: SearchCommand | ||
78 | } | 80 | } |
79 | 81 | ||
80 | function parallelTests () { | 82 | function parallelTests () { |
@@ -287,6 +289,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
287 | server.logsCommand = new LogsCommand(server) | 289 | server.logsCommand = new LogsCommand(server) |
288 | server.abusesCommand = new AbusesCommand(server) | 290 | server.abusesCommand = new AbusesCommand(server) |
289 | server.overviewsCommand = new OverviewsCommand(server) | 291 | server.overviewsCommand = new OverviewsCommand(server) |
292 | server.searchCommand = new SearchCommand(server) | ||
290 | 293 | ||
291 | res(server) | 294 | res(server) |
292 | }) | 295 | }) |