aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/plugins/plugin-settings-manager.model.ts
blob: f83f53b8f8535033c69a8a02865048f7c96d9a80 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                        


                                                                                         


                                                            
import * as Bluebird from 'bluebird'

export interface PluginSettingsManager {
  getSetting: (name: string) => Bluebird<string | boolean>

  getSettings: (names: string[]) => Bluebird<{ [settingName: string]: string | boolean }>

  setSetting: (name: string, value: string) => Bluebird<any>
}