SleepStage
import type { SleepStage } from "https://googleapis.deno.dev/v1/health:v4.ts";Sleep stage segment.
interface SleepStage {
readonly createTime?: Date;
endTime?: Date;
endUtcOffset?: number;
startTime?: Date;
startUtcOffset?: number;
type?:
| "SLEEP_STAGE_TYPE_UNSPECIFIED"
| "AWAKE"
| "LIGHT"
| "DEEP"
| "REM"
| "ASLEEP"
| "RESTLESS";
readonly updateTime?: Date;
}§Properties
§
endUtcOffset?: number
[src]Required. The offset of the user's local time at the end of the sleep stage relative to the Coordinated Universal Time (UTC).
§
startUtcOffset?: number
[src]Required. The offset of the user's local time at the start of the sleep stage relative to the Coordinated Universal Time (UTC).