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

Add ability for plugins to alter video jsonld

This commit is contained in:
Chocobozzz 2023-03-10 12:01:21 +01:00
parent 4265d90b00
commit 866b5d3f52
No known key found for this signature in database
GPG key ID: 583A612D890159BE
16 changed files with 91 additions and 94 deletions

View file

@ -113,7 +113,13 @@ export const serverFilterHookObject = {
'filter:transcoding.manual.resolutions-to-transcode.result': true,
'filter:transcoding.auto.resolutions-to-transcode.result': true,
'filter:activity-pub.remote-video-comment.create.accept.result': true
'filter:activity-pub.remote-video-comment.create.accept.result': true,
'filter:activity-pub.activity.context.build.result': true,
// Filter the result of video JSON LD builder
// You may also need to use filter:activity-pub.activity.context.build.result to also update JSON LD context
'filter:activity-pub.video.jsonld.build.result': true
}
export type ServerFilterHookName = keyof typeof serverFilterHookObject