@@ -706,7 +706,7 @@ public protocol RemoteSettingsClientProtocol : AnyObject {
706
706
* - This method will throw if there is a network or other error when fetching the
707
707
* attachment data.
708
708
*/
709
- func getAttachment( attachmentId : String ) throws -> Data
709
+ func getAttachment( attachmentLocation : String ) throws -> Data
710
710
711
711
/**
712
712
* Get the current set of records.
@@ -722,8 +722,6 @@ public protocol RemoteSettingsClientProtocol : AnyObject {
722
722
* this is that there is not much an application can do in this situation other than fall back
723
723
* to the same default handling as if records have not been synced.
724
724
*
725
- * TODO(Bug 1919141):
726
- *
727
725
* Application-services schedules regular dumps of the server data for specific collections.
728
726
* For these collections, `get_records` will never return None. If you would like to add your
729
727
* collection to this list, please reach out to the DISCO team.
@@ -815,10 +813,10 @@ open func collectionName() -> String {
815
813
* - This method will throw if there is a network or other error when fetching the
816
814
* attachment data.
817
815
*/
818
- open func getAttachment( attachmentId : String ) throws -> Data {
816
+ open func getAttachment( attachmentLocation : String ) throws -> Data {
819
817
return try FfiConverterData . lift ( try rustCallWithError ( FfiConverterTypeRemoteSettingsError . lift) {
820
818
uniffi_remote_settings_fn_method_remotesettingsclient_get_attachment ( self . uniffiClonePointer ( ) ,
821
- FfiConverterString . lower ( attachmentId ) , $0
819
+ FfiConverterString . lower ( attachmentLocation ) , $0
822
820
)
823
821
} )
824
822
}
@@ -837,8 +835,6 @@ open func getAttachment(attachmentId: String)throws -> Data {
837
835
* this is that there is not much an application can do in this situation other than fall back
838
836
* to the same default handling as if records have not been synced.
839
837
*
840
- * TODO(Bug 1919141):
841
- *
842
838
* Application-services schedules regular dumps of the server data for specific collections.
843
839
* For these collections, `get_records` will never return None. If you would like to add your
844
840
* collection to this list, please reach out to the DISCO team.
@@ -2336,10 +2332,10 @@ private var initializationResult: InitializationResult = {
2336
2332
if ( uniffi_remote_settings_checksum_method_remotesettingsclient_collection_name ( ) != 54184 ) {
2337
2333
return InitializationResult . apiChecksumMismatch
2338
2334
}
2339
- if ( uniffi_remote_settings_checksum_method_remotesettingsclient_get_attachment ( ) != 50902 ) {
2335
+ if ( uniffi_remote_settings_checksum_method_remotesettingsclient_get_attachment ( ) != 40834 ) {
2340
2336
return InitializationResult . apiChecksumMismatch
2341
2337
}
2342
- if ( uniffi_remote_settings_checksum_method_remotesettingsclient_get_records ( ) != 20713 ) {
2338
+ if ( uniffi_remote_settings_checksum_method_remotesettingsclient_get_records ( ) != 64865 ) {
2343
2339
return InitializationResult . apiChecksumMismatch
2344
2340
}
2345
2341
if ( uniffi_remote_settings_checksum_method_remotesettingsclient_get_records_map ( ) != 32665 ) {
0 commit comments