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

6 lines
141 B
TypeScript

export interface PluginStorageManager {
getData: (key: string) => Promise<string>
storeData: (key: string, data: any) => Promise<any>
}