Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Move deprecated packages to domain.deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Apr 24, 2022
1 parent 13dd3f8 commit 3734ab9
Show file tree
Hide file tree
Showing 59 changed files with 59 additions and 63 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import androidx.compose.ui.graphics.toArgb
import com.ivy.wallet.domain.data.entity.Account
import com.ivy.wallet.domain.logic.model.CreateAccountData
import com.ivy.wallet.domain.sync.item.TransactionSync
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.entity.Budget
import com.ivy.wallet.domain.logic.model.CreateBudgetData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import androidx.compose.ui.graphics.toArgb
import com.ivy.wallet.domain.data.entity.Category
import com.ivy.wallet.domain.logic.model.CreateCategoryData
import com.ivy.wallet.domain.sync.uploader.CategoryUploader
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import androidx.compose.ui.graphics.toArgb
import com.ivy.wallet.domain.data.entity.Loan
import com.ivy.wallet.domain.logic.model.CreateLoanData
import com.ivy.wallet.domain.sync.uploader.LoanUploader
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.entity.LoanRecord
import com.ivy.wallet.domain.logic.model.CreateLoanRecordData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.design.navigation.Navigation
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.android.billingclient.api.Purchase
import com.ivy.design.navigation.Navigation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.entity.PlannedPaymentRule
import com.ivy.wallet.domain.data.entity.Transaction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.IntervalType
import com.ivy.wallet.domain.data.TransactionType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import androidx.compose.ui.graphics.toArgb
import com.ivy.wallet.R
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.entity.Transaction
import com.ivy.wallet.io.persistence.dao.TransactionDao
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.R
import com.ivy.wallet.domain.data.TransactionHistoryItem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.TransactionHistoryItem
import com.ivy.wallet.domain.data.TransactionType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic
package com.ivy.wallet.domain.deprecated.logic

import com.ivy.wallet.domain.data.TransactionHistoryDateDivider
import com.ivy.wallet.domain.data.TransactionHistoryItem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.bankintegrations
package com.ivy.wallet.domain.deprecated.logic.bankintegrations

import com.ivy.wallet.domain.data.bankintegrations.SEAccount
import com.ivy.wallet.domain.data.bankintegrations.SEConnection
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.bankintegrations
package com.ivy.wallet.domain.deprecated.logic.bankintegrations

import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.bankintegrations
package com.ivy.wallet.domain.deprecated.logic.bankintegrations

import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.bankintegrations
package com.ivy.wallet.domain.deprecated.logic.bankintegrations

import com.ivy.wallet.domain.data.TransactionType
import com.ivy.wallet.domain.data.bankintegrations.SEAccount
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv
package com.ivy.wallet.domain.deprecated.logic.csv

import androidx.compose.ui.graphics.toArgb
import com.ivy.wallet.domain.data.IvyCurrency
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package com.ivy.wallet.domain.logic.csv
package com.ivy.wallet.domain.deprecated.logic.csv

import com.ivy.wallet.domain.data.TransactionType
import com.ivy.wallet.domain.data.entity.Transaction
import com.ivy.wallet.domain.logic.csv.model.ImportType
import com.ivy.wallet.domain.logic.csv.model.JoinResult
import com.ivy.wallet.domain.logic.csv.model.RowMapping
import com.ivy.wallet.utils.toLowerCaseLocal

class CSVMapper {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv
package com.ivy.wallet.domain.deprecated.logic.csv

import com.ivy.wallet.domain.logic.csv.model.ImportType

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv
package com.ivy.wallet.domain.deprecated.logic.csv

import android.content.Context
import android.net.Uri
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv
package com.ivy.wallet.domain.deprecated.logic.csv

import android.content.Context
import android.net.Uri
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv.model
package com.ivy.wallet.domain.deprecated.logic.csv.model

data class CSVRow(
val index: Int,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv.model
package com.ivy.wallet.domain.deprecated.logic.csv.model

data class ImportResult(
val rowsFound: Int,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv.model
package com.ivy.wallet.domain.deprecated.logic.csv.model

import androidx.annotation.DrawableRes
import androidx.compose.runtime.Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.csv.model
package com.ivy.wallet.domain.deprecated.logic.csv.model

import com.ivy.wallet.domain.data.entity.Category
import com.ivy.wallet.domain.data.entity.Transaction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.currency
package com.ivy.wallet.domain.deprecated.logic.currency

import com.ivy.wallet.domain.data.entity.Account
import com.ivy.wallet.domain.data.entity.ExchangeRate
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.loantrasactions
package com.ivy.wallet.domain.deprecated.logic.loantrasactions

import com.ivy.wallet.domain.data.LoanType
import com.ivy.wallet.domain.data.TransactionType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.loantrasactions
package com.ivy.wallet.domain.deprecated.logic.loantrasactions

import com.ivy.wallet.domain.data.entity.Loan
import com.ivy.wallet.domain.data.entity.LoanRecord
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.loantrasactions
package com.ivy.wallet.domain.deprecated.logic.loantrasactions

import androidx.compose.ui.graphics.toArgb
import com.ivy.wallet.R
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.loantrasactions
package com.ivy.wallet.domain.deprecated.logic.loantrasactions

import com.ivy.wallet.domain.data.entity.Transaction
import com.ivy.wallet.utils.computationThread
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

import androidx.compose.ui.graphics.Color

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

data class CreateBudgetData(
val name: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

import androidx.compose.ui.graphics.Color

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

import androidx.compose.ui.graphics.Color
import com.ivy.wallet.domain.data.LoanType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

import com.ivy.wallet.domain.data.entity.Account
import java.time.LocalDateTime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

import androidx.annotation.DrawableRes
import androidx.compose.ui.graphics.Color
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.model
package com.ivy.wallet.domain.deprecated.logic.model

import com.ivy.wallet.domain.data.entity.LoanRecord

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.notification
package com.ivy.wallet.domain.deprecated.logic.notification

import android.content.Context
import androidx.work.ExistingPeriodicWorkPolicy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.notification
package com.ivy.wallet.domain.deprecated.logic.notification

import android.app.PendingIntent
import android.content.Context
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.zip
package com.ivy.wallet.domain.deprecated.logic.zip

import android.content.Context
import android.net.Uri
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.logic.zip
package com.ivy.wallet.domain.deprecated.logic.zip

import android.content.Context
import android.net.Uri
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync
package com.ivy.wallet.domain.deprecated.sync

import com.ivy.wallet.domain.sync.item.*
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.AccountUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.BudgetUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.CategoryUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.LoanRecordUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.LoanUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.PlannedPaymentRuleUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.item
package com.ivy.wallet.domain.deprecated.sync.item

import com.ivy.wallet.domain.sync.uploader.TransactionUploader
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.Account
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.Budget
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.Category
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.LoanRecord
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.Loan
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.PlannedPaymentRule
import com.ivy.wallet.io.network.IvySession
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ivy.wallet.domain.sync.uploader
package com.ivy.wallet.domain.deprecated.sync.uploader

import com.ivy.wallet.domain.data.entity.Transaction
import com.ivy.wallet.io.network.IvySession
Expand Down

0 comments on commit 3734ab9

Please sign in to comment.