@taphealth/kafka 1.2.48 → 1.2.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Topics } from "../topics";
|
|
2
2
|
export interface NutritionLoggingEvent {
|
|
3
3
|
topic: Topics.NutritionLogging;
|
|
4
|
-
data:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
];
|
|
4
|
+
data: {
|
|
5
|
+
userId: string;
|
|
6
|
+
date: string;
|
|
7
|
+
mealType: string;
|
|
8
|
+
mealTime: string;
|
|
9
|
+
}[];
|
|
12
10
|
}
|
package/dist/types/profile.d.ts
CHANGED
|
@@ -54,6 +54,10 @@ export interface DiabetesSettings {
|
|
|
54
54
|
programPace: string;
|
|
55
55
|
coachType: string;
|
|
56
56
|
diabetesType: string;
|
|
57
|
+
lowBloodSugarExperience: boolean;
|
|
58
|
+
highBloodSugarExperience: boolean;
|
|
59
|
+
diabetesMedicationChanges: boolean;
|
|
60
|
+
comorbidities: string[];
|
|
57
61
|
}
|
|
58
62
|
export interface DietSettings {
|
|
59
63
|
dietReason: string;
|
|
@@ -119,4 +123,11 @@ export interface PersonalSettings {
|
|
|
119
123
|
height: string;
|
|
120
124
|
exerciseLevel?: number;
|
|
121
125
|
workoutDays?: string[];
|
|
126
|
+
glucoseSchedule?: GlucoseSchedule;
|
|
127
|
+
}
|
|
128
|
+
export interface GlucoseSchedule {
|
|
129
|
+
fasting?: number;
|
|
130
|
+
postLunch?: number;
|
|
131
|
+
bedtime?: number;
|
|
132
|
+
postExercise?: boolean;
|
|
122
133
|
}
|