add end_time
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

This commit is contained in:
2026-03-16 23:44:41 +08:00
parent 19b2e2a507
commit 8be95b4c85
3 changed files with 26 additions and 0 deletions

View File

@@ -193,6 +193,7 @@ export interface ProblemSet {
create_time: Date
difficulty: "Easy" | "Medium" | "Hard"
status: "active" | "archived" | "draft"
end_time: Date | null
visible: boolean
problems_count: number
completed_count: number
@@ -213,6 +214,7 @@ export interface ProblemSetList {
create_time: Date
difficulty: "Easy" | "Medium" | "Hard"
status: "active" | "archived" | "draft"
end_time: Date | null
problems_count: number
visible: boolean
user_progress: {
@@ -277,6 +279,7 @@ export interface CreateProblemSetData {
description: string
difficulty: "Easy" | "Medium" | "Hard"
status: "active" | "archived" | "draft"
end_time?: Date | null
}
export interface EditProblemSetData {
@@ -285,6 +288,7 @@ export interface EditProblemSetData {
description?: string
difficulty?: "Easy" | "Medium" | "Hard"
status?: "active" | "archived" | "draft"
end_time?: Date | null
visible?: boolean
}