1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

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