@likewatt/models 1.0.96 → 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.
@@ -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.ApiProperty)(),
537
- (0, mongoose_1.Prop)({ required: true }),
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.ApiProperty)(),
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)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {