@@ -651,7 +651,7 @@ open class SuggestStore:
651
651
/**
652
652
* Creates a Suggest store.
653
653
*/
654
- public convenience init ( path: String , settingsConfig: RemoteSettingsConfig ? ) throws {
654
+ public convenience init ( path: String , settingsConfig: RemoteSettingsConfig ? = nil ) throws {
655
655
let pointer =
656
656
try rustCallWithError ( FfiConverterTypeSuggestApiError . lift) {
657
657
uniffi_suggest_fn_constructor_suggeststore_new (
@@ -738,7 +738,7 @@ open func ingest(constraints: SuggestIngestionConstraints)throws -> SuggestInge
738
738
* bar, to ensure that they see fresh suggestions as they type. This
739
739
* method does not interrupt any ongoing ingests.
740
740
*/
741
- open func interrupt( kind: InterruptKind ? ) { try ! rustCall ( ) {
741
+ open func interrupt( kind: InterruptKind ? = nil ) { try ! rustCall ( ) {
742
742
uniffi_suggest_fn_method_suggeststore_interrupt ( self . uniffiClonePointer ( ) ,
743
743
FfiConverterOptionTypeInterruptKind . lower ( kind) , $0
744
744
)
@@ -1199,11 +1199,11 @@ public struct SuggestIngestionConstraints {
1199
1199
1200
1200
// Default memberwise initializers are never public by default, so we
1201
1201
// declare one manually.
1202
- public init ( providers: [ SuggestionProvider ] ? , providerConstraints: SuggestionProviderConstraints ? ,
1202
+ public init ( providers: [ SuggestionProvider ] ? = nil , providerConstraints: SuggestionProviderConstraints ? = nil ,
1203
1203
/**
1204
1204
* Only run ingestion if the table `suggestions` is empty
1205
1205
1206
- */emptyOnly: Bool ) {
1206
+ */emptyOnly: Bool = false ) {
1207
1207
self . providers = providers
1208
1208
self . providerConstraints = providerConstraints
1209
1209
self . emptyOnly = emptyOnly
@@ -1354,7 +1354,7 @@ public struct SuggestionProviderConstraints {
1354
1354
* `Exposure` provider - For each desired exposure suggestion type, this
1355
1355
* should contain the value of the `suggestion_type` field of its remote
1356
1356
* settings record(s).
1357
- */exposureSuggestionTypes: [ String ] ? ) {
1357
+ */exposureSuggestionTypes: [ String ] ? = nil ) {
1358
1358
self . exposureSuggestionTypes = exposureSuggestionTypes
1359
1359
}
1360
1360
}
@@ -1409,7 +1409,7 @@ public struct SuggestionQuery {
1409
1409
1410
1410
// Default memberwise initializers are never public by default, so we
1411
1411
// declare one manually.
1412
- public init ( keyword: String , providers: [ SuggestionProvider ] , providerConstraints: SuggestionProviderConstraints ? , limit: Int32 ? ) {
1412
+ public init ( keyword: String , providers: [ SuggestionProvider ] , providerConstraints: SuggestionProviderConstraints ? = nil , limit: Int32 ? = nil ) {
1413
1413
self . keyword = keyword
1414
1414
self . providers = providers
1415
1415
self . providerConstraints = providerConstraints
@@ -2313,7 +2313,7 @@ private var initializationResult: InitializationResult = {
2313
2313
if ( uniffi_suggest_checksum_method_suggeststore_ingest ( ) != 35498 ) {
2314
2314
return InitializationResult . apiChecksumMismatch
2315
2315
}
2316
- if ( uniffi_suggest_checksum_method_suggeststore_interrupt ( ) != 39926 ) {
2316
+ if ( uniffi_suggest_checksum_method_suggeststore_interrupt ( ) != 26986 ) {
2317
2317
return InitializationResult . apiChecksumMismatch
2318
2318
}
2319
2319
if ( uniffi_suggest_checksum_method_suggeststore_query ( ) != 856 ) {
@@ -2340,7 +2340,7 @@ private var initializationResult: InitializationResult = {
2340
2340
if ( uniffi_suggest_checksum_method_suggeststorebuilder_remote_settings_server ( ) != 19990 ) {
2341
2341
return InitializationResult . apiChecksumMismatch
2342
2342
}
2343
- if ( uniffi_suggest_checksum_constructor_suggeststore_new ( ) != 1459 ) {
2343
+ if ( uniffi_suggest_checksum_constructor_suggeststore_new ( ) != 9768 ) {
2344
2344
return InitializationResult . apiChecksumMismatch
2345
2345
}
2346
2346
if ( uniffi_suggest_checksum_constructor_suggeststorebuilder_new ( ) != 1218 ) {
0 commit comments