Implemented Notes in journal
This commit is contained in:
10
rpg-docs/Model/Character/Notes.js
Normal file
10
rpg-docs/Model/Character/Notes.js
Normal 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);
|
||||
Reference in New Issue
Block a user