From ad91e7006e41f8ee5b8dcefee30f99e8ca44133a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 Jul 2019 16:59:53 +0200 Subject: WIP plugins: plugin settings on server side --- shared/models/plugins/register-options.model.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shared/models/plugins/register-options.model.ts (limited to 'shared/models/plugins/register-options.model.ts') 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 @@ +import { RegisterHookOptions } from './register-hook.model' +import { RegisterSettingOptions } from './register-setting.model' +import { PluginSettingsManager } from './plugin-settings-manager.model' + +export type RegisterOptions = { + registerHook: (options: RegisterHookOptions) => void + + registerSetting: (options: RegisterSettingOptions) => void + + settingsManager: PluginSettingsManager +} -- cgit v1.2.3