diff options
Diffstat (limited to 'shared/models/plugins/plugin-storage-manager.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-storage-manager.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/plugins/plugin-storage-manager.model.ts b/shared/models/plugins/plugin-storage-manager.model.ts new file mode 100644 index 000000000..8a1f389f1 --- /dev/null +++ b/shared/models/plugins/plugin-storage-manager.model.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | import * as Bluebird from 'bluebird' | ||
2 | |||
3 | export interface PluginStorageManager { | ||
4 | getData: (key: string) => Bluebird<string> | ||
5 | |||
6 | storeData: (key: string, data: any) => Bluebird<any> | ||
7 | } | ||