mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: submission status
This commit is contained in:
1 parent
256ff96c57
commit
e0b5700cfc
8 files changed
+90
-22
No files matched your search
@@ -23,7 +23,7 @@ export class ProblemModel {
|
||||
static PROJECTION_LIST: Field[] = [
|
||||
'_id', 'domainId', 'docType', 'docId', 'pid',
|
||||
'owner', 'title', 'nSubmit', 'nAccept', 'difficulty',
|
||||
'tag', 'hidden',
|
||||
'tag', 'hidden', 'stats',
|
||||
];
|
||||
|
||||
static PROJECTION_PUBLIC: Field[] = [
|
||||
@@ -275,6 +275,7 @@ ProblemModel.extend((docId, pid) => ({
|
||||
tag: [],
|
||||
data: [],
|
||||
additional_file: [],
|
||||
stats: {},
|
||||
hidden: true,
|
||||
config: '',
|
||||
difficulty: 0,
|
||||
|
||||
@@ -148,7 +148,9 @@ DomainUserSetting(
|
||||
Setting('setting_storage', 'nLike', 0, 'number', 'nLike', null, FLAG_HIDDEN | FLAG_DISABLED),
|
||||
Setting('setting_storage', 'rp', 1500, 'number', 'RP', null, FLAG_HIDDEN | FLAG_DISABLED),
|
||||
Setting('setting_storage', 'rpdelta', 0, 'number', 'RP.delta', null, FLAG_HIDDEN | FLAG_DISABLED),
|
||||
Setting('setting_storage', 'rank', 0, 'number', 'Rank', null, FLAG_DISABLED | FLAG_HIDDEN),
|
||||
Setting('setting_storage', 'level', 0, 'number', 'level', null, FLAG_HIDDEN | FLAG_DISABLED),
|
||||
Setting('setting_storage', 'ratingHistory', [], 'text', 'Rating History', null, FLAG_DISABLED | FLAG_HIDDEN),
|
||||
);
|
||||
|
||||
SystemSetting(
|
||||
|
||||
Reference in new issue
Block a user