From 8401dc8a804bdb36550df0ce07b5cd515e9c3c0b Mon Sep 17 00:00:00 2001 From: Loren Jamison Date: Sun, 4 May 2025 17:29:26 -0500 Subject: [PATCH] Add 'invited' as valid tournament status. --- .../pubapi/domain/player/enums/PlayerTournamentStatus.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/sornerol/chess/pubapi/domain/player/enums/PlayerTournamentStatus.java b/src/main/java/io/github/sornerol/chess/pubapi/domain/player/enums/PlayerTournamentStatus.java index 91ef1cd..9795307 100644 --- a/src/main/java/io/github/sornerol/chess/pubapi/domain/player/enums/PlayerTournamentStatus.java +++ b/src/main/java/io/github/sornerol/chess/pubapi/domain/player/enums/PlayerTournamentStatus.java @@ -35,7 +35,12 @@ public enum PlayerTournamentStatus { /** * Player was removed from the tournament by the tournament director */ - REMOVED("removed"); + REMOVED("removed"), + + /** + * Player has received an invitation to join the tournament + */ + INVITED("invited"); @Getter @JsonValue