@likewatt/models 1.0.62 → 1.0.63

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.
@@ -195,8 +195,9 @@ __decorate([
195
195
  __decorate([
196
196
  (0, swagger_1.ApiProperty)({
197
197
  example: { power: 100, orientation: 'south', tilt: 30 },
198
+ required: false,
198
199
  }),
199
- (0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: true }),
200
+ (0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: false }),
200
201
  (0, class_validator_1.IsObject)(),
201
202
  __metadata("design:type", Object)
202
203
  ], Technology.prototype, "settings", void 0);
@@ -342,8 +343,9 @@ __decorate([
342
343
  __decorate([
343
344
  (0, swagger_1.ApiProperty)({
344
345
  example: { power: 100, orientation: 'south', tilt: 30 },
346
+ required: false,
345
347
  }),
346
- (0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: true }),
348
+ (0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.Mixed, required: false }),
347
349
  (0, class_validator_1.IsObject)(),
348
350
  __metadata("design:type", Object)
349
351
  ], ConfigSite.prototype, "settings", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {