I think we're done

This commit is contained in:
cdricms
2026-03-21 18:25:21 +01:00
parent 2d1e8e1044
commit ba9e2db1b9
26 changed files with 281 additions and 63 deletions

View File

@@ -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
}
}