@demind-inc/core 1.5.30 → 1.5.32
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/models/Chat.d.ts +5 -1
- package/dist/models/Metrics.d.ts +3 -0
- package/lib/models/Chat.ts +5 -1
- package/lib/models/Metrics.ts +3 -0
- package/package.json +1 -1
package/dist/models/Chat.d.ts
CHANGED
|
@@ -37,7 +37,11 @@ export interface MealSession {
|
|
|
37
37
|
messages: SessionMessage[];
|
|
38
38
|
createdAt: string;
|
|
39
39
|
sessionType: ChatSessionType;
|
|
40
|
-
mealData:
|
|
40
|
+
mealData: {
|
|
41
|
+
breakfast: TimeSummary;
|
|
42
|
+
lunch: TimeSummary;
|
|
43
|
+
dinner: TimeSummary;
|
|
44
|
+
};
|
|
41
45
|
}
|
|
42
46
|
export type MessageRole = "user" | "assistant";
|
|
43
47
|
export interface SessionMessage {
|
package/dist/models/Metrics.d.ts
CHANGED
|
@@ -38,6 +38,9 @@ export interface MetricMeal {
|
|
|
38
38
|
metricMealId: string;
|
|
39
39
|
date: string;
|
|
40
40
|
meals: MetricActivity[];
|
|
41
|
+
breakfastEventRef?: DocumentReference;
|
|
42
|
+
lunchEventRef?: DocumentReference;
|
|
43
|
+
dinnerEventRef?: DocumentReference;
|
|
41
44
|
}
|
|
42
45
|
export interface MetricActivity {
|
|
43
46
|
name: string;
|
package/lib/models/Chat.ts
CHANGED
|
@@ -43,7 +43,11 @@ export interface MealSession {
|
|
|
43
43
|
messages: SessionMessage[];
|
|
44
44
|
createdAt: string;
|
|
45
45
|
sessionType: ChatSessionType;
|
|
46
|
-
mealData:
|
|
46
|
+
mealData: {
|
|
47
|
+
breakfast: TimeSummary;
|
|
48
|
+
lunch: TimeSummary;
|
|
49
|
+
dinner: TimeSummary;
|
|
50
|
+
};
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
export type MessageRole = "user" | "assistant";
|
package/lib/models/Metrics.ts
CHANGED
|
@@ -43,6 +43,9 @@ export interface MetricMeal {
|
|
|
43
43
|
metricMealId: string;
|
|
44
44
|
date: string;
|
|
45
45
|
meals: MetricActivity[];
|
|
46
|
+
breakfastEventRef?: DocumentReference;
|
|
47
|
+
lunchEventRef?: DocumentReference;
|
|
48
|
+
dinnerEventRef?: DocumentReference;
|
|
46
49
|
}
|
|
47
50
|
|
|
48
51
|
export interface MetricActivity {
|