{"size": 369, "ext": "js", "max_stars_repo_path": "src/store/modules/user.js", "max_stars_repo_name": "soapYE/soapYE.github.io", "max_stars_repo_stars_event_min_datetime": "2020-07-30T02:50:41.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-30T02:50:41.000Z", "max_issues_repo_path": "src/store/modules/user.js", "max_issues_repo_name": "soapYE/soapYE.github.io", "max_issues_repo_issues_event_min_datetime": "2021-05-11T20:37:29.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-11T20:37:29.000Z", "max_forks_repo_path": "src/store/modules/user.js", "max_forks_repo_name": "soapYE/soapYE.github.io", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 15.375, "max_line_length": 47, "alphanum_fraction": 0.6178861789}
const state = {
  usrId : 0,
  token : "",
  permissions : [],
  roleId : 0
};

const mutations = {
  changeToken : function (state,data) {
    state.token = data;
  },
  changeUserPermissions : function(state,data){
    state.permissions = data;
  },
  changeUserRoleId : function(state,data){
    state.roleId = data;
  }
};

export default {
  state,
  mutations
};
