blob: a1379a6153319a12a32916ad288210862502030e (
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 Date exposing (Date)
import Model.Payment exposing (PaymentId, Frequency)
import Model.Income exposing (IncomeId)
import Model.Category exposing (CategoryId)
import LoggedIn.Home.Msg as Home
import LoggedIn.Income.Msg as Income
import LoggedIn.Category.Msg as Categories
type Msg =
NoOp
| HomeMsg Home.Msg
| IncomeMsg Income.Msg
| CategoriesMsg Categories.Msg
| ValidateCreatePayment PaymentId String Int Date CategoryId Frequency
| ValidateEditPayment PaymentId String Int Date CategoryId Frequency
| ValidateDeletePayment PaymentId
| ValidateCreateIncome IncomeId Int Date
| ValidateEditIncome IncomeId Int Date
| ValidateDeleteIncome IncomeId
| ValidateCreateCategory CategoryId String String
| ValidateEditCategory CategoryId String String
| ValidateDeleteCategory CategoryId
|