HomeDataFlow.swift 350 B

123456789101112131415
  1. import Foundation
  2. enum Home {
  3. enum Config {}
  4. }
  5. protocol HomeProvider: Provider {
  6. var suggestion: Suggestion? { get }
  7. func fetchAndLoop()
  8. func filteredGlucose(hours: Int) -> [BloodGlucose]
  9. func pumpHistory(hours: Int) -> [PumpHistoryEvent]
  10. func pumpSettings() -> PumpSettings
  11. func basalProfile() -> [BasalProfileEntry]
  12. }