@likewatt/models 1.0.56 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -246,19 +246,19 @@ let ConfigSite = class ConfigSite {
246
246
  exports.ConfigSite = ConfigSite;
247
247
  __decorate([
248
248
  (0, swagger_1.ApiProperty)({ example: 'REFERENCE' }),
249
- (0, mongoose_1.Prop)({ required: false }),
249
+ (0, mongoose_1.Prop)({ required: true }),
250
250
  (0, class_validator_1.IsString)(),
251
251
  __metadata("design:type", String)
252
252
  ], ConfigSite.prototype, "consumptionReference", void 0);
253
253
  __decorate([
254
254
  (0, swagger_1.ApiProperty)({ type: [DemandMultiplierSlot] }),
255
- (0, mongoose_1.Prop)({ type: [exports.DemandMultiplierSlotSchema], required: false }),
255
+ (0, mongoose_1.Prop)({ type: [exports.DemandMultiplierSlotSchema], required: true }),
256
256
  (0, class_validator_1.IsArray)(),
257
257
  __metadata("design:type", Array)
258
258
  ], ConfigSite.prototype, "demandMultiplierSlots", void 0);
259
259
  __decorate([
260
260
  (0, swagger_1.ApiProperty)({ type: [RateOfGrowth] }),
261
- (0, mongoose_1.Prop)({ type: [exports.RateOfGrowthSchema], required: false }),
261
+ (0, mongoose_1.Prop)({ type: [exports.RateOfGrowthSchema], required: true }),
262
262
  (0, class_validator_1.IsArray)(),
263
263
  __metadata("design:type", Array)
264
264
  ], ConfigSite.prototype, "rateOfGrowth", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {