Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StageSummary

import type { StageSummary } from "https://googleapis.deno.dev/v1/health:v4.ts";

Total duration and segment count for a stage.

interface StageSummary {
readonly count?: bigint;
readonly minutes?: bigint;
readonly type?:
| "SLEEP_STAGE_TYPE_UNSPECIFIED"
| "AWAKE"
| "LIGHT"
| "DEEP"
| "REM"
| "ASLEEP"
| "RESTLESS";
}

§Properties

§
readonly count?: bigint
[src]

Output only. Number of sleep stages segments.

§
readonly minutes?: bigint
[src]

Output only. Total duration in minutes of a sleep stage.

§
readonly type?: "SLEEP_STAGE_TYPE_UNSPECIFIED" | "AWAKE" | "LIGHT" | "DEEP" | "REM" | "ASLEEP" | "RESTLESS"
[src]

Output only. Sleep stage type: AWAKE, DEEP, REM, LIGHT etc.