@likewatt/models 1.1.22 → 1.1.23

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.
@@ -69,7 +69,7 @@ export declare class Site {
69
69
  dataIsHybridFrom: string;
70
70
  dataSourceHistory: DataSourceHistory[];
71
71
  dataSource: string;
72
- selectedDataSource: string;
72
+ selectedDataSource?: string;
73
73
  disabled: boolean;
74
74
  enedisBuffer: string;
75
75
  enedisData: boolean;
package/dist/core/Site.js CHANGED
@@ -388,7 +388,7 @@ __decorate([
388
388
  ], Site.prototype, "dataSource", void 0);
389
389
  __decorate([
390
390
  (0, swagger_1.ApiProperty)(),
391
- (0, mongoose_1.Prop)({ required: true }),
391
+ (0, mongoose_1.Prop)({ required: false }),
392
392
  (0, class_validator_1.IsString)(),
393
393
  __metadata("design:type", String)
394
394
  ], Site.prototype, "selectedDataSource", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {