@@ -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 , icon: [ UInt8 ] ? , hasLocationSign: Bool , subjectExactMatch: Bool , locationParam: String )
965
+ case yelp( url: String , title: String , icon: [ UInt8 ] ? , score : Double , 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
}
@@ -1018,6 +1018,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
1018
1018
url: try FfiConverterString . read ( from: & buf) ,
1019
1019
title: try FfiConverterString . read ( from: & buf) ,
1020
1020
icon: try FfiConverterOptionSequenceUInt8 . read ( from: & buf) ,
1021
+ score: try FfiConverterDouble . read ( from: & buf) ,
1021
1022
hasLocationSign: try FfiConverterBool . read ( from: & buf) ,
1022
1023
subjectExactMatch: try FfiConverterBool . read ( from: & buf) ,
1023
1024
locationParam: try FfiConverterString . read ( from: & buf)
@@ -1086,11 +1087,12 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
1086
1087
FfiConverterDouble . write ( score, into: & buf)
1087
1088
1088
1089
1089
- case let . yelp( url, title, icon, hasLocationSign, subjectExactMatch, locationParam) :
1090
+ case let . yelp( url, title, icon, score , hasLocationSign, subjectExactMatch, locationParam) :
1090
1091
writeInt ( & buf, Int32 ( 5 ) )
1091
1092
FfiConverterString . write ( url, into: & buf)
1092
1093
FfiConverterString . write ( title, into: & buf)
1093
1094
FfiConverterOptionSequenceUInt8 . write ( icon, into: & buf)
1095
+ FfiConverterDouble . write ( score, into: & buf)
1094
1096
FfiConverterBool . write ( hasLocationSign, into: & buf)
1095
1097
FfiConverterBool . write ( subjectExactMatch, into: & buf)
1096
1098
FfiConverterString . write ( locationParam, into: & buf)
0 commit comments