classes: add task attributes for point allocations

This commit is contained in:
Tyler Renelle
2013-12-13 17:50:43 -07:00
parent d2121a8587
commit c85450db04
4 changed files with 8 additions and 9 deletions
+1
View File
@@ -20,6 +20,7 @@ var TaskSchema = {
tags: {type: Schema.Types.Mixed, 'default': {}}, //{ "4ddf03d9-54bd-41a3-b011-ca1f1d2e9371" : true },
value: {type: Number, 'default': 0}, // redness
priority: {type: Number, 'default': '1'},
attribute: {type: String, 'default': "str", enum: ['str','con','int','per']},
challenge: {
id: {type: 'String', ref:'Challenge'},
broken: String, // CHALLENGE_DELETED, TASK_DELETED, UNSUBSCRIBED, CHALLENGE_CLOSED