@demind-inc/core 1.5.59 → 1.5.60

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.
@@ -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?: {
@@ -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,11 @@ 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
229
  }
230
230
 
231
231
  export interface ChatAdjustmentSleep {
232
- sleepTime: string;
233
- wakeTime: string;
232
+ sleepTime: string; // ISO string
233
+ wakeTime: string; // ISO string
234
234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.5.59",
3
+ "version": "1.5.60",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {