Remove unneeded extension breaks.

This commit is contained in:
Brent Simmons 2024-05-17 22:48:00 -07:00
parent d962fc5e1e
commit c491fd2b88

View File

@ -258,9 +258,6 @@ public protocol FeedlyAPICallerDelegate: AnyObject {
throw URLError(.cannotDecodeContentData) throw URLError(.cannotDecodeContentData)
} }
} }
}
extension FeedlyAPICaller {
@discardableResult @discardableResult
@MainActor public func addFeed(with feedID: FeedlyFeedResourceID, title: String? = nil, toCollectionWith collectionID: String) async throws -> [FeedlyFeed] { @MainActor public func addFeed(with feedID: FeedlyFeedResourceID, title: String? = nil, toCollectionWith collectionID: String) async throws -> [FeedlyFeed] {
@ -294,9 +291,6 @@ extension FeedlyAPICaller {
return collectionFeeds return collectionFeeds
} }
}
extension FeedlyAPICaller {
/// https://tools.ietf.org/html/rfc6749#section-4.1 /// https://tools.ietf.org/html/rfc6749#section-4.1
@ -338,9 +332,6 @@ extension FeedlyAPICaller {
return tokenResponse return tokenResponse
} }
}
extension FeedlyAPICaller {
/// Access tokens expire. Perform a request for a fresh access token given the long life refresh token received when authorization was granted. /// Access tokens expire. Perform a request for a fresh access token given the long life refresh token received when authorization was granted.
/// ///
@ -362,9 +353,6 @@ extension FeedlyAPICaller {
return tokenResponse return tokenResponse
} }
}
extension FeedlyAPICaller {
public func getCollections() async throws -> Set<FeedlyCollection> { public func getCollections() async throws -> Set<FeedlyCollection> {
@ -379,9 +367,6 @@ extension FeedlyAPICaller {
return Set(collections) return Set(collections)
} }
}
extension FeedlyAPICaller {
@MainActor public func getStreamContents(for resource: FeedlyResourceID, continuation: String?, newerThan: Date?, unreadOnly: Bool?) async throws -> FeedlyStream { @MainActor public func getStreamContents(for resource: FeedlyResourceID, continuation: String?, newerThan: Date?, unreadOnly: Bool?) async throws -> FeedlyStream {
@ -432,9 +417,6 @@ extension FeedlyAPICaller {
return collections return collections
} }
}
extension FeedlyAPICaller {
@MainActor public func getStreamIDs(for resource: FeedlyResourceID, continuation: String? = nil, newerThan: Date?, unreadOnly: Bool?) async throws -> FeedlyStreamIDs { @MainActor public func getStreamIDs(for resource: FeedlyResourceID, continuation: String? = nil, newerThan: Date?, unreadOnly: Bool?) async throws -> FeedlyStreamIDs {
@ -485,9 +467,6 @@ extension FeedlyAPICaller {
return collections return collections
} }
}
extension FeedlyAPICaller {
@MainActor public func getEntries(for ids: Set<String>) async throws -> [FeedlyEntry] { @MainActor public func getEntries(for ids: Set<String>) async throws -> [FeedlyEntry] {
@ -505,9 +484,6 @@ extension FeedlyAPICaller {
return entries return entries
} }
}
extension FeedlyAPICaller {
private struct MarkerEntriesBody: Encodable { private struct MarkerEntriesBody: Encodable {
let type = "entries" let type = "entries"
@ -533,9 +509,6 @@ extension FeedlyAPICaller {
} }
} }
} }
}
extension FeedlyAPICaller {
public func getFeeds(for query: String, count: Int, localeIdentifier: String) async throws -> FeedlyFeedsSearchResponse { public func getFeeds(for query: String, count: Int, localeIdentifier: String) async throws -> FeedlyFeedsSearchResponse {
@ -563,9 +536,6 @@ extension FeedlyAPICaller {
return searchResponse return searchResponse
} }
}
extension FeedlyAPICaller {
public func logout() async throws { public func logout() async throws {