This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
-
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.
- Loading branch information
Showing
13 changed files
with
53 additions
and
109 deletions.
There are no files selected for viewing
11 changes: 5 additions & 6 deletions
11
data/src/main/kotlin/com/signal/data/datasource/diary/DiaryDataSource.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,15 +1,14 @@ | ||
package com.signal.data.datasource.diary | ||
|
||
import com.signal.data.model.diary.CreateDiaryRequest | ||
import com.signal.data.model.diary.FetchAllDiaryResponse | ||
import com.signal.data.model.diary.FetchDayDiaryResponse | ||
import com.signal.data.model.diary.FetchDiariesResponse | ||
import com.signal.data.model.diary.FetchDiaryDetailsResponse | ||
import com.signal.data.model.diary.FetchMonthDiaryResponse | ||
import com.signal.data.model.diary.FetchMonthDiariesResponse | ||
|
||
interface DiaryDataSource { | ||
suspend fun createDiary(createDiaryRequest: CreateDiaryRequest) | ||
suspend fun fetchAllDiary(): FetchAllDiaryResponse | ||
suspend fun fetchMonthDiary(date: String): FetchMonthDiaryResponse | ||
suspend fun fetchDayDiary(date: String): FetchDayDiaryResponse | ||
suspend fun fetchAllDiary(): FetchDiariesResponse | ||
suspend fun fetchMonthDiary(date: String): FetchMonthDiariesResponse | ||
suspend fun fetchDayDiary(date: String): FetchDiariesResponse | ||
suspend fun fetchDiaryDetails(diaryId: Long): FetchDiaryDetailsResponse | ||
} |
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
29 changes: 0 additions & 29 deletions
29
data/src/main/kotlin/com/signal/data/model/diary/FetchDayDiaryResponse.kt
This file was deleted.
Oops, something went wrong.
12 changes: 6 additions & 6 deletions
12
...data/model/diary/FetchAllDiaryResponse.kt → .../data/model/diary/FetchDiariesResponse.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
File renamed without changes.
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
16 changes: 0 additions & 16 deletions
16
domain/src/main/kotlin/com/signal/domain/entity/DayDiaryEntity.kt
This file was deleted.
Oops, something went wrong.
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
7 changes: 3 additions & 4 deletions
7
domain/src/main/kotlin/com/signal/domain/repository/DiaryRepository.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
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
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