aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/LocalApi.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/LocalApi.ts')
-rw-r--r--src/api/LocalApi.ts26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/api/LocalApi.ts b/src/api/LocalApi.ts
new file mode 100644
index 000000000..0140a5450
--- /dev/null
+++ b/src/api/LocalApi.ts
@@ -0,0 +1,26 @@
1export default class LocalApi {
2 server: any;
3
4 local: any;
5
6 constructor(server: any, local: any) {
7 this.server = server;
8 this.local = local;
9 }
10
11 getAppSettings(type: any) {
12 return this.local.getAppSettings(type);
13 }
14
15 updateAppSettings(type: any, data: any) {
16 return this.local.updateAppSettings(type, data);
17 }
18
19 getAppCacheSize() {
20 return this.local.getAppCacheSize();
21 }
22
23 clearCache() {
24 return this.local.clearCache();
25 }
26}