@e-trias/woonplan 1.0.94 → 1.0.96

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.94",
5
+ "version": "1.0.96",
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
@@ -577,11 +577,19 @@ export interface IHouseobject{
577
577
  measuredatas ?: IMeasuredata[]
578
578
  }
579
579
 
580
+ interface IHouselevel{
581
+ id : string
582
+ deleted : boolean
583
+ sortorder : number
584
+ userdataid ?: string
585
+ }
586
+
580
587
  export interface IHouse{
581
588
  windowframeparts : IWindowframepart[],
582
589
  floors : IFloor[],
583
590
  walls : IWall[],
584
- roofs : IRoof[]
591
+ roofs : IRoof[],
592
+ houselevels : IHouselevel[]
585
593
  }
586
594
 
587
595
  export interface IAbstractHouseObjectType{
@@ -978,4 +986,13 @@ interface EnergyIOState{
978
986
  draft: EnergyIO
979
987
  ventilation: EnergyIO
980
988
  internal: EnergyOutput
989
+ }
990
+
991
+
992
+
993
+ type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels"
994
+ type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
995
+
996
+ interface IHouseObjectWithMeasuredatas extends IHouseobject{
997
+ measuredatas : IMeasuredata[]
981
998
  }