aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Communication.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/Model/Communication.elm')
-rw-r--r--src/client/elm/Model/Communication.elm18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/elm/Model/Communication.elm b/src/client/elm/Model/Communication.elm
new file mode 100644
index 0000000..dc4d412
--- /dev/null
+++ b/src/client/elm/Model/Communication.elm
@@ -0,0 +1,18 @@
+module Model.Communication
+ ( Communication(..)
+ ) where
+
+import Time exposing (Time)
+
+import Model.User exposing (UserId)
+import Model.Payment exposing (..)
+
+type Communication =
+ NoCommunication
+ | SignIn String
+ | AddPayment String Int
+ | AddMonthlyPayment String Int
+ | SetIncome Time Int
+ | DeletePayment Payment Int
+ | DeleteMonthlyPayment PaymentId
+ | SignOut