-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: use eventbus from runtime for native events * feat: get rid of the NativeDeviceInfoAccess * fix: push test
- Loading branch information
1 parent
de2c672
commit 2cf6664
Showing
11 changed files
with
16 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
packages/app-runtime/src/natives/INativeDeviceInfoAccess.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
import { ILokiJsDatabaseFactory } from "@js-soft/docdb-access-loki"; | ||
import { ILoggerFactory } from "@js-soft/logging-abstractions"; | ||
import { EventBus } from "@js-soft/ts-utils"; | ||
import { INativeConfigAccess } from "./INativeConfigAccess"; | ||
import { INativeDeviceInfoAccess } from "./INativeDeviceInfoAccess"; | ||
import { INativeNotificationAccess } from "./INativeNotificationAccess"; | ||
|
||
export interface INativeEnvironment { | ||
databaseFactory: ILokiJsDatabaseFactory; | ||
configAccess: INativeConfigAccess; | ||
loggerFactory: ILoggerFactory; | ||
notificationAccess: INativeNotificationAccess; | ||
eventBus: EventBus; | ||
deviceInfoAccess: INativeDeviceInfoAccess; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
packages/app-runtime/test/lib/natives/FakeNativeDeviceInfoAccess.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters