diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-05 17:26:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-05 17:26:58 +0100 |
commit | c2023a9f027deb310248ad751cc96a21a8e1ed03 (patch) | |
tree | 427caef09f6b121ce5d6fce86207cc12c54c0ebd /shared/models/plugins | |
parent | 3d9a63d3d824e753e95292b5e1343e1ebf9eaf71 (diff) | |
download | PeerTube-c2023a9f027deb310248ad751cc96a21a8e1ed03.tar.gz PeerTube-c2023a9f027deb310248ad751cc96a21a8e1ed03.tar.zst PeerTube-c2023a9f027deb310248ad751cc96a21a8e1ed03.zip |
Add ability to update icons content
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/client-hook.model.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index f0cdb8b19..ecbe8bd3c 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts | |||
@@ -45,7 +45,12 @@ export const clientFilterHookObject = { | |||
45 | 'filter:api.signup.registration.create.params': true, | 45 | 'filter:api.signup.registration.create.params': true, |
46 | 46 | ||
47 | // Filter the options to create our player | 47 | // Filter the options to create our player |
48 | 'filter:internal.video-watch.player.build-options.result': true | 48 | 'filter:internal.video-watch.player.build-options.params': true, |
49 | 'filter:internal.video-watch.player.build-options.result': true, | ||
50 | |||
51 | // Filter our SVG icons content | ||
52 | 'filter:internal.common.svg-icons.get-content.params': true, | ||
53 | 'filter:internal.common.svg-icons.get-content.result': true | ||
49 | } | 54 | } |
50 | 55 | ||
51 | export type ClientFilterHookName = keyof typeof clientFilterHookObject | 56 | export type ClientFilterHookName = keyof typeof clientFilterHookObject |