aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/plugins/plugin-settings-manager.model.ts2
-rw-r--r--shared/models/plugins/register-server-auth.model.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/shared/models/plugins/plugin-settings-manager.model.ts b/shared/models/plugins/plugin-settings-manager.model.ts
index f83f53b8f..db88ae6e7 100644
--- a/shared/models/plugins/plugin-settings-manager.model.ts
+++ b/shared/models/plugins/plugin-settings-manager.model.ts
@@ -6,4 +6,6 @@ export interface PluginSettingsManager {
6 getSettings: (names: string[]) => Bluebird<{ [settingName: string]: string | boolean }> 6 getSettings: (names: string[]) => Bluebird<{ [settingName: string]: string | boolean }>
7 7
8 setSetting: (name: string, value: string) => Bluebird<any> 8 setSetting: (name: string, value: string) => Bluebird<any>
9
10 onSettingsChange: (cb: (names: string[]) => void) => void
9} 11}
diff --git a/shared/models/plugins/register-server-auth.model.ts b/shared/models/plugins/register-server-auth.model.ts
index 6539dc888..4ffce9456 100644
--- a/shared/models/plugins/register-server-auth.model.ts
+++ b/shared/models/plugins/register-server-auth.model.ts
@@ -42,7 +42,7 @@ export interface RegisterServerAuthPassOptions extends RegisterServerAuthBase {
42 42
43export interface RegisterServerAuthExternalOptions extends RegisterServerAuthBase { 43export interface RegisterServerAuthExternalOptions extends RegisterServerAuthBase {
44 // Will be displayed in a block next to the login form 44 // Will be displayed in a block next to the login form
45 authDisplayName: string 45 authDisplayName: () => string
46 46
47 onAuthRequest: (req: express.Request, res: express.Response) => void 47 onAuthRequest: (req: express.Request, res: express.Response) => void
48} 48}