@likewatt/models 1.26.0 → 1.28.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/CollectiveSite.d.ts +1 -1
- package/dist/core/CollectiveSite.js +1 -1
- package/dist/core/ScenarioDefaultValue.d.ts +1 -0
- package/dist/core/ScenarioDefaultValue.js +6 -0
- package/dist/core/Site.d.ts +1 -1
- package/dist/core/Site.js +1 -1
- package/dist/core/internal/enums.d.ts +2 -3
- package/dist/core/internal/enums.js +1 -2
- package/package.json +1 -1
|
@@ -82,7 +82,7 @@ __decorate([
|
|
|
82
82
|
(0, mongoose_1.Prop)({ type: Boolean, required: true, default: false }),
|
|
83
83
|
(0, class_validator_1.IsBoolean)(),
|
|
84
84
|
__metadata("design:type", Boolean)
|
|
85
|
-
], CollectiveSite.prototype, "
|
|
85
|
+
], CollectiveSite.prototype, "autoCo2", void 0);
|
|
86
86
|
__decorate([
|
|
87
87
|
(0, swagger_1.ApiProperty)(),
|
|
88
88
|
(0, mongoose_1.Prop)({ type: Number, required: false }),
|
|
@@ -25,6 +25,7 @@ export declare class ScenarioDefaultValue {
|
|
|
25
25
|
VERSION: number;
|
|
26
26
|
version: number;
|
|
27
27
|
SURPLUS_COSTS: PowerCostConfig[];
|
|
28
|
+
BTINF_COSTS: PowerCostConfig[];
|
|
28
29
|
FULL_PRODUCTION_COSTS: PowerCostConfig[];
|
|
29
30
|
paramsBattery: BatteryParams;
|
|
30
31
|
paramsConversion: ConversionParams;
|
|
@@ -69,6 +69,12 @@ __decorate([
|
|
|
69
69
|
(0, class_validator_1.IsArray)(),
|
|
70
70
|
__metadata("design:type", Array)
|
|
71
71
|
], ScenarioDefaultValue.prototype, "SURPLUS_COSTS", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, swagger_1.ApiProperty)({ type: [power_cost_config_1.PowerCostConfig] }),
|
|
74
|
+
(0, mongoose_1.Prop)({ type: [power_cost_config_1.PowerCostConfig], required: true }),
|
|
75
|
+
(0, class_validator_1.IsArray)(),
|
|
76
|
+
__metadata("design:type", Array)
|
|
77
|
+
], ScenarioDefaultValue.prototype, "BTINF_COSTS", void 0);
|
|
72
78
|
__decorate([
|
|
73
79
|
(0, swagger_1.ApiProperty)({ type: [power_cost_config_1.PowerCostConfig] }),
|
|
74
80
|
(0, mongoose_1.Prop)({ type: [power_cost_config_1.PowerCostConfig], required: true }),
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare class Site {
|
|
|
55
55
|
analysisYear?: number;
|
|
56
56
|
buildingData?: BuildingData | null;
|
|
57
57
|
buildingDataStatus?: BuildingDataStatus | null;
|
|
58
|
-
|
|
58
|
+
autoCo2: boolean;
|
|
59
59
|
co2rate?: number | null;
|
|
60
60
|
connectingPower: number;
|
|
61
61
|
consentFileUrl?: string;
|
package/dist/core/Site.js
CHANGED
|
@@ -308,7 +308,7 @@ __decorate([
|
|
|
308
308
|
(0, mongoose_1.Prop)({ type: Boolean, required: true, default: false }),
|
|
309
309
|
(0, class_validator_1.IsBoolean)(),
|
|
310
310
|
__metadata("design:type", Boolean)
|
|
311
|
-
], Site.prototype, "
|
|
311
|
+
], Site.prototype, "autoCo2", void 0);
|
|
312
312
|
__decorate([
|
|
313
313
|
(0, swagger_1.ApiProperty)(),
|
|
314
314
|
(0, mongoose_1.Prop)({ type: Number, required: false }),
|
|
@@ -4,15 +4,14 @@ export declare enum SiteType {
|
|
|
4
4
|
CONSUMER_PLUS = "CONSUMER_PLUS"
|
|
5
5
|
}
|
|
6
6
|
export declare enum Profiles {
|
|
7
|
-
'NONE' = "
|
|
7
|
+
'NONE' = "",
|
|
8
8
|
'RES_BASE_INF_6' = "RES_BASE_INF_6",
|
|
9
9
|
'RES_BASE_SUP_6' = "RES_BASE_SUP_6",
|
|
10
10
|
RES_HP_HC = "RES_HP_HC",
|
|
11
11
|
PRO_BASE = "PRO_BASE",
|
|
12
12
|
PRO_HP_HC = "PRO_HP_HC",
|
|
13
13
|
ENT_BT_SUP = "ENT_BT_SUP",
|
|
14
|
-
ENT_HTA = "ENT_HTA"
|
|
15
|
-
BBR = "BBR"
|
|
14
|
+
ENT_HTA = "ENT_HTA"
|
|
16
15
|
}
|
|
17
16
|
export declare enum FinancingTypeEnum {
|
|
18
17
|
INVESTMENT = "Investissement",
|
|
@@ -9,7 +9,7 @@ var SiteType;
|
|
|
9
9
|
})(SiteType || (exports.SiteType = SiteType = {}));
|
|
10
10
|
var Profiles;
|
|
11
11
|
(function (Profiles) {
|
|
12
|
-
Profiles["NONE"] = "
|
|
12
|
+
Profiles["NONE"] = "";
|
|
13
13
|
Profiles["RES_BASE_INF_6"] = "RES_BASE_INF_6";
|
|
14
14
|
Profiles["RES_BASE_SUP_6"] = "RES_BASE_SUP_6";
|
|
15
15
|
Profiles["RES_HP_HC"] = "RES_HP_HC";
|
|
@@ -17,7 +17,6 @@ var Profiles;
|
|
|
17
17
|
Profiles["PRO_HP_HC"] = "PRO_HP_HC";
|
|
18
18
|
Profiles["ENT_BT_SUP"] = "ENT_BT_SUP";
|
|
19
19
|
Profiles["ENT_HTA"] = "ENT_HTA";
|
|
20
|
-
Profiles["BBR"] = "BBR";
|
|
21
20
|
})(Profiles || (exports.Profiles = Profiles = {}));
|
|
22
21
|
var FinancingTypeEnum;
|
|
23
22
|
(function (FinancingTypeEnum) {
|