aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/register-options.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-10 16:59:53 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commitad91e7006e41f8ee5b8dcefee30f99e8ca44133a (patch)
treed860f20e05b036fa1a96e049c74deffd7f5d2b00 /shared/models/plugins/register-options.model.ts
parentffb321bedca46d6987c7b31dd58e5dea96ea2ea2 (diff)
downloadPeerTube-ad91e7006e41f8ee5b8dcefee30f99e8ca44133a.tar.gz
PeerTube-ad91e7006e41f8ee5b8dcefee30f99e8ca44133a.tar.zst
PeerTube-ad91e7006e41f8ee5b8dcefee30f99e8ca44133a.zip
WIP plugins: plugin settings on server side
Diffstat (limited to 'shared/models/plugins/register-options.model.ts')
-rw-r--r--shared/models/plugins/register-options.model.ts11
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 @@
1import { RegisterHookOptions } from './register-hook.model'
2import { RegisterSettingOptions } from './register-setting.model'
3import { PluginSettingsManager } from './plugin-settings-manager.model'
4
5export type RegisterOptions = {
6 registerHook: (options: RegisterHookOptions) => void
7
8 registerSetting: (options: RegisterSettingOptions) => void
9
10 settingsManager: PluginSettingsManager
11}