WIP plugins: hook on client side

This commit is contained in:
Chocobozzz
2019-07-08 15:54:08 +02:00
committed by Chocobozzz
parent 2c0539420d
commit 18a6f04c07
11 changed files with 215 additions and 3 deletions

View File

@@ -0,0 +1 @@
export type PluginScope = 'common' | 'video-watch'

View File

@@ -1,4 +1,4 @@
export type RegisterHookOptions = {
export interface RegisterHookOptions {
target: string
handler: Function
priority?: number