@likewatt/models-front 1.112.0 → 1.113.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.
@@ -29,6 +29,8 @@ export interface CollectiveSite {
29
29
  timezone: number;
30
30
  sites: string[];
31
31
  hasAnalysis: boolean;
32
+ /** Calculé à la lecture par l'API (jamais stocké) : au moins un scénario du site a `isOptimized: true`. */
33
+ hasOptimizedScenario?: boolean;
32
34
  buildingData?: BuildingData | null;
33
35
  buildingDataStatus?: BuildingDataStatus | null;
34
36
  demoTemplateSourceId?: string;
@@ -142,6 +142,8 @@ export interface Site {
142
142
  hasConsoData: boolean;
143
143
  hasInjectionData: boolean;
144
144
  hasAnalysis: boolean;
145
+ /** Calculé à la lecture par l'API (jamais stocké) : au moins un scénario du site a `isOptimized: true`. */
146
+ hasOptimizedScenario?: boolean;
145
147
  hasContractData: boolean;
146
148
  scenarioOption?: string;
147
149
  invoiceData?: InvoiceOcrResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models-front",
3
- "version": "1.112.0",
3
+ "version": "1.113.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",