HomeDataFlow.swift 391 B

1234567891011121314151617
  1. import Foundation
  2. import LoopKitUI
  3. enum Home {
  4. enum Config {}
  5. }
  6. protocol HomeProvider: Provider {
  7. func heartbeatNow()
  8. func pumpSettings() -> PumpSettings
  9. func getBasalProfile() async -> [BasalProfileEntry]
  10. func tempTargets(hours: Int) -> [TempTarget]
  11. func pumpReservoir() -> Decimal?
  12. func tempTarget() -> TempTarget?
  13. func getBGTarget() async -> BGTargets
  14. }