Skip to content

Commit 1e31b1d

Browse files
types
1 parent 89c66d2 commit 1e31b1d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.d.ts

+9
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,13 @@ declare module 'react-native-health' {
498498
locations: LocationValue[]
499499
}
500500

501+
export type HKWorkoutEventType = {
502+
endDate: string
503+
startDate: string
504+
eventTypeInt: number
505+
eventType: string
506+
}
507+
501508
export interface HKWorkoutQueriedSampleType {
502509
activityId: number
503510
activityName: string
@@ -511,6 +518,8 @@ declare module 'react-native-health' {
511518
distance: number
512519
start: string
513520
end: string
521+
duration: number
522+
workoutEvents: HKWorkoutEventType[]
514523
}
515524

516525

0 commit comments

Comments
 (0)