Jarian Cottingham 68eb4d9f43 feat: Add Rust UI and backend implementation with project infrastructure
Adds the new Rust-based UI (iced), backend service, shared Swift models,
CI/CD workflows, build scripts, and project documentation.
2026-08-19 21:22:08 -05:00

41 lines
1.0 KiB
Swift

import Foundation
struct Show: Identifiable, Codable, Hashable {
let id: Int
let name: String
let overview: String
let network: String?
let firstAirDate: Date?
let posterPath: String?
let rating: Double?
let episodeCount: Int
let seasonCount: Int
let status: String
let tags: [String]
init(
id: Int,
name: String,
overview: String,
network: String? = nil,
firstAirDate: Date? = nil,
posterPath: String? = nil,
rating: Double? = nil,
episodeCount: Int = 0,
seasonCount: Int = 0,
status: String = "",
tags: [String] = []
) {
self.id = id
self.name = name
self.overview = overview
self.network = network
self.firstAirDate = firstAirDate
self.posterPath = posterPath
self.rating = rating
self.episodeCount = episodeCount
self.seasonCount = seasonCount
self.status = status
self.tags = tags
}
}