Added SpellList Dialog
This commit is contained in:
@@ -3,10 +3,12 @@ SpellLists = new Meteor.Collection("spellLists");
|
||||
Schemas.SpellLists = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
name: {type: String},
|
||||
description: {type: String, optional: true},
|
||||
saveDC: {type: String, optional: true},
|
||||
attackBonus: {type: String, optional: true},
|
||||
maxPrepared: {type: String, optional: true},
|
||||
"settings.showUnprepared": {type: Boolean, defaultValue: true}
|
||||
color: {type: String, allowedValues: _.keys(colorOptions), defaultValue: "green"},
|
||||
"settings.showUnprepared": {type: Boolean, defaultValue: true},
|
||||
});
|
||||
|
||||
SpellLists.attachSchema(Schemas.SpellLists);
|
||||
|
||||
Reference in New Issue
Block a user