Created
November 11, 2022 11:54
-
-
Save adamgordonbell/bba1b0c657c36559de722acbc38b6ec8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
todoStatus = done | notdone | in-progress | under review | blocked | |
todoPriority = A | B | C | unset | |
todoStickers = A | B | C | unset | |
todoDueDate = Date date | unset | |
todo { | |
name string | |
status todoStatus | |
priority todoPriority | |
stickers = todoStickers | |
duedate = todoDueDate | |
visibility = todoVisibilty | |
} | |
todoList { | |
list todo[] | |
getCount() : int | |
publicList() : todoList | |
filterList(...) : todoList | |
} | |
user { | |
name string | |
list todoList | |
friends user[] | |
AddTodo(todo) | |
CompleteTodo(todo) | |
getList(): todoList | |
getListByFilter(..) : todoList | |
getListByFriendToDo(friend user) : todoList // get a friends list and call publicList on it. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment