Skip to content

Commit 6cc353b

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (120.0.20231006050324)
1 parent aed4272 commit 6cc353b

File tree

4 files changed

+38
-15
lines changed

4 files changed

+38
-15
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.4
22
import PackageDescription
33

4-
let checksum = "10b443bc9bf57a1ae2e302ac799c291bf94b86bfd1fc5eb2cf31142c031f19ed"
5-
let version = "120.0.20231005050249"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.120.20231005050249/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "0f5aadd478dfff28593e9070532a892d4e33859b74d57b8859ada3114ec0d7a7"
5+
let version = "120.0.20231006050324"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.120.20231006050324/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "17f41c6234282744ff04179ace4c1f49960035e1dd7f60b621bb7ee8111ef84f"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.120.20231005050249/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "24bdea35e525c8dba2b76c1b0c6e77afea25ce90077573603068993b472c8e2f"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.120.20231006050324/artifacts/public/build/FocusRustComponents.xcframework.zip"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v14)],

swift-source/all/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension GleanMetrics {
2525
// Intentionally left private, no external user can instantiate a new global object.
2626
}
2727

28-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 10, day: 5, hour: 5, minute: 21, second: 0))
28+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 10, day: 6, hour: 5, minute: 30, second: 30))
2929
}
3030

3131
enum NimbusEvents {

swift-source/all/Generated/suggest.swift

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ extension SuggestApiError: Error { }
681681
public enum Suggestion {
682682

683683
case `amp`(`title`: String, `url`: String, `rawUrl`: String, `icon`: [UInt8]?, `fullKeyword`: String, `blockId`: Int64, `advertiser`: String, `iabCategory`: String, `impressionUrl`: String, `clickUrl`: String, `rawClickUrl`: String)
684+
case `pocket`(`title`: String, `url`: String, `score`: Double, `isTopPick`: Bool)
684685
case `wikipedia`(`title`: String, `url`: String, `icon`: [UInt8]?, `fullKeyword`: String)
685686
case `amo`(`title`: String, `url`: String, `iconUrl`: String, `description`: String, `rating`: String?, `numberOfRatings`: Int64, `guid`: String, `score`: Double)
686687
}
@@ -706,14 +707,21 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
706707
`rawClickUrl`: try FfiConverterString.read(from: &buf)
707708
)
708709

709-
case 2: return .`wikipedia`(
710+
case 2: return .`pocket`(
711+
`title`: try FfiConverterString.read(from: &buf),
712+
`url`: try FfiConverterString.read(from: &buf),
713+
`score`: try FfiConverterDouble.read(from: &buf),
714+
`isTopPick`: try FfiConverterBool.read(from: &buf)
715+
)
716+
717+
case 3: return .`wikipedia`(
710718
`title`: try FfiConverterString.read(from: &buf),
711719
`url`: try FfiConverterString.read(from: &buf),
712720
`icon`: try FfiConverterOptionSequenceUInt8.read(from: &buf),
713721
`fullKeyword`: try FfiConverterString.read(from: &buf)
714722
)
715723

716-
case 3: return .`amo`(
724+
case 4: return .`amo`(
717725
`title`: try FfiConverterString.read(from: &buf),
718726
`url`: try FfiConverterString.read(from: &buf),
719727
`iconUrl`: try FfiConverterString.read(from: &buf),
@@ -747,16 +755,24 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
747755
FfiConverterString.write(`rawClickUrl`, into: &buf)
748756

749757

750-
case let .`wikipedia`(`title`,`url`,`icon`,`fullKeyword`):
758+
case let .`pocket`(`title`,`url`,`score`,`isTopPick`):
751759
writeInt(&buf, Int32(2))
752760
FfiConverterString.write(`title`, into: &buf)
753761
FfiConverterString.write(`url`, into: &buf)
762+
FfiConverterDouble.write(`score`, into: &buf)
763+
FfiConverterBool.write(`isTopPick`, into: &buf)
764+
765+
766+
case let .`wikipedia`(`title`,`url`,`icon`,`fullKeyword`):
767+
writeInt(&buf, Int32(3))
768+
FfiConverterString.write(`title`, into: &buf)
769+
FfiConverterString.write(`url`, into: &buf)
754770
FfiConverterOptionSequenceUInt8.write(`icon`, into: &buf)
755771
FfiConverterString.write(`fullKeyword`, into: &buf)
756772

757773

758774
case let .`amo`(`title`,`url`,`iconUrl`,`description`,`rating`,`numberOfRatings`,`guid`,`score`):
759-
writeInt(&buf, Int32(3))
775+
writeInt(&buf, Int32(4))
760776
FfiConverterString.write(`title`, into: &buf)
761777
FfiConverterString.write(`url`, into: &buf)
762778
FfiConverterString.write(`iconUrl`, into: &buf)
@@ -789,6 +805,7 @@ extension Suggestion: Equatable, Hashable {}
789805
public enum SuggestionProvider {
790806

791807
case `amp`
808+
case `pocket`
792809
case `wikipedia`
793810
case `amo`
794811
}
@@ -802,9 +819,11 @@ public struct FfiConverterTypeSuggestionProvider: FfiConverterRustBuffer {
802819

803820
case 1: return .`amp`
804821

805-
case 2: return .`wikipedia`
822+
case 2: return .`pocket`
806823

807-
case 3: return .`amo`
824+
case 3: return .`wikipedia`
825+
826+
case 4: return .`amo`
808827

809828
default: throw UniffiInternalError.unexpectedEnumCase
810829
}
@@ -818,13 +837,17 @@ public struct FfiConverterTypeSuggestionProvider: FfiConverterRustBuffer {
818837
writeInt(&buf, Int32(1))
819838

820839

821-
case .`wikipedia`:
840+
case .`pocket`:
822841
writeInt(&buf, Int32(2))
823842

824843

825-
case .`amo`:
844+
case .`wikipedia`:
826845
writeInt(&buf, Int32(3))
827846

847+
848+
case .`amo`:
849+
writeInt(&buf, Int32(4))
850+
828851
}
829852
}
830853
}

swift-source/focus/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension GleanMetrics {
2525
// Intentionally left private, no external user can instantiate a new global object.
2626
}
2727

28-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 10, day: 5, hour: 5, minute: 21, second: 3))
28+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2023, month: 10, day: 6, hour: 5, minute: 30, second: 33))
2929
}
3030

3131
enum NimbusEvents {

0 commit comments

Comments
 (0)