Skip to content

Commit

Permalink
#84 [move] : move ContentUriRequestBody, createImagePart to data modu…
Browse files Browse the repository at this point in the history
…le from network module
  • Loading branch information
chanubc committed Sep 28, 2024
1 parent 76eb0d8 commit 139f232
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions core/data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ dependencies {
implementation(project(":core:datastore"))
implementation(libs.paging)
implementation(libs.okhttp)
implementation(libs.androidx.exifinterface)
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package com.teamwable.data.repositoryimpl

import android.content.ContentResolver
import com.teamwable.data.repository.PostingRepository
import com.teamwable.data.util.createImagePart
import com.teamwable.network.datasource.PostingService
import com.teamwable.network.util.createImagePart
import com.teamwable.network.util.handleThrowable
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import okhttp3.RequestBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import com.teamwable.data.mapper.toData.toReportDto
import com.teamwable.data.mapper.toModel.toMemberDataModel
import com.teamwable.data.mapper.toModel.toProfile
import com.teamwable.data.repository.ProfileRepository
import com.teamwable.data.util.createImagePart
import com.teamwable.model.Profile
import com.teamwable.model.profile.MemberDataModel
import com.teamwable.model.profile.MemberInfoEditModel
import com.teamwable.network.datasource.ProfileService
import com.teamwable.network.dto.request.RequestWithdrawalDto
import com.teamwable.network.util.createImagePart
import com.teamwable.network.util.handleThrowable
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import okhttp3.RequestBody
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.teamwable.network.util
package com.teamwable.data.util

import android.content.ContentResolver
import android.graphics.Bitmap
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.teamwable.network.util
package com.teamwable.data.util

import android.content.ContentResolver
import android.net.Uri
Expand Down
1 change: 0 additions & 1 deletion core/network/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ android {
dependencies {
implementation(project(":core:model"))
implementation(project(":core:datastore"))
implementation(libs.androidx.exifinterface)
implementation(libs.paging)
implementation(libs.process.phoenix)
}

0 comments on commit 139f232

Please sign in to comment.