@e-trias/woonplan 1.2.40 → 1.2.42

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 +64 -5
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.40",
5
+ "version": "1.2.42",
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
@@ -1165,11 +1165,6 @@ 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
@@ -1189,6 +1184,18 @@ export interface IAreaaction extends ILogged{
1189
1184
  hostname ?: string
1190
1185
  pvmark ?: string
1191
1186
  partnerid ?: string
1187
+
1188
+ }
1189
+
1190
+ export interface IQuestionsetSettings{
1191
+ id: string,
1192
+ name: string,
1193
+ rule: string,
1194
+ initial: boolean,
1195
+ adminonly: boolean,
1196
+ questionset ?: string,
1197
+ questionsets ?: IQuestionsetSettings[],
1198
+ editable_after_finish: boolean
1192
1199
  }
1193
1200
 
1194
1201
  export interface IHomeSettings{
@@ -1431,3 +1438,55 @@ interface IAnnualreportSave{
1431
1438
  amount : number
1432
1439
  delete ?: boolean
1433
1440
  }
1441
+
1442
+
1443
+ export interface IQuestionset{
1444
+ id : string
1445
+ collectionid ?: string
1446
+ questions ?: IQuestion[]
1447
+ }
1448
+
1449
+ export interface IQuestion{
1450
+ sortorder: number;
1451
+ informationtext: string | null;
1452
+ informationimage: string | null;
1453
+ min: number | null;
1454
+ max: number | null;
1455
+ step: number | null;
1456
+ placeholder: string | null;
1457
+ questiontype: IQuestiontype | null;
1458
+ image: string | null;
1459
+ answeroptions: IAnsweroption[];
1460
+ body: string | null;
1461
+ posttext: string | null;
1462
+ id: string;
1463
+ status: string;
1464
+ name: string;
1465
+ useranswers: IUseranswer[]
1466
+ active : boolean;
1467
+ error?: {
1468
+ [index:string] : any
1469
+ }
1470
+ required?:boolean
1471
+ viewing:boolean
1472
+ shortname : string | null
1473
+ }
1474
+
1475
+ export interface IQuestiontype{
1476
+ name: string;
1477
+ id: string;
1478
+ }
1479
+ export interface IAnsweroption{
1480
+ selected: boolean;
1481
+ informationtext: string | null;
1482
+ name: string;
1483
+ informationimage: string | null;
1484
+ image: string | null;
1485
+ hasinput: boolean;
1486
+ id: string;
1487
+ value: string | null;
1488
+ placeholder?: string
1489
+ min?:number
1490
+ max?:number
1491
+ step?:number
1492
+ }