core: add showSelfRecord for contest

This commit is contained in:
undefined committed 2021-06-30 17:18:46 +08:00
1 parent 33208a0d1f
commit 3761a5c77d
4 files changed
+20 -3

No files matched your search

+1
View File
@@ -441,6 +441,7 @@ export interface ContestRule {
check: (args: any) => any;
statusSort: any;
showScoreboard: (tdoc: Tdoc<30 | 60>, now: Date) => boolean;
showSelfRecord: (tdoc: Tdoc<30 | 60>, now: Date) => boolean;
showRecord: (tdoc: Tdoc<30 | 60>, now: Date) => boolean;
stat: (tdoc: Tdoc<30 | 60>, journal: any[]) => ContestStat;
scoreboard: (