@demind-inc/core 1.7.74 → 1.7.75

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, MealSuggestionPayload, 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, PredictedMealDetail } 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";
@@ -157,7 +157,7 @@ export interface ChatAdjustmentMeal {
157
157
  startTime: string;
158
158
  endTime: string;
159
159
  description?: string;
160
- mealContent?: MealSuggestionPayload;
160
+ mealContent?: Extract<PredictedMealDetail, "startTime" | "endTime" | "description">;
161
161
  }
162
162
  export interface ChatAdjustmentSleep {
163
163
  sleepTime: string;
package/lib/types.ts CHANGED
@@ -20,6 +20,7 @@ import {
20
20
  TaskItem,
21
21
  TaskPriority,
22
22
  TodoAppFrom,
23
+ PredictedMealDetail,
23
24
  } from "./models";
24
25
 
25
26
  export type SupportedTerraProvidersType =
@@ -262,13 +263,15 @@ export interface ChatAdjustmentChangeWrapper<T> {
262
263
  after?: Partial<T>;
263
264
  }
264
265
 
265
-
266
266
  export interface ChatAdjustmentMeal {
267
267
  mealType: MealType;
268
268
  startTime: string; // ISO string
269
269
  endTime: string; // ISO string
270
270
  description?: string;
271
- mealContent?: MealSuggestionPayload;
271
+ mealContent?: Extract<
272
+ PredictedMealDetail,
273
+ "startTime" | "endTime" | "description"
274
+ >;
272
275
  }
273
276
 
274
277
  export interface ChatAdjustmentSleep {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.7.74",
3
+ "version": "1.7.75",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {