@demind-inc/core 1.7.68 → 1.7.69
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/Metrics.d.ts
CHANGED
|
@@ -109,7 +109,9 @@ export interface PredictedMealDetail {
|
|
|
109
109
|
startTime: string;
|
|
110
110
|
endTime: string;
|
|
111
111
|
description: string;
|
|
112
|
-
|
|
112
|
+
title?: string;
|
|
113
|
+
foodItems?: MealFoodAmount[];
|
|
114
|
+
kcal?: number;
|
|
113
115
|
macros?: {
|
|
114
116
|
[key: string]: number;
|
|
115
117
|
};
|
|
@@ -136,6 +138,8 @@ export interface MealFoodAmount {
|
|
|
136
138
|
export interface MetricMealDetail extends Partial<MetricActivity> {
|
|
137
139
|
type: MealType;
|
|
138
140
|
food?: MealFoodAmount;
|
|
141
|
+
title?: string;
|
|
142
|
+
foodItems?: MealFoodAmount[];
|
|
139
143
|
kcal?: number;
|
|
140
144
|
macros?: {
|
|
141
145
|
[key: string]: number;
|
package/lib/models/Metrics.ts
CHANGED
|
@@ -122,7 +122,9 @@ export interface PredictedMealDetail {
|
|
|
122
122
|
startTime: string; // HH:mm
|
|
123
123
|
endTime: string; // HH:mm
|
|
124
124
|
description: string;
|
|
125
|
-
|
|
125
|
+
title?: string;
|
|
126
|
+
foodItems?: MealFoodAmount[];
|
|
127
|
+
kcal?: number;
|
|
126
128
|
macros?: {
|
|
127
129
|
[key: string]: number;
|
|
128
130
|
};
|
|
@@ -152,7 +154,9 @@ export interface MealFoodAmount {
|
|
|
152
154
|
|
|
153
155
|
export interface MetricMealDetail extends Partial<MetricActivity> {
|
|
154
156
|
type: MealType;
|
|
155
|
-
food?: MealFoodAmount;
|
|
157
|
+
food?: MealFoodAmount; // deprecated
|
|
158
|
+
title?: string;
|
|
159
|
+
foodItems?: MealFoodAmount[];
|
|
156
160
|
kcal?: number;
|
|
157
161
|
macros?: {
|
|
158
162
|
[key: string]: number;
|