diff options
Diffstat (limited to 'src/client/Model/Message.elm')
-rw-r--r-- | src/client/Model/Message.elm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/Model/Message.elm b/src/client/Model/Message.elm new file mode 100644 index 0000000..9f21fd3 --- /dev/null +++ b/src/client/Model/Message.elm @@ -0,0 +1,8 @@ +module Model.Message + ( messageDecoder + ) where + +import Json.Decode exposing (..) + +messageDecoder : Decoder String +messageDecoder = ("message" := string) |