Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

패키지명 오류 수정 #47

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package com.goalpanzi.mission_mate.core.data.repository

import com.goalpanzi.mission_mate.core.domain.repository.AuthRepository
import com.goalpanzi.mission_mate.core.network.service.LoginService
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.request.GoogleLoginRequest
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.request.GoogleLoginRequest
import javax.inject.Inject

class AuthRepositoryImpl @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package com.goalpanzi.mission_mate.core.data.repository

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.goalpanzi.mission_mate.core.network.service.MissionService
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionBoardsResponse
import com.luckyoct.core.model.response.MissionDetailResponse
import com.luckyoct.core.model.response.MissionRankResponse
import com.luckyoct.core.model.response.MissionVerificationResponse
import com.luckyoct.core.model.response.MissionVerificationsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionBoardsResponse
import com.goalpanzi.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.response.MissionRankResponse
import com.goalpanzi.core.model.response.MissionVerificationResponse
import com.goalpanzi.core.model.response.MissionVerificationsResponse
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import okhttp3.MultipartBody
import okhttp3.RequestBody.Companion.asRequestBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package com.goalpanzi.mission_mate.core.data.repository

import com.goalpanzi.mission_mate.core.domain.repository.OnboardingRepository
import com.goalpanzi.mission_mate.core.network.service.OnboardingService
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.request.CreateMissionRequest
import com.luckyoct.core.model.request.JoinMissionRequest
import com.luckyoct.core.model.response.MissionDetailResponse
import com.luckyoct.core.model.response.MissionsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.request.CreateMissionRequest
import com.goalpanzi.core.model.request.JoinMissionRequest
import com.goalpanzi.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.response.MissionsResponse
import javax.inject.Inject

class OnboardingRepositoryImpl @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package com.goalpanzi.mission_mate.core.data.repository

import com.goalpanzi.mission_mate.core.domain.repository.ProfileRepository
import com.goalpanzi.mission_mate.core.network.service.ProfileService
import com.luckyoct.core.model.CharacterType
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.request.SaveProfileRequest
import com.goalpanzi.core.model.CharacterType
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.request.SaveProfileRequest
import javax.inject.Inject

class ProfileRepositoryImpl @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.goalpanzi.mission_mate.core.datastore.datasource

import com.luckyoct.core.model.UserProfile
import com.goalpanzi.core.model.UserProfile
import kotlinx.coroutines.flow.Flow

interface DefaultDataSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.edit
import androidx.datastore.preferences.core.longPreferencesKey
import androidx.datastore.preferences.core.stringPreferencesKey
import com.luckyoct.core.model.CharacterType
import com.luckyoct.core.model.UserProfile
import com.goalpanzi.core.model.CharacterType
import com.goalpanzi.core.model.UserProfile
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.map
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.repository

import com.goalpanzi.mission_mate.core.network.ResultHandler
import com.luckyoct.core.model.response.GoogleLogin
import com.luckyoct.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.GoogleLogin
import com.goalpanzi.core.model.base.NetworkResult

