public struct ActivityDay: Codable, Equatable, Sendable { public let date: String public private(set) var totals: ActivityTotals init(date: String, totals: ActivityTotals = ActivityTotals()) { self.date = date self.totals = totals } mutating func add(_ source: ActivitySource, count: Int) { totals.add(source, count: count) } }