From bb316286b0859b5648c61f44c88399f4c1aad9cd Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 2 Jan 2016 19:07:19 +0100 Subject: Use start-app for elm --- src/client/elm/Model/Action.elm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/client/elm/Model/Action.elm (limited to 'src/client/elm/Model/Action.elm') diff --git a/src/client/elm/Model/Action.elm b/src/client/elm/Model/Action.elm new file mode 100644 index 0000000..9d5d125 --- /dev/null +++ b/src/client/elm/Model/Action.elm @@ -0,0 +1,22 @@ +module Model.Action + ( Action(..) + ) where + +import Time exposing (Time) +import Signal exposing (Address) + +import Model.User exposing (Users, UserId) +import Model.Payment exposing (Payments) +import Model.Payer exposing (Payers) +import Model.Action.SignInAction exposing (SignInAction) +import Model.Action.LoggedInAction exposing (LoggedInAction) +import Model.Communication exposing (Communication) + +type Action = + NoOp + | ServerCommunication Communication + | UpdateTime Time + | GoSignInView + | GoLoggedInView Users UserId Payments Payments Int Payers + | UpdateSignIn SignInAction + | UpdateLoggedIn LoggedInAction -- cgit v1.2.3