From f375bb3db401e42b4317545a7e40dcfda692604d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 6 May 2020 14:01:30 +0200 Subject: Add ability to override login signup message --- shared/models/plugins/client-hook.model.ts | 3 +++ shared/models/plugins/plugin-client-scope.type.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index 62f6070d7..b53b8de99 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts @@ -70,6 +70,9 @@ export const clientActionHookObject = { // Fired when a user click on 'View x replies' and they're loaded 'action:video-watch.video-thread-replies.loaded': true, + // Fired when the login page is being initialized + 'action:login.init': true, + // Fired when the search page is being initialized 'action:search.init': true, diff --git a/shared/models/plugins/plugin-client-scope.type.ts b/shared/models/plugins/plugin-client-scope.type.ts index 1c6d884f0..d112434e8 100644 --- a/shared/models/plugins/plugin-client-scope.type.ts +++ b/shared/models/plugins/plugin-client-scope.type.ts @@ -1 +1 @@ -export type PluginClientScope = 'common' | 'video-watch' | 'search' | 'signup' +export type PluginClientScope = 'common' | 'video-watch' | 'search' | 'signup' | 'login' -- cgit v1.2.3