@likewatt/models 1.39.0 → 1.39.2
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/DefaultRate.d.ts +0 -1
- package/dist/core/DefaultRate.js +0 -6
- package/dist/core/Scenario.d.ts +0 -1
- package/dist/core/Scenario.js +0 -7
- package/dist/core/Site.d.ts +0 -1
- package/dist/core/Site.js +0 -6
- package/dist/core/enums/FileType.d.ts +1 -0
- package/dist/core/enums/FileType.js +1 -0
- package/package.json +1 -1
package/dist/core/DefaultRate.js
CHANGED
|
@@ -57,12 +57,6 @@ __decorate([
|
|
|
57
57
|
(0, class_validator_1.IsOptional)(),
|
|
58
58
|
__metadata("design:type", String)
|
|
59
59
|
], DefaultRate.prototype, "userId", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, swagger_1.ApiProperty)({ type: [rates_1.Rates] }),
|
|
62
|
-
(0, mongoose_1.Prop)({ required: true }),
|
|
63
|
-
(0, class_validator_1.IsArray)(),
|
|
64
|
-
__metadata("design:type", Array)
|
|
65
|
-
], DefaultRate.prototype, "rates", void 0);
|
|
66
60
|
__decorate([
|
|
67
61
|
(0, swagger_1.ApiProperty)({ type: [rates_1.Rates] }),
|
|
68
62
|
(0, mongoose_1.Prop)({ required: true }),
|
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -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>;
|
package/dist/core/Scenario.js
CHANGED
|
@@ -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)(),
|
package/dist/core/Site.d.ts
CHANGED
package/dist/core/Site.js
CHANGED
|
@@ -515,12 +515,6 @@ __decorate([
|
|
|
515
515
|
(0, class_validator_1.IsBoolean)(),
|
|
516
516
|
__metadata("design:type", Boolean)
|
|
517
517
|
], Site.prototype, "tarifBuilder", void 0);
|
|
518
|
-
__decorate([
|
|
519
|
-
(0, swagger_1.ApiProperty)({ type: [rates_1.Rates] }),
|
|
520
|
-
(0, mongoose_1.Prop)({ type: [rates_1.RatesSchema], required: true }),
|
|
521
|
-
(0, class_validator_1.IsArray)(),
|
|
522
|
-
__metadata("design:type", Array)
|
|
523
|
-
], Site.prototype, "rates", void 0);
|
|
524
518
|
__decorate([
|
|
525
519
|
(0, swagger_1.ApiProperty)({ type: [rates_1.Rates] }),
|
|
526
520
|
(0, mongoose_1.Prop)({ type: [rates_1.RatesSchema], required: true }),
|
|
@@ -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";
|