@e-trias/woonplan 1.0.65 → 1.0.66

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +47 -0
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.65",
5
+ "version": "1.0.66",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
8
  "build": "tsc -p tsconfig.json"
package/types.d.ts CHANGED
@@ -126,7 +126,54 @@ export interface IUserdata{
126
126
  sloperoofshouldberedone ?: boolean
127
127
  shouldceilingbepaneled ?: boolean
128
128
  allowlowerceiling ?: string
129
+ housetemplateid ?: string
130
+
131
+ }
132
+
133
+
134
+ export enum Housetype {
135
+ terraced = "terraced-middle",
136
+ terracedright = "terraced-right" ,
137
+ terracedleft = "terraced-left" ,
138
+ semidetachedleft = "semi-detached-left",
139
+ semidetachedright = "semi-detached-right" ,
140
+ detached = "detached"
141
+ }
142
+
143
+ export type IHousetemplateCalculationDataPerHousetype = {
144
+ [key in Housetype] : number
145
+ }
146
+
147
+ export interface IHousetemplateCalculationData{
148
+ windowenergylosses : IHousetemplateCalculationDataPerHousetype
149
+ windowaverageus : IHousetemplateCalculationDataPerHousetype
150
+ coldbridges : IHousetemplateCalculationDataPerHousetype
151
+ perimeter : IHousetemplateCalculationDataPerHousetype
152
+ wallenergylosses : IHousetemplateCalculationDataPerHousetype
153
+ roofenergylosses : IHousetemplateCalculationDataPerHousetype
154
+ floorenergylosses : IHousetemplateCalculationDataPerHousetype
155
+ windowsurfaces : IHousetemplateCalculationDataPerHousetype
156
+ wallsurfaces : IHousetemplateCalculationDataPerHousetype
157
+ roofsurfaces : IHousetemplateCalculationDataPerHousetype
158
+ floorsurfaces : IHousetemplateCalculationDataPerHousetype
159
+ flooruninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
160
+ walluninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
161
+ roofuninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
162
+ flooraverageus : IHousetemplateCalculationDataPerHousetype
163
+ wallaverageus : IHousetemplateCalculationDataPerHousetype
164
+ roofaverageus : IHousetemplateCalculationDataPerHousetype
165
+ usagesurface : number
166
+ graaddagenmaandmethode : number
167
+ graaddagenjaarmethode : number
168
+ insulatedreductionfactors : {
169
+ wall : number
170
+ floor : number
171
+ roof : number
172
+ }
173
+ }
129
174
 
175
+ export interface IHousetemplate{
176
+ calculationdata ?: IHousetemplateCalculationData
130
177
  }
131
178
 
132
179
  export interface Solarapicall{