PeerTube/shared/models/plugins/plugin-settings-manager.mod...

10 lines
293 B
TypeScript
Raw Normal View History

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