energy-flow-control--types-and-enums 1.0.270 → 1.0.271
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/package.json +1 -1
- package/src/types/index.d.ts +20 -18
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -11,7 +11,9 @@ import {
|
|
|
11
11
|
EnumEventSource,
|
|
12
12
|
EnumIdentityProvider,
|
|
13
13
|
EnumInvoiceState,
|
|
14
|
-
EnumInvoiceTopic,
|
|
14
|
+
EnumInvoiceTopic,
|
|
15
|
+
EnumMetricChannel,
|
|
16
|
+
EnumMetricTypes,
|
|
15
17
|
EnumNoSupplyReason,
|
|
16
18
|
EnumPhase,
|
|
17
19
|
EnumPriceComponent,
|
|
@@ -25,7 +27,8 @@ import {
|
|
|
25
27
|
EnumSolarForecastApi,
|
|
26
28
|
EnumTariffConsumptionType,
|
|
27
29
|
EnumTariffPlanState,
|
|
28
|
-
EnumThermometerModel,
|
|
30
|
+
EnumThermometerModel,
|
|
31
|
+
EnumUnit,
|
|
29
32
|
EnumUserSettingName,
|
|
30
33
|
EnumUserStatus,
|
|
31
34
|
EnumValueReadingSourceType,
|
|
@@ -711,24 +714,23 @@ export interface IUserSetting extends ITimeTravelProps {
|
|
|
711
714
|
value: string | number | null
|
|
712
715
|
}
|
|
713
716
|
|
|
717
|
+
export interface IBatteryValue {
|
|
718
|
+
inKwh: number
|
|
719
|
+
inPercent: number
|
|
720
|
+
}
|
|
721
|
+
|
|
714
722
|
export interface ISummarizedBattery {
|
|
715
723
|
capacityInKwh: number
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
min: number
|
|
727
|
-
max: number
|
|
728
|
-
reservedAboveMin: number
|
|
729
|
-
freelyAvailable: number
|
|
730
|
-
}
|
|
731
|
-
}
|
|
724
|
+
actual: IBatteryValue
|
|
725
|
+
min: IBatteryValue
|
|
726
|
+
max: IBatteryValue
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export interface ISummarizedBatteries {
|
|
730
|
+
usable: ISummarizedBattery
|
|
731
|
+
unusable: ISummarizedBattery
|
|
732
|
+
reservedAboveMin: IBatteryValue
|
|
733
|
+
freelyAvailable: IBatteryValue
|
|
732
734
|
}
|
|
733
735
|
|
|
734
736
|
export interface IMetric {
|