Skip to content

Commit faa97d1

Browse files
Merge branch 'kmp-impl' into migrating-auth-module-to-kmp
2 parents f31a0b6 + d8aba05 commit faa97d1

File tree

43 files changed

+54
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+54
-54
lines changed

core/common/src/commonMain/kotlin/org/mifos/mobile/core/common/DataState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
99
*/
10-
package org.mifospay.core.common
10+
package org.mifos.mobile.core.common
1111

1212
import kotlinx.coroutines.flow.Flow
1313
import kotlinx.coroutines.flow.catch

core/common/src/commonMain/kotlin/org/mifos/mobile/core/common/DataStateExtensions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
99
*/
10-
package org.mifospay.core.common
10+
package org.mifos.mobile.core.common
1111

1212
import kotlinx.coroutines.flow.Flow
1313
import kotlinx.coroutines.flow.transformWhile
@@ -62,7 +62,7 @@ fun <T1, T2, R> combineResults(
6262
dataState1 is DataState.Loading || dataState2 is DataState.Loading -> DataState.Loading
6363

6464
// Pending state for everything while any one piece of data is updating.
65-
// Both states are _root_ide_package_.org.mifospay.core.common.Result.Success and have data
65+
// Both states are _root_ide_package_.org.mifos.mobile.core.common.Result.Success and have data
6666
else -> {
6767
@Suppress("UNCHECKED_CAST")
6868
DataState.Success(transform(dataState1.data as T1, dataState2.data as T2))

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/AccountsRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.client.ClientAccounts
14-
import org.mifospay.core.common.DataState
1515

1616
interface AccountsRepository {
1717

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/BeneficiaryRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.beneficiary.Beneficiary
1415
import org.mifos.mobile.core.model.entity.beneficiary.BeneficiaryPayload
1516
import org.mifos.mobile.core.model.entity.beneficiary.BeneficiaryUpdatePayload
1617
import org.mifos.mobile.core.model.entity.templates.beneficiary.BeneficiaryTemplate
17-
import org.mifospay.core.common.DataState
1818

1919
interface BeneficiaryRepository {
2020

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/ClientChargeRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.Charge
1415
import org.mifos.mobile.core.model.entity.Page
15-
import org.mifospay.core.common.DataState
1616

1717
interface ClientChargeRepository {
1818

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/ClientRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.Page
1415
import org.mifos.mobile.core.model.entity.client.Client
15-
import org.mifospay.core.common.DataState
1616

1717
interface ClientRepository {
1818

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/GuarantorRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.guarantor.GuarantorApplicationPayload
1415
import org.mifos.mobile.core.model.entity.guarantor.GuarantorPayload
1516
import org.mifos.mobile.core.model.entity.guarantor.GuarantorTemplatePayload
16-
import org.mifospay.core.common.DataState
1717

1818
interface GuarantorRepository {
1919

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/HomeRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ package org.mifos.mobile.core.data.repository
1111

1212
import io.ktor.client.statement.HttpResponse
1313
import kotlinx.coroutines.flow.Flow
14+
import org.mifos.mobile.core.common.DataState
1415
import org.mifos.mobile.core.model.entity.client.Client
1516
import org.mifos.mobile.core.model.entity.client.ClientAccounts
16-
import org.mifospay.core.common.DataState
1717

1818
interface HomeRepository {
1919

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/LoanRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.accounts.loan.LoanWithAssociations
1415
import org.mifos.mobile.core.model.entity.accounts.loan.LoanWithdraw
1516
import org.mifos.mobile.core.model.entity.templates.loans.LoanTemplate
16-
import org.mifospay.core.common.DataState
1717

1818
interface LoanRepository {
1919

core/data/src/commonMain/kotlin/org/mifos/mobile/core/data/repository/NotificationRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
package org.mifos.mobile.core.data.repository
1111

1212
import kotlinx.coroutines.flow.Flow
13+
import org.mifos.mobile.core.common.DataState
1314
import org.mifos.mobile.core.model.entity.MifosNotification
14-
import org.mifospay.core.common.DataState
1515

1616
interface NotificationRepository {
1717

0 commit comments

Comments
 (0)