@demind-inc/core 1.7.9 → 1.7.11

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.
@@ -45,6 +45,14 @@ export interface MetricMeal {
45
45
  metricMealId: string;
46
46
  date: string;
47
47
  meals: MetricMealDetail[];
48
+ summary?: {
49
+ macros?: {
50
+ [key: string]: number;
51
+ };
52
+ micros?: {
53
+ [key: string]: number;
54
+ };
55
+ };
48
56
  breakfastEventRef?: DocumentReference | null;
49
57
  lunchEventRef?: DocumentReference | null;
50
58
  dinnerEventRef?: DocumentReference | null;
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CalendarEvent, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricStressValueSet, PhaseStartEndSet, SleepDetail, TaskItem, TaskPriority, TodoAppFrom } from "./models";
1
+ import { CalendarEvent, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricStressValueSet, PhaseStartEndSet, RoutineActivity, SleepDetail, TaskItem, TaskPriority, TodoAppFrom } 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";
@@ -130,6 +130,7 @@ export interface ChatAdjustmentCTA {
130
130
  sleep?: ChatAdjustmentChangeWrapper<ChatAdjustmentSleep>;
131
131
  schedule?: ChatAdjustmentChangeWrapper<ScheduledAction>[];
132
132
  tasks?: ChatAdjustmentChangeWrapper<ChatAdjustmentTask>[];
133
+ routines?: ChatAdjustmentChangeWrapper<RoutineActivity>[];
133
134
  date?: string;
134
135
  }
135
136
  export interface ChatAdjustmentChangeWrapper<T> {
@@ -51,6 +51,14 @@ export interface MetricMeal {
51
51
  metricMealId: string;
52
52
  date: string;
53
53
  meals: MetricMealDetail[];
54
+ summary?: {
55
+ macros?: {
56
+ [key: string]: number;
57
+ };
58
+ micros?: {
59
+ [key: string]: number;
60
+ };
61
+ };
54
62
  breakfastEventRef?: DocumentReference | null;
55
63
  lunchEventRef?: DocumentReference | null;
56
64
  dinnerEventRef?: DocumentReference | null;
package/lib/types.ts CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  MetricMealDetail,
11
11
  MetricStressValueSet,
12
12
  PhaseStartEndSet,
13
+ RoutineActivity,
13
14
  SleepDetail,
14
15
  TaskItem,
15
16
  TaskPriority,
@@ -224,6 +225,7 @@ export interface ChatAdjustmentCTA {
224
225
  sleep?: ChatAdjustmentChangeWrapper<ChatAdjustmentSleep>;
225
226
  schedule?: ChatAdjustmentChangeWrapper<ScheduledAction>[];
226
227
  tasks?: ChatAdjustmentChangeWrapper<ChatAdjustmentTask>[];
228
+ routines?: ChatAdjustmentChangeWrapper<RoutineActivity>[];
227
229
  date?: string; // YYYY-MM-DD
228
230
  }
229
231
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.7.9",
3
+ "version": "1.7.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {