diff options
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/plugins/index.d.ts | 2 | ||||
-rw-r--r-- | server/typings/plugins/plugin-library.model.ts | 4 | ||||
-rw-r--r-- | server/typings/plugins/register-server-option.model.ts (renamed from server/typings/plugins/register-options.model.ts) | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/server/typings/plugins/index.d.ts b/server/typings/plugins/index.d.ts index bddb3089e..9570579ef 100644 --- a/server/typings/plugins/index.d.ts +++ b/server/typings/plugins/index.d.ts | |||
@@ -1,2 +1,2 @@ | |||
1 | export * from './register-options.model' | 1 | export * from './register-server-option.model' |
2 | export * from './plugin-library.model' | 2 | export * from './plugin-library.model' |
diff --git a/server/typings/plugins/plugin-library.model.ts b/server/typings/plugins/plugin-library.model.ts index fd90a3b46..5b517ee9f 100644 --- a/server/typings/plugins/plugin-library.model.ts +++ b/server/typings/plugins/plugin-library.model.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { RegisterOptions } from './register-options.model' | 1 | import { RegisterServerOptions } from './register-server-option.model' |
2 | 2 | ||
3 | export interface PluginLibrary { | 3 | export interface PluginLibrary { |
4 | register: (options: RegisterOptions) => Promise<any> | 4 | register: (options: RegisterServerOptions) => Promise<any> |
5 | 5 | ||
6 | unregister: () => Promise<any> | 6 | unregister: () => Promise<any> |
7 | } | 7 | } |
diff --git a/server/typings/plugins/register-options.model.ts b/server/typings/plugins/register-server-option.model.ts index 007ef5e1b..91a06a7c5 100644 --- a/server/typings/plugins/register-options.model.ts +++ b/server/typings/plugins/register-server-option.model.ts | |||
@@ -1,13 +1,13 @@ | |||
1 | import { logger } from '../../helpers/logger' | 1 | import { logger } from '../../helpers/logger' |
2 | import { RegisterHookOptions } from '../../../shared/models/plugins/register-hook.model' | ||
3 | import { RegisterSettingOptions } from '../../../shared/models/plugins/register-setting.model' | ||
4 | import { PluginSettingsManager } from '../../../shared/models/plugins/plugin-settings-manager.model' | 2 | import { PluginSettingsManager } from '../../../shared/models/plugins/plugin-settings-manager.model' |
5 | 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' | ||
5 | import { RegisterServerSettingOptions } from '../../../shared/models/plugins/register-server-setting.model' | ||
6 | 6 | ||
7 | export type RegisterOptions = { | 7 | export type RegisterServerOptions = { |
8 | registerHook: (options: RegisterHookOptions) => void | 8 | registerHook: (options: RegisterServerHookOptions) => void |
9 | 9 | ||
10 | registerSetting: (options: RegisterSettingOptions) => void | 10 | registerSetting: (options: RegisterServerSettingOptions) => void |
11 | 11 | ||
12 | settingsManager: PluginSettingsManager | 12 | settingsManager: PluginSettingsManager |
13 | 13 | ||