blob: c09655fa7cfdb781e11955b80b03fae25195d991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
module LoggedIn.Msg exposing
( Msg(..)
)
import Time exposing (Time)
import Model.Payment exposing (Payment, PaymentId, Frequency)
import Model.Income exposing (IncomeId)
import LoggedIn.Home.Msg as HomeMsg
import LoggedIn.Income.Msg as IncomeMsg
type Msg =
NoOp
| HomeMsg HomeMsg.Msg
| IncomeMsg IncomeMsg.Msg
| AddPayment String Int Frequency
| ValidateAddPayment PaymentId String Int Frequency
| DeletePayment PaymentId
| ValidateDeletePayment PaymentId
| AddIncome Time Int
| ValidateAddIncome IncomeId Time Int
| DeleteIncome IncomeId
| ValidateDeleteIncome IncomeId
|