summaryrefslogtreecommitdiffstats
path: root/src/Types.elm
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 15:06:51 +0200
committerJan Tuomi <jan.tuomi@valuemotive.com>2021-11-04 15:06:51 +0200
commit56be711ee89a86c7ba7c01a361163823b1056e16 (patch)
treedddad6d69e02e93d58b6a19474b61a5a7c4fc0b8 /src/Types.elm
parent0064b61e4b93285d006786ca0d964ecaaf677c29 (diff)
Prepare for release
Diffstat (limited to 'src/Types.elm')
-rw-r--r--src/Types.elm7
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