-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Rui <[email protected]> fix typo remove custom setters
- Loading branch information
1 parent
fd9a531
commit e34f7e6
Showing
9 changed files
with
127 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package exchange.dydx.abacus.di | ||
|
||
import exchange.dydx.abacus.protocols.DataNotificationProtocol | ||
import exchange.dydx.abacus.protocols.PresentationProtocol | ||
import exchange.dydx.abacus.protocols.StateNotificationProtocol | ||
import exchange.dydx.abacus.state.v2.supervisor.AppConfigsV2 | ||
import exchange.dydx.abacus.utils.IOImplementations | ||
import exchange.dydx.abacus.utils.UIImplementations | ||
|
||
internal actual fun createAbacusComponent( | ||
deploymentUri: DeploymentUri, | ||
deployment: Deployment, | ||
appConfigs: AppConfigsV2, | ||
ioImplementations: IOImplementations, | ||
uiImplementations: UIImplementations, | ||
stateNotification: StateNotificationProtocol?, | ||
dataNotification: DataNotificationProtocol?, | ||
presentationProtocol: PresentationProtocol?, | ||
): AbacusComponent = AbacusComponent::class.create( | ||
deploymentUri, | ||
deployment, | ||
appConfigs, | ||
ioImplementations, | ||
uiImplementations, | ||
stateNotification, | ||
dataNotification, | ||
presentationProtocol, | ||
) |
28 changes: 28 additions & 0 deletions
28
src/iosSimulatorArm64Main/kotlin/di/AbacusComponent.ios.kt
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package exchange.dydx.abacus.di | ||
|
||
import exchange.dydx.abacus.protocols.DataNotificationProtocol | ||
import exchange.dydx.abacus.protocols.PresentationProtocol | ||
import exchange.dydx.abacus.protocols.StateNotificationProtocol | ||
import exchange.dydx.abacus.state.v2.supervisor.AppConfigsV2 | ||
import exchange.dydx.abacus.utils.IOImplementations | ||
import exchange.dydx.abacus.utils.UIImplementations | ||
|
||
internal actual fun createAbacusComponent( | ||
deploymentUri: DeploymentUri, | ||
deployment: Deployment, | ||
appConfigs: AppConfigsV2, | ||
ioImplementations: IOImplementations, | ||
uiImplementations: UIImplementations, | ||
stateNotification: StateNotificationProtocol?, | ||
dataNotification: DataNotificationProtocol?, | ||
presentationProtocol: PresentationProtocol?, | ||
): AbacusComponent = AbacusComponent::class.create( | ||
deploymentUri, | ||
deployment, | ||
appConfigs, | ||
ioImplementations, | ||
uiImplementations, | ||
stateNotification, | ||
dataNotification, | ||
presentationProtocol, | ||
) |
28 changes: 28 additions & 0 deletions
28
src/jsMain/kotlin/exchange.dydx.abacus/di/AbacusComponent.js.kt
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package exchange.dydx.abacus.di | ||
|
||
import exchange.dydx.abacus.protocols.DataNotificationProtocol | ||
import exchange.dydx.abacus.protocols.PresentationProtocol | ||
import exchange.dydx.abacus.protocols.StateNotificationProtocol | ||
import exchange.dydx.abacus.state.v2.supervisor.AppConfigsV2 | ||
import exchange.dydx.abacus.utils.IOImplementations | ||
import exchange.dydx.abacus.utils.UIImplementations | ||
|
||
internal actual fun createAbacusComponent( | ||
deploymentUri: DeploymentUri, | ||
deployment: Deployment, | ||
appConfigs: AppConfigsV2, | ||
ioImplementations: IOImplementations, | ||
uiImplementations: UIImplementations, | ||
stateNotification: StateNotificationProtocol?, | ||
dataNotification: DataNotificationProtocol?, | ||
presentationProtocol: PresentationProtocol?, | ||
): AbacusComponent = AbacusComponent::class.create( | ||
deploymentUri, | ||
deployment, | ||
appConfigs, | ||
ioImplementations, | ||
uiImplementations, | ||
stateNotification, | ||
dataNotification, | ||
presentationProtocol, | ||
) |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package exchange.dydx.abacus.di | ||
|
||
import exchange.dydx.abacus.protocols.DataNotificationProtocol | ||
import exchange.dydx.abacus.protocols.PresentationProtocol | ||
import exchange.dydx.abacus.protocols.StateNotificationProtocol | ||
import exchange.dydx.abacus.state.v2.supervisor.AppConfigsV2 | ||
import exchange.dydx.abacus.utils.IOImplementations | ||
import exchange.dydx.abacus.utils.UIImplementations | ||
|
||
internal actual fun createAbacusComponent( | ||
deploymentUri: DeploymentUri, | ||
deployment: Deployment, | ||
appConfigs: AppConfigsV2, | ||
ioImplementations: IOImplementations, | ||
uiImplementations: UIImplementations, | ||
stateNotification: StateNotificationProtocol?, | ||
dataNotification: DataNotificationProtocol?, | ||
presentationProtocol: PresentationProtocol?, | ||
): AbacusComponent = AbacusComponent::class.create( | ||
deploymentUri, | ||
deployment, | ||
appConfigs, | ||
ioImplementations, | ||
uiImplementations, | ||
stateNotification, | ||
dataNotification, | ||
presentationProtocol, | ||
) |