-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #307 from boostcampwm2023/AOS-refactor/package
ํจํค์ง ๋ถ๋ฆฌ ๋ฐ ์์ฐ๋ ํจ์ ์ ๊ฑฐ
- Loading branch information
Showing
61 changed files
with
211 additions
and
201 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
AOS/app/src/main/java/boostcamp/and07/mindsync/data/di/ApiModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
AOS/app/src/main/java/boostcamp/and07/mindsync/data/model/Tree.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/TokenAuthenticator.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...p/and07/mindsync/data/network/BoardApi.kt โ ...d07/mindsync/data/network/api/BoardApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...p/and07/mindsync/data/network/LoginApi.kt โ ...d07/mindsync/data/network/api/LoginApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../and07/mindsync/data/network/LogoutApi.kt โ ...07/mindsync/data/network/api/LogoutApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...and07/mindsync/data/network/ProfileApi.kt โ ...7/mindsync/data/network/api/ProfileApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../mindsync/data/network/ProfileSpaceApi.kt โ ...dsync/data/network/api/ProfileSpaceApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...p/and07/mindsync/data/network/SpaceApi.kt โ ...d07/mindsync/data/network/api/SpaceApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...p/and07/mindsync/data/network/TokenApi.kt โ ...d07/mindsync/data/network/api/TokenApi.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...data/network/request/KakaoLoginRequest.kt โ ...etwork/request/login/KakaoLoginRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ync/data/network/request/LogoutRequest.kt โ ...ta/network/request/login/LogoutRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../network/request/NewAccessTokenRequest.kt โ ...rk/request/login/NewAccessTokenRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...indsync/data/network/request/JoinBoard.kt โ ...etwork/request/socket/JoinBoardRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package boostcamp.and07.mindsync.data.network.request | ||
package boostcamp.and07.mindsync.data.network.request.socket | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class JoinBoard( | ||
data class JoinBoardRequest( | ||
val boardId: String, | ||
val boardName: String, | ||
) |
4 changes: 2 additions & 2 deletions
4
...ync/data/network/request/UpdateMindMap.kt โ ...rk/request/socket/UpdateMindMapRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package boostcamp.and07.mindsync.data.network.request | ||
package boostcamp.and07.mindsync.data.network.request.socket | ||
|
||
import boostcamp.and07.mindsync.data.network.response.mindmap.SerializedOperation | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class UpdateMindMap( | ||
data class UpdateMindMapRequest( | ||
val operation: SerializedOperation, | ||
val boardId: String, | ||
) |
2 changes: 1 addition & 1 deletion
2
...etwork/request/ProfileSpaceJoinRequest.kt โ .../request/space/ProfileSpaceJoinRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/LoginResponse.kt
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...pp/src/main/java/boostcamp/and07/mindsync/data/network/response/NewAccessTokenResponse.kt
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/BoardDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package boostcamp.and07.mindsync.data.network.response.board | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class BoardDto( | ||
val boardId: String, | ||
val boardName: String, | ||
val createdAt: String, | ||
val imageUrl: String, | ||
val isDeleted: Boolean, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/board/CreateBoardDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package boostcamp.and07.mindsync.data.network.response.board | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class CreateBoardDto( | ||
val boardId: String, | ||
val date: String, | ||
val imageUrl: String, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package boostcamp.and07.mindsync.data.network.response.login | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class LoginDto( | ||
@SerialName("access_token") | ||
val accessToken: String, | ||
@SerialName("refresh_token") | ||
val refreshToken: String, | ||
) |
11 changes: 11 additions & 0 deletions
11
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/login/LoginResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package boostcamp.and07.mindsync.data.network.response.login | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class LoginResponse( | ||
val statusCode: Int, | ||
val message: String, | ||
val error: String? = null, | ||
val data: LoginDto? = null, | ||
) |
10 changes: 10 additions & 0 deletions
10
...p/src/main/java/boostcamp/and07/mindsync/data/network/response/login/NewAccessTokenDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package boostcamp.and07.mindsync.data.network.response.login | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class NewAccessTokenDto( | ||
@SerialName("access_token") | ||
val accessToken: String, | ||
) |
11 changes: 11 additions & 0 deletions
11
.../main/java/boostcamp/and07/mindsync/data/network/response/login/NewAccessTokenResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package boostcamp.and07.mindsync.data.network.response.login | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class NewAccessTokenResponse( | ||
val statusCode: Int, | ||
val message: String, | ||
val error: String? = null, | ||
val data: NewAccessTokenDto? = null, | ||
) |
16 changes: 16 additions & 0 deletions
16
AOS/app/src/main/java/boostcamp/and07/mindsync/data/network/response/mindmap/NodeDto.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package boostcamp.and07.mindsync.data.network.response.mindmap | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class NodeDto( | ||
@SerialName("children") | ||
val children: List<String>, | ||
@SerialName("targetId") | ||
val targetId: String, | ||
@SerialName("parentId") | ||
val parentId: String, | ||
@SerialName("description") | ||
val description: String = "", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.