blob: 9bb87b91b8d8600bd2c43aa5cd69f904feca0112 (
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
29
30
31
32
33
34
|
module LoggedIn.Msg exposing
( Msg(..)
)
import Date exposing (Date)
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
| CreatePayment String Int Date Frequency
| ValidateCreatePayment PaymentId String Int Date Frequency
| EditPayment PaymentId String Int Date Frequency
| ValidateEditPayment PaymentId String Int Date Frequency
| DeletePayment PaymentId
| ValidateDeletePayment PaymentId
| CreateIncome Int Date
| ValidateCreateIncome IncomeId Int Date
| EditIncome IncomeId Int Date
| ValidateEditIncome IncomeId Int Date
| DeleteIncome IncomeId
| ValidateDeleteIncome IncomeId
|