-remove useless define

-added plagiarism check filed
parent b0ac8ae8
......@@ -20,13 +20,6 @@ module.exports.TESTING_TYPE =
NOT_TEST: "not_test"
};
module.exports.PROCESS_EVENT =
{
STDOUT: "stdout",
STDERR: "stderr",
CLOSE: "close"
};
module.exports.PROGRAM_FILE_TYPE =
{
RAW: "raw",
......
......@@ -90,6 +90,11 @@ const TaskSchema = new mongoose.Schema({
outputFileNames: {
type: [String]
},
checkPlagiat: {
type: Boolean,
required: true,
default: false
},
tests: {
type: [{
inputType: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment