1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Introduce follows command

This commit is contained in:
Chocobozzz 2021-07-07 09:16:40 +02:00
parent 883a901908
commit c3d29f694b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
20 changed files with 367 additions and 410 deletions

View file

@ -18,6 +18,7 @@ import { makeGetRequest } from '../requests/requests'
import { SearchCommand } from '../search'
import { ContactFormCommand } from './contact-form-command'
import { DebugCommand } from './debug-command'
import { FollowsCommand } from './follows-command'
interface ServerInfo {
app: ChildProcess
@ -81,6 +82,7 @@ interface ServerInfo {
searchCommand?: SearchCommand
contactFormCommand?: ContactFormCommand
debugCommand?: DebugCommand
followsCommand?: FollowsCommand
}
function parallelTests () {
@ -296,6 +298,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
server.searchCommand = new SearchCommand(server)
server.contactFormCommand = new ContactFormCommand(server)
server.debugCommand = new DebugCommand(server)
server.followsCommand = new FollowsCommand(server)
res(server)
})