energy-flow-control--types-and-enums 1.0.247 → 1.0.248
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 +3 -1
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ import {
|
|
|
29
29
|
EnumValueReadingSourceType,
|
|
30
30
|
} from '../enums'
|
|
31
31
|
|
|
32
|
+
export type Nullable<T> = { [K in keyof T]: T[K] | null }
|
|
33
|
+
|
|
32
34
|
export interface IProsumer extends ITimeTravelProps {
|
|
33
35
|
type: EnumProsumerType
|
|
34
36
|
model: EnumProsumerModel
|
|
@@ -122,7 +124,7 @@ export interface IAuthenticationConfig {
|
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
|
|
125
|
-
export type INewTariffPlan = Omit<ITariffPlan, 'positions' | keyof ITimeTravelProps
|
|
127
|
+
export type INewTariffPlan = Nullable<Omit<ITariffPlan, 'positions' | keyof ITimeTravelProps>> & {
|
|
126
128
|
positions: Omit<ITariffPlanPrice, 'tariffPlanId' | keyof ITimeTravelProps> []
|
|
127
129
|
}
|
|
128
130
|
|