Skip to content

Commit 9b4df55

Browse files
committed
Remove periphery ignore comments
1 parent 46566eb commit 9b4df55

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

Modules/Sources/Networking/Model/Bookings/Booking.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// periphery:ignore:all
21
import Codegen
32
import Foundation
43

Modules/Sources/Yosemite/Model/Model.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ public typealias StorageBlazeCampaignListItem = Storage.BlazeCampaignListItem
266266
public typealias StorageBlazeTargetDevice = Storage.BlazeTargetDevice
267267
public typealias StorageBlazeTargetLanguage = Storage.BlazeTargetLanguage
268268
public typealias StorageBlazeTargetTopic = Storage.BlazeTargetTopic
269-
// periphery:ignore - will be used later
270269
public typealias StorageBooking = Storage.Booking
271270
public typealias StorageCardReaderType = Storage.CardReaderType
272271
public typealias StorageCoupon = Storage.Coupon

Modules/Sources/Yosemite/Stores/BookingStore.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ extension BookingStore {
7474

7575
/// Updates (OR Inserts) the specified ReadOnly Booking Entities *in a background thread* async.
7676
/// Also deletes existing bookings if requested.
77-
func upsertStoredBookingsInBackground(readOnlyBookings: [Networking.Booking],
77+
func upsertStoredBookingsInBackground(readOnlyBookings: [Yosemite.Booking],
7878
siteID: Int64,
7979
shouldDeleteExistingBookings: Bool = false) async {
8080
await withCheckedContinuation { [weak self] continuation in
@@ -93,7 +93,7 @@ extension BookingStore {
9393
/// Also deletes existing bookings if requested.
9494
/// `onCompletion` will be called on the main thread!
9595
///
96-
func upsertStoredBookingsInBackground(readOnlyBookings: [Networking.Booking],
96+
func upsertStoredBookingsInBackground(readOnlyBookings: [Yosemite.Booking],
9797
siteID: Int64,
9898
shouldDeleteExistingBookings: Bool = false,
9999
onCompletion: @escaping () -> Void) {
@@ -123,7 +123,7 @@ extension BookingStore {
123123
for readOnlyBooking in readOnlyBookings {
124124
// Filter to find existing booking by booking ID
125125
let storageBooking = storedBookings.first { $0.bookingID == readOnlyBooking.bookingID } ??
126-
storage.insertNewObject(ofType: Storage.Booking.self)
126+
storage.insertNewObject(ofType: StorageBooking.self)
127127

128128
storageBooking.update(with: readOnlyBooking)
129129
}

Modules/Tests/YosemiteTests/Mocks/MockBookingsRemote.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ final class MockBookingsRemote: BookingsRemoteProtocol {
1616
}
1717
return try result.get()
1818
}
19-
}
19+
}

0 commit comments

Comments
 (0)