mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
WIP plugins: hook on client side
This commit is contained in:
1
shared/models/plugins/plugin-scope.type.ts
Normal file
1
shared/models/plugins/plugin-scope.type.ts
Normal file
@@ -0,0 +1 @@
|
||||
export type PluginScope = 'common' | 'video-watch'
|
||||
@@ -1,4 +1,4 @@
|
||||
export type RegisterHookOptions = {
|
||||
export interface RegisterHookOptions {
|
||||
target: string
|
||||
handler: Function
|
||||
priority?: number
|
||||
|
||||
Reference in New Issue
Block a user