update UI
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-09-24 16:20:48 +08:00
parent de6ac4bd85
commit 0a9d49b526
7 changed files with 211 additions and 119 deletions

View File

@@ -394,7 +394,33 @@ export interface WeeklyData {
index: number
start: string
end: string
grade: "S" | "A" | "B" | "C"
grade: Grade
problem_count: number
submission_count: number
}
export interface SolvedProblem {
problem: {
title: string
display_id: string
contest_title: string
contest_id: number
}
ac_time: string
rank: number
ac_count: number
grade: Grade
}
export interface DetailsData {
start: string
end: string
grade: Grade
class_name: string
tags: { [key: string]: number }
difficulty: { [key: string]: number }
contest_count: number
solved: SolvedProblem[]
}
export type Grade = "S" | "A" | "B" | "C"