@likewatt/models 1.127.0 → 1.128.0
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/Scenario.d.ts +1 -0
- package/dist/core/Scenario.js +7 -0
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export declare class ChargingStationParam {
|
|
|
131
131
|
numberOfUnits: number;
|
|
132
132
|
power: number;
|
|
133
133
|
capex: number;
|
|
134
|
+
depreciationDuration?: number;
|
|
134
135
|
settings?: ChargingStationSlotParam[];
|
|
135
136
|
}
|
|
136
137
|
export declare const ChargingStationParamSchema: MSchema<ChargingStationParam, import("mongoose").Model<ChargingStationParam, any, any, any, Document<unknown, any, ChargingStationParam, any, {}> & ChargingStationParam & {
|
package/dist/core/Scenario.js
CHANGED
|
@@ -364,6 +364,13 @@ __decorate([
|
|
|
364
364
|
(0, class_validator_1.IsNumber)(),
|
|
365
365
|
__metadata("design:type", Number)
|
|
366
366
|
], ChargingStationParam.prototype, "capex", void 0);
|
|
367
|
+
__decorate([
|
|
368
|
+
(0, swagger_1.ApiPropertyOptional)({ example: 25 }),
|
|
369
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
370
|
+
(0, class_validator_1.IsOptional)(),
|
|
371
|
+
(0, class_validator_1.IsNumber)(),
|
|
372
|
+
__metadata("design:type", Number)
|
|
373
|
+
], ChargingStationParam.prototype, "depreciationDuration", void 0);
|
|
367
374
|
__decorate([
|
|
368
375
|
(0, swagger_1.ApiProperty)({ type: [ChargingStationSlotParam] }),
|
|
369
376
|
(0, mongoose_1.Prop)({
|