@cleardu/core 1.0.530 → 1.0.531

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleardu/core",
3
- "version": "1.0.530",
3
+ "version": "1.0.531",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@common)",
5
5
  "homepage": "https://nestjs.com",
6
6
  "funding": {
@@ -39,7 +39,7 @@ tslib_1.__decorate([
39
39
  tslib_1.__metadata("design:type", users_1.default)
40
40
  ], LoanMappings.prototype, "mappingUser", void 0);
41
41
  tslib_1.__decorate([
42
- (0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.BOOLEAN, allowNull: false }),
42
+ (0, sequelize_typescript_1.Column)({ type: sequelize_typescript_1.DataType.BOOLEAN, defaultValue: true }),
43
43
  tslib_1.__metadata("design:type", Boolean)
44
44
  ], LoanMappings.prototype, "isLead", void 0);
45
45
  LoanMappings = tslib_1.__decorate([
@@ -40,6 +40,6 @@ export default class LoanMappings
40
40
  @BelongsTo(() => User)
41
41
  mappingUser: User;
42
42
 
43
- @Column({ type: DataType.BOOLEAN, allowNull: false })
43
+ @Column({ type: DataType.BOOLEAN, defaultValue: true })
44
44
  public isLead: boolean;
45
45
  }
@@ -597,7 +597,7 @@ Loans = tslib_1.__decorate([
597
597
  },
598
598
  {
599
599
  model: loanMappings_1.default,
600
- attributes: ['id', 'userId', 'campaignId'],
600
+ attributes: ['id', 'userId', 'campaignId', 'isLead'],
601
601
  required: isRequired,
602
602
  where: loanMappingCondition,
603
603
  include: [
@@ -223,7 +223,7 @@ import LoanSummary from '../loanSummary';
223
223
  },
224
224
  {
225
225
  model: LoanMappings,
226
- attributes: ['id', 'userId', 'campaignId'],
226
+ attributes: ['id', 'userId', 'campaignId', 'isLead'],
227
227
  required: isRequired,
228
228
  where: loanMappingCondition,
229
229
  include: [