From ee286591a5b740702bad66c55cc900740f749e9a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Jul 2019 13:13:39 +0200 Subject: Plugins can update video constants Categories, licences and languages --- server/typings/plugins/register-server-option.model.ts | 7 +++++++ 1 file changed, 7 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 91a06a7c5..54753cc01 100644 --- a/server/typings/plugins/register-server-option.model.ts +++ b/server/typings/plugins/register-server-option.model.ts @@ -3,6 +3,9 @@ import { PluginSettingsManager } from '../../../shared/models/plugins/plugin-set import { PluginStorageManager } from '../../../shared/models/plugins/plugin-storage-manager.model' import { RegisterServerHookOptions } from '../../../shared/models/plugins/register-server-hook.model' import { RegisterServerSettingOptions } from '../../../shared/models/plugins/register-server-setting.model' +import { PluginVideoCategoryManager } from '../../../shared/models/plugins/plugin-video-category-manager.model' +import { PluginVideoLanguageManager } from '../../../shared/models/plugins/plugin-video-language-manager.model' +import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' export type RegisterServerOptions = { registerHook: (options: RegisterServerHookOptions) => void @@ -13,6 +16,10 @@ export type RegisterServerOptions = { storageManager: PluginStorageManager + videoCategoryManager: PluginVideoCategoryManager + videoLanguageManager: PluginVideoLanguageManager + videoLicenceManager: PluginVideoLicenceManager + peertubeHelpers: { logger: typeof logger } -- cgit v1.2.3