hububb-models 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/models/listing.d.ts +6 -5
- package/src/models/listing.ts +6 -5
package/package.json
CHANGED
package/src/models/listing.d.ts
CHANGED
@@ -2,6 +2,7 @@ import { Timestamp } from "@firebase/firestore-types";
|
|
2
2
|
|
3
3
|
export interface Listing {
|
4
4
|
id?: string;
|
5
|
+
guestyId?: string;
|
5
6
|
accountId?: string;
|
6
7
|
createdAt: Timestamp;
|
7
8
|
isVirtual?: boolean;
|
@@ -16,7 +17,7 @@ export interface Listing {
|
|
16
17
|
beds?: number;
|
17
18
|
areaSquareFeet?: number;
|
18
19
|
address: Address;
|
19
|
-
publishedAddress
|
20
|
+
publishedAddress?: {
|
20
21
|
full: string;
|
21
22
|
lng: number;
|
22
23
|
lat: number;
|
@@ -49,11 +50,11 @@ export interface Listing {
|
|
49
50
|
currency: string;
|
50
51
|
cleaningFee: number;
|
51
52
|
};
|
52
|
-
netIncomeFormula
|
53
|
-
commissionFormula
|
54
|
-
commissionTaxPrecentage
|
53
|
+
netIncomeFormula?: string;
|
54
|
+
commissionFormula?: string;
|
55
|
+
commissionTaxPrecentage?: string;
|
55
56
|
|
56
|
-
paymentProcessing
|
57
|
+
paymentProcessing?: {
|
57
58
|
active: boolean;
|
58
59
|
paymentProviders: {
|
59
60
|
stripe: {
|
package/src/models/listing.ts
CHANGED
@@ -2,6 +2,7 @@ import { Timestamp } from "@firebase/firestore-types";
|
|
2
2
|
|
3
3
|
export interface Listing {
|
4
4
|
id?: string;
|
5
|
+
guestyId?: string;
|
5
6
|
accountId?: string;
|
6
7
|
createdAt: Timestamp;
|
7
8
|
isVirtual?: boolean;
|
@@ -16,7 +17,7 @@ export interface Listing {
|
|
16
17
|
beds?: number;
|
17
18
|
areaSquareFeet?: number;
|
18
19
|
address: Address;
|
19
|
-
publishedAddress
|
20
|
+
publishedAddress?: {
|
20
21
|
full: string;
|
21
22
|
lng: number;
|
22
23
|
lat: number;
|
@@ -49,11 +50,11 @@ export interface Listing {
|
|
49
50
|
currency: string;
|
50
51
|
cleaningFee: number;
|
51
52
|
};
|
52
|
-
netIncomeFormula
|
53
|
-
commissionFormula
|
54
|
-
commissionTaxPrecentage
|
53
|
+
netIncomeFormula?: string;
|
54
|
+
commissionFormula?: string;
|
55
|
+
commissionTaxPrecentage?: string;
|
55
56
|
|
56
|
-
paymentProcessing
|
57
|
+
paymentProcessing?: {
|
57
58
|
active: boolean;
|
58
59
|
paymentProviders: {
|
59
60
|
stripe: {
|