generated from semicolondsm/Semicolon_Repository_Generator
-
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.
๐ :: (#103) ํ์ฑํ๋ ์๋ฆผ ์นดํ
๊ณ ๋ฆฌ ๋ชฉ๋ก api ๋ณ๊ฒฝ
๐ :: (#103) ํ์ฑํ๋ ์๋ฆผ ์นดํ ๊ณ ๋ฆฌ ๋ชฉ๋ก api ๋ณ๊ฒฝ
- Loading branch information
Showing
9 changed files
with
79 additions
and
49 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...fication-domain/src/main/kotlin/io/github/v1servicenotification/setting/api/SettingApi.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 io.github.v1servicenotification.setting.api | ||
|
||
import io.github.v1servicenotification.category.api.response.CategoryListResponse | ||
import io.github.v1servicenotification.setting.api.response.SettingListResponse | ||
import java.util.UUID | ||
|
||
interface SettingApi { | ||
fun queryUserCategoryStatus(userId: UUID): SettingListResponse | ||
fun activateOrDeActivateCategory(isActivate: Boolean, topic: String, userId: UUID) | ||
fun queryActivatedCategory(userId: UUID): CategoryListResponse | ||
} |
6 changes: 6 additions & 0 deletions
6
...in/src/main/kotlin/io/github/v1servicenotification/setting/api/response/SettingElement.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,6 @@ | ||
package io.github.v1servicenotification.setting.api.response | ||
|
||
data class SettingElement( | ||
val topic: String, | ||
val isActivate: Boolean, | ||
) |
5 changes: 5 additions & 0 deletions
5
...c/main/kotlin/io/github/v1servicenotification/setting/api/response/SettingListResponse.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,5 @@ | ||
package io.github.v1servicenotification.setting.api.response | ||
|
||
data class SettingListResponse( | ||
val settings: List<SettingElement> | ||
) |
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
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