energy-flow-control--types-and-enums 1.0.185 → 1.0.187
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/enums/index.ts +4 -0
- package/src/index.js +5 -1
- package/src/types/index.d.ts +8 -1
package/package.json
CHANGED
package/src/enums/index.ts
CHANGED
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnumAppValueCollectionName = exports.EnumRowSlots = exports.EnumBillingPeriodState = exports.EnumPricingModel = exports.EnumCarOemModel = exports.EnumCarOem = exports.EnumEventSeverity = exports.EnumEventSource = exports.EnumUserStatus = exports.EnumGeneratorSetType = exports.EnumEquipmentType = exports.TimeInterval = exports.EnumCameraModel = exports.EnumCustomerContractState = exports.EnumPvStringState = exports.EnumHttpProtocol = exports.EnumInvoiceTopic = exports.EnumBookingReason = exports.EnumInvoiceState = exports.EnumWallBoxState = exports.EnumTariffConsumptionType = exports.EnumThermometerModel = exports.EnumRemotelyControlledSwitchModel = exports.EnumEnergyMeterModel = exports.EnumProsumerEquipmentType = exports.EnumProsumerModel = exports.EnumProsumerType = exports.EnumEquipmentState = void 0;
|
|
3
|
+
exports.EnumSolarForecastApi = exports.EnumAppValueCollectionName = exports.EnumRowSlots = exports.EnumBillingPeriodState = exports.EnumPricingModel = exports.EnumCarOemModel = exports.EnumCarOem = exports.EnumEventSeverity = exports.EnumEventSource = exports.EnumUserStatus = exports.EnumGeneratorSetType = exports.EnumEquipmentType = exports.TimeInterval = exports.EnumCameraModel = exports.EnumCustomerContractState = exports.EnumPvStringState = exports.EnumHttpProtocol = exports.EnumInvoiceTopic = exports.EnumBookingReason = exports.EnumInvoiceState = exports.EnumWallBoxState = exports.EnumTariffConsumptionType = exports.EnumThermometerModel = exports.EnumRemotelyControlledSwitchModel = exports.EnumEnergyMeterModel = exports.EnumProsumerEquipmentType = exports.EnumProsumerModel = exports.EnumProsumerType = exports.EnumEquipmentState = void 0;
|
|
4
4
|
var EnumEquipmentState;
|
|
5
5
|
(function (EnumEquipmentState) {
|
|
6
6
|
EnumEquipmentState["ON"] = "ON";
|
|
@@ -173,3 +173,7 @@ var EnumAppValueCollectionName;
|
|
|
173
173
|
EnumAppValueCollectionName["SITE_ADDRESS"] = "SITE_ADDRESS";
|
|
174
174
|
EnumAppValueCollectionName["SITE_OWNER"] = "SITE_OWNER";
|
|
175
175
|
})(EnumAppValueCollectionName || (exports.EnumAppValueCollectionName = EnumAppValueCollectionName = {}));
|
|
176
|
+
var EnumSolarForecastApi;
|
|
177
|
+
(function (EnumSolarForecastApi) {
|
|
178
|
+
EnumSolarForecastApi["FORECAST_DOT_SOLAR"] = "FORECAST_DOT_SOLAR";
|
|
179
|
+
})(EnumSolarForecastApi || (exports.EnumSolarForecastApi = EnumSolarForecastApi = {}));
|
package/src/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
EnumPvStringState,
|
|
19
19
|
EnumRemotelyControlledSwitchModel,
|
|
20
20
|
EnumRowSlots,
|
|
21
|
+
EnumSolarForecastApi,
|
|
21
22
|
EnumTariffConsumptionType,
|
|
22
23
|
EnumThermometerModel,
|
|
23
24
|
} from '../enums'
|
|
@@ -547,7 +548,7 @@ export interface IConfigParam {
|
|
|
547
548
|
prefix?: string
|
|
548
549
|
suffix?: string
|
|
549
550
|
minLengthInPx?: number
|
|
550
|
-
|
|
551
|
+
slots?: EnumRowSlots
|
|
551
552
|
}
|
|
552
553
|
}
|
|
553
554
|
|
|
@@ -558,3 +559,9 @@ export interface IAppValueCollectionConfig {
|
|
|
558
559
|
}
|
|
559
560
|
params: IConfigParam[]
|
|
560
561
|
}
|
|
562
|
+
|
|
563
|
+
export interface ISolarForecastApi {
|
|
564
|
+
name: EnumSolarForecastApi
|
|
565
|
+
requestIntervalInH: number
|
|
566
|
+
params: IConfigParam[]
|
|
567
|
+
}
|