diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-22 00:46:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-22 00:59:04 +0900 |
| commit | 922bc6a1f52d8f01600e9a61ce31963075ec59a5 (patch) | |
| tree | 9fdd2c8d3d01841ca7130504b8f9261116bc45e6 /frontend/app/types/PlayerState.ts | |
| parent | 43d40d375c355837de83501c3f1c122b2bf589bb (diff) | |
| download | phperkaigi-2025-albatross-922bc6a1f52d8f01600e9a61ce31963075ec59a5.tar.gz phperkaigi-2025-albatross-922bc6a1f52d8f01600e9a61ce31963075ec59a5.tar.zst phperkaigi-2025-albatross-922bc6a1f52d8f01600e9a61ce31963075ec59a5.zip | |
refactor(frontend): organize PlayerInfo
Diffstat (limited to 'frontend/app/types/PlayerState.ts')
| -rw-r--r-- | frontend/app/types/PlayerState.ts | 7 |
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; +}; |
