@e-trias/woonplan 1.2.39 → 1.2.41

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 +53 -6
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.2.39",
5
+ "version": "1.2.41",
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
@@ -1158,18 +1158,13 @@ export interface EnergyIOState{
1158
1158
 
1159
1159
 
1160
1160
 
1161
- export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"
1161
+ export type IHouseObjectName = "walls" | "floors" | "windowframeparts" | "roofs" | "houselevels" | "solar" | "installations"| "ventilation"| "draft"
1162
1162
  type IHouseMap = Map< IHouseObjectName , IHouseObjectWithMeasuredatas[]>
1163
1163
 
1164
1164
  export interface IHouseObjectWithMeasuredatas extends IHouseobject{
1165
1165
  measuredatas : IMeasuredata[]
1166
1166
  }
1167
1167
 
1168
- export interface IAnsweroption{
1169
- id : string
1170
- questionid ?: string | null
1171
-
1172
- }
1173
1168
 
1174
1169
  export interface IUseranswer{
1175
1170
  id : string
@@ -1431,3 +1426,55 @@ interface IAnnualreportSave{
1431
1426
  amount : number
1432
1427
  delete ?: boolean
1433
1428
  }
1429
+
1430
+
1431
+ export interface IQuestionset{
1432
+ id : string
1433
+ collectionid ?: string
1434
+ questions ?: IQuestion[]
1435
+ }
1436
+
1437
+ export interface IQuestion{
1438
+ sortorder: number;
1439
+ informationtext: string | null;
1440
+ informationimage: string | null;
1441
+ min: number | null;
1442
+ max: number | null;
1443
+ step: number | null;
1444
+ placeholder: string | null;
1445
+ questiontype: IQuestiontype | null;
1446
+ image: string | null;
1447
+ answeroptions: IAnsweroption[];
1448
+ body: string | null;
1449
+ posttext: string | null;
1450
+ id: string;
1451
+ status: string;
1452
+ name: string;
1453
+ useranswers: IUseranswer[]
1454
+ active : boolean;
1455
+ error?: {
1456
+ [index:string] : any
1457
+ }
1458
+ required?:boolean
1459
+ viewing:boolean
1460
+ shortname : string | null
1461
+ }
1462
+
1463
+ export interface IQuestiontype{
1464
+ name: string;
1465
+ id: string;
1466
+ }
1467
+ export interface IAnsweroption{
1468
+ selected: boolean;
1469
+ informationtext: string | null;
1470
+ name: string;
1471
+ informationimage: string | null;
1472
+ image: string | null;
1473
+ hasinput: boolean;
1474
+ id: string;
1475
+ value: string | null;
1476
+ placeholder?: string
1477
+ min?:number
1478
+ max?:number
1479
+ step?:number
1480
+ }