core: move hack to record/judge

This commit is contained in:
undefined committed 2024-04-29 12:47:32 +08:00
1 parent c9c93fd5b3
commit a2ed84a4be
2 files changed
+40 -40

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ export interface EventMap extends LifecycleEvents, HandlerEvents {
'training/get': (tdoc: TrainingDoc, handler: any) => VoidReturn
'record/change': (rdoc: RecordDoc, $set?: any, $push?: any, body?: any) => void
'record/judge': (rdoc: RecordDoc, updated: boolean) => VoidReturn
'record/judge': (rdoc: RecordDoc, updated: boolean, pdoc?: ProblemDoc) => VoidReturn
}
/* eslint-enable @typescript-eslint/naming-convention */