whitelabel-db 1.0.5 → 1.0.7

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.
@@ -7,6 +7,10 @@ export type HotelImage = {
7
7
  order: number;
8
8
  defaultImage: boolean;
9
9
  };
10
+ export type CheckinCheckoutTimes = {
11
+ checkout: string;
12
+ checkin: string;
13
+ };
10
14
  export declare class Hotel extends Model<Partial<Hotel>> {
11
15
  id: string;
12
16
  name: string;
@@ -20,7 +24,7 @@ export declare class Hotel extends Model<Partial<Hotel>> {
20
24
  zip: string;
21
25
  main_photo: string;
22
26
  stars: string;
23
- checkinCheckoutTimes: string;
27
+ checkinCheckoutTimes: CheckinCheckoutTimes;
24
28
  hotelImages: HotelImage[];
25
29
  hotelFacilities: string[];
26
30
  rate: AvailabilityResult;
@@ -109,7 +109,7 @@ __decorate([
109
109
  type: sequelize_typescript_1.DataType.JSONB,
110
110
  allowNull: true,
111
111
  }),
112
- __metadata("design:type", String)
112
+ __metadata("design:type", Object)
113
113
  ], Hotel.prototype, "checkinCheckoutTimes", void 0);
114
114
  __decorate([
115
115
  (0, sequelize_typescript_1.Column)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",