diff options
Diffstat (limited to 'src/client/elm/LoggedIn/Action.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Action.elm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/client/elm/LoggedIn/Action.elm b/src/client/elm/LoggedIn/Action.elm index 93bb04d..719e534 100644 --- a/src/client/elm/LoggedIn/Action.elm +++ b/src/client/elm/LoggedIn/Action.elm @@ -2,17 +2,27 @@ module LoggedIn.Action ( Action(..) ) where +import Date exposing (Date) + import Model.Payment exposing (Payment, PaymentId, Frequency) import Model.Income exposing (IncomeId) import LoggedIn.Home.Action as HomeAction +import LoggedIn.User.Action as UserAction type Action = NoOp | HomeAction HomeAction.Action + | UserAction UserAction.Action + | AddPayment String String Frequency | ValidateAddPayment PaymentId String Int Frequency - | DeletePayment Payment Frequency - | ValidateDeletePayment Payment Frequency - | UpdateIncome Int - | ValidateUpdateIncome IncomeId Int + + | DeletePayment PaymentId + | ValidateDeletePayment PaymentId + + | AddIncome Date Int + | ValidateAddIncome IncomeId Date Int + + | DeleteIncome IncomeId + | ValidateDeleteIncome IncomeId |