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 Event: MusicBrainzSearchable {
public struct Event: MusicBrainzSearchable, Identifiable, Hashable, Equatable {
public static let entityType: MusicBrainzEntity = .event
public let id: String
@@ -11,7 +11,7 @@ public struct Event: MusicBrainzSearchable {
public let relations: [Relation]?
public let score: Int?
enum CodingKeys: String, CodingKey {
enum CodingKeys: String, CodingKey, Hashable, Equatable {
case id, name, time, disambiguation, score, relations
case lifeSpan = "life-span"
}