@likewatt/models 1.2.12 → 1.2.13
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.
- package/dist/core/Site.d.ts +1 -2
- package/dist/core/Site.js +4 -10
- package/package.json +1 -1
package/dist/core/Site.d.ts
CHANGED
|
@@ -66,9 +66,8 @@ export declare class Site {
|
|
|
66
66
|
dataSourceHistory: DataSourceHistory[];
|
|
67
67
|
dataSource?: string;
|
|
68
68
|
selectedDataSource?: string;
|
|
69
|
-
disabled: boolean;
|
|
70
|
-
enedisBuffer?: string;
|
|
71
69
|
enedisData?: boolean;
|
|
70
|
+
strasbourgData?: boolean;
|
|
72
71
|
energyPricesTempo: EnergyPriceTempo[];
|
|
73
72
|
energyPricesWe: EnergyPrice[];
|
|
74
73
|
error?: string;
|
package/dist/core/Site.js
CHANGED
|
@@ -379,26 +379,20 @@ __decorate([
|
|
|
379
379
|
(0, class_validator_1.IsString)(),
|
|
380
380
|
__metadata("design:type", String)
|
|
381
381
|
], Site.prototype, "selectedDataSource", void 0);
|
|
382
|
-
__decorate([
|
|
383
|
-
(0, swagger_1.ApiProperty)(),
|
|
384
|
-
(0, mongoose_1.Prop)({ required: true }),
|
|
385
|
-
(0, class_validator_1.IsBoolean)(),
|
|
386
|
-
__metadata("design:type", Boolean)
|
|
387
|
-
], Site.prototype, "disabled", void 0);
|
|
388
382
|
__decorate([
|
|
389
383
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
390
384
|
(0, mongoose_1.Prop)({ required: false }),
|
|
391
385
|
(0, class_validator_1.IsOptional)(),
|
|
392
|
-
(0, class_validator_1.
|
|
393
|
-
__metadata("design:type",
|
|
394
|
-
], Site.prototype, "
|
|
386
|
+
(0, class_validator_1.IsBoolean)(),
|
|
387
|
+
__metadata("design:type", Boolean)
|
|
388
|
+
], Site.prototype, "enedisData", void 0);
|
|
395
389
|
__decorate([
|
|
396
390
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
397
391
|
(0, mongoose_1.Prop)({ required: false }),
|
|
398
392
|
(0, class_validator_1.IsOptional)(),
|
|
399
393
|
(0, class_validator_1.IsBoolean)(),
|
|
400
394
|
__metadata("design:type", Boolean)
|
|
401
|
-
], Site.prototype, "
|
|
395
|
+
], Site.prototype, "strasbourgData", void 0);
|
|
402
396
|
__decorate([
|
|
403
397
|
(0, swagger_1.ApiProperty)({ type: [energy_price_tempo_model_1.EnergyPriceTempo] }),
|
|
404
398
|
(0, mongoose_1.Prop)({ type: [energy_price_tempo_model_1.EnergyPriceTempoSchema], required: true }),
|