diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-09 11:35:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-09 11:37:44 +0200 |
commit | ab3ead3a6f080e6768b898e699c8de92703d93c6 (patch) | |
tree | d335ad83d47341b43ca842c319f21eaefdcc78e4 /server/typings | |
parent | 1b05d82d861f42c27766e9f24d8d55e68b0cf098 (diff) | |
download | PeerTube-ab3ead3a6f080e6768b898e699c8de92703d93c6.tar.gz PeerTube-ab3ead3a6f080e6768b898e699c8de92703d93c6.tar.zst PeerTube-ab3ead3a6f080e6768b898e699c8de92703d93c6.zip |
Add ability to remove a video from a plugin
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/plugins/register-server-option.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/typings/plugins/register-server-option.model.ts b/server/typings/plugins/register-server-option.model.ts index 6f2ba7cd6..fda9afb11 100644 --- a/server/typings/plugins/register-server-option.model.ts +++ b/server/typings/plugins/register-server-option.model.ts | |||
@@ -13,6 +13,10 @@ export type PeerTubeHelpers = { | |||
13 | database: { | 13 | database: { |
14 | query: Function | 14 | query: Function |
15 | } | 15 | } |
16 | |||
17 | videos: { | ||
18 | removeVideo: (videoId: number) => Promise<void> | ||
19 | } | ||
16 | } | 20 | } |
17 | 21 | ||
18 | export type RegisterServerOptions = { | 22 | export type RegisterServerOptions = { |