This commit is contained in:
2025-10-04 14:26:02 +08:00
parent c8751223db
commit dfa8d970f2
2 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { ContestStatus, ContestType, USER_TYPE } from "./constants"
import { ContestStatus, ContestType, LANGUAGE_SHOW_VALUE } from "./constants"
export interface Profile {
id: number
@@ -60,6 +60,8 @@ export type LANGUAGE =
| "JavaScript"
| "Golang"
export type LANGUAGE_SHOW_LABEL = typeof LANGUAGE_SHOW_VALUE[keyof typeof LANGUAGE_SHOW_VALUE]
export type SUBMISSION_RESULT = -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
export type ProblemStatus = "passed" | "failed" | "not_test"