File tree 4 files changed +9
-22
lines changed
4 files changed +9
-22
lines changed Original file line number Diff line number Diff line change 1
- export {
2
- getActivityRecognizer ,
3
- ActivityRecognizer ,
4
- StartOptions ,
5
- RecognitionCallback ,
6
- Resolution ,
7
- ActivityChange ,
8
- HumanActivity ,
9
- Transition ,
10
- } from "../internal/activity-recognition" ;
1
+ export * from "../internal/activity-recognition" ;
Original file line number Diff line number Diff line change 1
- export {
2
- getGeolocationProvider ,
3
- GeolocationProvider ,
4
- Geolocation ,
5
- GeolocationLike ,
6
- AcquireOptions ,
7
- StreamOptions ,
8
- } from "../internal/geolocation" ;
1
+ export * from "../internal/geolocation" ;
Original file line number Diff line number Diff line change @@ -29,4 +29,6 @@ export {
29
29
RecognitionCallback ,
30
30
} from "./recognizers" ;
31
31
export { HumanActivity } from "./human-activity" ;
32
- export { ActivityChange , Transition } from "./activity-change" ;
32
+ import { ActivityChange as AC , Transition } from "./activity-change" ;
33
+ export type ActivityChange = AC ;
34
+ export { Transition } from "./activity-change" ;
Original file line number Diff line number Diff line change 1
1
import { Accuracy , GeolocationAdapter , Options } from "./adapter" ;
2
- import { Geolocation } from "./geolocation" ;
2
+ import { Geolocation , GeolocationLike as GL } from "./geolocation" ;
3
3
import { Observable } from "rxjs" ;
4
4
5
+ export { Geolocation } ;
6
+ export type GeolocationLike = GL ;
7
+
5
8
const SECONDS = 1e3 ;
6
9
const MINUTES = 60 * SECONDS ;
7
10
const defaultAccuracy = Accuracy . high ;
@@ -55,8 +58,6 @@ export interface StreamOptions extends AcquireOptions {
55
58
saveBattery ?: boolean ;
56
59
}
57
60
58
- export { Geolocation , GeolocationLike } from "./geolocation" ;
59
-
60
61
function geolocationOptionsToPluginOptions (
61
62
options : AcquireOptions | StreamOptions
62
63
) : Options {
You can’t perform that action at this time.
0 commit comments