{"size": 347, "ext": "js", "max_stars_repo_path": "app/src/shared/reducers/postReducer.js", "max_stars_repo_name": "Johnthe-dev/PersonalWebpage", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/src/shared/reducers/postReducer.js", "max_issues_repo_name": "Johnthe-dev/PersonalWebpage", "max_issues_repo_issues_event_min_datetime": "2021-07-19T02:12:10.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-19T02:12:10.000Z", "max_forks_repo_path": "app/src/shared/reducers/postReducer.js", "max_forks_repo_name": "Johnthe-dev/PersonalWebpage", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 28.9166666667, "max_line_length": 50, "alphanum_fraction": 0.5792507205}
export default (state = [], action) => {
    switch(action.type) {
        case "GET_POST_BY_ORIGINATED_POST":
            return action.payload;
        case "GET_POST_BY_POST_CONTENT_AND_TITLE":
            return action.payload;
        case "GET_ALL_POSTS":
            return action.payload;
        default:
            return state;
    }
}