Refactored schemas to make properties all implicitely children

This commit is contained in:
Stefan Zermatten
2019-04-03 12:38:01 +02:00
parent 28ffcc87b4
commit 681e669e76
19 changed files with 37 additions and 62 deletions

View File

@@ -1,7 +1,6 @@
import SimpleSchema from 'simpl-schema';
import schema from '/imports/api/schema.js';
import PropertySchema from '/imports/api/creature/subSchemas/PropertySchema.js';
import ChildSchema from '/imports/api/parenting/ChildSchema.js';
import ColorSchema from '/imports/api/creature/subSchemas/ColorSchema.js';
// Mixins
@@ -103,7 +102,6 @@ let ComputedSkillSchema = schema({
Skills.attachSchema(ComputedSkillSchema);
Skills.attachSchema(PropertySchema);
Skills.attachSchema(ChildSchema);
const insertSkill = new ValidatedMethod({
name: 'Skills.methods.insert',