driebit/elm-ginger/1.0.0

NOTE: the latest version is 5.0.1

Ginger.Resource.Extra

Location

type alias Location =
{ id : ResourceId
, lat : Float
, lng : Float
}
locationFromJson : Decoder Location

Author

type alias AuthorName =
{ firstName : String
, middleName : String
, lastNamePrefix : String
, lastName : String
}
authorName : Resource WithEdges -> Maybe AuthorName
authorNameFromJson : Decoder AuthorName

Event

type alias EventDate =
{ dateStart : Maybe Posix
, dateEnd : Maybe Posix
}
eventDate : Resource a -> Maybe EventDate
eventDateFromJson : Decoder EventDate