blob: 22a7d3d09233d523262bcee115cc4fc1a49579fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
module Model.Action.LoggedInAction
( LoggedInAction(..)
) where
import Model.Payment exposing (Payments, Payment, PaymentId)
import Model.Action.MonthlyAction exposing (MonthlyAction)
import Model.Action.AccountAction exposing (AccountAction)
import Model.Action.AddPaymentAction exposing (AddPaymentAction)
type LoggedInAction =
UpdateAdd AddPaymentAction
| UpdatePayments Payments
| AddPayment PaymentId String Int
| AddMonthlyPayment PaymentId String Int
| ToggleEdit PaymentId
| DeletePayment Payment
| UpdatePage Int
| UpdateMonthly MonthlyAction
| UpdateAccount AccountAction
|