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

SleepMetadata

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

Additional information about how the sleep was processed.

interface SleepMetadata {
externalId?: string;
readonly manuallyEdited?: boolean;
readonly nap?: boolean;
readonly processed?: boolean;
readonly stagesStatus?:
| "STAGES_STATE_UNSPECIFIED"
| "REJECTED_COVERAGE"
| "REJECTED_MAX_GAP"
| "REJECTED_START_GAP"
| "REJECTED_END_GAP"
| "REJECTED_NAP"
| "REJECTED_SERVER"
| "TIMEOUT"
| "SUCCEEDED"
| "PROCESSING_INTERNAL_ERROR";
}

§Properties

§
externalId?: string
[src]

Optional. Sleep identifier relevant in the context of the data source.

§
readonly manuallyEdited?: boolean
[src]

Output only. Some sleeps autodetected by algorithms can be manually edited by users.

§
readonly nap?: boolean
[src]

Output only. Naps are sleeps without stages and relatively short durations.

§
readonly processed?: boolean
[src]

Output only. Sleep and sleep stages algorithms finished processing.

§
readonly stagesStatus?: "STAGES_STATE_UNSPECIFIED" | "REJECTED_COVERAGE" | "REJECTED_MAX_GAP" | "REJECTED_START_GAP" | "REJECTED_END_GAP" | "REJECTED_NAP" | "REJECTED_SERVER" | "TIMEOUT" | "SUCCEEDED" | "PROCESSING_INTERNAL_ERROR"
[src]

Output only. Sleep stages algorithm processing status.