@demind-inc/core 1.5.59 → 1.5.61
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 +1 -1
- package/dist/types.d.ts +2 -0
- package/lib/models/Metrics.ts +5 -5
- package/lib/types.ts +6 -4
- package/package.json +1 -1
package/dist/models/Metrics.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export interface MealFoodAmount {
|
|
|
70
70
|
name: string;
|
|
71
71
|
amount: number;
|
|
72
72
|
}
|
|
73
|
-
export interface MetricMealDetail extends MetricActivity {
|
|
73
|
+
export interface MetricMealDetail extends Partial<MetricActivity> {
|
|
74
74
|
type: MealType;
|
|
75
75
|
food?: MealFoodAmount;
|
|
76
76
|
macros?: {
|
package/dist/types.d.ts
CHANGED
|
@@ -135,8 +135,10 @@ export interface ChatAdjustmentMeal {
|
|
|
135
135
|
mealType: MealType;
|
|
136
136
|
startTime: string;
|
|
137
137
|
endTime: string;
|
|
138
|
+
description?: string;
|
|
138
139
|
}
|
|
139
140
|
export interface ChatAdjustmentSleep {
|
|
140
141
|
sleepTime: string;
|
|
141
142
|
wakeTime: string;
|
|
143
|
+
description?: string;
|
|
142
144
|
}
|
package/lib/models/Metrics.ts
CHANGED
|
@@ -24,8 +24,8 @@ export interface MetricSleep {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export interface PredictedSleep {
|
|
27
|
-
sleepTime: string;
|
|
28
|
-
wakeTime: string;
|
|
27
|
+
sleepTime: string; // HH:mm
|
|
28
|
+
wakeTime: string; // HH:mm
|
|
29
29
|
description: string;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -57,8 +57,8 @@ export interface MetricMeal {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export interface PredictedMealDetail {
|
|
60
|
-
startTime: string;
|
|
61
|
-
endTime: string;
|
|
60
|
+
startTime: string; // HH:mm
|
|
61
|
+
endTime: string; // HH:mm
|
|
62
62
|
description: string;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -81,7 +81,7 @@ export interface MealFoodAmount {
|
|
|
81
81
|
amount: number;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export interface MetricMealDetail extends MetricActivity {
|
|
84
|
+
export interface MetricMealDetail extends Partial<MetricActivity> {
|
|
85
85
|
type: MealType;
|
|
86
86
|
food?: MealFoodAmount;
|
|
87
87
|
macros?: {
|
package/lib/types.ts
CHANGED
|
@@ -224,11 +224,13 @@ export interface ChatAdjustmentChangeWrapper<T> {
|
|
|
224
224
|
|
|
225
225
|
export interface ChatAdjustmentMeal {
|
|
226
226
|
mealType: MealType;
|
|
227
|
-
startTime: string;
|
|
228
|
-
endTime: string;
|
|
227
|
+
startTime: string; // ISO string
|
|
228
|
+
endTime: string; // ISO string
|
|
229
|
+
description?: string;
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
export interface ChatAdjustmentSleep {
|
|
232
|
-
sleepTime: string;
|
|
233
|
-
wakeTime: string;
|
|
233
|
+
sleepTime: string; // ISO string
|
|
234
|
+
wakeTime: string; // ISO string
|
|
235
|
+
description?: string;
|
|
234
236
|
}
|