2019-07-10 09:59:53 -05:00
|
|
|
import * as Bluebird from 'bluebird'
|
|
|
|
|
|
|
|
export interface PluginSettingsManager {
|
2020-04-27 03:19:14 -05:00
|
|
|
getSetting: (name: string) => Bluebird<string | boolean>
|
|
|
|
|
|
|
|
getSettings: (names: string[]) => Bluebird<{ [settingName: string]: string | boolean }>
|
2019-07-10 09:59:53 -05:00
|
|
|
|
|
|
|
setSetting: (name: string, value: string) => Bluebird<any>
|
|
|
|
}
|