@demind-inc/core 1.7.70 → 1.7.71

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
@@ -1,4 +1,4 @@
1
- import { CalendarEvent, CalendarRoutineFrom, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricMealSummary, MetricStressValueSet, PhaseStartEndSet, RichContext, RoutineActivity, NapDetail, SleepDetail, TaskItem, TaskPriority, TodoAppFrom } from "./models";
1
+ import { CalendarEvent, CalendarRoutineFrom, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricMealSummary, MetricStressValueSet, PhaseStartEndSet, RichContext, RoutineActivity, NapDetail, SleepDetail, TaskItem, TaskPriority, TodoAppFrom, MealFoodAmount, MetricMealDetailMicros, MetricMealDetailMacros } from "./models";
2
2
  export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN" | "WHOOP" | "ULTRAHUMAN" | "STRAVA" | "MYFITNESSPAL";
3
3
  export type SupportedTerraSDKType = "APPLE" | "GOOGLE_FIT" | "SAMSUNG_HEALTH" | "FREESTYLE_LIBRE";
4
4
  export type CircadianPhase = "default" | "wakeup_low" | "wakeup_normal" | "morning_high" | "morning_normal" | "morning_low" | "evening_high" | "evening_low" | "evening_normal";
@@ -152,17 +152,12 @@ export interface ChatAdjustmentChangeWrapper<T> {
152
152
  before?: Partial<T>;
153
153
  after?: Partial<T>;
154
154
  }
155
- export interface MealContentItem {
156
- name: string;
157
- portion?: string;
158
- reason?: string;
159
- }
160
155
  export interface MealContent {
161
156
  title: string;
162
- rationale: string;
163
- suggested_items: MealContentItem[];
164
- macro_focus?: Record<string, number>;
165
- micro_focus?: string[];
157
+ foodItems?: MealFoodAmount[];
158
+ macros?: MetricMealDetailMacros;
159
+ micros?: MetricMealDetailMicros;
160
+ description?: string;
166
161
  }
167
162
  export interface ChatAdjustmentMeal {
168
163
  mealType: MealType;
package/lib/types.ts CHANGED
@@ -19,6 +19,9 @@ import {
19
19
  TaskItem,
20
20
  TaskPriority,
21
21
  TodoAppFrom,
22
+ MealFoodAmount,
23
+ MetricMealDetailMicros,
24
+ MetricMealDetailMacros,
22
25
  } from "./models";
23
26
 
24
27
  export type SupportedTerraProvidersType =
@@ -261,18 +264,12 @@ export interface ChatAdjustmentChangeWrapper<T> {
261
264
  after?: Partial<T>;
262
265
  }
263
266
 
264
- export interface MealContentItem {
265
- name: string;
266
- portion?: string;
267
- reason?: string;
268
- }
269
-
270
267
  export interface MealContent {
271
268
  title: string;
272
- rationale: string;
273
- suggested_items: MealContentItem[];
274
- macro_focus?: Record<string, number>;
275
- micro_focus?: string[];
269
+ foodItems?: MealFoodAmount[];
270
+ macros?: MetricMealDetailMacros;
271
+ micros?: MetricMealDetailMicros;
272
+ description?: string;
276
273
  }
277
274
 
278
275
  export interface ChatAdjustmentMeal {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.7.70",
3
+ "version": "1.7.71",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {