Created
March 23, 2017 18:30
-
-
Save kingsleyh/0e3ebd3e88541a618ad3c32ad856cd36 to your computer and use it in GitHub Desktop.
Elm stuff
This file contains 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
type alias CurrentBoardModel = | |
{board : CurrentBoard | |
,newListState : NewListState | |
,newListTitle : String | |
, newCardTitle : String | |
, newCardState : Dict String NewCardStateHolder | |
, currentCard : Maybe Card | |
, problem : Maybe String | |
, editingListId : String | |
, editListTitle : String | |
, navBar : NavModel | |
} | |
type alias CurrentBoard = | |
{ boardId : String | |
, userId : String | |
, name : String | |
, starred : Bool | |
, description : String | |
, isPrivate : Bool | |
, pendingForUser : Bool | |
, lists : List BoardList | |
, members : List Member | |
, labels : List Label | |
} | |
type alias Card = | |
{ cardId : String | |
, listId : String | |
, name : String | |
, description : String | |
, position : Int | |
, members : List Member | |
} | |
type alias BoardList = | |
{ listId : String | |
, boardId : String | |
, name : String | |
, position : Int | |
, cards : List Card | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment