@likewatt/models 1.53.0 → 1.55.0
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 -1
- package/package.json +1 -1
package/dist/core/Scenario.js
CHANGED
|
@@ -418,6 +418,8 @@ __decorate([
|
|
|
418
418
|
readOnly: true,
|
|
419
419
|
}),
|
|
420
420
|
(0, mongoose_1.Prop)({ type: String }),
|
|
421
|
+
(0, class_validator_1.IsOptional)(),
|
|
422
|
+
(0, class_validator_1.IsString)(),
|
|
421
423
|
__metadata("design:type", String)
|
|
422
424
|
], Scenario.prototype, "_id", void 0);
|
|
423
425
|
__decorate([
|
|
@@ -536,7 +538,7 @@ __decorate([
|
|
|
536
538
|
(0, swagger_1.ApiPropertyOptional)({ example: [1] }),
|
|
537
539
|
(0, mongoose_1.Prop)(),
|
|
538
540
|
(0, class_validator_1.IsOptional)(),
|
|
539
|
-
(0, class_validator_1.
|
|
541
|
+
(0, class_validator_1.IsArray)(),
|
|
540
542
|
__metadata("design:type", Array)
|
|
541
543
|
], Scenario.prototype, "priorities", void 0);
|
|
542
544
|
__decorate([
|