@demind-inc/core 1.0.81 → 1.0.83
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/User.d.ts +1 -1
- package/dist/types.d.ts +2 -1
- package/lib/models/User.ts +1 -1
- package/lib/types.ts +11 -1
- package/package.json +1 -1
package/dist/models/User.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnergyFeedbackType, PhaseStartEndSet, SleepDetail } from "./models";
|
|
1
|
+
import { CalendarEvent, EnergyFeedbackType, PhaseStartEndSet, SleepDetail } from "./models";
|
|
2
2
|
export type SupportedTerraProvidersType = "FITBIT" | "OURA" | "GARMIN" | "APPLE_HEALTH";
|
|
3
3
|
export type CircadianPhase = "default" | "wakeup_low" | "wakeup_normal" | "morning_high" | "morning_normal" | "morning_low" | "evening_high" | "evening_low" | "evening_normal";
|
|
4
4
|
export type TimePhase = "morning" | "midday" | "evening";
|
|
@@ -46,3 +46,4 @@ export interface CircadianRhythmByDate {
|
|
|
46
46
|
date: string;
|
|
47
47
|
values: HeatmapDataType[];
|
|
48
48
|
}
|
|
49
|
+
export type EventsForPhase = Omit<Record<CircadianPhase, CalendarEvent[]>, "default">;
|
package/lib/models/User.ts
CHANGED
package/lib/types.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
CalendarEvent,
|
|
3
|
+
EnergyFeedbackType,
|
|
4
|
+
PhaseStartEndSet,
|
|
5
|
+
SleepDetail,
|
|
6
|
+
} from "./models";
|
|
2
7
|
|
|
3
8
|
export type SupportedTerraProvidersType =
|
|
4
9
|
| "FITBIT"
|
|
@@ -71,3 +76,8 @@ export interface CircadianRhythmByDate {
|
|
|
71
76
|
date: string;
|
|
72
77
|
values: HeatmapDataType[];
|
|
73
78
|
}
|
|
79
|
+
|
|
80
|
+
export type EventsForPhase = Omit<
|
|
81
|
+
Record<CircadianPhase, CalendarEvent[]>,
|
|
82
|
+
"default"
|
|
83
|
+
>;
|