aboutsummaryrefslogtreecommitdiff
path: root/src/Msg.elm
blob: b5efe2fb200b24e2280650769e69d3652f714b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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