LiveActitiyShared.swift 380 B

1234567891011121314151617
  1. import ActivityKit
  2. import Foundation
  3. struct LiveActivityAttributes: ActivityAttributes {
  4. public struct ContentState: Codable, Hashable {
  5. let bg: String
  6. let trendSystemImage: String?
  7. let change: String
  8. let date: Date
  9. let chart: [Int16]
  10. let chartDate: [Date?]
  11. let rotationDegrees: Double
  12. }
  13. let startDate: Date
  14. }