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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "energy-flow-control--types-and-enums",
3
- "version": "1.0.247",
3
+ "version": "1.0.248",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -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