aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/client-hook.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-05 17:26:58 +0100
committerChocobozzz <me@florianbigard.com>2019-12-05 17:26:58 +0100
commitc2023a9f027deb310248ad751cc96a21a8e1ed03 (patch)
tree427caef09f6b121ce5d6fce86207cc12c54c0ebd /shared/models/plugins/client-hook.model.ts
parent3d9a63d3d824e753e95292b5e1343e1ebf9eaf71 (diff)
downloadPeerTube-c2023a9f027deb310248ad751cc96a21a8e1ed03.tar.gz
PeerTube-c2023a9f027deb310248ad751cc96a21a8e1ed03.tar.zst
PeerTube-c2023a9f027deb310248ad751cc96a21a8e1ed03.zip
Add ability to update icons content
Diffstat (limited to 'shared/models/plugins/client-hook.model.ts')
-rw-r--r--shared/models/plugins/client-hook.model.ts7
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
51export type ClientFilterHookName = keyof typeof clientFilterHookObject 56export type ClientFilterHookName = keyof typeof clientFilterHookObject