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

import Model.Payment exposing (Payment, PaymentId, Frequency)
import Model.Income exposing (IncomeId)

import LoggedIn.Home.Action as HomeAction

type Action =
  NoOp
  | HomeAction HomeAction.Action
  | AddPayment String String Frequency
  | ValidateAddPayment PaymentId String Int Frequency
  | DeletePayment Payment Frequency
  | ValidateDeletePayment Payment Frequency
  | UpdateIncome Int
  | ValidateUpdateIncome IncomeId Int