2017-07-17 09:25:57 +00:00
|
|
|
module Messages exposing (Msg(..))
|
|
|
|
|
|
|
|
-- Local modules
|
|
|
|
|
|
|
|
import Models exposing (Day, EventType, EventLocation)
|
|
|
|
|
|
|
|
|
|
|
|
-- External modules
|
|
|
|
|
|
|
|
import Navigation exposing (Location)
|
|
|
|
|
|
|
|
|
|
|
|
type Msg
|
|
|
|
= NoOp
|
|
|
|
| WebSocketPayload String
|
|
|
|
| MakeActiveday Day
|
2017-07-17 19:52:54 +00:00
|
|
|
| RemoveActiveDay
|
2017-07-17 09:25:57 +00:00
|
|
|
| ToggleEventTypeFilter EventType
|
|
|
|
| ToggleEventLocationFilter EventLocation
|
|
|
|
| OnLocationChange Location
|