@demind-inc/core 1.7.38 → 1.7.40
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/models/Preference.d.ts +1 -0
- package/dist/types.d.ts +2 -1
- package/lib/models/Preference.ts +1 -0
- package/lib/types.ts +2 -0
- package/package.json +1 -1
|
@@ -41,6 +41,7 @@ export interface CalendarPreference {
|
|
|
41
41
|
hideAutoSchedule?: {
|
|
42
42
|
completedTask?: boolean;
|
|
43
43
|
routine?: boolean;
|
|
44
|
+
exercise?: boolean;
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
export type SchedulerItemPrefType = keyof Pick<SchedulerPreference, "workTime" | "deepWork" | "lightWork" | "lunch" | "dinner" | "workout">;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalendarEvent, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricMealSummary, MetricStressValueSet, PhaseStartEndSet, RoutineActivity, SleepDetail, TaskItem, TaskPriority, TodoAppFrom } from "./models";
|
|
1
|
+
import { CalendarEvent, CalendarRoutineFrom, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MealType, MetricActivity, MetricHRValueSet, MetricMealDetail, MetricMealSummary, 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";
|
|
@@ -36,6 +36,7 @@ export interface ScheduledAction {
|
|
|
36
36
|
categoryId?: string;
|
|
37
37
|
phase?: CircadianPhase;
|
|
38
38
|
todoFrom?: CalendarTaskFrom;
|
|
39
|
+
routineFrom?: CalendarRoutineFrom;
|
|
39
40
|
logicElement?: ScheduleLogicElement;
|
|
40
41
|
eventFrom?: ScheduledActionEventFrom;
|
|
41
42
|
priority?: TaskPriority;
|
package/lib/models/Preference.ts
CHANGED
package/lib/types.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarEvent,
|
|
3
|
+
CalendarRoutineFrom,
|
|
3
4
|
CalendarTaskFrom,
|
|
4
5
|
EMASatisfaction,
|
|
5
6
|
EnergyFeedbackType,
|
|
@@ -92,6 +93,7 @@ export interface ScheduledAction {
|
|
|
92
93
|
categoryId?: string;
|
|
93
94
|
phase?: CircadianPhase;
|
|
94
95
|
todoFrom?: CalendarTaskFrom;
|
|
96
|
+
routineFrom?: CalendarRoutineFrom;
|
|
95
97
|
logicElement?: ScheduleLogicElement;
|
|
96
98
|
eventFrom?: ScheduledActionEventFrom;
|
|
97
99
|
priority?: TaskPriority;
|