diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/plugin-library.model.ts | 7 | ||||
-rw-r--r-- | shared/models/plugins/register-options.model.ts | 14 |
2 files changed, 0 insertions, 21 deletions
diff --git a/shared/models/plugins/plugin-library.model.ts b/shared/models/plugins/plugin-library.model.ts deleted file mode 100644 index fd90a3b46..000000000 --- a/shared/models/plugins/plugin-library.model.ts +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | import { RegisterOptions } from './register-options.model' | ||
2 | |||
3 | export interface PluginLibrary { | ||
4 | register: (options: RegisterOptions) => Promise<any> | ||
5 | |||
6 | unregister: () => Promise<any> | ||
7 | } | ||
diff --git a/shared/models/plugins/register-options.model.ts b/shared/models/plugins/register-options.model.ts deleted file mode 100644 index e3a7cff08..000000000 --- a/shared/models/plugins/register-options.model.ts +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | import { RegisterHookOptions } from './register-hook.model' | ||
2 | import { RegisterSettingOptions } from './register-setting.model' | ||
3 | import { PluginSettingsManager } from './plugin-settings-manager.model' | ||
4 | import { PluginStorageManager } from './plugin-storage-manager.model' | ||
5 | |||
6 | export type RegisterOptions = { | ||
7 | registerHook: (options: RegisterHookOptions) => void | ||
8 | |||
9 | registerSetting: (options: RegisterSettingOptions) => void | ||
10 | |||
11 | settingsManager: PluginSettingsManager | ||
12 | |||
13 | storageManager: PluginStorageManager | ||
14 | } | ||