@dynamatix/gb-schemas 0.24.9 → 0.24.11

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.
@@ -15,7 +15,7 @@ const applicationAuditSchema = new mongoose.Schema({
15
15
  required: true
16
16
  },
17
17
  auditDate: {
18
- type: String,
18
+ type: Date,
19
19
  required: true
20
20
  },
21
21
  changeType: {
@@ -15,6 +15,10 @@ const noteSchema = new mongoose.Schema({
15
15
  type: String,
16
16
  default: null
17
17
  },
18
+ username: {
19
+ type: String,
20
+ default: null
21
+ },
18
22
  createdByUserId: {
19
23
  type: mongoose.Schema.Types.ObjectId, ref: "User",
20
24
  },
@@ -65,15 +69,11 @@ const noteSchema = new mongoose.Schema({
65
69
  },
66
70
  comment: {
67
71
  type: String,
68
- default : null
72
+ default: null
69
73
  },
70
74
  reminderStatus: {
71
75
  type: String,
72
76
  default: 'None'
73
- },
74
- userName: {
75
- type: String,
76
- required: false
77
77
  }
78
78
  });
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "0.24.9",
3
+ "version": "0.24.11",
4
4
  "description": "All the schemas for gatehouse bank back-end.",
5
5
  "main": "lookup.service.js",
6
6
  "scripts": {