@dynamatix/gb-schemas 1.3.310 → 1.3.311

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.
@@ -114,8 +114,8 @@ applicationSchema.virtual('status').get(function () {
114
114
  applicationSchema.pre('find', function () {
115
115
  this.populate('applicationTypeLid').populate('lendingTypeLid').populate('statusLid');
116
116
  });
117
- // Virtual property 'isUkResident'
118
- applicationSchema.virtual('isUkResident').get(function () {
117
+ // Virtual property 'isUkResidentCalculated'
118
+ applicationSchema.virtual('isUkResidentCalculated').get(function () {
119
119
  if (!this.applicants || !Array.isArray(this.applicants))
120
120
  return false;
121
121
  if (this.applicants.length === 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "1.3.310",
3
+ "version": "1.3.311",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",