@e-trias/woonplan 1.0.40 → 1.0.43

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.
package/package.json CHANGED
@@ -2,10 +2,11 @@
2
2
  "name": "@e-trias/woonplan",
3
3
  "private": false,
4
4
  "types": "index.d.ts",
5
- "version": "1.0.40",
5
+ "version": "1.0.43",
6
6
  "main": "index.d.ts",
7
7
  "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "build": "tsc -p tsconfig.json"
9
10
  },
10
11
  "repository": {
11
12
  "type": "git",
@@ -19,6 +20,7 @@
19
20
  "homepage": "https://github.com/e-line-websolutions/woonplan-types#readme",
20
21
  "description": "",
21
22
  "dependencies": {
22
- "@types/uuidv4": "^5.0.0"
23
+ "@types/uuidv4": "^5.0.0",
24
+ "typescript": "^4.5.5"
23
25
  }
24
26
  }
package/tsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "commonjs",
5
+ "declaration": true,
6
+ "outDir": "./dist",
7
+ "strict": true
8
+ }
9
+ }
@@ -4,7 +4,7 @@ export interface Contact{
4
4
  infix?: string | null
5
5
  lastname?: string
6
6
  active?: boolean
7
- email?: string
7
+ email?: string
8
8
  username?: string
9
9
  postcode?: string
10
10
  phone?: string
@@ -454,13 +454,15 @@ export interface ICrawlspace{
454
454
  height ?: number
455
455
  wet ?: string
456
456
 
457
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
458
+
457
459
  }
458
460
  export interface ICrawlspaceinfloor{
459
461
  deleted ?: boolean
460
462
  id ?: string
461
463
  sortorder ?: number
462
- floorid : string
463
- crawlspaceid : string
464
+ floorid ?: string
465
+ crawlspaceid ?: string
464
466
  surface ?: number
465
467
  }
466
468
 
@@ -471,7 +473,8 @@ export interface IFloor extends IHouseobject{
471
473
  historic ?: boolean
472
474
  woodneedsreplacing ?: string
473
475
  woodandbeamsneedsreplacing ?: string
474
- flatbottom ?: boolean
476
+ flatbottom ?: boolean
477
+ crawlspacesinfloor ?: ICrawlspaceinfloor[]
475
478
  }
476
479
 
477
480