aboutsummaryrefslogtreecommitdiff
path: root/src/Msg.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Msg.elm')
-rw-r--r--src/Msg.elm23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Msg.elm b/src/Msg.elm
new file mode 100644
index 0000000..b5efe2f
--- /dev/null
+++ b/src/Msg.elm
@@ -0,0 +1,23 @@
+module Msg exposing
+ ( Msg(..)
+ )
+
+import Time exposing (Time)
+
+import Model.Id exposing (Id)
+import Model.Keyboard exposing (KeyCode)
+
+import Timer.Msg as Timer
+
+import Edition.Model exposing (Kind)
+
+type Msg =
+ NoOp
+ | Initialize
+ | AddNewTimer
+ | Time Time
+ | UpdateTimer Id Timer.Msg
+ | RemoveTimer Id
+ | Edit Id Kind
+ | ClickAway
+ | KeyPressed KeyCode