{"size": 455, "ext": "js", "max_stars_repo_path": "src/actions/TodoAction.js", "max_stars_repo_name": "mfahad1/todoAltReact", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/actions/TodoAction.js", "max_issues_repo_name": "mfahad1/todoAltReact", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/actions/TodoAction.js", "max_forks_repo_name": "mfahad1/todoAltReact", "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.6774193548, "max_line_length": 47, "alphanum_fraction": 0.6241758242}
var alt = require('../../alt');
class TodoAction {
  fetchTodos() {
    return [];
  }
  todoFailed(errorMessage) {
    return (errorMessage);
  }
  updateTodo(todos){
  	return (todos);
  }
  addTodo(newTodo){
  	return newTodo;
  }
  markAsDone(todo){
  	return todo;
  }
  markAll(flag){
  	return flag;
  }

  showTypeItem(flag){
  	return flag;
  }

  deleteTodo(todoIndex){
  	return todoIndex;
  }
}

module.exports = alt.createActions(TodoAction);