@demind-inc/core 1.7.60 → 1.7.61
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 +5 -1
- package/lib/types.ts +6 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -54,9 +54,13 @@ export interface SleepDetailsByDate {
|
|
|
54
54
|
details: SleepDetail;
|
|
55
55
|
predictedSleep?: Pick<SleepDetail, "awakeTime" | "sleepTime">;
|
|
56
56
|
}
|
|
57
|
+
export interface NapItem {
|
|
58
|
+
metricNapId: string;
|
|
59
|
+
detail: NapDetail;
|
|
60
|
+
}
|
|
57
61
|
export interface NapDetailsByDate {
|
|
58
62
|
date: string;
|
|
59
|
-
details:
|
|
63
|
+
details: NapItem[];
|
|
60
64
|
}
|
|
61
65
|
export interface HRDetailsByDate {
|
|
62
66
|
date: string;
|
package/lib/types.ts
CHANGED
|
@@ -116,9 +116,14 @@ export interface SleepDetailsByDate {
|
|
|
116
116
|
predictedSleep?: Pick<SleepDetail, "awakeTime" | "sleepTime">;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
export interface NapItem {
|
|
120
|
+
metricNapId: string;
|
|
121
|
+
detail: NapDetail;
|
|
122
|
+
}
|
|
123
|
+
|
|
119
124
|
export interface NapDetailsByDate {
|
|
120
125
|
date: string;
|
|
121
|
-
details:
|
|
126
|
+
details: NapItem[];
|
|
122
127
|
}
|
|
123
128
|
|
|
124
129
|
export interface HRDetailsByDate {
|