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

import Time exposing (Time)

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

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