@e-trias/woonplan 1.3.183 → 1.3.185
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 +1 -1
- package/types.d.ts +13 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1619,10 +1619,16 @@ export interface IUserdatahousewish{
|
|
|
1619
1619
|
|
|
1620
1620
|
type Fuel = "gas" | "electricity" | "heatnetwork" | "wood" | "oil" | "pellets"
|
|
1621
1621
|
|
|
1622
|
+
type Month = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "okt" | "nov" | "dec"
|
|
1623
|
+
|
|
1622
1624
|
type FuelDistribution = {
|
|
1623
1625
|
[k in Fuel]: number
|
|
1624
1626
|
}
|
|
1625
1627
|
|
|
1628
|
+
type FuelDistributionPerMonth = {
|
|
1629
|
+
[k in Month]: FuelDistribution
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1626
1632
|
|
|
1627
1633
|
interface IEnergyconsumption extends FuelDistribution{
|
|
1628
1634
|
water : number
|
|
@@ -1664,22 +1670,29 @@ interface IUsageExtended extends IUsage{
|
|
|
1664
1670
|
warmwater : {
|
|
1665
1671
|
calculated ?: FuelDistribution,
|
|
1666
1672
|
actual : FuelDistribution
|
|
1673
|
+
perMonth : FuelDistributionPerMonth
|
|
1667
1674
|
}
|
|
1668
1675
|
heating : {
|
|
1669
1676
|
calculated ?: FuelDistribution,
|
|
1670
1677
|
actual : FuelDistribution
|
|
1678
|
+
perMonth : FuelDistributionPerMonth
|
|
1671
1679
|
}
|
|
1672
1680
|
cooking : {
|
|
1673
1681
|
calculated ?: FuelDistribution,
|
|
1674
1682
|
actual : FuelDistribution
|
|
1683
|
+
perMonth : FuelDistributionPerMonth
|
|
1675
1684
|
}
|
|
1676
1685
|
household : {
|
|
1677
1686
|
calculated ?: FuelDistribution,
|
|
1678
1687
|
actual : FuelDistribution
|
|
1688
|
+
perMonth : FuelDistributionPerMonth
|
|
1679
1689
|
}
|
|
1680
1690
|
},
|
|
1681
1691
|
applianceextras ?: FuelDistribution,
|
|
1682
1692
|
appliancesavings ?: FuelDistribution,
|
|
1693
|
+
excessSolar ?: IEnergyyear,
|
|
1694
|
+
householdSolarYield ?: IEnergyyear,
|
|
1695
|
+
gasfreeSolarYield ?: IEnergyyear,
|
|
1683
1696
|
}
|
|
1684
1697
|
|
|
1685
1698
|
interface ICosts{
|