@likewatt/models 1.0.20 → 1.0.21

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.js CHANGED
@@ -24,6 +24,7 @@ const building_data_1 = require("./internal/building-data");
24
24
  const rest_of_the_years_tarif_1 = require("./internal/rest-of-the-years-tarif");
25
25
  const data_source_history_1 = require("./internal/data-source-history");
26
26
  const consumption_indexes_1 = require("./internal/consumption-indexes");
27
+ const energy_price_tempo_model_1 = require("./internal/energy-price-tempo.model");
27
28
  let Site = class Site {
28
29
  };
29
30
  exports.Site = Site;
@@ -396,8 +397,8 @@ __decorate([
396
397
  __metadata("design:type", Boolean)
397
398
  ], Site.prototype, "enedisData", void 0);
398
399
  __decorate([
399
- (0, swagger_1.ApiProperty)({ type: [energy_price_model_1.EnergyPrice] }),
400
- (0, mongoose_1.Prop)({ type: [energy_price_model_1.EnergyPriceSchema], required: true }),
400
+ (0, swagger_1.ApiProperty)({ type: [energy_price_tempo_model_1.EnergyPriceTempo] }),
401
+ (0, mongoose_1.Prop)({ type: [energy_price_tempo_model_1.EnergyPriceTempo], required: true }),
401
402
  (0, class_validator_1.IsArray)(),
402
403
  __metadata("design:type", Array)
403
404
  ], Site.prototype, "energyPricesTempo", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {