diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-26 13:13:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-26 15:18:30 +0200 |
commit | ee286591a5b740702bad66c55cc900740f749e9a (patch) | |
tree | 16503d1299a107c5972ba16f95228b1ebce20f79 /server/typings/plugins | |
parent | 16d54696294d15f8ab6ba3a6bcfac21528fec2f2 (diff) | |
download | PeerTube-ee286591a5b740702bad66c55cc900740f749e9a.tar.gz PeerTube-ee286591a5b740702bad66c55cc900740f749e9a.tar.zst PeerTube-ee286591a5b740702bad66c55cc900740f749e9a.zip |
Plugins can update video constants
Categories, licences and languages
Diffstat (limited to 'server/typings/plugins')
-rw-r--r-- | server/typings/plugins/register-server-option.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
3 | import { PluginStorageManager } from '../../../shared/models/plugins/plugin-storage-manager.model' | 3 | import { PluginStorageManager } from '../../../shared/models/plugins/plugin-storage-manager.model' |
4 | import { RegisterServerHookOptions } from '../../../shared/models/plugins/register-server-hook.model' | 4 | import { RegisterServerHookOptions } from '../../../shared/models/plugins/register-server-hook.model' |
5 | import { RegisterServerSettingOptions } from '../../../shared/models/plugins/register-server-setting.model' | 5 | import { RegisterServerSettingOptions } from '../../../shared/models/plugins/register-server-setting.model' |
6 | import { PluginVideoCategoryManager } from '../../../shared/models/plugins/plugin-video-category-manager.model' | ||
7 | import { PluginVideoLanguageManager } from '../../../shared/models/plugins/plugin-video-language-manager.model' | ||
8 | import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' | ||
6 | 9 | ||
7 | export type RegisterServerOptions = { | 10 | export type RegisterServerOptions = { |
8 | registerHook: (options: RegisterServerHookOptions) => void | 11 | registerHook: (options: RegisterServerHookOptions) => void |
@@ -13,6 +16,10 @@ export type RegisterServerOptions = { | |||
13 | 16 | ||
14 | storageManager: PluginStorageManager | 17 | storageManager: PluginStorageManager |
15 | 18 | ||
19 | videoCategoryManager: PluginVideoCategoryManager | ||
20 | videoLanguageManager: PluginVideoLanguageManager | ||
21 | videoLicenceManager: PluginVideoLicenceManager | ||
22 | |||
16 | peertubeHelpers: { | 23 | peertubeHelpers: { |
17 | logger: typeof logger | 24 | logger: typeof logger |
18 | } | 25 | } |