interface AuthRepository : ResultHandler {
suspend fun requestGoogleLogin(email: String): NetworkResult<GoogleLogin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.goalpanzi.mission_mate.core.domain.repository

import com.goalpanzi.mission_mate.core.network.ResultHandler
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionBoardsResponse
import com.luckyoct.core.model.response.MissionDetailResponse
import com.luckyoct.core.model.response.MissionRankResponse
import com.luckyoct.core.model.response.MissionVerificationResponse
import com.luckyoct.core.model.response.MissionVerificationsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionBoardsResponse
import com.goalpanzi.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.response.MissionRankResponse
import com.goalpanzi.core.model.response.MissionVerificationResponse
import com.goalpanzi.core.model.response.MissionVerificationsResponse
import java.io.File

interface MissionRepository : ResultHandler {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.goalpanzi.mission_mate.core.domain.repository

import com.goalpanzi.mission_mate.core.network.ResultHandler
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.request.CreateMissionRequest
import com.luckyoct.core.model.response.MissionDetailResponse
import com.luckyoct.core.model.response.MissionsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.request.CreateMissionRequest
import com.goalpanzi.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.response.MissionsResponse

interface OnboardingRepository : ResultHandler {
suspend fun createMission(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.repository

import com.goalpanzi.mission_mate.core.network.ResultHandler
import com.luckyoct.core.model.CharacterType
import com.luckyoct.core.model.base.NetworkResult
import com.goalpanzi.core.model.CharacterType
import com.goalpanzi.core.model.base.NetworkResult

interface ProfileRepository: ResultHandler {
suspend fun saveProfile(nickname: String, type: CharacterType): NetworkResult<Unit>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.OnboardingRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.request.CreateMissionRequest
import com.luckyoct.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.request.CreateMissionRequest
import com.goalpanzi.core.model.response.MissionDetailResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionDetailResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.OnboardingRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionsResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionBoardsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionBoardsResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.OnboardingRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionDetailResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionDetailResponse
import com.luckyoct.core.model.response.MissionRankResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionRankResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionDetailResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionDetailResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionVerificationsResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionVerificationsResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.MissionVerificationResponse
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.MissionVerificationResponse
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.OnboardingRepository
import com.luckyoct.core.model.base.NetworkResult
import com.goalpanzi.core.model.base.NetworkResult
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package com.goalpanzi.mission_mate.core.domain.usecase
import com.goalpanzi.mission_mate.core.datastore.datasource.AuthDataSource
import com.goalpanzi.mission_mate.core.datastore.datasource.DefaultDataSource
import com.goalpanzi.mission_mate.core.domain.repository.AuthRepository
import com.luckyoct.core.model.UserProfile
import com.luckyoct.core.model.base.NetworkResult
import com.luckyoct.core.model.response.GoogleLogin
import com.goalpanzi.core.model.UserProfile
import com.goalpanzi.core.model.base.NetworkResult
import com.goalpanzi.core.model.response.GoogleLogin
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.runBlocking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.datastore.datasource.DefaultDataSource
import com.goalpanzi.mission_mate.core.domain.repository.ProfileRepository
import com.luckyoct.core.model.CharacterType
import com.luckyoct.core.model.UserProfile
import com.luckyoct.core.model.base.NetworkResult
import com.goalpanzi.core.model.CharacterType
import com.goalpanzi.core.model.UserProfile
import com.goalpanzi.core.model.base.NetworkResult
import kotlinx.coroutines.flow.first
import javax.inject.Inject

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.MissionRepository
import com.luckyoct.core.model.base.NetworkResult
import com.goalpanzi.core.model.base.NetworkResult
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import java.io.File
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model
package com.goalpanzi.core.model

import kotlinx.serialization.SerialName

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model
package com.goalpanzi.core.model

data class UserProfile(
val nickname: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.base
package com.goalpanzi.core.model.base

sealed interface NetworkResult<out T> {
data class Success<out T>(val data: T) : NetworkResult<T>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.request
package com.goalpanzi.core.model.request

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.request
package com.goalpanzi.core.model.request

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.request
package com.goalpanzi.core.model.request

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.luckyoct.core.model.request
package com.goalpanzi.core.model.request

import com.luckyoct.core.model.CharacterType
import com.goalpanzi.core.model.CharacterType
import kotlinx.serialization.Serializable

@Serializable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.request
package com.goalpanzi.core.model.request

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.request
package com.goalpanzi.core.model.request

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import com.luckyoct.core.model.CharacterType
import com.goalpanzi.core.model.CharacterType
import kotlinx.serialization.Serializable

@Serializable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import com.luckyoct.core.model.CharacterType
import com.goalpanzi.core.model.CharacterType
import kotlinx.serialization.Serializable

@Serializable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import kotlinx.serialization.Serializable
import java.time.DayOfWeek
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.luckyoct.core.model.response
package com.goalpanzi.core.model.response

import com.luckyoct.core.model.CharacterType
import com.goalpanzi.core.model.CharacterType
import kotlinx.serialization.Serializable

@Serializable
Expand Down
Loading
Loading