diff options
Diffstat (limited to 'server/typings/plugins/register-server-option.model.ts')
-rw-r--r-- | server/typings/plugins/register-server-option.model.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/server/typings/plugins/register-server-option.model.ts b/server/typings/plugins/register-server-option.model.ts index 54753cc01..76ac3cb9a 100644 --- a/server/typings/plugins/register-server-option.model.ts +++ b/server/typings/plugins/register-server-option.model.ts | |||
@@ -1,4 +1,3 @@ | |||
1 | import { logger } from '../../helpers/logger' | ||
2 | import { PluginSettingsManager } from '../../../shared/models/plugins/plugin-settings-manager.model' | 1 | import { PluginSettingsManager } from '../../../shared/models/plugins/plugin-settings-manager.model' |
3 | import { PluginStorageManager } from '../../../shared/models/plugins/plugin-storage-manager.model' | 2 | import { PluginStorageManager } from '../../../shared/models/plugins/plugin-storage-manager.model' |
4 | import { RegisterServerHookOptions } from '../../../shared/models/plugins/register-server-hook.model' | 3 | import { RegisterServerHookOptions } from '../../../shared/models/plugins/register-server-hook.model' |
@@ -6,6 +5,11 @@ import { RegisterServerSettingOptions } from '../../../shared/models/plugins/reg | |||
6 | import { PluginVideoCategoryManager } from '../../../shared/models/plugins/plugin-video-category-manager.model' | 5 | import { PluginVideoCategoryManager } from '../../../shared/models/plugins/plugin-video-category-manager.model' |
7 | import { PluginVideoLanguageManager } from '../../../shared/models/plugins/plugin-video-language-manager.model' | 6 | import { PluginVideoLanguageManager } from '../../../shared/models/plugins/plugin-video-language-manager.model' |
8 | import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' | 7 | import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' |
8 | import { Logger } from 'winston' | ||
9 | |||
10 | export type PeerTubeHelpers = { | ||
11 | logger: Logger | ||
12 | } | ||
9 | 13 | ||
10 | export type RegisterServerOptions = { | 14 | export type RegisterServerOptions = { |
11 | registerHook: (options: RegisterServerHookOptions) => void | 15 | registerHook: (options: RegisterServerHookOptions) => void |
@@ -20,7 +24,5 @@ export type RegisterServerOptions = { | |||
20 | videoLanguageManager: PluginVideoLanguageManager | 24 | videoLanguageManager: PluginVideoLanguageManager |
21 | videoLicenceManager: PluginVideoLicenceManager | 25 | videoLicenceManager: PluginVideoLicenceManager |
22 | 26 | ||
23 | peertubeHelpers: { | 27 | peertubeHelpers: PeerTubeHelpers |
24 | logger: typeof logger | ||
25 | } | ||
26 | } | 28 | } |