payservedb 1.8.2 → 1.8.4

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": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,6 +19,10 @@ const EntryExitSchema = mongoose.Schema({
19
19
  required: true
20
20
  }
21
21
  },
22
+ range:{
23
+ type:Number,
24
+ required:true
25
+ },
22
26
  disabled:{
23
27
  type:Boolean,
24
28
  required:true
@@ -20,7 +20,7 @@ const visitorSchema = new mongoose.Schema({
20
20
  },
21
21
  idNumber: {
22
22
  type: String,
23
- required: true
23
+ required: false
24
24
  },
25
25
  houseNumber: {
26
26
  type: String,
@@ -28,7 +28,7 @@ const visitorSchema = new mongoose.Schema({
28
28
  },
29
29
  type: {
30
30
  type: String,
31
- required: true,
31
+ required: false,
32
32
  enum: ["Staff", "Other","Service Providers","Government Officials/Agents","Student"]
33
33
  },
34
34
  residentId: {