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

8 lines
181 B
TypeScript
Raw Normal View History

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