From 7efd8f0ea9540c80610ae789258d5fa62578fa3f Mon Sep 17 00:00:00 2001
From: LForchini <git@lforchini.com>
Date: Tue, 9 Jul 2024 13:26:01 +0100
Subject: [PATCH] Add rapid speed

---
 src/engine/formats/JGOF.ts            | 2 +-
 src/engine/protocol/ClientToServer.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/engine/formats/JGOF.ts b/src/engine/formats/JGOF.ts
index ad70cd56..973a23a8 100644
--- a/src/engine/formats/JGOF.ts
+++ b/src/engine/formats/JGOF.ts
@@ -200,7 +200,7 @@ export interface JGOFPauseState {
     moderator?: string;
 }
 
-export type JGOFTimeControlSpeed = "blitz" | "live" | "correspondence";
+export type JGOFTimeControlSpeed = "blitz" | "rapid" | "live" | "correspondence";
 export type JGOFTimeControlSystem =
     | "fischer"
     | "byoyomi"
diff --git a/src/engine/protocol/ClientToServer.ts b/src/engine/protocol/ClientToServer.ts
index 4123a75e..52f43a1a 100644
--- a/src/engine/protocol/ClientToServer.ts
+++ b/src/engine/protocol/ClientToServer.ts
@@ -600,7 +600,7 @@ export interface ClientToServer extends ClientToServerBase {
     }) => void;
 }
 
-export type Speed = "blitz" | "live" | "correspondence";
+export type Speed = "blitz" | "rapid" | "live" | "correspondence";
 export type Size = "9x9" | "13x13" | "19x19";
 export type AutomatchCondition = "required" | "preferred" | "no-preference";
 export type RuleSet = "japanese" | "chinese" | "aga" | "korean" | "nz" | "ing";