aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Communication.elm
blob: dc4d412209c590f797d4ddfd3da57e5c7c8bcddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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