diff --git a/app/imports/api/properties/PointBuys.js b/app/imports/api/properties/PointBuys.js index db20911a..fcbb8f6e 100644 --- a/app/imports/api/properties/PointBuys.js +++ b/app/imports/api/properties/PointBuys.js @@ -29,7 +29,7 @@ let PointBuySchema = createPropertySchema({ 'values.$._id': { type: String, regEx: SimpleSchema.RegEx.Id, - autoValue(){ + autoValue() { if (!this.isSet) return Random.id(); } }, @@ -49,18 +49,6 @@ let PointBuySchema = createPropertySchema({ type: Number, optional: true, }, - 'values.$.min': { - type: 'fieldToCompute', - optional: true, - }, - 'values.$.max': { - type: 'fieldToCompute', - optional: true, - }, - 'values.$.cost': { - type: 'fieldToCompute', - optional: true, - }, min: { type: 'fieldToCompute', optional: true, @@ -102,19 +90,6 @@ const ComputedOnlyPointBuySchema = createPropertySchema({ 'values.$': { type: Object, }, - 'values.$.min': { - type: 'computedOnlyField', - optional: true, - }, - 'values.$.max': { - type: 'computedOnlyField', - optional: true, - }, - 'values.$.cost': { - type: 'computedOnlyField', - optional: true, - parseLevel: 'compile', - }, 'values.$.spent': { type: Number, optional: true,