driebit / elm-ginger / Ginger.Resource.Extra

Location


type alias Location =
{ id : Ginger.Id.ResourceId
, lat : Basics.Float
, lng : Basics.Float 
}

locationFromJson : Json.Decode.Decoder Location

Author


type alias AuthorName =
{ firstName : String
, middleName : String
, lastNamePrefix : String
, lastName : String 
}

authorName : Ginger.Resource.ResourceWith Ginger.Resource.Edges -> Maybe AuthorName

authorNameFromJson : Json.Decode.Decoder AuthorName

Event


type alias EventDate =
{ dateStart : Maybe Time.Posix
, dateEnd : Maybe Time.Posix 
}

eventDate : Ginger.Resource.ResourceWith a -> Maybe EventDate

eventDateFromJson : Json.Decode.Decoder EventDate