IceCubesApp/Packages/Models/Sources/Models/Card.swift
2024-02-10 11:26:22 +01:00

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