From aed594a4dacee5503e6e6146027e8ef5f6f084ea Mon Sep 17 00:00:00 2001 From: easyhz Date: Sat, 10 Aug 2024 10:49:25 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EB=94=94=EB=A0=89=ED=86=A0=EB=A6=AC?= =?UTF-8?q?=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../noffice/core/network/converter/ErrorResponseConverter.kt | 2 +- .../core/network/model/response/{ => base}/BaseResponse.kt | 2 +- .../core/network/model/response/{ => base}/ErrorResponse.kt | 2 +- .../java/com/easyhz/noffice/core/network/util/NofficeResult.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename core/network/src/main/java/com/easyhz/noffice/core/network/model/response/{ => base}/BaseResponse.kt (71%) rename core/network/src/main/java/com/easyhz/noffice/core/network/model/response/{ => base}/ErrorResponse.kt (68%) diff --git a/core/network/src/main/java/com/easyhz/noffice/core/network/converter/ErrorResponseConverter.kt b/core/network/src/main/java/com/easyhz/noffice/core/network/converter/ErrorResponseConverter.kt index a465e5c6..0baf0e67 100644 --- a/core/network/src/main/java/com/easyhz/noffice/core/network/converter/ErrorResponseConverter.kt +++ b/core/network/src/main/java/com/easyhz/noffice/core/network/converter/ErrorResponseConverter.kt @@ -1,6 +1,6 @@ package com.easyhz.noffice.core.network.converter -import com.easyhz.noffice.core.network.model.response.ErrorResponse +import com.easyhz.noffice.core.network.model.response.base.ErrorResponse import com.google.gson.Gson class ErrorResponseConverter constructor( diff --git a/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/BaseResponse.kt b/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/base/BaseResponse.kt similarity index 71% rename from core/network/src/main/java/com/easyhz/noffice/core/network/model/response/BaseResponse.kt rename to core/network/src/main/java/com/easyhz/noffice/core/network/model/response/base/BaseResponse.kt index 70fc9ef0..7b1e4543 100644 --- a/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/BaseResponse.kt +++ b/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/base/BaseResponse.kt @@ -1,4 +1,4 @@ -package com.easyhz.noffice.core.network.model.response +package com.easyhz.noffice.core.network.model.response.base data class BaseResponse ( diff --git a/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/ErrorResponse.kt b/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/base/ErrorResponse.kt similarity index 68% rename from core/network/src/main/java/com/easyhz/noffice/core/network/model/response/ErrorResponse.kt rename to core/network/src/main/java/com/easyhz/noffice/core/network/model/response/base/ErrorResponse.kt index 482a49a0..268d4f7e 100644 --- a/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/ErrorResponse.kt +++ b/core/network/src/main/java/com/easyhz/noffice/core/network/model/response/base/ErrorResponse.kt @@ -1,4 +1,4 @@ -package com.easyhz.noffice.core.network.model.response +package com.easyhz.noffice.core.network.model.response.base data class ErrorResponse( val timestamp: String, diff --git a/core/network/src/main/java/com/easyhz/noffice/core/network/util/NofficeResult.kt b/core/network/src/main/java/com/easyhz/noffice/core/network/util/NofficeResult.kt index 15c3db65..63de42f1 100644 --- a/core/network/src/main/java/com/easyhz/noffice/core/network/util/NofficeResult.kt +++ b/core/network/src/main/java/com/easyhz/noffice/core/network/util/NofficeResult.kt @@ -2,7 +2,7 @@ package com.easyhz.noffice.core.network.util import com.easyhz.noffice.core.common.error.NofficeError import com.easyhz.noffice.core.common.error.getErrorByStatusCode -import com.easyhz.noffice.core.network.model.response.BaseResponse +import com.easyhz.noffice.core.network.model.response.base.BaseResponse typealias NofficeResult = kotlin.Result>