1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
export default class LocalApi { constructor(server, local) { this.server = server; this.local = local; } getSettings() { return this.local.getAppSettings(); } updateSettings(data) { return this.local.updateAppSettings(data); } removeKey(key) { return this.local.removeKey(key); } }