diff options
Diffstat (limited to 'frontend/app/types/ExecResult.ts')
| -rw-r--r-- | frontend/app/types/ExecResult.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/frontend/app/types/ExecResult.ts b/frontend/app/types/ExecResult.ts new file mode 100644 index 0000000..e0b6bb4 --- /dev/null +++ b/frontend/app/types/ExecResult.ts @@ -0,0 +1,18 @@ +export type ExecResultStatus = + | "waiting_submission" + | "running" + | "success" + | "wrong_answer" + | "timeout" + | "compile_error" + | "runtime_error" + | "internal_error" + | "canceled"; + +export type ExecResult = { + testcase_id: number | null; + status: ExecResultStatus; + label: string; + stdout: string; + stderr: string; +}; |
