HomeDataFlow.swift 303 B

1234567891011121314
  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. }