driebit/elm-ginger/2.2.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 : ResourceWith Edges -> Maybe AuthorName
authorNameFromJson : Decoder AuthorName

Event

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