Skip to content

Commit

Permalink
style(#306): ktlint 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehan4707 committed Dec 14, 2023
1 parent 0768820 commit 132cac1
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ package boostcamp.and07.mindsync.data.network.response.board

import kotlinx.serialization.Serializable


@Serializable
data class CreateBoardData(
val boardId: String,
val date: String,
val imageUrl: String,
)
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ data class CreateBoardResponse(
val statusCode: Int,
val data: CreateBoardData?,
)

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package boostcamp.and07.mindsync.data.network.response.login
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable


@Serializable
data class LoginDto(
@SerialName("access_token")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package boostcamp.and07.mindsync.data.network.response.login

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
Expand All @@ -10,4 +9,3 @@ data class LoginResponse(
val error: String? = null,
val data: LoginDto? = null,
)

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ data class NewAccessTokenDto(
@SerialName("access_token")
val accessToken: String,
)

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package boostcamp.and07.mindsync.data.network.response.login

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
Expand All @@ -10,4 +9,3 @@ data class NewAccessTokenResponse(
val error: String? = null,
val data: NewAccessTokenDto? = null,
)

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package boostcamp.and07.mindsync.data.network.response.mindmap

import boostcamp.and07.mindsync.data.util.IdGenerator
import boostcamp.and07.mindsync.data.crdt.CrdtTree
import boostcamp.and07.mindsync.data.crdt.Operation
import boostcamp.and07.mindsync.data.crdt.OperationAdd
Expand All @@ -14,6 +13,7 @@ import boostcamp.and07.mindsync.data.model.CircleNode
import boostcamp.and07.mindsync.data.model.Node
import boostcamp.and07.mindsync.data.model.RectangleNode
import boostcamp.and07.mindsync.data.model.Tree
import boostcamp.and07.mindsync.data.util.IdGenerator
import boostcamp.and07.mindsync.ui.util.ExceptionMessage

fun SerializedCrdtTree.toCrdtTree(): CrdtTree {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package boostcamp.and07.mindsync.data.network.response.user
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable


@Serializable
data class UserDto(
val uuid: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package boostcamp.and07.mindsync.data.network.response.user

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
Expand All @@ -9,4 +8,3 @@ data class UserResponse(
val message: String,
val data: List<UserDto>? = null,
)

Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import androidx.fragment.app.DialogFragment
import androidx.navigation.fragment.navArgs
import androidx.navigation.navGraphViewModels
import boostcamp.and07.mindsync.R
import boostcamp.and07.mindsync.data.util.NodeGenerator
import boostcamp.and07.mindsync.data.crdt.OperationType
import boostcamp.and07.mindsync.data.model.CircleNode
import boostcamp.and07.mindsync.data.model.RectangleNode
import boostcamp.and07.mindsync.data.util.NodeGenerator
import boostcamp.and07.mindsync.databinding.DialogEditDescriptionBinding
import boostcamp.and07.mindsync.ui.mindmap.MindMapViewModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package boostcamp.and07.mindsync.ui.mindmap

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import boostcamp.and07.mindsync.data.util.IdGenerator
import boostcamp.and07.mindsync.data.crdt.CrdtTree
import boostcamp.and07.mindsync.data.crdt.Operation
import boostcamp.and07.mindsync.data.crdt.OperationAdd
Expand All @@ -19,6 +18,7 @@ import boostcamp.and07.mindsync.data.network.SocketEventType
import boostcamp.and07.mindsync.data.network.SocketState
import boostcamp.and07.mindsync.data.network.response.mindmap.SerializedCrdtTree
import boostcamp.and07.mindsync.data.network.response.mindmap.SerializedOperation
import boostcamp.and07.mindsync.data.util.IdGenerator
import boostcamp.and07.mindsync.ui.util.Dp
import boostcamp.and07.mindsync.ui.util.ExceptionMessage
import dagger.hilt.android.lifecycle.HiltViewModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import androidx.activity.viewModels
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import androidx.navigation.findNavController
import boostcamp.and07.mindsync.R
import boostcamp.and07.mindsync.databinding.ActivityAddSpaceBinding
import boostcamp.and07.mindsync.ui.base.BaseActivity
Expand Down

0 comments on commit 132cac1

Please sign in to comment.