@e-trias/woonplan 1.1.69 → 1.1.71

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 +76 -7
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.1.69",
5
+ "version": "1.1.71",
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
@@ -1248,13 +1248,82 @@ interface ICosts{
1248
1248
 
1249
1249
  interface ICustomAdviceCombination{
1250
1250
  insulation : {
1251
- [index:string] : string
1251
+ [index:string] : string | null | undefined
1252
1252
  }
1253
- draft : string | null
1254
- ventilation : string | null
1255
- gasfreeoption : string | null
1253
+ draft : string | null | undefined
1254
+ ventilation : string | null | undefined
1255
+ gasfreeoption : string | null | undefined
1256
1256
  solar : {
1257
- household : string | null
1258
- gasfree : string | null
1257
+ household : string | null | undefined
1258
+ gasfree : string | null | undefined
1259
1259
  }
1260
- }
1260
+ }
1261
+
1262
+
1263
+
1264
+
1265
+ export interface HouseObjectSettings{
1266
+ floor : number | IHousetemplateCalculationDataPerHousetype | { u: number; factor: number; }[]
1267
+ wall : number
1268
+ windowframepart : number
1269
+ roof : number
1270
+ }
1271
+
1272
+ type IOperation = "multiplication" | "division"
1273
+
1274
+
1275
+ type Orientation = "z" | "z/w" | "w" | "n/w" | "n" | "n/o" | "o" | "z/o"
1276
+
1277
+ export interface ITemperaturecalcdata extends ILogged{
1278
+ savingsinenergyfactor: string | null
1279
+ returnpercentagefactor: string | null,
1280
+ paybackfactor: string | null
1281
+ saving1: string | null
1282
+ saving2: string | null
1283
+ rc1: string | null
1284
+ rc2: string | null
1285
+ vereffening: string | null
1286
+ operation: IOperation | null
1287
+ openstairs: boolean | null
1288
+ floorheating: boolean | null
1289
+ measureid: string | null
1290
+ roomheated: boolean | null
1291
+ househasonehouselevel: boolean | null
1292
+ noexistingmeasure: boolean | null
1293
+ }
1294
+
1295
+
1296
+ export type DraftProfile = 1 | 2 | 3 | 4
1297
+ export type DraftFactor = number
1298
+
1299
+ export interface DraftProfileSetting{
1300
+ profile : DraftProfile
1301
+ factor : DraftFactor
1302
+ default ?:boolean
1303
+ }
1304
+
1305
+ export interface Uninsulatedenergylosses extends HouseObjectSettings{
1306
+ }
1307
+
1308
+ export interface Uninsulatedu extends HouseObjectSettings{
1309
+ }
1310
+
1311
+ export interface Reductionfactors extends HouseObjectSettings{
1312
+ }
1313
+ export interface HouseContructionParams{
1314
+ surface:number
1315
+ coldbridgesenergyloss:number | null
1316
+ graaddagenjaarmethode:number | null
1317
+ graaddagenmaandmethode:number | null
1318
+ draftprofile:DraftProfile | null
1319
+ perimeterenergyloss:number | null
1320
+ uninsulatedenergylosses : Uninsulatedenergylosses
1321
+ uninsulatedu : Uninsulatedu
1322
+ uninsulatedreductionfactors : Reductionfactors
1323
+ insulatedreductionfactors : Reductionfactors
1324
+ openstairs : boolean
1325
+ floorheating : boolean
1326
+ househasonehouselevel : boolean,
1327
+ temperaturecalcdatas ?:ITemperaturecalcdata[]
1328
+ frontorientation ?: Orientation
1329
+ }