aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Action/AccountAction.elm
blob: 520f3abdb91d664e32eb19de8f6a39a49cc61446 (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)

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