aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins')
-rw-r--r--shared/models/plugins/plugin-library.model.ts7
-rw-r--r--shared/models/plugins/register-options.model.ts14
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 @@
1import { RegisterOptions } from './register-options.model'
2
3export 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 @@
1import { RegisterHookOptions } from './register-hook.model'
2import { RegisterSettingOptions } from './register-setting.model'
3import { PluginSettingsManager } from './plugin-settings-manager.model'
4import { PluginStorageManager } from './plugin-storage-manager.model'
5
6export type RegisterOptions = {
7 registerHook: (options: RegisterHookOptions) => void
8
9 registerSetting: (options: RegisterSettingOptions) => void
10
11 settingsManager: PluginSettingsManager
12
13 storageManager: PluginStorageManager
14}