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

RollupDataPoint

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

Value of a rollup for a single physical time interval (aggregation window)

interface RollupDataPoint {
activeMinutes?: ActiveMinutesRollupValue;
activeZoneMinutes?: ActiveZoneMinutesRollupValue;
activityLevel?: ActivityLevelRollupValue;
caloriesInHeartRateZone?: CaloriesInHeartRateZoneRollupValue;
endTime?: Date;
hydrationLog?: HydrationLogRollupValue;
sedentaryPeriod?: SedentaryPeriodRollupValue;
startTime?: Date;
timeInHeartRateZone?: TimeInHeartRateZoneRollupValue;
totalCalories?: TotalCaloriesRollupValue;
}

§Properties

§

Returned by default when rolling up data points from the active-minutes data type, or when requested explicitly using the active-minutes rollup type identifier.

§

Returned by default when rolling up data points from the active-zone-minutes data type, or when requested explicitly using the active-zone-minutes rollup type identifier.

§

Returned by default when rolling up data points from the activity-level data type, or when requested explicitly using the activity-level rollup type identifier.

§

Returned by default when rolling up data points from the altitude data type, or when requested explicitly using the altitude rollup type identifier.

§

Returned by default when rolling up data points from the body-fat data type, or when requested explicitly using the body-fat rollup type identifier.

§
caloriesInHeartRateZone?: CaloriesInHeartRateZoneRollupValue
[src]

Returned by default when rolling up data points from the calories-in-heart-rate-zone data type, or when requested explicitly using the calories-in-heart-rate-zone rollup type identifier.

§

Returned by default when rolling up data points from the distance data type, or when requested explicitly using the distance rollup type identifier.

§
endTime?: Date
[src]

End time of the window this value aggregates over

§

Returned by default when rolling up data points from the floors data type, or when requested explicitly using the floors rollup type identifier.

§

Returned by default when rolling up data points from the heart-rate data type, or when requested explicitly using the heart-rate rollup type identifier.

§

Returned by default when rolling up data points from the hydration-log data type, or when requested explicitly using the hydration-log rollup type identifier.

§

Returned by default when rolling up data points from the run-vo2-max data type, or when requested explicitly using the run-vo2-max rollup type identifier.

§

Returned by default when rolling up data points from the sedentary-period data type, or when requested explicitly using the sedentary-period rollup type identifier.

§
startTime?: Date
[src]

Start time of the window this value aggregates over

§

Returned by default when rolling up data points from the steps data type, or when requested explicitly using the steps rollup type identifier.

§

Returned by default when rolling up data points from the time-in-heart-rate-zone data type, or when requested explicitly using the time-in-heart-rate-zone rollup type identifier.

§

Returned by default when rolling up data points from the total-calories data type, or when requested explicitly using the total-calories rollup type identifier.

§

Returned by default when rolling up data points from the weight data type, or when requested explicitly using the weight rollup type identifier.