aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/api/schema.d.ts2
-rw-r--r--frontend/app/components/SubmitStatusLabel.tsx2
2 files changed, 3 insertions, 1 deletions
diff --git a/frontend/app/api/schema.d.ts b/frontend/app/api/schema.d.ts
index 3f991f0..b58b27f 100644
--- a/frontend/app/api/schema.d.ts
+++ b/frontend/app/api/schema.d.ts
@@ -200,7 +200,7 @@ export interface components {
* @example success
* @enum {string}
*/
- ExecutionStatus: "none" | "running" | "success" | "wrong_answer" | "timeout" | "runtime_error" | "internal_error";
+ ExecutionStatus: "none" | "running" | "success" | "wrong_answer" | "timeout" | "compile_error" | "runtime_error" | "internal_error";
LatestGameState: {
/** @example echo 'hello world'; */
code: string;
diff --git a/frontend/app/components/SubmitStatusLabel.tsx b/frontend/app/components/SubmitStatusLabel.tsx
index 8384e95..b3091b0 100644
--- a/frontend/app/components/SubmitStatusLabel.tsx
+++ b/frontend/app/components/SubmitStatusLabel.tsx
@@ -16,6 +16,8 @@ export default function SubmitStatusLabel({ status }: Props) {
return "テスト失敗";
case "timeout":
return "時間切れ";
+ case "compile_error":
+ return "コンパイルエラー";
case "runtime_error":
return "実行時エラー";
case "internal_error":