fix(health-kit): add missing properties to HealthKitOptions

This commit is contained in:
Tyler VanZanten 2018-02-01 15:07:28 -06:00
parent 954bd876de
commit f8e79cec5f

View File

@ -6,7 +6,7 @@ export interface HealthKitOptions {
* HKWorkoutActivityType constant
* 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'
@ -18,6 +18,12 @@ export interface HealthKitOptions {
*/
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;
/**
* limits the maximum number of records returned by querySampleType()
*/
limit?: number;
/**
*
*/