{"size": 344, "ext": "js", "max_stars_repo_path": "src/app/redux/action-creators/todo-list.action-creators.js", "max_stars_repo_name": "HaturiHanzo/todo-list", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/app/redux/action-creators/todo-list.action-creators.js", "max_issues_repo_name": "HaturiHanzo/todo-list", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/app/redux/action-creators/todo-list.action-creators.js", "max_forks_repo_name": "HaturiHanzo/todo-list", "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": 14.9565217391, "max_line_length": 43, "alphanum_fraction": 0.4651162791}
const addTodo = (text) => {
    return {
        type: 'TODO_ADD',
        ts: Date.now(),
        text
    };
};

const toggleTodo = (ts) => {
    return {
        type: 'TODO_TOGGLE',
        ts
    };
};

const removeTodo = (ts) => {
    return {
        type: 'TODO_REMOVE',
        ts
    };
};

export { addTodo, toggleTodo, removeTodo };