mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
fix(health-kit): add missing properties to HealthKitOptions
This commit is contained in:
parent
954bd876de
commit
f8e79cec5f
@ -6,7 +6,7 @@ export interface HealthKitOptions {
|
|||||||
* HKWorkoutActivityType constant
|
* HKWorkoutActivityType constant
|
||||||
* Read more here: https://developer.apple.com/library/ios/documentation/HealthKit/Reference/HKWorkout_Class/#//apple_ref/c/tdef/HKWorkoutActivityType
|
* Read more here: https://developer.apple.com/library/ios/documentation/HealthKit/Reference/HKWorkout_Class/#//apple_ref/c/tdef/HKWorkoutActivityType
|
||||||
*/
|
*/
|
||||||
activityType?: string; //
|
activityType?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 'hour', 'week', 'year' or 'day', default 'day'
|
* 'hour', 'week', 'year' or 'day', default 'day'
|
||||||
@ -18,6 +18,12 @@ export interface HealthKitOptions {
|
|||||||
*/
|
*/
|
||||||
amount?: number;
|
amount?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* specifies if the data returned by querySampleType() should be sorted by
|
||||||
|
* end date in ascending order, default is false
|
||||||
|
*/
|
||||||
|
ascending?: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -63,6 +69,11 @@ export interface HealthKitOptions {
|
|||||||
*/
|
*/
|
||||||
extraData?: any;
|
extraData?: any;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* limits the maximum number of records returned by querySampleType()
|
||||||
|
*/
|
||||||
|
limit?: number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user