aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins')
-rw-r--r--shared/models/plugins/plugin-scope.type.ts1
-rw-r--r--shared/models/plugins/register.model.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/plugins/plugin-scope.type.ts b/shared/models/plugins/plugin-scope.type.ts
new file mode 100644
index 000000000..b63ae43ec
--- /dev/null
+++ b/shared/models/plugins/plugin-scope.type.ts
@@ -0,0 +1 @@
export type PluginScope = 'common' | 'video-watch'
diff --git a/shared/models/plugins/register.model.ts b/shared/models/plugins/register.model.ts
index 3817007ae..0ed2157bd 100644
--- a/shared/models/plugins/register.model.ts
+++ b/shared/models/plugins/register.model.ts
@@ -1,4 +1,4 @@
1export type RegisterHookOptions = { 1export interface RegisterHookOptions {
2 target: string 2 target: string
3 handler: Function 3 handler: Function
4 priority?: number 4 priority?: number