diff options
author | William Carroll <wpcarro@gmail.com> | 2020-10-11T13·58+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-10-11T13·58+0100 |
commit | 1c8a8f5d2c2b9a20f679fa3bead491948571d5f2 (patch) | |
tree | 3410237af2642e1a0a29ad761fef682dcb9e829a /scratch/habit-screens/client/src/State.elm | |
parent | ea0cd01e186a0bdd9008b02e6945cefb32b6f415 (diff) |
Expand Habit type
Include: - habitType: Daily, Weekly, Yearly... what's the trigger? - minutesDuration: Estimation of how long it'll take to complete
Diffstat (limited to 'scratch/habit-screens/client/src/State.elm')
-rw-r--r-- | scratch/habit-screens/client/src/State.elm | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scratch/habit-screens/client/src/State.elm b/scratch/habit-screens/client/src/State.elm index 3369d843ffbe..c5cdadf3afa0 100644 --- a/scratch/habit-screens/client/src/State.elm +++ b/scratch/habit-screens/client/src/State.elm @@ -22,13 +22,19 @@ type View type HabitType - = Daily - | Weekly - | Yearly + = Morning + | Evening + | DayOfWeek + | Payday + | FirstOfTheMonth + | FirstOfTheYear type alias Habit = - String + { label : String + , habitType : HabitType + , minutesDuration : Int + } type alias Model = |