ramove rank

This commit is contained in:
xuyue committed 2026-03-29 10:07:27 -06:00
1 parent 951e53c1dd
commit ecce21aaaf
6 files changed
-153

No files matched your search

-6
View File
@@ -181,7 +181,6 @@ export const Submission = {
score_min?: number
score_max_exclusive?: number
score_lt_threshold?: number
nominated?: boolean
ordering?: string
grouped?: boolean
}) {
@@ -223,11 +222,6 @@ export const Submission = {
return res.data as { cleared: number }
},
async nominate(id: string) {
const res = await http.put(`/submission/${id}/nominate`)
return res.data as { nominated: boolean }
},
async getStats(taskId: number, classname?: string): Promise<TaskStatsOut> {
const params: Record<string, string | number> = {}
if (classname) params.classname = classname