aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/types/ExecResult.ts
blob: e0b6bb45631d0ecbcbc3604b5063d6d05c481bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
};