@likewatt/models 1.0.95 → 1.0.97
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.d.ts +1 -1
- package/dist/core/Scenario.js +4 -4
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
package/dist/core/Scenario.js
CHANGED
|
@@ -493,7 +493,7 @@ __decorate([
|
|
|
493
493
|
], Scenario.prototype, "sellingPriceInflation", void 0);
|
|
494
494
|
__decorate([
|
|
495
495
|
(0, swagger_1.ApiProperty)({ example: 'site_12345' }),
|
|
496
|
-
(0, mongoose_1.Prop)({ required:
|
|
496
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
497
497
|
(0, class_validator_1.IsString)(),
|
|
498
498
|
__metadata("design:type", String)
|
|
499
499
|
], Scenario.prototype, "siteId", void 0);
|
|
@@ -533,14 +533,14 @@ __decorate([
|
|
|
533
533
|
__metadata("design:type", String)
|
|
534
534
|
], ScenarioType.prototype, "user", void 0);
|
|
535
535
|
__decorate([
|
|
536
|
-
(0, swagger_1.
|
|
537
|
-
(0, mongoose_1.Prop)({ required:
|
|
536
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
537
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
538
538
|
(0, class_validator_1.IsOptional)(),
|
|
539
539
|
(0, class_validator_1.IsString)(),
|
|
540
540
|
__metadata("design:type", String)
|
|
541
541
|
], ScenarioType.prototype, "principalUser", void 0);
|
|
542
542
|
__decorate([
|
|
543
|
-
(0, swagger_1.
|
|
543
|
+
(0, swagger_1.ApiPropertyOptional)({ type: Boolean, default: false }),
|
|
544
544
|
(0, mongoose_1.Prop)({ required: true, type: Boolean, default: false }),
|
|
545
545
|
(0, class_validator_1.IsOptional)(),
|
|
546
546
|
(0, class_validator_1.IsBoolean)(),
|