@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 +2 -2
- package/lib/types.ts +5 -2
- package/package.json +1 -1
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,
|
|
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?:
|
|
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?:
|
|
271
|
+
mealContent?: Extract<
|
|
272
|
+
PredictedMealDetail,
|
|
273
|
+
"startTime" | "endTime" | "description"
|
|
274
|
+
>;
|
|
272
275
|
}
|
|
273
276
|
|
|
274
277
|
export interface ChatAdjustmentSleep {
|