feat(security): add internal secret handling and Redis integration for bot events
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
package de.nowchess.api.dto
|
||||
|
||||
final case class PlayerInfoDto(id: String, displayName: String)
|
||||
import de.nowchess.api.player.PlayerType
|
||||
|
||||
final case class PlayerInfoDto(id: String, displayName: String, playerType: PlayerType)
|
||||
|
||||
@@ -23,4 +23,10 @@ object PlayerId:
|
||||
final case class PlayerInfo(
|
||||
id: PlayerId,
|
||||
displayName: String,
|
||||
playerType: PlayerType = PlayerType.Human,
|
||||
)
|
||||
|
||||
enum PlayerType:
|
||||
case Human
|
||||
case OfficialBot
|
||||
case Bot
|
||||
|
||||
Reference in New Issue
Block a user