@@ -962,7 +962,7 @@ public enum Suggestion {
962
962
case pocket( title: String , url: String , score: Double , isTopPick: Bool )
963
963
case wikipedia( title: String , url: String , icon: [ UInt8 ] ? , fullKeyword: String )
964
964
case amo( title: String , url: String , iconUrl: String , description: String , rating: String ? , numberOfRatings: Int64 , guid: String , score: Double )
965
- case yelp( url: String , title: String , subjectExactMatch: Bool , icon : [ UInt8 ] ? )
965
+ case yelp( url: String , title: String , icon : [ UInt8 ] ? , hasLocationSign : Bool , subjectExactMatch: Bool , locationParam : String )
966
966
case mdn( title: String , url: String , description: String , score: Double )
967
967
case weather( score: Double )
968
968
}
@@ -1017,8 +1017,10 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
1017
1017
case 5 : return . yelp(
1018
1018
url: try FfiConverterString . read ( from: & buf) ,
1019
1019
title: try FfiConverterString . read ( from: & buf) ,
1020
+ icon: try FfiConverterOptionSequenceUInt8 . read ( from: & buf) ,
1021
+ hasLocationSign: try FfiConverterBool . read ( from: & buf) ,
1020
1022
subjectExactMatch: try FfiConverterBool . read ( from: & buf) ,
1021
- icon : try FfiConverterOptionSequenceUInt8 . read ( from: & buf)
1023
+ locationParam : try FfiConverterString . read ( from: & buf)
1022
1024
)
1023
1025
1024
1026
case 6 : return . mdn(
@@ -1084,12 +1086,14 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
1084
1086
FfiConverterDouble . write ( score, into: & buf)
1085
1087
1086
1088
1087
- case let . yelp( url, title, subjectExactMatch, icon ) :
1089
+ case let . yelp( url, title, icon , hasLocationSign , subjectExactMatch, locationParam ) :
1088
1090
writeInt ( & buf, Int32 ( 5 ) )
1089
1091
FfiConverterString . write ( url, into: & buf)
1090
1092
FfiConverterString . write ( title, into: & buf)
1091
- FfiConverterBool . write ( subjectExactMatch, into: & buf)
1092
1093
FfiConverterOptionSequenceUInt8 . write ( icon, into: & buf)
1094
+ FfiConverterBool . write ( hasLocationSign, into: & buf)
1095
+ FfiConverterBool . write ( subjectExactMatch, into: & buf)
1096
+ FfiConverterString . write ( locationParam, into: & buf)
1093
1097
1094
1098
1095
1099
case let . mdn( title, url, description, score) :
0 commit comments