@demind-inc/core 1.4.48 → 1.4.50
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/EMAs.d.ts +1 -1
- package/dist/types.d.ts +5 -1
- package/lib/models/EMAs.ts +1 -1
- package/lib/types.ts +6 -0
- package/package.json +1 -1
package/dist/models/EMAs.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type EMASatisfactionType = "not_at_all" | "slightly" | "neutral" | "very"
|
|
|
9
9
|
export interface EMADateSet {
|
|
10
10
|
emaDateId: string;
|
|
11
11
|
date: string;
|
|
12
|
-
scores
|
|
12
|
+
scores?: EMADatePhaseScoreSet;
|
|
13
13
|
satisfaction?: EMASatisfaction;
|
|
14
14
|
}
|
|
15
15
|
export type EMADatePhaseScoreSet = Omit<Record<CircadianPhase, EMADateScore>, "default">;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalendarEvent, CalendarTaskFrom, EnergyFeedbackType, EventCategorySet, MetricActivity, MetricHRValueSet, PhaseStartEndSet, SleepDetail, TaskItem } from "./models";
|
|
1
|
+
import { CalendarEvent, CalendarTaskFrom, EMASatisfaction, EnergyFeedbackType, EventCategorySet, MetricActivity, MetricHRValueSet, PhaseStartEndSet, SleepDetail, TaskItem } from "./models";
|
|
2
2
|
export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN" | "WHOOP" | "EIGHTSLEEP" | "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";
|
|
@@ -65,6 +65,10 @@ export interface CircadianRhythmByDate {
|
|
|
65
65
|
date: string;
|
|
66
66
|
values: HeatmapDataType[];
|
|
67
67
|
}
|
|
68
|
+
export interface SatisfactionByDate {
|
|
69
|
+
date: string;
|
|
70
|
+
satisfaction: EMASatisfaction;
|
|
71
|
+
}
|
|
68
72
|
export interface PhaseEvents {
|
|
69
73
|
phase: CircadianPhase;
|
|
70
74
|
start: string;
|
package/lib/models/EMAs.ts
CHANGED
package/lib/types.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarEvent,
|
|
3
3
|
CalendarTaskFrom,
|
|
4
|
+
EMASatisfaction,
|
|
4
5
|
EnergyFeedbackType,
|
|
5
6
|
EventCategorySet,
|
|
6
7
|
MetricActivity,
|
|
@@ -113,6 +114,11 @@ export interface CircadianRhythmByDate {
|
|
|
113
114
|
values: HeatmapDataType[];
|
|
114
115
|
}
|
|
115
116
|
|
|
117
|
+
export interface SatisfactionByDate {
|
|
118
|
+
date: string;
|
|
119
|
+
satisfaction: EMASatisfaction;
|
|
120
|
+
}
|
|
121
|
+
|
|
116
122
|
export interface PhaseEvents {
|
|
117
123
|
phase: CircadianPhase;
|
|
118
124
|
start: string;
|