From ab3ead3a6f080e6768b898e699c8de92703d93c6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Apr 2020 11:35:29 +0200 Subject: Add ability to remove a video from a plugin --- server/typings/plugins/register-server-option.model.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/typings') 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 = { database: { query: Function } + + videos: { + removeVideo: (videoId: number) => Promise + } } export type RegisterServerOptions = { -- cgit v1.2.3