mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-15 19:56:36 +00:00
18 lines
382 B
Swift
18 lines
382 B
Swift
import Foundation
|
|
|
|
public struct Card: Codable, Identifiable, Equatable, Hashable {
|
|
public var id: String {
|
|
url
|
|
}
|
|
|
|
public let url: String
|
|
public let title: String?
|
|
public let description: String?
|
|
public let type: String
|
|
public let image: URL?
|
|
public let width: CGFloat
|
|
public let height: CGFloat
|
|
public let history: [History]?
|
|
}
|
|
|
|
extension Card: Sendable {}
|