{"size": 498, "ext": "js", "max_stars_repo_path": "src/store/reducers/seasonEpRedu.js", "max_stars_repo_name": "freelaozt/my_demo_react", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store/reducers/seasonEpRedu.js", "max_issues_repo_name": "freelaozt/my_demo_react", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/store/reducers/seasonEpRedu.js", "max_forks_repo_name": "freelaozt/my_demo_react", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.2105263158, "max_line_length": 76, "alphanum_fraction": 0.5060240964}
export default function getSeasonEpRedu(state = {
    seasonEpData: [],
    page: 1
}, action) {
    // console.log('getSeasonEpRedu-action:', action)
    switch (action.type) {
        case 'seasonEpSuccess':
            return {
                ...state,
                page: ++state.page,
                seasonEpData: state.seasonEpData.concat(action.seasonEpData)
            }
        case 'seasonEpError':
            return {
                ...state
            }
    }
    return state
}