@likewatt/models 1.39.1 → 1.39.3

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.
@@ -131,7 +131,6 @@ export declare class ConfigSite {
131
131
  demandMultiplierSlots?: DemandMultiplierSlot[];
132
132
  demandMultiplierUnit?: string;
133
133
  distributionKey?: DistributionKey[];
134
- distribKeys?: string;
135
134
  priorityStage?: number;
136
135
  rateOfGrowth?: RateOfGrowth[];
137
136
  settings: Record<string, unknown>;
@@ -371,13 +371,6 @@ __decorate([
371
371
  (0, class_validator_1.IsArray)(),
372
372
  __metadata("design:type", Array)
373
373
  ], ConfigSite.prototype, "distributionKey", void 0);
374
- __decorate([
375
- (0, swagger_1.ApiPropertyOptional)({ example: 1 }),
376
- (0, mongoose_1.Prop)(),
377
- (0, class_validator_1.IsOptional)(),
378
- (0, class_validator_1.IsString)(),
379
- __metadata("design:type", String)
380
- ], ConfigSite.prototype, "distribKeys", void 0);
381
374
  __decorate([
382
375
  (0, swagger_1.ApiPropertyOptional)({ example: 1 }),
383
376
  (0, mongoose_1.Prop)(),
@@ -12,6 +12,7 @@ export declare enum FileType {
12
12
  PVTMY = "pvTMY.csv",
13
13
  PV1POWERS = "pvPowers.csv",
14
14
  PV2POWERS = "pv2Powers.csv",
15
+ DISTRIBKEYS = "distribKeys.csv",
15
16
  WINDTURBINETMY = "windTurbineTMY.csv",
16
17
  WINDTURBINEPOWERS = "windTurbinePowers.csv",
17
18
  FCRPRICES = "fcrPrices.csv",
@@ -16,6 +16,7 @@ var FileType;
16
16
  FileType["PVTMY"] = "pvTMY.csv";
17
17
  FileType["PV1POWERS"] = "pvPowers.csv";
18
18
  FileType["PV2POWERS"] = "pv2Powers.csv";
19
+ FileType["DISTRIBKEYS"] = "distribKeys.csv";
19
20
  FileType["WINDTURBINETMY"] = "windTurbineTMY.csv";
20
21
  FileType["WINDTURBINEPOWERS"] = "windTurbinePowers.csv";
21
22
  FileType["FCRPRICES"] = "fcrPrices.csv";
@@ -2,11 +2,11 @@ import { ImageryDate } from './imagery-date';
2
2
  export declare class Rates {
3
3
  days: number[];
4
4
  name: string;
5
- endHour: number;
5
+ endHour: string;
6
6
  energyRate: number;
7
7
  id: string;
8
8
  months: ImageryDate[];
9
- startHour: number;
9
+ startHour: string;
10
10
  subscribedPower: number;
11
11
  subscriptionRate: number;
12
12
  }
@@ -25,7 +25,7 @@ __decorate([
25
25
  ], Rates.prototype, "name", void 0);
26
26
  __decorate([
27
27
  (0, mongoose_1.Prop)(),
28
- __metadata("design:type", Number)
28
+ __metadata("design:type", String)
29
29
  ], Rates.prototype, "endHour", void 0);
30
30
  __decorate([
31
31
  (0, mongoose_1.Prop)(),
@@ -41,7 +41,7 @@ __decorate([
41
41
  ], Rates.prototype, "months", void 0);
42
42
  __decorate([
43
43
  (0, mongoose_1.Prop)(),
44
- __metadata("design:type", Number)
44
+ __metadata("design:type", String)
45
45
  ], Rates.prototype, "startHour", void 0);
46
46
  __decorate([
47
47
  (0, mongoose_1.Prop)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.39.1",
3
+ "version": "1.39.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {