@likewatt/models 1.23.0 → 1.24.1
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
CHANGED
package/dist/core/Scenario.js
CHANGED
|
@@ -618,6 +618,13 @@ __decorate([
|
|
|
618
618
|
(0, class_validator_1.IsBoolean)(),
|
|
619
619
|
__metadata("design:type", Boolean)
|
|
620
620
|
], ScenarioType.prototype, "isACCScenario", void 0);
|
|
621
|
+
__decorate([
|
|
622
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
623
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
624
|
+
(0, class_validator_1.IsOptional)(),
|
|
625
|
+
(0, class_validator_1.IsString)(),
|
|
626
|
+
__metadata("design:type", String)
|
|
627
|
+
], ScenarioType.prototype, "scenarioOption", void 0);
|
|
621
628
|
__decorate([
|
|
622
629
|
(0, swagger_1.ApiPropertyOptional)({ example: 'site_12345', nullable: true }),
|
|
623
630
|
(0, mongoose_1.Prop)({ required: false, type: String, default: null, nullable: true }),
|
|
@@ -216,6 +216,13 @@ __decorate([
|
|
|
216
216
|
(0, class_validator_1.IsBoolean)(),
|
|
217
217
|
__metadata("design:type", Boolean)
|
|
218
218
|
], ScenarioDefaultValue.prototype, "isOptimized", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
221
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
222
|
+
(0, class_validator_1.IsOptional)(),
|
|
223
|
+
(0, class_validator_1.IsString)(),
|
|
224
|
+
__metadata("design:type", String)
|
|
225
|
+
], ScenarioDefaultValue.prototype, "scenarioOption", void 0);
|
|
219
226
|
__decorate([
|
|
220
227
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
221
228
|
(0, mongoose_1.Prop)(),
|