-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add: (#261) NotificationQueryUserPort
- Loading branch information
1 parent
fb798e3
commit 2a3caba
Showing
4 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...n/src/main/kotlin/team/comit/simtong/domain/notification/spi/NotificationQueryUserPort.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,19 @@ | ||
package team.comit.simtong.domain.notification.spi | ||
|
||
import java.util.UUID | ||
|
||
/** | ||
* | ||
* Notification Domain에서 User Domain에 관한 Query를 요청하는 NotificationQueryUserPort | ||
* | ||
* @author kimbeomjin | ||
* @date 2022/12/30 | ||
* @version 1.1.0 | ||
**/ | ||
interface NotificationQueryUserPort { | ||
|
||
fun queryDeviceTokenByUserId(userId: UUID): String? | ||
|
||
fun queryDeviceTokensByUserIds(userIds: List<UUID>): List<String> | ||
|
||
} |
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