payservedb 9.6.6 → 9.6.8

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": "payservedb",
3
- "version": "9.6.6",
3
+ "version": "9.6.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,6 +19,10 @@ const visitLogSchema = new mongoose.Schema({
19
19
  type: String,
20
20
  trim: true
21
21
  },
22
+ idNumber: {
23
+ type: String,
24
+ required: false
25
+ },
22
26
  residentId: {
23
27
  type: mongoose.Schema.Types.ObjectId,
24
28
  },
@@ -30,6 +34,10 @@ const visitLogSchema = new mongoose.Schema({
30
34
  type: String,
31
35
  required: false
32
36
  },
37
+ commonArea: {
38
+ type: String,
39
+ default: null
40
+ },
33
41
  startTime: {
34
42
  type: String, // Changed to Date for better handling of time
35
43
  required: true
@@ -26,6 +26,10 @@ const visitorSchema = new mongoose.Schema({
26
26
  type: String,
27
27
  required: false
28
28
  },
29
+ commonArea: {
30
+ type: String,
31
+ default: null
32
+ },
29
33
  status: {
30
34
  type: String,
31
35
  required: false