@e-trias/woonplan 1.0.65 → 1.0.68

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 +56 -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.68",
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,9 +126,65 @@ export interface IUserdata{
126
126
  sloperoofshouldberedone ?: boolean
127
127
  shouldceilingbepaneled ?: boolean
128
128
  allowlowerceiling ?: string
129
+ housetemplateid ?: string
130
+ housetypeid ?: string
129
131
 
130
132
  }
131
133
 
134
+
135
+
136
+ export enum Housetypename {
137
+ terraced = "terraced-middle",
138
+ terracedright = "terraced-right" ,
139
+ terracedleft = "terraced-left" ,
140
+ semidetachedleft = "semi-detached-left",
141
+ semidetachedright = "semi-detached-right" ,
142
+ detached = "detached"
143
+ }
144
+
145
+ export type IHousetemplateCalculationDataPerHousetype = {
146
+ [key in Housetypename] : number
147
+ }
148
+
149
+ export interface IHousetype{
150
+ id : string
151
+ deleted : boolean
152
+ name : Housetypename
153
+ }
154
+
155
+ export interface IHousetemplateCalculationData{
156
+ windowenergylosses : IHousetemplateCalculationDataPerHousetype
157
+ windowaverageus : IHousetemplateCalculationDataPerHousetype
158
+ coldbridges : IHousetemplateCalculationDataPerHousetype
159
+ perimeter : IHousetemplateCalculationDataPerHousetype
160
+ wallenergylosses : IHousetemplateCalculationDataPerHousetype
161
+ roofenergylosses : IHousetemplateCalculationDataPerHousetype
162
+ floorenergylosses : IHousetemplateCalculationDataPerHousetype
163
+ windowsurfaces : IHousetemplateCalculationDataPerHousetype
164
+ wallsurfaces : IHousetemplateCalculationDataPerHousetype
165
+ roofsurfaces : IHousetemplateCalculationDataPerHousetype
166
+ floorsurfaces : IHousetemplateCalculationDataPerHousetype
167
+ flooruninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
168
+ walluninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
169
+ roofuninsulatedreductionfactors : IHousetemplateCalculationDataPerHousetype
170
+ flooraverageus : IHousetemplateCalculationDataPerHousetype
171
+ wallaverageus : IHousetemplateCalculationDataPerHousetype
172
+ roofaverageus : IHousetemplateCalculationDataPerHousetype
173
+ usagesurface : number
174
+ graaddagenmaandmethode : number
175
+ graaddagenjaarmethode : number
176
+ insulatedreductionfactors : {
177
+ wall : number
178
+ floor : number
179
+ roof : number
180
+ }
181
+ }
182
+
183
+ export interface IHousetemplate{
184
+ id ?: string
185
+ calculationdata ?: IHousetemplateCalculationData
186
+ }
187
+
132
188
  export interface Solarapicall{
133
189
  id:string
134
190
  deleted:boolean