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

6 lines
141 B
TypeScript
Raw Normal View History

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