diff options
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 5 | ||||
-rw-r--r-- | shared/models/plugins/server/server-hook.model.ts | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index e6313b60e..20e019304 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -88,7 +88,10 @@ export const clientFilterHookObject = { | |||
88 | 'filter:share.video-playlist-url.build.result': true, | 88 | 'filter:share.video-playlist-url.build.result': true, |
89 | 89 | ||
90 | // Filter videojs options built for PeerTube player | 90 | // Filter videojs options built for PeerTube player |
91 | 'filter:internal.player.videojs.options.result': true | 91 | 'filter:internal.player.videojs.options.result': true, |
92 | |||
93 | // Filter p2p media loader options built for PeerTube player | ||
94 | 'filter:internal.player.p2p-media-loader.options.result': true | ||
92 | } | 95 | } |
93 | 96 | ||
94 | export type ClientFilterHookName = keyof typeof clientFilterHookObject | 97 | export type ClientFilterHookName = keyof typeof clientFilterHookObject |
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index 5bf01c4b4..f11d2050b 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts | |||
@@ -103,7 +103,9 @@ export const serverFilterHookObject = { | |||
103 | 'filter:job-queue.process.result': true, | 103 | 'filter:job-queue.process.result': true, |
104 | 104 | ||
105 | 'filter:transcoding.manual.resolutions-to-transcode.result': true, | 105 | 'filter:transcoding.manual.resolutions-to-transcode.result': true, |
106 | 'filter:transcoding.auto.resolutions-to-transcode.result': true | 106 | 'filter:transcoding.auto.resolutions-to-transcode.result': true, |
107 | |||
108 | 'filter:activity-pub.remote-video-comment.create.accept.result': true | ||
107 | } | 109 | } |
108 | 110 | ||
109 | export type ServerFilterHookName = keyof typeof serverFilterHookObject | 111 | export type ServerFilterHookName = keyof typeof serverFilterHookObject |