aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/models/SubmitResult.ts
blob: 0cb7f9b7818e74d5f784fce4c21eb3a787808a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import type { ExecResult } from "./ExecResult";

export type SubmitResultStatus =
	| "running"
	| "success"
	| "wrong_answer"
	| "timeout"
	| "compile_error"
	| "runtime_error"
	| "internal_error";

export type SubmitResult = {
	status: SubmitResultStatus;
	execResults: ExecResult[];
};