mirror of https://github.com/Chocobozzz/PeerTube
10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
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>
|
|
}
|