diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-09 11:21:30 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | a54618880c394ad7571f3f3222dc96ec2dd10d9a (patch) | |
tree | c9f7b05e578abc2383bccd707c11438c61857c72 /shared/extra-utils/server/servers.ts | |
parent | 57f879a540551c3b958b0991c8e1e3657a4481d8 (diff) | |
download | PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.gz PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.zst PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.zip |
Introduce channels command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-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 6a1dadbcc..68e10af5f 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -22,6 +22,7 @@ import { | |||
22 | BlacklistCommand, | 22 | BlacklistCommand, |
23 | CaptionsCommand, | 23 | CaptionsCommand, |
24 | ChangeOwnershipCommand, | 24 | ChangeOwnershipCommand, |
25 | ChannelsCommand, | ||
25 | HistoryCommand, | 26 | HistoryCommand, |
26 | ImportsCommand, | 27 | ImportsCommand, |
27 | LiveCommand, | 28 | LiveCommand, |
@@ -119,6 +120,7 @@ interface ServerInfo { | |||
119 | historyCommand?: HistoryCommand | 120 | historyCommand?: HistoryCommand |
120 | importsCommand?: ImportsCommand | 121 | importsCommand?: ImportsCommand |
121 | streamingPlaylistsCommand?: StreamingPlaylistsCommand | 122 | streamingPlaylistsCommand?: StreamingPlaylistsCommand |
123 | channelsCommand?: ChannelsCommand | ||
122 | } | 124 | } |
123 | 125 | ||
124 | function parallelTests () { | 126 | function parallelTests () { |
@@ -353,6 +355,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
353 | server.historyCommand = new HistoryCommand(server) | 355 | server.historyCommand = new HistoryCommand(server) |
354 | server.importsCommand = new ImportsCommand(server) | 356 | server.importsCommand = new ImportsCommand(server) |
355 | server.streamingPlaylistsCommand = new StreamingPlaylistsCommand(server) | 357 | server.streamingPlaylistsCommand = new StreamingPlaylistsCommand(server) |
358 | server.channelsCommand = new ChannelsCommand(server) | ||
356 | 359 | ||
357 | res(server) | 360 | res(server) |
358 | }) | 361 | }) |