Implemented container editing

This commit is contained in:
Thaum
2015-01-27 09:43:08 +00:00
parent dc6ea555e5
commit 80c2c3249d
7 changed files with 113 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ Items = new Meteor.Collection('items');
Schemas.Item = new SimpleSchema({
name: {type: String, defaultValue: "New Item"},
plural: {type: String, optional: true},
description:{type: String, defaultValue: ""},
description:{type: String, optional: true},
container: {type: String, regEx: SimpleSchema.RegEx.Id}, //id of container it is normally stowed in
charId: {type: String, regEx: SimpleSchema.RegEx.Id}, //id of owner
quantity: {type: Number, min: 0, defaultValue: 1},