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

8 lines
192 B
TypeScript

import * as Bluebird from 'bluebird'
export interface PluginSettingsManager {
getSetting: (name: string) => Bluebird<string>
setSetting: (name: string, value: string) => Bluebird<any>
}