diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-08 16:21:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 313228e9c3b5bcef5391228c9b949d05d32ad7bb (patch) | |
tree | d2f39a2bd32ef093224c594d72219809504321b7 /shared/extra-utils/server | |
parent | e6346d59e63135cf012ed18c102d3b0179ef565f (diff) | |
download | PeerTube-313228e9c3b5bcef5391228c9b949d05d32ad7bb.tar.gz PeerTube-313228e9c3b5bcef5391228c9b949d05d32ad7bb.tar.zst PeerTube-313228e9c3b5bcef5391228c9b949d05d32ad7bb.zip |
Introduce history command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 78b3be9c7..bd5c29e51 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -18,7 +18,7 @@ import { makeGetRequest } from '../requests/requests' | |||
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { SocketIOCommand } from '../socket' | 19 | import { SocketIOCommand } from '../socket' |
20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' | 20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' |
21 | import { BlacklistCommand, CaptionsCommand, ChangeOwnershipCommand, LiveCommand, PlaylistsCommand, ServicesCommand } from '../videos' | 21 | import { BlacklistCommand, CaptionsCommand, ChangeOwnershipCommand, HistoryCommand, LiveCommand, PlaylistsCommand, ServicesCommand } from '../videos' |
22 | import { ConfigCommand } from './config-command' | 22 | import { ConfigCommand } from './config-command' |
23 | import { ContactFormCommand } from './contact-form-command' | 23 | import { ContactFormCommand } from './contact-form-command' |
24 | import { DebugCommand } from './debug-command' | 24 | import { DebugCommand } from './debug-command' |
@@ -106,6 +106,7 @@ interface ServerInfo { | |||
106 | captionsCommand?: CaptionsCommand | 106 | captionsCommand?: CaptionsCommand |
107 | changeOwnershipCommand?: ChangeOwnershipCommand | 107 | changeOwnershipCommand?: ChangeOwnershipCommand |
108 | playlistsCommand?: PlaylistsCommand | 108 | playlistsCommand?: PlaylistsCommand |
109 | historyCommand?: HistoryCommand | ||
109 | } | 110 | } |
110 | 111 | ||
111 | function parallelTests () { | 112 | function parallelTests () { |
@@ -337,6 +338,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
337 | server.captionsCommand = new CaptionsCommand(server) | 338 | server.captionsCommand = new CaptionsCommand(server) |
338 | server.changeOwnershipCommand = new ChangeOwnershipCommand(server) | 339 | server.changeOwnershipCommand = new ChangeOwnershipCommand(server) |
339 | server.playlistsCommand = new PlaylistsCommand(server) | 340 | server.playlistsCommand = new PlaylistsCommand(server) |
341 | server.historyCommand = new HistoryCommand(server) | ||
340 | 342 | ||
341 | res(server) | 343 | res(server) |
342 | }) | 344 | }) |