judge: add secret config key

This commit is contained in:
undefined committed 2021-06-24 12:45:19 +08:00
1 parent 37ce0a4f66
commit e334c5e56b
11 files changed
+35 -12

No files matched your search

@@ -53,6 +53,7 @@ const problemConfigSchema = {
type: 'object',
def: problemConfigSchemaDef,
properties: {
key: { type: 'string', pattern: '[0-9a-f]{32}' },
type: { enum: ['default', 'interactive', 'submit_answer', 'subjective'] },
checker_type: { enum: ['default', 'lemon', 'syzoj', 'testlib', 'strict', 'qduoj'] },
checker: { type: 'string', pattern: '\\.' },