mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
core&ui: add problem stat (#798)
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
c51ff5ce3a
commit
d582617aaf
11 files changed
+295
-74
No files matched your search
@@ -338,6 +338,16 @@ export interface RecordDoc {
|
||||
subtasks?: Record<number, SubtaskResult>;
|
||||
}
|
||||
|
||||
export interface RecordStatDoc {
|
||||
_id: ObjectId;
|
||||
domainId: string;
|
||||
pid: number;
|
||||
uid: number;
|
||||
time: number;
|
||||
memory: number;
|
||||
code: number;
|
||||
lang: string;
|
||||
}
|
||||
export interface JudgeMeta {
|
||||
problemOwner: number;
|
||||
hackRejudge?: string;
|
||||
@@ -688,6 +698,7 @@ declare module './service/db' {
|
||||
'domain': DomainDoc;
|
||||
'domain.user': any;
|
||||
'record': RecordDoc;
|
||||
'record.stat': RecordStatDoc;
|
||||
'document': any;
|
||||
'document.status': StatusDocBase & {
|
||||
[K in keyof DocStatusType]: { docType: K } & DocStatusType[K];
|
||||
|
||||
Reference in new issue
Block a user