diff options
Diffstat (limited to 'shared/models/plugins/register-options.model.ts')
-rw-r--r-- | shared/models/plugins/register-options.model.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/plugins/register-options.model.ts b/shared/models/plugins/register-options.model.ts new file mode 100644 index 000000000..e60ce3fe0 --- /dev/null +++ b/shared/models/plugins/register-options.model.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { RegisterHookOptions } from './register-hook.model' | ||
2 | import { RegisterSettingOptions } from './register-setting.model' | ||
3 | import { PluginSettingsManager } from './plugin-settings-manager.model' | ||
4 | |||
5 | export type RegisterOptions = { | ||
6 | registerHook: (options: RegisterHookOptions) => void | ||
7 | |||
8 | registerSetting: (options: RegisterSettingOptions) => void | ||
9 | |||
10 | settingsManager: PluginSettingsManager | ||
11 | } | ||