|
@@ -4,16 +4,12 @@ struct FetchedNightscoutProfileStore: JSON {
|
|
|
let _id: String
|
|
let _id: String
|
|
|
let defaultProfile: String
|
|
let defaultProfile: String
|
|
|
let startDate: String
|
|
let startDate: String
|
|
|
- let mills: Decimal
|
|
|
|
|
let enteredBy: String
|
|
let enteredBy: String
|
|
|
- let store: [String: ScheduledNightscoutProfile]
|
|
|
|
|
- let created_at: String
|
|
|
|
|
|
|
+ let store: [String: FetchedNightscoutProfile]
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
struct FetchedNightscoutProfile: JSON {
|
|
struct FetchedNightscoutProfile: JSON {
|
|
|
let dia: Decimal
|
|
let dia: Decimal
|
|
|
- let carbs_hr: Int
|
|
|
|
|
- let delay: Decimal
|
|
|
|
|
let timezone: String
|
|
let timezone: String
|
|
|
let target_low: [NightscoutTimevalue]
|
|
let target_low: [NightscoutTimevalue]
|
|
|
let target_high: [NightscoutTimevalue]
|
|
let target_high: [NightscoutTimevalue]
|