feat(tasks): make task copy/mirror pref per-group

This commit is contained in:
SabreCat
2022-08-02 16:09:49 -05:00
parent a418752041
commit 9b9503b141
6 changed files with 51 additions and 12 deletions

View File

@@ -582,7 +582,9 @@ export default new Schema({
tasks: {
groupByChallenge: { $type: Boolean, default: false }, // @TODO remove? not used
confirmScoreNotes: { $type: Boolean, default: false }, // @TODO remove? not used
mirrorGroupTasks: { $type: Boolean, default: false },
mirrorGroupTasks: [
{ $type: String, validate: [v => validator.isUUID(v), 'Invalid group UUID.'], ref: 'Group' },
],
},
improvementCategories: {
$type: Array,