@likewatt/models 1.38.0 → 1.39.1

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.
@@ -12,7 +12,7 @@ export declare class DefaultRate {
12
12
  _id: string;
13
13
  name?: string;
14
14
  userId: string;
15
- rates: Rates[];
15
+ tarifs: Rates[];
16
16
  restOfTheYear: RestOfTheYearTarifs;
17
17
  }
18
18
  export type DefaultRateDocument = DefaultRate & Document;
@@ -62,7 +62,7 @@ __decorate([
62
62
  (0, mongoose_1.Prop)({ required: true }),
63
63
  (0, class_validator_1.IsArray)(),
64
64
  __metadata("design:type", Array)
65
- ], DefaultRate.prototype, "rates", void 0);
65
+ ], DefaultRate.prototype, "tarifs", void 0);
66
66
  __decorate([
67
67
  (0, swagger_1.ApiProperty)({ type: rest_of_the_years_tarif_1.RestOfTheYearTarifs }),
68
68
  (0, mongoose_1.Prop)({ required: false }),
@@ -89,7 +89,7 @@ export declare class Site {
89
89
  restOfTheYearTarifs: RestOfTheYearTarifs;
90
90
  siteHasData: boolean;
91
91
  tarifBuilder: boolean;
92
- rates: Rates[];
92
+ tarifs: Rates[];
93
93
  tempoPricing: boolean;
94
94
  timezone: number;
95
95
  TMYstatus?: number;
package/dist/core/Site.js CHANGED
@@ -520,7 +520,7 @@ __decorate([
520
520
  (0, mongoose_1.Prop)({ type: [rates_1.RatesSchema], required: true }),
521
521
  (0, class_validator_1.IsArray)(),
522
522
  __metadata("design:type", Array)
523
- ], Site.prototype, "rates", void 0);
523
+ ], Site.prototype, "tarifs", void 0);
524
524
  __decorate([
525
525
  (0, swagger_1.ApiProperty)(),
526
526
  (0, mongoose_1.Prop)({ required: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.38.0",
3
+ "version": "1.39.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {