aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/LocalApi.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/LocalApi.js')
-rw-r--r--src/api/LocalApi.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/api/LocalApi.js b/src/api/LocalApi.js
new file mode 100644
index 000000000..6f2b049d6
--- /dev/null
+++ b/src/api/LocalApi.js
@@ -0,0 +1,18 @@
1export default class LocalApi {
2 constructor(server, local) {
3 this.server = server;
4 this.local = local;
5 }
6
7 getSettings() {
8 return this.local.getAppSettings();
9 }
10
11 updateSettings(data) {
12 return this.local.updateAppSettings(data);
13 }
14
15 removeKey(key) {
16 return this.local.removeKey(key);
17 }
18}