Debrid rework #35

Merged
kingbri1 merged 27 commits from debrid-rework into next 2024-06-10 00:44:41 +00:00
3 changed files with 1 additions and 27 deletions
Showing only changes of commit 273403b711 - Show all commits

View file

@ -166,17 +166,4 @@ public extension AllDebrid {
case name = "n"
}
}
// MARK: - InstantAvailablity client side structures
struct IA: Codable, Hashable {
let magnet: Magnet
let expiryTimeStamp: Double
var files: [IAFile]
}
struct IAFile: Codable, Hashable {
let id: Int
let fileName: String
}
}

View file

@ -51,19 +51,6 @@ public extension Premiumize {
}
}
// MARK: - InstantAvailability client side structures
struct IA: Codable, Hashable {
let magnet: Magnet
let expiryTimeStamp: Double
let files: [IAFile]
}
struct IAFile: Codable, Hashable {
let name: String
let streamUrlString: String
}
// MARK: - AllItemsResponse (listall endpoint)
struct AllItemsResponse: Codable {

View file

@ -90,7 +90,7 @@ public extension RealDebrid {
var filesize: Int
}
// MARK: - Instant Availability client side structures
// MARK: - Instant Availability batch structures (used for client-side conversion)
struct IABatch: Codable, Hashable, Sendable {
let files: [IABatchFile]