ui: update acm scoreboard display

This commit is contained in:
undefined committed 2022-03-25 10:53:14 +08:00
1 parent 9f796e7024
commit 3ec549ee9c
12 files changed
+86 -88

No files matched your search

+2 -1
View File
@@ -304,11 +304,12 @@ export interface RecordDoc {
}
export interface ScoreboardNode {
type: string;
type: 'string' | 'rank' | 'user' | 'record' | 'records' | 'problem' | 'solved' | 'time' | 'total_score';
value: string;
raw?: any;
score?: number;
style?: string;
hover?: string;
}
export type ScoreboardRow = ScoreboardNode[] & { raw?: any };