Implemented Notes in journal

This commit is contained in:
Thaum
2015-02-19 10:45:57 +00:00
parent 9601826475
commit 93578709cd
9 changed files with 169 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
Notes = new Meteor.Collection("notes");
Schemas.Note = new SimpleSchema({
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
name: {type: String},
description: {type: String, optional: true},
color: {type: String, allowedValues: _.pluck(colorOptions, "key"), defaultValue: "q"}
});
Notes.attachSchema(Schemas.Note);