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

import Time exposing (Time)

import Model.User exposing (UserId)
import Model.Income exposing (IncomeId)

type Action =
  NoOp
  | ToggleDetail
  | ToggleIncomeEdition
  | UpdateIncomeEdition String
  | UpdateEditionError String
  | UpdateIncome Time Int
  | ValidateUpdateIncome IncomeId Time Int