{"size": 298, "ext": "js", "max_stars_repo_path": "src/store/modules/Explorer/mutations.js", "max_stars_repo_name": "vhawk19/snipp.in", "max_stars_repo_stars_event_min_datetime": "2020-08-17T09:05:34.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-08T10:43:48.000Z", "max_issues_repo_path": "src/store/modules/Explorer/mutations.js", "max_issues_repo_name": "vhawk19/snipp.in", "max_issues_repo_issues_event_min_datetime": "2020-08-17T07:31:24.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-13T13:48:42.000Z", "max_forks_repo_path": "src/store/modules/Explorer/mutations.js", "max_forks_repo_name": "vhawk19/snipp.in", "max_forks_repo_forks_event_min_datetime": "2020-10-03T05:45:15.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-06T02:26:34.000Z"}
{"max_stars_count": 164, "max_issues_count": 48, "max_forks_count": 37, "avg_line_length": 18.625, "max_line_length": 46, "alphanum_fraction": 0.610738255}
import initialState from "./initialState";

const types = {
  RESET: "RESET",
};

export default {
  // Resets the current module
  [types.RESET]: (state) => {
    const freshState = initialState();
    Object.keys(freshState).forEach((key) => {
      state[key] = freshState[key];
    });
  },
};
