aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/types/PlayerState.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/types/PlayerState.ts')
-rw-r--r--frontend/app/types/PlayerState.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/app/types/PlayerState.ts b/frontend/app/types/PlayerState.ts
new file mode 100644
index 0000000..e2a2da9
--- /dev/null
+++ b/frontend/app/types/PlayerState.ts
@@ -0,0 +1,7 @@
+import type { SubmitResult } from "./SubmitResult";
+
+export type PlayerState = {
+ score: number | null;
+ code: string;
+ submitResult: SubmitResult;
+};