import { AbstractFetchRemote } from 'Remote/AbstractFetch'; class RemoteAdminFetch extends AbstractFetchRemote { /** * @param {string} key * @param {?scalar} value * @param {?Function} fCallback */ saveSetting(key, value, fCallback) { this.request('AdminSettingsUpdate', fCallback, {[key]: value}); } } export default new RemoteAdminFetch();