feat: continued working on competition runner page

This commit is contained in:
rngsurrounded
2025-03-01 19:20:58 +09:00
parent 433c1e8b46
commit 813db84d92
5 changed files with 171 additions and 87 deletions
+11 -12
View File
@@ -1,4 +1,4 @@
import { Competition, Status } from "../types/types";
import { Competition, Status, Task } from "../types/types";
const mockCompetitions: Competition[] = [
{
@@ -47,16 +47,15 @@ const mockCompetitions: Competition[] = [
}
];
const mockTasks = {
'1': [
{ id: "1.1", number: "1.1", status: "uncleared" },
{ id: "1.2", number: "1.2", status: "checking" },
{ id: "1.3", number: "1.3", status: "correct" },
],
'2': [
{ id: "2.1", number: "1.1", status: "uncleared" },
{ id: "2.2", number: "1.2", status: "uncleared" },
]
};
const mockTasks: Task[] = [
{ id: "1", number: "1.1", status: "uncleared" },
{ id: "2", number: "1.2", status: "checking" },
{ id: "3", number: "1.3", status: "correct" },
{ id: "4", number: "2.1", status: "partial" },
{ id: "5", number: "2.2", status: "wrong" },
{ id: "6", number: "2.3", status: "uncleared" },
{ id: "7", number: "3.1", status: "checking" },
{ id: "8", number: "3.2", status: "correct" },
];
export { mockCompetitions, mockTasks }