1 parent
23844ae301
commit
d25b5dbe6d
268 files changed
+3684
-8861
No files matched your search
@@ -27,9 +27,7 @@ export const contestPasswordRequestSchema = z.object({
|
||||
})
|
||||
|
||||
export const contestAccessSchema = z.object({ access: z.boolean() })
|
||||
export const contestProblemsSchema = z.array(
|
||||
z.union([problemListItemSchema, problemDetailSchema]),
|
||||
)
|
||||
export const contestProblemsSchema = z.array(z.union([problemListItemSchema, problemDetailSchema]))
|
||||
|
||||
/**
|
||||
* `acm_contest_rank.submission_info` 的 JSONB 原文。
|
||||
@@ -71,7 +69,5 @@ export type ContestAccess = z.infer<typeof contestAccessSchema>
|
||||
export type ContestSubmissionInfo = z.infer<typeof contestSubmissionInfoSchema>
|
||||
|
||||
export type ContestStatus = z.infer<typeof contestStatusSchema>
|
||||
export type ContestPasswordRequest = z.infer<
|
||||
typeof contestPasswordRequestSchema
|
||||
>
|
||||
export type ContestPasswordRequest = z.infer<typeof contestPasswordRequestSchema>
|
||||
export type ContestProblems = z.infer<typeof contestProblemsSchema>
|
||||
Reference in new issue
Block a user