aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Action/LoggedInAction.elm
blob: 00e0a3eb90632d6926b11c19dc4cd23ab4c2e3e6 (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)
import Model.View.LoggedIn.AddPayment exposing (Frequency)

type LoggedInAction =
  UpdateAdd AddPaymentAction
  | UpdatePayments Payments
  | AddPayment PaymentId String Int Frequency
  | ToggleEdit PaymentId
  | DeletePayment Payment
  | UpdatePage Int
  | UpdateMonthly MonthlyAction
  | UpdateAccount AccountAction