blob: 38c0def6027db71ef84909ce900da3cc2f554c46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
module Action
( Action(..)
) where
import Time exposing (Time)
import Signal exposing (Address)
import TransitRouter
import Route exposing (Route)
import Model.Init exposing (Init)
import SignIn.Action as SignInAction
import LoggedIn.Action as LoggedInAction
type Action =
NoOp
| SignIn String
| UpdateTime Time
| GoLoggedInView Init
| UpdateSignIn SignInAction.Action
| UpdateLoggedIn LoggedInAction.Action
| GoSignInView
| RouterAction (TransitRouter.Action Route)
| SignOut
|