@demind-inc/core 1.7.63 → 1.7.64
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 +3 -0
- package/lib/types.ts +4 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -54,6 +54,9 @@ export interface SleepDetailsByDate {
|
|
|
54
54
|
details: SleepDetail;
|
|
55
55
|
predictedSleep?: Pick<SleepDetail, "awakeTime" | "sleepTime">;
|
|
56
56
|
}
|
|
57
|
+
export interface SleepDetailsWithNapByDate extends SleepDetailsByDate {
|
|
58
|
+
nap?: NapItem[];
|
|
59
|
+
}
|
|
57
60
|
export interface NapItem {
|
|
58
61
|
metricNapId: string;
|
|
59
62
|
detail: NapDetail;
|
package/lib/types.ts
CHANGED
|
@@ -116,6 +116,10 @@ export interface SleepDetailsByDate {
|
|
|
116
116
|
predictedSleep?: Pick<SleepDetail, "awakeTime" | "sleepTime">;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
export interface SleepDetailsWithNapByDate extends SleepDetailsByDate {
|
|
120
|
+
nap?: NapItem[];
|
|
121
|
+
}
|
|
122
|
+
|
|
119
123
|
export interface NapItem {
|
|
120
124
|
metricNapId: string;
|
|
121
125
|
detail: NapDetail;
|