aboutsummaryrefslogtreecommitdiff
path: root/src/Model/TimerEdition.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-17 21:26:40 +0100
committerJoris Guyonvarch2015-03-17 21:26:40 +0100
commit0075abf51db5d1b54117525d7a7f9b06e31c9484 (patch)
treeed7a5b8c3ac74113dca96463a41dcd00548d20c8 /src/Model/TimerEdition.elm
parentc3e8b1a4d428160976c5d9ad770763e8db02f3bc (diff)
Adding an edition mode for a timer
Diffstat (limited to 'src/Model/TimerEdition.elm')
-rw-r--r--src/Model/TimerEdition.elm16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Model/TimerEdition.elm b/src/Model/TimerEdition.elm
new file mode 100644
index 0000000..c7b90c5
--- /dev/null
+++ b/src/Model/TimerEdition.elm
@@ -0,0 +1,16 @@
+module Model.TimerEdition
+ ( TimerEdition
+ , newTimerEdition
+ ) where
+
+import Model.Id (..)
+
+type alias TimerEdition =
+ { id : Id
+ , numbers : List Int
+ }
+
+newTimerEdition id =
+ { id = id
+ , numbers = []
+ }