aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Action/LoggedInAction.elm
blob: aaf3c7fee2f7b511e856e52871d1276f71e57734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Model.Action.LoggedInAction
  ( LoggedInAction(..)
  ) where

import Model.Payment exposing (Payments, Payment, PaymentId, PaymentFrequency)
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 PaymentFrequency
  | DeletePayment Payment PaymentFrequency
  | ToggleEdit PaymentId
  | UpdatePage Int
  | UpdateMonthly MonthlyAction
  | UpdateAccount AccountAction