Bookmarks are added through search results and can be accessed through the library. These can be moved and deleted within the list. Add a RealDebrid instant availability cache for bookmark IA status to not overwhelm the API. Instant availability results are fresh on every search results since the cache is cleared. Also don't require a source API object to be present for the API parser button in source settings. If a JSON parser exists for a source, allow the option to be presented. Signed-off-by: kingbri <bdashore3@proton.me>
32 lines
694 B
Swift
32 lines
694 B
Swift
//
|
|
// Bookmark+CoreDataProperties.swift
|
|
// Ferrite
|
|
//
|
|
// Created by Brian Dashore on 9/3/22.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import CoreData
|
|
|
|
|
|
extension Bookmark {
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<Bookmark> {
|
|
return NSFetchRequest<Bookmark>(entityName: "Bookmark")
|
|
}
|
|
|
|
@NSManaged public var leechers: String?
|
|
@NSManaged public var magnetHash: String?
|
|
@NSManaged public var magnetLink: String?
|
|
@NSManaged public var seeders: String?
|
|
@NSManaged public var size: String?
|
|
@NSManaged public var source: String
|
|
@NSManaged public var title: String?
|
|
@NSManaged public var orderNum: Int16
|
|
|
|
}
|
|
|
|
extension Bookmark : Identifiable {
|
|
|
|
}
|