@likewatt/models-front 1.105.0 → 1.107.1
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,15 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Commentaires libres saisis par l'utilisateur, indexés par emplacement dans
|
|
3
|
+
* l'application.
|
|
4
|
+
*
|
|
5
|
+
* La signature d'index n'est pas une commodité : le front génère des clés
|
|
6
|
+
* dynamiquement, une par technologie du mix (`PV_EnergeticMix_${techName}`), et
|
|
7
|
+
* la liste des technologies n'est pas connue à la compilation. Le schéma
|
|
8
|
+
* Mongoose côté `likewatt-models` est passé en `strict: false` pour la même
|
|
9
|
+
* raison ; ce typage s'aligne dessus.
|
|
10
|
+
*
|
|
11
|
+
* Les clés ci-dessous sont celles effectivement utilisées aujourd'hui, gardées
|
|
12
|
+
* explicites à titre de documentation. Elles ne sont pas exhaustives et le
|
|
13
|
+
* typage ne les contraint pas : en ajouter une n'est jamais un changement
|
|
14
|
+
* cassant.
|
|
15
|
+
*/
|
|
1
16
|
export interface Comments {
|
|
17
|
+
[key: string]: string | undefined;
|
|
18
|
+
ConsumerEnergyBalance?: string;
|
|
2
19
|
CostPerMonth?: string;
|
|
3
20
|
DailyProfile?: string;
|
|
4
21
|
EnergyBalance?: string;
|
|
5
22
|
LineBalanceSheet?: string;
|
|
6
23
|
LoadCurve?: string;
|
|
24
|
+
Report?: string;
|
|
7
25
|
ScenarioTable?: string;
|
|
26
|
+
TechModeling?: string;
|
|
8
27
|
TotalCost?: string;
|
|
9
28
|
TotalEnergy?: string;
|
|
10
29
|
Grid_EnergeticMix?: string;
|
|
11
30
|
LineBalanceSheetFromPopUp?: string;
|
|
12
31
|
Opex?: string;
|
|
32
|
+
/** Le mix global. Les mix par technologie sont sous `PV_EnergeticMix_<techName>`. */
|
|
13
33
|
PV_EnergeticMix?: string;
|
|
14
34
|
TechSummary?: string;
|
|
15
35
|
VanFromPopUp?: string;
|
package/dist/core/User.type.d.ts
CHANGED