aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Conf.elm
blob: ad71d83bc5ef9823dc1904c1c87360ed399cb0fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Model.Conf
  ( Conf
  , confDecoder
  ) where

import Json.Decode exposing (..)

type alias Conf =
  { currency : String
  }

confDecoder : Decoder Conf
confDecoder = object1 Conf ("currency" := string)