@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.
- package/dist/core/Scenario.js +3 -3
- package/package.json +1 -1
package/dist/core/Scenario.js
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
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);
|