@@ -424,8 +424,6 @@ fileprivate struct FfiConverterString: FfiConverter {
424
424
425
425
public protocol SuggestStoreProtocol {
426
426
func clear( ) throws
427
- func clearDismissedSuggestions( ) throws
428
- func dismissSuggestion( rawSuggestionUrl: String ) throws
429
427
func fetchGlobalConfig( ) throws -> SuggestGlobalConfig
430
428
func fetchProviderConfig( provider: SuggestionProvider ) throws -> SuggestProviderConfig ?
431
429
func ingest( constraints: SuggestIngestionConstraints ) throws
@@ -468,23 +466,6 @@ public class SuggestStore: SuggestStoreProtocol {
468
466
}
469
467
}
470
468
471
- public func clearDismissedSuggestions( ) throws {
472
- try
473
- rustCallWithError ( FfiConverterTypeSuggestApiError . lift) {
474
- uniffi_suggest_fn_method_suggeststore_clear_dismissed_suggestions ( self . pointer, $0
475
- )
476
- }
477
- }
478
-
479
- public func dismissSuggestion( rawSuggestionUrl: String ) throws {
480
- try
481
- rustCallWithError ( FfiConverterTypeSuggestApiError . lift) {
482
- uniffi_suggest_fn_method_suggeststore_dismiss_suggestion ( self . pointer,
483
- FfiConverterString . lower ( rawSuggestionUrl) , $0
484
- )
485
- }
486
- }
487
-
488
469
public func fetchGlobalConfig( ) throws -> SuggestGlobalConfig {
489
470
return try FfiConverterTypeSuggestGlobalConfig . lift (
490
471
try
@@ -1501,12 +1482,6 @@ private var initializationResult: InitializationResult {
1501
1482
if ( uniffi_suggest_checksum_method_suggeststore_clear ( ) != 23581 ) {
1502
1483
return InitializationResult . apiChecksumMismatch
1503
1484
}
1504
- if ( uniffi_suggest_checksum_method_suggeststore_clear_dismissed_suggestions ( ) != 16338 ) {
1505
- return InitializationResult . apiChecksumMismatch
1506
- }
1507
- if ( uniffi_suggest_checksum_method_suggeststore_dismiss_suggestion ( ) != 6416 ) {
1508
- return InitializationResult . apiChecksumMismatch
1509
- }
1510
1485
if ( uniffi_suggest_checksum_method_suggeststore_fetch_global_config ( ) != 62773 ) {
1511
1486
return InitializationResult . apiChecksumMismatch
1512
1487
}
0 commit comments