{"size": 251, "ext": "js", "max_stars_repo_path": "src/utils/data/admin-data.js", "max_stars_repo_name": "dave-ok/comment-microapi-admin-dashboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/utils/data/admin-data.js", "max_issues_repo_name": "dave-ok/comment-microapi-admin-dashboard", "max_issues_repo_issues_event_min_datetime": "2020-07-19T14:55:30.000Z", "max_issues_repo_issues_event_max_datetime": "2020-07-27T02:56:54.000Z", "max_forks_repo_path": "src/utils/data/admin-data.js", "max_forks_repo_name": "dave-ok/comment-microapi-admin-dashboard", "max_forks_repo_forks_event_min_datetime": "2020-07-18T08:47:49.000Z", "max_forks_repo_forks_event_max_datetime": "2020-07-25T17:02:36.000Z"}
{"max_stars_count": null, "max_issues_count": 13, "max_forks_count": 4, "avg_line_length": 27.8888888889, "max_line_length": 73, "alphanum_fraction": 0.5976095618}
export default (data) => {
  if (data.records && Array.isArray(data.records)) {
    return data.records.map((item) => ({ id: item.msAdminId, ...item }));
  } else if (data.msAdminId) {
    return { id: data.msAdminId, ...data };
  }
  return data;
};
