2019-07-18 16:43:41 +02:00
|
|
|
import { logger } from '../../helpers/logger'
|
|
|
|
import { PluginSettingsManager } from '../../../shared/models/plugins/plugin-settings-manager.model'
|
|
|
|
import { PluginStorageManager } from '../../../shared/models/plugins/plugin-storage-manager.model'
|
2019-07-24 11:17:42 +02:00
|
|
|
import { RegisterServerHookOptions } from '../../../shared/models/plugins/register-server-hook.model'
|
|
|
|
import { RegisterServerSettingOptions } from '../../../shared/models/plugins/register-server-setting.model'
|
2019-07-26 13:13:39 +02:00
|
|
|
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'
|
2019-07-18 16:43:41 +02:00
|
|
|
|
2019-07-24 11:17:42 +02:00
|
|
|
export type RegisterServerOptions = {
|
|
|
|
registerHook: (options: RegisterServerHookOptions) => void
|
2019-07-18 16:43:41 +02:00
|
|
|
|
2019-07-24 11:17:42 +02:00
|
|
|
registerSetting: (options: RegisterServerSettingOptions) => void
|
2019-07-18 16:43:41 +02:00
|
|
|
|
|
|
|
settingsManager: PluginSettingsManager
|
|
|
|
|
|
|
|
storageManager: PluginStorageManager
|
|
|
|
|
2019-07-26 13:13:39 +02:00
|
|
|
videoCategoryManager: PluginVideoCategoryManager
|
|
|
|
videoLanguageManager: PluginVideoLanguageManager
|
|
|
|
videoLicenceManager: PluginVideoLicenceManager
|
|
|
|
|
2019-07-18 16:43:41 +02:00
|
|
|
peertubeHelpers: {
|
|
|
|
logger: typeof logger
|
|
|
|
}
|
|
|
|
}
|