diff --git a/src/@ionic-native/plugins/health-kit/index.ts b/src/@ionic-native/plugins/health-kit/index.ts index 3184729af..aabd348ec 100644 --- a/src/@ionic-native/plugins/health-kit/index.ts +++ b/src/@ionic-native/plugins/health-kit/index.ts @@ -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; + /** * */