@demind-inc/core 1.5.34 → 1.5.35

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.
@@ -17,7 +17,7 @@ export interface MetricSleep {
17
17
  metricSleepId: string;
18
18
  date: string;
19
19
  scores?: SleepDetail[];
20
- eventRef?: DocumentReference;
20
+ eventRef?: DocumentReference | null;
21
21
  }
22
22
  export type PhaseStartEndSet = Omit<Record<CircadianPhase, {
23
23
  start: string;
@@ -38,9 +38,9 @@ export interface MetricMeal {
38
38
  metricMealId: string;
39
39
  date: string;
40
40
  meals: MetricActivity[];
41
- breakfastEventRef?: DocumentReference;
42
- lunchEventRef?: DocumentReference;
43
- dinnerEventRef?: DocumentReference;
41
+ breakfastEventRef?: DocumentReference | null;
42
+ lunchEventRef?: DocumentReference | null;
43
+ dinnerEventRef?: DocumentReference | null;
44
44
  }
45
45
  export interface MetricActivity {
46
46
  name: string;
@@ -19,7 +19,7 @@ export interface MetricSleep {
19
19
  metricSleepId: string;
20
20
  date: string;
21
21
  scores?: SleepDetail[];
22
- eventRef?: DocumentReference;
22
+ eventRef?: DocumentReference | null;
23
23
  }
24
24
 
25
25
  export type PhaseStartEndSet = Omit<
@@ -43,9 +43,9 @@ export interface MetricMeal {
43
43
  metricMealId: string;
44
44
  date: string;
45
45
  meals: MetricActivity[];
46
- breakfastEventRef?: DocumentReference;
47
- lunchEventRef?: DocumentReference;
48
- dinnerEventRef?: DocumentReference;
46
+ breakfastEventRef?: DocumentReference | null;
47
+ lunchEventRef?: DocumentReference | null;
48
+ dinnerEventRef?: DocumentReference | null;
49
49
  }
50
50
 
51
51
  export interface MetricActivity {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demind-inc/core",
3
- "version": "1.5.34",
3
+ "version": "1.5.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {