add contest details.

This commit is contained in:
2023-03-30 18:49:32 +08:00
parent 301fc1be6d
commit eb652d1c86
10 changed files with 153 additions and 23 deletions

View File

@@ -283,6 +283,18 @@ export interface Contest {
visible: boolean
}
export interface BlankContest {
title: string
description: string
start_time: string
end_time: string
rule_type: "ACM" | "OI"
password: string
real_time_rank: boolean
visible: boolean
allowed_ip_ranges: { value: string }[]
}
interface SubmissionInfo {
is_ac: boolean
ac_time: number