@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.
@@ -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.IsNumber)(),
541
+ (0, class_validator_1.IsArray)(),
540
542
  __metadata("design:type", Array)
541
543
  ], Scenario.prototype, "priorities", void 0);
542
544
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.53.0",
3
+ "version": "1.55.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {