diff options
Diffstat (limited to 'src/Types.elm')
| -rw-r--r-- | src/Types.elm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Types.elm b/src/Types.elm index d5068d6..2438932 100644 --- a/src/Types.elm +++ b/src/Types.elm @@ -10,11 +10,18 @@ type alias Model = { now : Time.Posix , key : Key , userData : UserData + , apiURL : String , posts : RemoteData (List Post) , composeInputValue : String } +type alias Flags = + { userData : UserData + , apiURL : String + } + + type alias UserData = { name : String , email : String |
