This commit is contained in:
innoavvlasov committed 2025-11-21 22:37:14 +03:00
1 parent 449aef6f54
commit 599170df2c
2 files changed
+31 -4

No files matched your search

@@ -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,