-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#178 [refactor] domain 모듈로 repository 이동 및 domain model로 리팩토링
- Loading branch information
Showing
2 changed files
with
34 additions
and
37 deletions.
There are no files selected for viewing
37 changes: 0 additions & 37 deletions
37
data/src/main/java/com/hous/data/repository/RulesTodayRepository.kt
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
domain/src/main/java/com/hous/domain/repository/RulesTodayRepository.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,34 @@ | ||
package com.hous.data.repository | ||
|
||
import com.hous.domain.model.RuleInfo | ||
import com.hous.domain.model.TempManagerInfo | ||
import com.hous.domain.model.rules.RulesTableInfo | ||
import com.hous.domain.model.rules.RulesTodayInfo | ||
|
||
interface RulesTodayRepository { | ||
suspend fun getTodayTodayInfoList(roomId: String): RulesTodayInfo? | ||
|
||
suspend fun getTempManagerInfoList( | ||
roomId: String, | ||
rulesId: String | ||
): TempManagerInfo? | ||
|
||
suspend fun putTempManagerInfoList( | ||
roomId: String, | ||
ruleId: String, | ||
tmpRuleMembers: List<String> | ||
): Any? | ||
|
||
suspend fun getMyTodoInfoList(roomId: String): List<RuleInfo>? | ||
|
||
suspend fun putMyToDoCheckLust( | ||
roomId: String, | ||
ruleId: String, | ||
isCheck: Boolean | ||
) | ||
|
||
suspend fun getRuleTableInfoList( | ||
roomId: String, | ||
categoryId: String | ||
): RulesTableInfo? | ||
} |