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

6 lines
141 B
TypeScript
Raw Normal View History

2019-07-12 14:06:33 +02:00
export interface PluginStorageManager {
2020-06-26 08:37:26 +02:00
getData: (key: string) => Promise<string>
2019-07-12 14:06:33 +02:00
2020-06-26 08:37:26 +02:00
storeData: (key: string, data: any) => Promise<any>
2019-07-12 14:06:33 +02:00
}