From 6b090b3bdef7108d51d93207e28b148c121767aa Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 4 Jan 2016 00:34:48 +0100 Subject: Simplify server communicaitons in client --- src/client/elm/Model/Init.elm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/client/elm/Model/Init.elm (limited to 'src/client/elm/Model/Init.elm') 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 + } -- cgit v1.2.3