add bracket reset to match

main v1.3.0
Ayush Mukherjee 4 years ago
parent e67493c13d
commit 21c48b2a03

@ -34,6 +34,10 @@ const matches = new Schema({
type: Boolean, type: Boolean,
required: true, required: true,
}, },
reset: {
type: Boolean,
default: false,
},
type: { type: {
type: String, type: String,
required: true, required: true,
@ -52,6 +56,16 @@ const matches = new Schema({
default: 0, default: 0,
}, },
}, },
resets: {
orange: {
type: Number,
default: 0,
},
blue: {
type: Number,
default: 0,
},
},
games: { games: {
type: [gameScores], type: [gameScores],
} }

Loading…
Cancel
Save