import Defaults extension Defaults.Keys { static let instances = Key<[Instance]>("instances", default: [ .init(app: .piped, name: "Public", url: "https://pipedapi.kavin.rocks"), .init(app: .invidious, name: "Private", url: "https://invidious.home.arekf.net") ]) static let accounts = Key<[Instance.Account]>("accounts", default: []) static let defaultAccountID = Key("defaultAccountID") static let quality = Key("quality", default: .hd720pFirstThenBest) static let recentlyOpened = Key<[RecentItem]>("recentlyOpened", default: []) static let trendingCategory = Key("trendingCategory", default: .default) static let trendingCountry = Key("trendingCountry", default: .us) }