@likewatt/models-front 1.18.2 → 1.20.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.
@@ -0,0 +1,17 @@
1
+ export interface Comments {
2
+ CostPerMonth?: string;
3
+ DailyProfile?: string;
4
+ EnergyBalance?: string;
5
+ LineBalanceSheet?: string;
6
+ LoadCurve?: string;
7
+ ScenarioTable?: string;
8
+ TotalCost?: string;
9
+ TotalEnergy?: string;
10
+ GridEnergeticMix?: string;
11
+ LineBalanceSheetFromPopUp?: string;
12
+ Opex?: string;
13
+ PV_EnergeticMix?: string;
14
+ TechSummary?: string;
15
+ VanFromPopUp?: string;
16
+ Van?: string;
17
+ }
@@ -1,3 +1,4 @@
1
+ import { Comments } from '../common/Comments.types';
1
2
  export declare class Objective {
2
3
  id: number;
3
4
  name: string;
@@ -57,6 +58,7 @@ export declare class ConfigSite {
57
58
  export declare class Scenario {
58
59
  _id: string;
59
60
  color?: string;
61
+ comments?: Comments;
60
62
  configScenario: ConfigScenario;
61
63
  configSite?: Record<string, ConfigSite>;
62
64
  error?: boolean;
@@ -1,10 +1,11 @@
1
+ import { Comments } from '../common/Comments.types';
1
2
  import { BuildingData } from '../site/BuildingData.types';
2
3
  import { ConsumptionIndexes } from '../site/ConsumptionIndexes.types';
3
4
  import { CustomerInfos } from '../site/CustomerInfos.types';
4
5
  import { DataSourceHistory } from '../site/DataSourceHistory.types';
5
6
  import { EnergyPrice } from '../site/EnergyPrice.types';
6
7
  import { EnergyPriceTempo } from '../site/EnergyPriceTempo.types';
7
- import { Profiles, SiteType } from '../site/enums.types';
8
+ import { BuildingDataStatus, Profiles, SiteType } from '../site/enums.types';
8
9
  import { OffPeakHour } from '../site/OffPeakHour.types';
9
10
  import { PeakHour } from '../site/PeakHour.types';
10
11
  import { RestOfTheYearTarifs } from '../site/RestOfTheYearTarifs.types';
@@ -57,8 +58,10 @@ export interface Site {
57
58
  _step3At?: Date | string;
58
59
  analysisYear?: number;
59
60
  buildingData?: BuildingData | null;
61
+ buildingDataStatus?: BuildingDataStatus | null;
60
62
  autoCO2: boolean;
61
63
  co2rate: number | null;
64
+ comments?: Comments;
62
65
  connectingPower: number;
63
66
  consentFileUrl?: string;
64
67
  consumptionIndexes?: ConsumptionIndexes;
package/dist/index.d.ts CHANGED
@@ -39,9 +39,11 @@ export * from './site/EnergyPrice.types';
39
39
  export * from './site/EnergyPriceTempo.types';
40
40
  export * from './site/enums.types';
41
41
  export * from './site/ImageryDate.types';
42
+ export * from './site/LatLng.types';
42
43
  export * from './site/OffPeakHour.types';
43
44
  export * from './site/PeakHour.types';
44
45
  export * from './site/RestOfTheYearTarifs.types';
45
46
  export * from './site/SolarPotential.types';
46
47
  export * from './site/Tarif.types';
47
48
  export * from './core/SiteConstants';
49
+ export * from './common/Comments.types';
package/dist/index.js CHANGED
@@ -58,9 +58,12 @@ __exportStar(require("./site/EnergyPrice.types"), exports);
58
58
  __exportStar(require("./site/EnergyPriceTempo.types"), exports);
59
59
  __exportStar(require("./site/enums.types"), exports);
60
60
  __exportStar(require("./site/ImageryDate.types"), exports);
61
+ __exportStar(require("./site/LatLng.types"), exports);
61
62
  __exportStar(require("./site/OffPeakHour.types"), exports);
62
63
  __exportStar(require("./site/PeakHour.types"), exports);
63
64
  __exportStar(require("./site/RestOfTheYearTarifs.types"), exports);
64
65
  __exportStar(require("./site/SolarPotential.types"), exports);
65
66
  __exportStar(require("./site/Tarif.types"), exports);
66
67
  __exportStar(require("./core/SiteConstants"), exports);
68
+ // Common exports
69
+ __exportStar(require("./common/Comments.types"), exports);
@@ -1,4 +1,4 @@
1
- import { LatLng } from "./LatLng";
1
+ import { LatLng } from "./LatLng.types";
2
2
  export interface BoundingBox {
3
3
  ne: LatLng;
4
4
  sw: LatLng;
@@ -1,6 +1,6 @@
1
1
  import { BoundingBox } from './BoundingBox.types';
2
2
  import { ImageryDate } from './ImageryDate.types';
3
- import { LatLng } from './LatLng';
3
+ import { LatLng } from './LatLng.types';
4
4
  import { SolarPotential } from './SolarPotential.types';
5
5
  export interface BuildingData {
6
6
  boundingBox: BoundingBox;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -85,3 +85,7 @@ export declare enum UseCase {
85
85
  export declare enum Reference {
86
86
  REFERENCE = "REFERENCE"
87
87
  }
88
+ export declare enum BuildingDataStatus {
89
+ OK = "OK",
90
+ NOT_COVERED = "NOT_COVERED"
91
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Reference = exports.UseCase = exports.TrackerType = exports.FinancingTypeEnum = exports.Profiles = exports.SiteType = exports.FileName_Extra = exports.FileType = void 0;
3
+ exports.BuildingDataStatus = exports.Reference = exports.UseCase = exports.TrackerType = exports.FinancingTypeEnum = exports.Profiles = exports.SiteType = exports.FileName_Extra = exports.FileType = void 0;
4
4
  var FileType;
5
5
  (function (FileType) {
6
6
  FileType["DATA"] = "ConsoData.csv";
@@ -96,3 +96,8 @@ var Reference;
96
96
  (function (Reference) {
97
97
  Reference["REFERENCE"] = "REFERENCE";
98
98
  })(Reference || (exports.Reference = Reference = {}));
99
+ var BuildingDataStatus;
100
+ (function (BuildingDataStatus) {
101
+ BuildingDataStatus["OK"] = "OK";
102
+ BuildingDataStatus["NOT_COVERED"] = "NOT_COVERED";
103
+ })(BuildingDataStatus || (exports.BuildingDataStatus = BuildingDataStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.18.2",
3
+ "version": "1.20.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
File without changes