ui: add hustoj to allowed checker_type list

This commit is contained in:
undefined committed 2021-08-07 19:47:27 +08:00
1 parent cc4211abfb
commit db9def7917
3 files changed
+3 -3

No files matched your search

-1
View File
@@ -1,5 +1,4 @@
/* eslint-disable no-template-curly-in-string */
import fs from 'fs-extra';
import * as STATUS from './status';
import { parse } from './testlib';
import { run } from './sandbox';
@@ -58,7 +58,7 @@ const problemConfigSchema = {
subType: { type: 'string' },
langs: { type: 'array', items: { type: 'string' } },
target: { type: 'string' },
checker_type: { enum: ['default', 'lemon', 'syzoj', 'testlib', 'strict', 'qduoj'] },
checker_type: { enum: ['default', 'lemon', 'syzoj', 'hustoj', 'testlib', 'strict', 'qduoj'] },
checker: { type: 'string', pattern: '\\.' },
interactor: { type: 'string', pattern: '\\.' },
user_extra_files: { type: 'array', items: { type: 'string' } },
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.15.1",
"version": "4.15.2",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -113,6 +113,7 @@
"webpackbar": "^5.0.0-3"
},
"dependencies": {
"clean-webpack-plugin": "^4.0.0-alpha.0",
"esbuild": "^0.12.18",
"esbuild-loader": "^2.14.0",
"js-yaml": "^4.1.0",