merge(sleep): reconstruct WHOOP per-stage timeline, fix Withings/Fitbit stamping

This commit is contained in:
Marc-André Bombeck committed 2026-06-14 23:20:53 +02:00
commit ed50d10556
19 files changed
+771 -87

No files matched your search

+12
View File
@@ -8982,6 +8982,11 @@ components:
type: integer
minimum: 0
maximum: 9007199254740991
reconstructed:
type: boolean
description: True when the source has no per-stage onset timestamps and the server synthesised a contiguous timeline in
a fixed physiological order (WHOOP). The client renders the hypnogram but labels it an approximate
layout and never recomputes. False for real-series sources (Apple Health / Withings / Fitbit).
stages:
type: object
propertyNames:
@@ -9047,6 +9052,7 @@ components:
- inBedMinutes
- awakeMinutes
- awakenings
- reconstructed
- stages
- segments
additionalProperties: false
@@ -9102,6 +9108,11 @@ components:
type: integer
minimum: 0
maximum: 9007199254740991
reconstructed:
type: boolean
description: True when the source has no per-stage onset timestamps and the server synthesised a contiguous timeline in
a fixed physiological order (WHOOP). The client renders the hypnogram but labels it an approximate
layout and never recomputes. False for real-series sources (Apple Health / Withings / Fitbit).
stages:
type: object
propertyNames:
@@ -9167,6 +9178,7 @@ components:
- inBedMinutes
- awakeMinutes
- awakenings
- reconstructed
- stages
- segments
additionalProperties: false