fix(health): HealthQueryOptionsAggregated bucket optional (#3370)

As said in the comment: `if specified, aggregation is grouped an array of "buckets" (windows of time),` the `bucket` field in `HealthQueryOptionsAggregated` should be optional.
This commit is contained in:
Mark de Groot 2020-04-15 21:21:18 +02:00 committed by GitHub
parent 3e78462163
commit 96e9b19732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ export interface HealthQueryOptionsAggregated {
* if specified, aggregation is grouped an array of "buckets" (windows of time),
* supported values are: 'hour', 'day', 'week', 'month', 'year'.
*/
bucket: string;
bucket?: string;
/**
* In Android, it is possible to query for "raw" steps or to select those as filtered by the Google Fit app.