{"size": 343, "ext": "js", "max_stars_repo_path": "lib/state/state.js", "max_stars_repo_name": "zpratt/discover-js", "max_stars_repo_stars_event_min_datetime": "2016-04-16T20:15:25.000Z", "max_stars_repo_stars_event_max_datetime": "2016-04-16T20:15:25.000Z", "max_issues_repo_path": "lib/state/state.js", "max_issues_repo_name": "zpratt/discover-js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/state/state.js", "max_forks_repo_name": "zpratt/discover-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.15, "max_line_length": 38, "alphanum_fraction": 0.5247813411}
import {t} from 'redux-tcomb';

const State = t.struct({
    search: t.struct({
        recentSearches: t.list(t.Any),
        results: t.list(t.Any)
    })
}, 'State');

export default State;

export function getDefaultState() {
    return State({
        search: {
            recentSearches: [],
            results: []
        }
    });
}
