mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge: change config.detail to enum (#1000)
This commit is contained in:
1 parent
fb04aaacb9
commit
ed830e119e
13 files changed
+41
-29
No files matched your search
@@ -86,7 +86,7 @@ const problemConfigSchema: JSONSchema7 = {
|
||||
cases: { $ref: '#/definitions/cases' },
|
||||
subtasks: { type: 'array', items: { $ref: '#/definitions/subtask' } },
|
||||
filename: { type: 'string' },
|
||||
detail: { type: 'boolean' },
|
||||
detail: { type: 'string', enum: ['full', 'case', 'none'] },
|
||||
time: { $ref: '#/definitions/time' },
|
||||
memory: { $ref: '#/definitions/memory' },
|
||||
score: { $ref: '#/definitions/score' },
|
||||
|
||||
Reference in new issue
Block a user