diff options
Diffstat (limited to 'src/client/elm/LoggedIn/Msg.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Msg.elm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/client/elm/LoggedIn/Msg.elm b/src/client/elm/LoggedIn/Msg.elm new file mode 100644 index 0000000..b83d486 --- /dev/null +++ b/src/client/elm/LoggedIn/Msg.elm @@ -0,0 +1,28 @@ +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 + + | AddPayment String String Frequency + | ValidateAddPayment PaymentId String Int Frequency + + | DeletePayment PaymentId + | ValidateDeletePayment PaymentId + + | AddIncome Date Int + | ValidateAddIncome IncomeId Date Int + + | DeleteIncome IncomeId + | ValidateDeleteIncome IncomeId |