mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 10:36:14 +08:00
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:
parent
3e78462163
commit
96e9b19732
@ -75,7 +75,7 @@ export interface HealthQueryOptionsAggregated {
|
|||||||
* if specified, aggregation is grouped an array of "buckets" (windows of time),
|
* if specified, aggregation is grouped an array of "buckets" (windows of time),
|
||||||
* supported values are: 'hour', 'day', 'week', 'month', 'year'.
|
* 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.
|
* In Android, it is possible to query for "raw" steps or to select those as filtered by the Google Fit app.
|
||||||
|
Loading…
Reference in New Issue
Block a user