{"size": 542, "ext": "js", "max_stars_repo_path": "src/javascript/app_2/Stores/client_store.js", "max_stars_repo_name": "ruskakimov/binary-static", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/javascript/app_2/Stores/client_store.js", "max_issues_repo_name": "ruskakimov/binary-static", "max_issues_repo_issues_event_min_datetime": "2018-02-19T08:45:52.000Z", "max_issues_repo_issues_event_max_datetime": "2018-03-27T08:05:04.000Z", "max_forks_repo_path": "src/javascript/app_2/Stores/client_store.js", "max_forks_repo_name": "ruskakimov/binary-static", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 41.6923076923, "max_line_length": 97, "alphanum_fraction": 0.7084870849}
import { observable } from 'mobx';
import Client         from '_common/base/client_base';
import BaseStore      from './base_store';

export default class ClientStore extends BaseStore {
    @observable balance;
    @observable is_logged_in = !!Client.isLoggedIn();
    @observable loginid      = Client.get('loginid');
    @observable currency     = Client.get('currency') || '';
    @observable upgrade_info = Client.getBasicUpgradeInfo();
    @observable can_upgrade  = this.upgrade_info.can_upgrade || this.upgrade_info.can_open_multi;
}
