core: support ContestRule.hidden

This commit is contained in:
undefined committed 2022-07-09 11:40:33 +08:00
1 parent 7d3f715c6c
commit 86d77625f6
4 files changed
+9 -3

No files matched your search

+1
View File
@@ -481,6 +481,7 @@ export interface ContestStat extends Record<string, any> {
export interface ContestRule<T = any> {
_originalRule?: Partial<ContestRule<T>>;
TEXT: string;
hidden?: boolean;
check: (args: any) => any;
statusSort: any;
submitAfterAccept: boolean;