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

import Time exposing (Time)
import Signal exposing (Address)

import Model.Action.SignInAction exposing (SignInAction)
import Model.Action.LoggedInAction exposing (LoggedInAction)
import Model.Init exposing (Init)

type Action =
  NoOp
  | SignIn String
  | UpdateTime Time
  | GoLoggedInView Init
  | UpdateSignIn SignInAction
  | UpdateLoggedIn LoggedInAction
  | GoSignInView
  | SignOut