aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/types')
-rw-r--r--src/types/guess.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/types/guess.ts b/src/types/guess.ts
index a84602d..ea5a6ad 100644
--- a/src/types/guess.ts
+++ b/src/types/guess.ts
@@ -2,6 +2,12 @@ import { Song } from "./song";
export type GuessType = {
song: Song | undefined;
- skipped: boolean;
- isCorrect: boolean | undefined;
+ state: GuessState | undefined;
};
+
+export const enum GuessState {
+ Correct = 0,
+ PartiallyCorrect = 1,
+ Incorrect = 2,
+ Skipped = 3,
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage