hububb-models 1.0.27 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -76,12 +76,16 @@ export interface Listing {
76
76
  };
77
77
  active: boolean;
78
78
  publicDescription: any;
79
- frontDoor?: string;
80
- mainDoor?: string;
79
+ frontDoor?: Door;
80
+ mainDoor?: Door;
81
81
  noAptKey?: boolean;
82
82
  aptKey?: boolean;
83
83
  keyMethod?: "unlock" | "open"
84
84
  }
85
+ export interface Door{
86
+ id?:string;
87
+ method?: "unlock" | "open"
88
+ }
85
89
  export interface Address {
86
90
  full: string;
87
91
  lng: number;
@@ -76,12 +76,16 @@ export interface Listing {
76
76
  };
77
77
  active: boolean;
78
78
  publicDescription: any;
79
- frontDoor?: string;
80
- mainDoor?: string;
79
+ frontDoor?: Door;
80
+ mainDoor?: Door;
81
81
  noAptKey?: boolean;
82
82
  aptKey?: boolean;
83
83
  keyMethod?: "unlock" | "open"
84
84
  }
85
+ export interface Door{
86
+ id?:string;
87
+ method?: "unlock" | "open"
88
+ }
85
89
  export interface Address {
86
90
  full: string;
87
91
  lng: number;