@e-trias/woonplan 1.0.93 → 1.0.95

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@e-trias/woonplan",
3
3
  "private": false,
4
4
  "types": "types.d.ts",
5
- "version": "1.0.93",
5
+ "version": "1.0.95",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
8
  "build": "tsc -p tsconfig.json"
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es5",
3
+ "target": "es2021",
4
4
  "module": "commonjs",
5
5
  "declaration": true,
6
6
  "outDir": "./dist",
package/types.d.ts CHANGED
@@ -952,4 +952,39 @@ interface ZonatlasResult{
952
952
  interface ZonatlasResponse {
953
953
  request : ZonatlasRequest
954
954
  results : ZonatlasResult[]
955
+ }
956
+
957
+
958
+ interface EnergyOutput{
959
+ output : number
960
+ }
961
+ interface EnergyInput{
962
+ input : number
963
+ }
964
+
965
+ interface EnergyIO extends EnergyOutput, EnergyInput{}
966
+
967
+ interface EntityEnergyIO extends EnergyIO{
968
+ id : string
969
+ }
970
+
971
+ interface EnergyIOState{
972
+ floors : EntityEnergyIO[]
973
+ walls : EntityEnergyIO[]
974
+ roofs : EntityEnergyIO[]
975
+ windowframeparts : EntityEnergyIO[]
976
+ coldbridges : EnergyIO
977
+ perimeter: EnergyIO
978
+ draft: EnergyIO
979
+ ventilation: EnergyIO
980
+ internal: EnergyOutput
981
+ }
982
+
983
+
984
+
985
+ type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs"
986
+ type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
987
+
988
+ interface IHouseObjectWithMeasuredatas extends IHouseobject{
989
+ measuredatas : IMeasuredata[]
955
990
  }