I think we're done
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Foundation
|
||||
|
||||
public struct Release: MusicBrainzSearchable {
|
||||
public struct Release: MusicBrainzSearchable, Identifiable, Hashable, Equatable {
|
||||
public static let entityType: MusicBrainzEntity = .release
|
||||
|
||||
public let id: String
|
||||
@@ -11,9 +11,10 @@ public struct Release: MusicBrainzSearchable {
|
||||
public let barcode: String?
|
||||
public let disambiguation: String?
|
||||
public let relations: [Relation]?
|
||||
public let media: [Media]?
|
||||
public let score: Int?
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
enum CodingKeys: String, CodingKey, Hashable, Equatable {
|
||||
case id
|
||||
case title
|
||||
case status
|
||||
@@ -22,6 +23,7 @@ public struct Release: MusicBrainzSearchable {
|
||||
case barcode
|
||||
case disambiguation
|
||||
case relations
|
||||
case media
|
||||
case score
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user