Overall improvements and data update #22

Merged
javier merged 13 commits from library/data-update into main 2026-03-22 23:39:49 +00:00
6 changed files with 6 additions and 6 deletions
Showing only changes of commit 1a5d10a655 - Show all commits
@@ -13,7 +13,7 @@
// ===----------------------------------------------------------------------===
/// A protocol that defines decodable models containing the `key` and `name` properties.
protocol KeyNameModel: Sendable {
protocol KeyNameModel: Sendable, Hashable {
// MARK: Properties
@@ -15,7 +15,7 @@
import Foundation
/// A model that represents an amiibo.
public struct Amiibo: Sendable {
public struct Amiibo: Sendable, Hashable {
// MARK: Properties
@@ -14,7 +14,7 @@
extension Amiibo {
/// A model that represents a game related to an amiibo.
public struct Game: Sendable {
public struct Game: Sendable, Hashable {
// MARK: Properties
@@ -14,7 +14,7 @@
extension Amiibo {
/// A model that represents a collection of `Switch`, `Switch 2`, `3DS`, and `WiiU` games related to an amiibo.
public struct Platform: Sendable {
public struct Platform: Sendable, Hashable {
// MARK: Properties
@@ -16,7 +16,7 @@ import Foundation
extension Amiibo {
/// A model that represents a collection of release dates related to an amiibo.
public struct Release: Sendable {
public struct Release: Sendable, Hashable {
// MARK: Properties
@@ -14,7 +14,7 @@
extension Amiibo {
/// A model that represents the usage of an amiibo within a certain game.
public struct Usage: Sendable {
public struct Usage: Sendable, Hashable {
// MARK: Properties