aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/plugin-settings-manager.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/plugin-settings-manager.model.ts')
-rw-r--r--shared/models/plugins/plugin-settings-manager.model.ts4
1 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 63390a190..f83f53b8f 100644
--- a/shared/models/plugins/plugin-settings-manager.model.ts
+++ b/shared/models/plugins/plugin-settings-manager.model.ts
@@ -1,7 +1,9 @@
1import * as Bluebird from 'bluebird' 1import * as Bluebird from 'bluebird'
2 2
3export interface PluginSettingsManager { 3export interface PluginSettingsManager {
4 getSetting: (name: string) => Bluebird<string> 4 getSetting: (name: string) => Bluebird<string | boolean>
5
6 getSettings: (names: string[]) => Bluebird<{ [settingName: string]: string | boolean }>
5 7
6 setSetting: (name: string, value: string) => Bluebird<any> 8 setSetting: (name: string, value: string) => Bluebird<any>
7} 9}