1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Introduce search command

This commit is contained in:
Chocobozzz 2021-07-06 15:22:51 +02:00
parent 23a3a8827c
commit af971e06c6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
20 changed files with 518 additions and 509 deletions

View file

@ -15,6 +15,7 @@ import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../mi
import { AbusesCommand } from '../moderation'
import { OverviewsCommand } from '../overviews'
import { makeGetRequest } from '../requests/requests'
import { SearchCommand } from '../search'
interface ServerInfo {
app: ChildProcess
@ -75,6 +76,7 @@ interface ServerInfo {
logsCommand?: LogsCommand
abusesCommand?: AbusesCommand
overviewsCommand?: OverviewsCommand
searchCommand?: SearchCommand
}
function parallelTests () {
@ -287,6 +289,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
server.logsCommand = new LogsCommand(server)
server.abusesCommand = new AbusesCommand(server)
server.overviewsCommand = new OverviewsCommand(server)
server.searchCommand = new SearchCommand(server)
res(server)
})