aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Communication.elm
blob: 616d78fa774746895e9b27eb1681efc61bc0f137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Model.Communication
  ( Communication(..)
  ) where

import Time exposing (Time)

import Model.User exposing (UserId)
import Model.Payment exposing (..)
import Model.View.LoggedIn.AddPayment exposing (Frequency)

type Communication =
  SignIn String
  | AddPayment String Int Frequency
  | SetIncome Time Int
  | DeletePayment Payment Int
  | DeleteMonthlyPayment PaymentId
  | SignOut