aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Init.elm
diff options
context:
space:
mode:
authorJoris2016-01-04 00:34:48 +0100
committerJoris2016-01-04 00:40:25 +0100
commit6b090b3bdef7108d51d93207e28b148c121767aa (patch)
treef0815d638723b62b5f16cf9d94ce5783751fc3db /src/client/elm/Model/Init.elm
parentd9df5c3fcffe12aac239b58ccf2fd82c19c3be62 (diff)
downloadbudget-6b090b3bdef7108d51d93207e28b148c121767aa.tar.gz
budget-6b090b3bdef7108d51d93207e28b148c121767aa.tar.bz2
budget-6b090b3bdef7108d51d93207e28b148c121767aa.zip
Simplify server communicaitons in client
Diffstat (limited to 'src/client/elm/Model/Init.elm')
-rw-r--r--src/client/elm/Model/Init.elm16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/client/elm/Model/Init.elm b/src/client/elm/Model/Init.elm
new file mode 100644
index 0000000..490321b
--- /dev/null
+++ b/src/client/elm/Model/Init.elm
@@ -0,0 +1,16 @@
+module Model.Init
+ ( Init
+ ) where
+
+import Model.Payment exposing (Payments)
+import Model.Payer exposing (Payers)
+import Model.User exposing (Users, UserId)
+
+type alias Init =
+ { users : Users
+ , me : UserId
+ , payments : Payments
+ , monthlyPayments : Payments
+ , paymentsCount : Int
+ , payers : Payers
+ }