This commit is contained in:
2025-11-21 22:37:14 +03:00
parent 449aef6f54
commit 599170df2c
2 changed files with 31 additions and 4 deletions

View File

@@ -23,6 +23,12 @@ const criteriaSchema = new mongoose.Schema({
type: String,
required: true
},
criteriaType: {
type: String,
enum: ['team', 'participant', 'all'],
default: 'all',
required: true
},
criteria: [criterionItemSchema],
order: {
type: Number,