diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/plugins/client-hook.model.ts | 4 | ||||
-rw-r--r-- | shared/models/plugins/plugin-client-scope.type.ts | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index f8ca32771..620651051 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts | |||
@@ -85,6 +85,10 @@ export const clientActionHookObject = { | |||
85 | // Fired when the registration page is being initialized | 85 | // Fired when the registration page is being initialized |
86 | 'action:signup.register.init': true, | 86 | 'action:signup.register.init': true, |
87 | 87 | ||
88 | // PeerTube >= 3.2 | ||
89 | // Fired when the admin plugin settings page is being initialized | ||
90 | 'action:admin-plugin-settings.init': true, | ||
91 | |||
88 | // Fired when the video upload page is being initalized | 92 | // Fired when the video upload page is being initalized |
89 | 'action:video-upload.init': true, | 93 | 'action:video-upload.init': true, |
90 | // Fired when the video import by URL page is being initalized | 94 | // Fired when the video import by URL page is being initalized |
diff --git a/shared/models/plugins/plugin-client-scope.type.ts b/shared/models/plugins/plugin-client-scope.type.ts index e188ce100..8cc234ff2 100644 --- a/shared/models/plugins/plugin-client-scope.type.ts +++ b/shared/models/plugins/plugin-client-scope.type.ts | |||
@@ -1 +1,9 @@ | |||
1 | export type PluginClientScope = 'common' | 'video-watch' | 'search' | 'signup' | 'login' | 'embed' | 'video-edit' | 1 | export type PluginClientScope = |
2 | 'common' | | ||
3 | 'video-watch' | | ||
4 | 'search' | | ||
5 | 'signup' | | ||
6 | 'login' | | ||
7 | 'embed' | | ||
8 | 'video-edit' | | ||
9 | 'admin-plugin' | ||