feat(security): add internal secret handling and Redis integration for bot events

This commit is contained in:
2026-04-28 09:29:05 +02:00
parent c10a4d7e64
commit 1ab6532b0a
50 changed files with 951 additions and 214 deletions
@@ -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