@demind-inc/core 1.7.62 → 1.7.64

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/types.d.ts CHANGED
@@ -54,6 +54,9 @@ export interface SleepDetailsByDate {
54
54
  details: SleepDetail;
55
55
  predictedSleep?: Pick<SleepDetail, "awakeTime" | "sleepTime">;
56
56
  }
57
+ export interface SleepDetailsWithNapByDate extends SleepDetailsByDate {
58
+ nap?: NapItem[];
59
+ }
57
60
  export interface NapItem {
58
61
  metricNapId: string;
59
62
  detail: NapDetail;
@@ -151,11 +154,24 @@ export interface ChatAdjustmentChangeWrapper<T> {
151
154
  before?: Partial<T>;
152
155
  after?: Partial<T>;
153
156
  }
157
+ export interface MealContentItem {
158
+ name: string;
159
+ portion?: string;
160
+ reason?: string;
161
+ }
162
+ export interface MealContent {
163
+ title: string;
164
+ rationale: string;
165
+ suggested_items: MealContentItem[];
166
+ macro_focus?: Record<string, number>;
167
+ micro_focus?: string[];
168
+ }
154
169
  export interface ChatAdjustmentMeal {
155
170
  mealType: MealType;
156
171
  startTime: string;
157
172
  endTime: string;
158
173
  description?: string;
174
+ mealContent?: MealContent;
159
175
  }
160
176
  export interface ChatAdjustmentSleep {
161
177
  sleepTime: string;
package/lib/types.ts CHANGED
@@ -116,6 +116,10 @@ export interface SleepDetailsByDate {
116
116
  predictedSleep?: Pick<SleepDetail, "awakeTime" | "sleepTime">;
117
117
  }
118
118
 
119
+ export interface SleepDetailsWithNapByDate extends SleepDetailsByDate {
120
+ nap?: NapItem[];
121
+ }
122
+
119
123
  export interface NapItem {
120
124
  metricNapId: string;
121
125
  detail: NapDetail;
@@ -260,11 +264,26 @@ export interface ChatAdjustmentChangeWrapper<T> {
260
264
  after?: Partial<T>;
261
265
  }
262
266
 
267
+ export interface MealContentItem {
268
+ name: string;
269
+ portion?: string;
270
+ reason?: string;
271
+ }
272
+
273
+ export interface MealContent {
274
+ title: string;
275
+ rationale: string;
276
+ suggested_items: MealContentItem[];
277
+ macro_focus?: Record<string, number>;
278
+ micro_focus?: string[];
279
+ }
280
+
263
281
  export interface ChatAdjustmentMeal {
264
282
  mealType: MealType;
265
283
  startTime: string; // ISO string
266
284
  endTime: string; // ISO string
267
285
  description?: string;
286
+ mealContent?: MealContent;
268
287
  }
269
288
 
270
289
  export interface ChatAdjustmentSleep {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.7.62",
3
+ "version": "1.7.64",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {