{"size": 326, "ext": "js", "max_stars_repo_path": "src/store/modules/user.js", "max_stars_repo_name": "wzyjerry/vue-chatbot", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store/modules/user.js", "max_issues_repo_name": "wzyjerry/vue-chatbot", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/store/modules/user.js", "max_forks_repo_name": "wzyjerry/vue-chatbot", "max_forks_repo_forks_event_min_datetime": "2018-12-13T06:52:51.000Z", "max_forks_repo_forks_event_max_datetime": "2020-08-19T05:15:20.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 14.8181818182, "max_line_length": 30, "alphanum_fraction": 0.5398773006}
import user from "@/api/user";

const actions = {
  regist: (_, data) => {
    return user.regist(data);
  },
  login: (_, data) => {
    return user.login(data);
  },
  edit: (_, data) => {
    return user.edit(data);
  },
  logout: () => {
    return user.logout();
  }
};

export default {
  namespaced: true,
  actions
};
