Type aliases for Google Autocomplete api
{ description : String
, id : String
, matcheSubstrings : List PredictionSubstring
, placeId : String
, reference : String
, structuredFormatting : StructuredFormatting
, terms : List PredictionTerm
, types : List String
}
Type alias for objects of type AutcompletePrediction
{ mainText : String
, mainTextPredictionSubstrings : List PredictionSubstring
, secondaryText : String
}
Type alias for objects of type StructuredFormatting
{ offset : Basics.Int
, value : String
}
Type alias for objects of type PredictionPredictionTerm
{ length : Basics.Int
, offset : Basics.Int
}
Type alias for objects of type PredictionSubstring
decoder : Json.Decode.Decoder AutocompletePrediction
Decoder of AutcompletePrediction
decodeList : Json.Decode.Decoder (List AutocompletePrediction)
Decoder for list of AutcompletePrediction