@likewatt/models-front 1.90.1 → 1.92.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.
@@ -1,4 +1,5 @@
1
- import { SiteType } from '../site/enums.types';
1
+ import { BuildingData } from '../site/BuildingData.types';
2
+ import { BuildingDataStatus, SiteType } from '../site/enums.types';
2
3
  export interface CollectiveSite {
3
4
  _id: string;
4
5
  addressGeocode: number[];
@@ -27,4 +28,6 @@ export interface CollectiveSite {
27
28
  timezone: number;
28
29
  sites: string[];
29
30
  hasAnalysis: boolean;
31
+ buildingData?: BuildingData | null;
32
+ buildingDataStatus?: BuildingDataStatus | null;
30
33
  }
@@ -7,16 +7,12 @@ export declare class Objective {
7
7
  unit2?: string;
8
8
  value2?: number;
9
9
  }
10
- export declare class Month {
11
- month: number;
12
- year?: number;
13
- }
14
10
  export declare class DemandMultiplierSlot {
15
11
  days: number[];
16
12
  demandMultiplier?: number;
17
13
  endHour?: string;
18
14
  id: string;
19
- months?: Month[];
15
+ months?: number[];
20
16
  startHour?: string;
21
17
  }
22
18
  export declare class DistributionKeyValue {
@@ -24,7 +20,7 @@ export declare class DistributionKeyValue {
24
20
  distributionKey: number;
25
21
  endHour?: string;
26
22
  id: string;
27
- months?: Month[];
23
+ months?: number[];
28
24
  startHour?: string;
29
25
  }
30
26
  export declare class DistributionKey {
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScenarioType = exports.Scenario = exports.ConfigSite = exports.ConfigScenario = exports.Pv = exports.Technology = exports.RateOfGrowth = exports.DistributionKey = exports.DistributionKeyValue = exports.DemandMultiplierSlot = exports.Month = exports.Objective = void 0;
3
+ exports.ScenarioType = exports.Scenario = exports.ConfigSite = exports.ConfigScenario = exports.Pv = exports.Technology = exports.RateOfGrowth = exports.DistributionKey = exports.DistributionKeyValue = exports.DemandMultiplierSlot = exports.Objective = void 0;
4
4
  class Objective {
5
5
  }
6
6
  exports.Objective = Objective;
7
- class Month {
8
- }
9
- exports.Month = Month;
10
7
  class DemandMultiplierSlot {
11
8
  }
12
9
  exports.DemandMultiplierSlot = DemandMultiplierSlot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.90.1",
3
+ "version": "1.92.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",