移除 OI 残留:前端 Profile / Rank 去掉 oi_problems_status / total_score
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

配合后端删除 UserProfile 的 OI 字段:
- Profile、Rank 类型移除 oi_problems_status、total_score
- 用户主页 AC 列表只用 acm_problems_status,去掉 oi 合并

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 11:43:11 -06:00
parent 081981d115
commit e7a621075c
2 changed files with 5 additions and 20 deletions

View File

@@ -12,15 +12,6 @@ export interface Profile {
}
}
}
oi_problems_status: {
problems: {
[key: string]: {
_id: string
score: number
status: number
}
}
}
avatar: string
blog: null
mood: string
@@ -29,7 +20,6 @@ export interface Profile {
major: string
language: string
accepted_number: number
total_score: number
submission_number: number
}
@@ -492,7 +482,6 @@ export interface Rank {
}
}
}
oi_problems_status: {}
real_name: null | string
avatar: string
blog: null
@@ -502,7 +491,6 @@ export interface Rank {
major: null | string
language: null | string
accepted_number: number
total_score: number
submission_number: number
}