whitelabel-db 1.1.15 → 1.1.17

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.
@@ -13,6 +13,7 @@ export declare class Guest extends Model<Partial<Guest>> {
13
13
  socialProvider: string;
14
14
  isVerified: boolean;
15
15
  vouchers: VoucherResponse[];
16
+ favoriteHotelIds: string[];
16
17
  project?: Project;
17
18
  static checkEmail(email: string, projectId: string): Promise<void>;
18
19
  generateSession(secret: string): string;
@@ -123,6 +123,15 @@ __decorate([
123
123
  }),
124
124
  __metadata("design:type", Array)
125
125
  ], Guest.prototype, "vouchers", void 0);
126
+ __decorate([
127
+ sequelize_typescript_1.Index,
128
+ (0, sequelize_typescript_1.Column)({
129
+ type: sequelize_typescript_1.DataType.ARRAY(sequelize_typescript_1.DataType.STRING),
130
+ allowNull: true,
131
+ defaultValue: [],
132
+ }),
133
+ __metadata("design:type", Array)
134
+ ], Guest.prototype, "favoriteHotelIds", void 0);
126
135
  __decorate([
127
136
  (0, sequelize_typescript_1.BelongsTo)(() => Project_1.Project),
128
137
  __metadata("design:type", Project_1.Project)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",