@platform-modules/foreign-ministry 1.0.33 → 1.0.34

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.
@@ -11,5 +11,6 @@ export declare class Feedback extends BaseModel {
11
11
  rating: Rating;
12
12
  category_Id: number;
13
13
  sub_category_Id: number;
14
- constructor(comment: string, rating: Rating, category_Id: number, sub_category_Id: number);
14
+ user_Id: number;
15
+ constructor(comment: string, rating: Rating, category_Id: number, sub_category_Id: number, user_Id: number);
15
16
  }
@@ -21,12 +21,13 @@ var Rating;
21
21
  Rating[Rating["FIVE"] = 5] = "FIVE";
22
22
  })(Rating || (exports.Rating = Rating = {}));
23
23
  let Feedback = class Feedback extends BaseModel_1.BaseModel {
24
- constructor(comment, rating, category_Id, sub_category_Id) {
24
+ constructor(comment, rating, category_Id, sub_category_Id, user_Id) {
25
25
  super();
26
26
  this.comment = comment,
27
27
  this.rating = rating,
28
28
  this.category_Id = category_Id,
29
- this.sub_category_Id = sub_category_Id;
29
+ this.sub_category_Id = sub_category_Id,
30
+ this.user_Id = user_Id;
30
31
  }
31
32
  };
32
33
  exports.Feedback = Feedback;
@@ -50,7 +51,11 @@ __decorate([
50
51
  (0, typeorm_1.Column)({ nullable: true }),
51
52
  __metadata("design:type", Number)
52
53
  ], Feedback.prototype, "sub_category_Id", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ nullable: true }),
56
+ __metadata("design:type", Number)
57
+ ], Feedback.prototype, "user_Id", void 0);
53
58
  exports.Feedback = Feedback = __decorate([
54
59
  (0, typeorm_1.Entity)({ name: 'feedback' }),
55
- __metadata("design:paramtypes", [String, Number, Number, Number])
60
+ __metadata("design:paramtypes", [String, Number, Number, Number, Number])
56
61
  ], Feedback);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -29,17 +29,21 @@ export class Feedback extends BaseModel {
29
29
  @Column({ nullable: true })
30
30
  sub_category_Id: number;
31
31
 
32
+ @Column({ nullable: true })
33
+ user_Id: number;
32
34
 
33
35
  constructor(
34
36
  comment: string,
35
37
  rating: Rating,
36
38
  category_Id: number,
37
39
  sub_category_Id: number,
40
+ user_Id: number,
38
41
  ) {
39
42
  super();
40
43
  this.comment = comment,
41
44
  this.rating = rating,
42
45
  this.category_Id = category_Id,
43
- this.sub_category_Id = sub_category_Id
46
+ this.sub_category_Id = sub_category_Id,
47
+ this.user_Id = user_Id
44
48
  }
45
49
  }