hububb-models 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.d.ts +2 -0
- package/src/index.ts +4 -1
- package/src/models/reservation/reservation.d.ts +18 -0
- package/src/models/reservation/reservation.js +2 -0
- package/src/models/reservation/reservation.ts +18 -0
- package/src/models/user/user.ts +6 -0
- /package/src/models/{listing.d.ts → listing/listing.d.ts} +0 -0
- /package/src/models/{listing.js → listing/listing.js} +0 -0
- /package/src/models/{listing.ts → listing/listing.ts} +0 -0
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/index.ts
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Timestamp } from "@firebase/firestore-types";
|
2
|
+
|
3
|
+
export interface Reservation {
|
4
|
+
id: string;
|
5
|
+
guestyId?: string;
|
6
|
+
checkIn?: Timestamp;
|
7
|
+
checkOut?: Timestamp;
|
8
|
+
guest?: {
|
9
|
+
id?: string;
|
10
|
+
guestyId?: string;
|
11
|
+
fullName?: string;
|
12
|
+
};
|
13
|
+
listing?: {
|
14
|
+
id?: string;
|
15
|
+
guestyId?: string;
|
16
|
+
title?: string;
|
17
|
+
};
|
18
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Timestamp } from "@firebase/firestore-types";
|
2
|
+
|
3
|
+
export interface Reservation {
|
4
|
+
id: string;
|
5
|
+
guestyId?: string;
|
6
|
+
checkIn?: Timestamp;
|
7
|
+
checkOut?: Timestamp;
|
8
|
+
guest?: {
|
9
|
+
id?: string;
|
10
|
+
guestyId?: string;
|
11
|
+
fullName?: string;
|
12
|
+
};
|
13
|
+
listing?: {
|
14
|
+
id?: string;
|
15
|
+
guestyId?: string;
|
16
|
+
title?: string;
|
17
|
+
};
|
18
|
+
}
|
File without changes
|
File without changes
|
File without changes
|