PeerTube/shared/models/plugins/plugin-storage-manager.mode...

8 lines
181 B
TypeScript
Raw Normal View History

2019-07-12 07:06:33 -05:00
import * as Bluebird from 'bluebird'
export interface PluginStorageManager {
getData: (key: string) => Bluebird<string>
storeData: (key: string, data: any) => Bluebird<any>
}