blob: db88ae6e79f0e98bd72375465fc0fb1c568ca745 (
plain) (
tree)
|
|
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>
onSettingsChange: (cb: (names: string[]) => void) => void
}
|