mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
minor patches & bump deps
This commit is contained in:
19 files changed
+80
-61
No files matched your search
@@ -26,7 +26,10 @@ const ProblemSchema = Schema.object({
|
||||
})),
|
||||
hint: StringValue,
|
||||
source: Schema.union([StringValue, Schema.string()]),
|
||||
display_id: Schema.string(),
|
||||
display_id: Schema.transform(
|
||||
Schema.union([Schema.number(), Schema.string()]),
|
||||
(value) => (typeof value === 'number' ? `P${value.toString()}` : value),
|
||||
),
|
||||
time_limit: Schema.union([Schema.number(), Schema.string()]).required(),
|
||||
memory_limit: Schema.union([Schema.number(), Schema.string()]).required(),
|
||||
spj: Schema.union([
|
||||
|
||||
Reference in new issue
Block a user