plac-micro-common 1.2.57 → 1.2.59

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.
@@ -9,11 +9,7 @@ export declare class AppUnderwritingAnswerEntity extends _BaseEntity {
9
9
  application_person_id: string | null;
10
10
  app_coverage_id: string | null;
11
11
  question_id: string;
12
- answer_text: string | null;
13
- answer_number: string | null;
14
- answer_date: string | null;
15
- answer_bool: boolean | null;
16
- answer_yesno: string | null;
12
+ value: string | null;
17
13
  remark?: string | null;
18
14
  application?: ApplicationEntity;
19
15
  application_person?: AppPersonEntity | null;
@@ -44,25 +44,9 @@ __decorate([
44
44
  __metadata("design:type", String)
45
45
  ], AppUnderwritingAnswerEntity.prototype, "question_id", void 0);
46
46
  __decorate([
47
- (0, typeorm_1.Column)({ type: "varchar", length: 2000, nullable: true }),
47
+ (0, typeorm_1.Column)({ type: "varchar", length: 2000 }),
48
48
  __metadata("design:type", Object)
49
- ], AppUnderwritingAnswerEntity.prototype, "answer_text", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 6, nullable: true }),
52
- __metadata("design:type", Object)
53
- ], AppUnderwritingAnswerEntity.prototype, "answer_number", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ type: "date", nullable: true }),
56
- __metadata("design:type", Object)
57
- ], AppUnderwritingAnswerEntity.prototype, "answer_date", void 0);
58
- __decorate([
59
- (0, typeorm_1.Column)({ type: "boolean", nullable: true }),
60
- __metadata("design:type", Object)
61
- ], AppUnderwritingAnswerEntity.prototype, "answer_bool", void 0);
62
- __decorate([
63
- (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
64
- __metadata("design:type", Object)
65
- ], AppUnderwritingAnswerEntity.prototype, "answer_yesno", void 0);
49
+ ], AppUnderwritingAnswerEntity.prototype, "value", void 0);
66
50
  __decorate([
67
51
  (0, typeorm_1.Column)({ type: "text", nullable: true }),
68
52
  __metadata("design:type", Object)
@@ -34,3 +34,7 @@ export declare enum ResetScope {
34
34
  Month = "month",
35
35
  Day = "day"
36
36
  }
37
+ export declare enum YesNo {
38
+ Yes = "yes",
39
+ No = "no"
40
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResetScope = exports.IdentifierType = exports.AddressType = exports.ContactType = exports.MaritalStatus = exports.Gender = void 0;
3
+ exports.YesNo = exports.ResetScope = exports.IdentifierType = exports.AddressType = exports.ContactType = exports.MaritalStatus = exports.Gender = void 0;
4
4
  var Gender;
5
5
  (function (Gender) {
6
6
  Gender["Male"] = "M";
@@ -43,3 +43,8 @@ var ResetScope;
43
43
  ResetScope["Month"] = "month";
44
44
  ResetScope["Day"] = "day";
45
45
  })(ResetScope || (exports.ResetScope = ResetScope = {}));
46
+ var YesNo;
47
+ (function (YesNo) {
48
+ YesNo["Yes"] = "yes";
49
+ YesNo["No"] = "no";
50
+ })(YesNo || (exports.YesNo = YesNo = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.2.57",
3
+ "version": "1.2.59",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {