PeerTube/shared/models/plugins/plugin-storage-manager.model.ts
2020-08-07 08:28:14 +02:00

6 lines
141 B
TypeScript

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