@demind-inc/core 1.4.49 → 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/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/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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.4.49",
3
+ "version": "1.4.50",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {