whitelabel-db 1.1.43 → 1.1.44

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.
@@ -17,6 +17,7 @@ export declare class Guest extends Model<Partial<Guest>> {
17
17
  bypassPayment: boolean;
18
18
  vouchers: VoucherResponse[];
19
19
  favoriteHotelIds: string[];
20
+ feedbackCount: number;
20
21
  referralCode: string;
21
22
  project?: Project;
22
23
  bookings?: Booking[];
@@ -147,6 +147,15 @@ __decorate([
147
147
  }),
148
148
  __metadata("design:type", Array)
149
149
  ], Guest.prototype, "favoriteHotelIds", void 0);
150
+ __decorate([
151
+ sequelize_typescript_1.Index,
152
+ (0, sequelize_typescript_1.Column)({
153
+ type: sequelize_typescript_1.DataType.INTEGER,
154
+ allowNull: true,
155
+ defaultValue: 0,
156
+ }),
157
+ __metadata("design:type", Number)
158
+ ], Guest.prototype, "feedbackCount", void 0);
150
159
  __decorate([
151
160
  (0, sequelize_typescript_1.Unique)('idx_guests_referral_code'),
152
161
  (0, sequelize_typescript_1.Index)('idx_guests_referral_code'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.1.43",
3
+ "version": "1.1.44",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",