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.Income.Action as IncomeAction type Action = NoOp | HomeAction HomeAction.Action | IncomeAction IncomeAction.Action | AddPayment String String Frequency | ValidateAddPayment PaymentId String Int Frequency | DeletePayment PaymentId | ValidateDeletePayment PaymentId | AddIncome Date Int | ValidateAddIncome IncomeId Date Int | DeleteIncome IncomeId | ValidateDeleteIncome IncomeId