mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
core: add contest score ratio (#765)
Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
1 parent
9013c4eaa6
commit
e25db178fd
11 files changed
+121
-23
No files matched your search
@@ -358,9 +358,9 @@ export interface JudgeRequest extends Omit<RecordDoc, '_id' | 'testCases'> {
|
||||
|
||||
export interface ScoreboardNode {
|
||||
type: 'string' | 'rank' | 'user' | 'email' | 'record' | 'records' | 'problem' | 'solved' | 'time' | 'total_score';
|
||||
value: string;
|
||||
value: string; // 显示分数
|
||||
raw?: any;
|
||||
score?: number;
|
||||
score?: number; // 原始分数(100,不含赛制加成)
|
||||
style?: string;
|
||||
hover?: string;
|
||||
}
|
||||
@@ -396,6 +396,7 @@ export interface Tdoc extends Document {
|
||||
unlocked?: boolean;
|
||||
autoHide?: boolean;
|
||||
balloon?: Record<number, string>;
|
||||
score?: Record<number, number>;
|
||||
|
||||
/**
|
||||
* In hours
|
||||
|
||||
Reference in new issue
Block a user