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

[Android] 마지막 PR #283

Open
wants to merge 12 commits into
base: team-02
Choose a base branch
from
Open
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
6 changes: 5 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,9 @@ dependencies {

// Glide
implementation 'com.github.bumptech.glide:glide:4.13.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'
kapt 'com.github.bumptech.glide:compiler:4.13.0'

// MarkWon
implementation "io.noties.markwon:core:4.2.0"
implementation "io.noties.markwon:image:4.2.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@ import com.example.it.issuetracker.data.dto.IssueDetailDto
import com.example.it.issuetracker.data.dto.IssueDto
import com.example.it.issuetracker.data.dto.MemberDto
import com.example.it.issuetracker.data.dto.MilestoneDto
import com.example.it.issuetracker.domain.model.Issue
import com.example.it.issuetracker.domain.model.IssueDetail
import com.example.it.issuetracker.presentation.main.issue.register.NewIssue
import kotlinx.coroutines.flow.Flow
import java.util.*

interface IssueTrackerDataSource {

fun getIssue(): Flow<List<IssueDto>>
suspend fun deleteIssue(list: List<Issue>)
suspend fun deleteIssue(id: Long)
suspend fun closeIssue(list: List<Issue>)
suspend fun closeIssue(id: Long)
suspend fun revertIssue(list: SortedMap<Int, Issue>)
suspend fun updateIssueDelete(status: Boolean, list: List<Long>)
suspend fun updateIssueClose(status: Boolean, list: List<Long>)
suspend fun getMember(): Result<List<MemberDto>>
suspend fun getMilestone(): Result<List<MilestoneDto>>
suspend fun getFilterList(value: HashMap<String, Any>): Result<List<IssueDto>>
fun findByIssueName(title: String): Flow<List<IssueDto>>
fun getIssueDetail(id: Long): Flow<IssueDetailDto>
suspend fun saveIssue(newIssue: NewIssue)
suspend fun addLike(id: Long, uid: Long)
suspend fun addBest(id: Long, uid: Long)
suspend fun addHate(id: Long, uid: Long)
suspend fun addOk(id: Long, uid: Long)
suspend fun addComment(id: Long, text: String)
}

This file was deleted.

This file was deleted.

Loading