@taphealth/kafka 1.2.51 → 1.2.53
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.
- package/dist/events/glucose-logging.d.ts +11 -0
- package/dist/events/glucose-logging.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/topics.d.ts +2 -1
- package/dist/topics.js +1 -0
- package/dist/types/glucose.d.ts +6 -0
- package/dist/types/glucose.js +10 -0
- package/dist/types/profile.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from "./types/appointment";
|
|
|
6
6
|
export * from "./types/refund";
|
|
7
7
|
export * from "./types/payment";
|
|
8
8
|
export * from "./types/profile";
|
|
9
|
+
export * from "./types/glucose";
|
|
9
10
|
export * from "./events/payment-captured";
|
|
10
11
|
export * from "./events/payment-failed";
|
|
11
12
|
export * from "./events/appointment-created";
|
|
@@ -22,3 +23,4 @@ export * from "./events/profile-updated";
|
|
|
22
23
|
export * from "./events/education-plan-created";
|
|
23
24
|
export * from "./events/education-generate";
|
|
24
25
|
export * from "./events/nutrition-logging";
|
|
26
|
+
export * from "./events/glucose-logging";
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./types/appointment"), exports);
|
|
|
22
22
|
__exportStar(require("./types/refund"), exports);
|
|
23
23
|
__exportStar(require("./types/payment"), exports);
|
|
24
24
|
__exportStar(require("./types/profile"), exports);
|
|
25
|
+
__exportStar(require("./types/glucose"), exports);
|
|
25
26
|
__exportStar(require("./events/payment-captured"), exports);
|
|
26
27
|
__exportStar(require("./events/payment-failed"), exports);
|
|
27
28
|
__exportStar(require("./events/appointment-created"), exports);
|
|
@@ -38,3 +39,4 @@ __exportStar(require("./events/profile-updated"), exports);
|
|
|
38
39
|
__exportStar(require("./events/education-plan-created"), exports);
|
|
39
40
|
__exportStar(require("./events/education-generate"), exports);
|
|
40
41
|
__exportStar(require("./events/nutrition-logging"), exports);
|
|
42
|
+
__exportStar(require("./events/glucose-logging"), exports);
|
package/dist/topics.d.ts
CHANGED
|
@@ -16,5 +16,6 @@ export declare enum Topics {
|
|
|
16
16
|
ProfileUpdated = "profile-updated",
|
|
17
17
|
EducationPlanCreated = "education-plan-created",
|
|
18
18
|
EducationGenerate = "education-generate",
|
|
19
|
-
NutritionLogging = "nutrition-logging"
|
|
19
|
+
NutritionLogging = "nutrition-logging",
|
|
20
|
+
GlucoseLogging = "glucose-logging"
|
|
20
21
|
}
|
package/dist/topics.js
CHANGED
|
@@ -21,4 +21,5 @@ var Topics;
|
|
|
21
21
|
Topics["EducationPlanCreated"] = "education-plan-created";
|
|
22
22
|
Topics["EducationGenerate"] = "education-generate";
|
|
23
23
|
Topics["NutritionLogging"] = "nutrition-logging";
|
|
24
|
+
Topics["GlucoseLogging"] = "glucose-logging";
|
|
24
25
|
})(Topics || (exports.Topics = Topics = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GlucoseType = void 0;
|
|
4
|
+
var GlucoseType;
|
|
5
|
+
(function (GlucoseType) {
|
|
6
|
+
GlucoseType[GlucoseType["Fasting"] = 0] = "Fasting";
|
|
7
|
+
GlucoseType[GlucoseType["PostLunch"] = 1] = "PostLunch";
|
|
8
|
+
GlucoseType[GlucoseType["Bedtime"] = 2] = "Bedtime";
|
|
9
|
+
GlucoseType[GlucoseType["PostExercise"] = 3] = "PostExercise";
|
|
10
|
+
})(GlucoseType || (exports.GlucoseType = GlucoseType = {}));
|
package/dist/types/profile.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export interface DietSettings {
|
|
|
72
72
|
nonVegPreferences: string[];
|
|
73
73
|
nonVegDays: string[];
|
|
74
74
|
medications: string[];
|
|
75
|
-
calorieIntake
|
|
75
|
+
calorieIntake?: number;
|
|
76
76
|
}
|
|
77
77
|
export interface LunchSettings {
|
|
78
78
|
hasLunch: boolean;
|
|
@@ -126,7 +126,7 @@ export interface PersonalSettings {
|
|
|
126
126
|
exerciseLevel?: number;
|
|
127
127
|
workoutDays?: string[];
|
|
128
128
|
glucoseSchedule?: GlucoseSchedule;
|
|
129
|
-
targetSteps
|
|
129
|
+
targetSteps?: number;
|
|
130
130
|
}
|
|
131
131
|
export interface GlucoseSchedule {
|
|
132
132
|
fasting?: number;
|