@likewatt/models 1.1.8 → 1.1.9

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.
@@ -68,6 +68,7 @@ export declare class Site {
68
68
  customerConsentLastName: string;
69
69
  dataIsHybridFrom: string;
70
70
  dataSourceHistory: DataSourceHistory[];
71
+ dataSource: string | number;
71
72
  disabled: boolean;
72
73
  enedisBuffer: string;
73
74
  enedisData: boolean;
package/dist/core/Site.js CHANGED
@@ -379,6 +379,11 @@ __decorate([
379
379
  (0, class_validator_1.IsArray)(),
380
380
  __metadata("design:type", Array)
381
381
  ], Site.prototype, "dataSourceHistory", void 0);
382
+ __decorate([
383
+ (0, swagger_1.ApiProperty)(),
384
+ (0, mongoose_1.Prop)({ required: true }),
385
+ __metadata("design:type", Object)
386
+ ], Site.prototype, "dataSource", void 0);
382
387
  __decorate([
383
388
  (0, swagger_1.ApiProperty)(),
384
389
  (0, mongoose_1.Prop)({ required: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {