diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-12 01:54:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-12 01:54:36 +0900 |
| commit | ab6abc3a7619be89dda1bc3ab0b3f19ff69b575f (patch) | |
| tree | 57f4b6da4682ec43cbd7ba2a51c5866f226b0035 /frontend/app/models/ExecResult.ts | |
| parent | b97b245861b93a5ab5f8bde095d9920fabd0cbbd (diff) | |
| download | iosdc-japan-2024-albatross-ab6abc3a7619be89dda1bc3ab0b3f19ff69b575f.tar.gz iosdc-japan-2024-albatross-ab6abc3a7619be89dda1bc3ab0b3f19ff69b575f.tar.zst iosdc-japan-2024-albatross-ab6abc3a7619be89dda1bc3ab0b3f19ff69b575f.zip | |
refactor(frontend): rename SubmissionResult and VerificationResult for consistant naming
Diffstat (limited to 'frontend/app/models/ExecResult.ts')
| -rw-r--r-- | frontend/app/models/ExecResult.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend/app/models/ExecResult.ts b/frontend/app/models/ExecResult.ts new file mode 100644 index 0000000..59b8ee8 --- /dev/null +++ b/frontend/app/models/ExecResult.ts @@ -0,0 +1,17 @@ +export type ExecResultStatus = + | "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; +}; |
