payservedb 3.7.5 → 3.7.6

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": "3.7.5",
3
+ "version": "3.7.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,17 +19,29 @@ const facilitySchema = new mongoose.Schema({
19
19
  defaultMeasurement: { type: String, required: false },
20
20
  totalCommonArea: { type: String, required: false },
21
21
  totalLettableArea: { type: String, required: false },
22
+ modules: {
23
+ visitor: { type: Boolean, },
24
+ levy: { type: Boolean, },
25
+ maintenance: { type: Boolean, },
26
+ lease: { type: Boolean, },
27
+ vas: { type: Boolean, },
28
+ tickets: { type: Boolean, },
29
+ utility: { type: Boolean, },
30
+ booking: { type: Boolean, },
31
+ handover: { type: Boolean, },
32
+ expense: { type: Boolean, },
33
+ },
22
34
 
23
35
  logo: {
24
36
  type: String,
25
37
  trim: false,
26
38
  default: null
27
39
  },
28
- dbName: {
29
- type: String,
30
- required: [true, 'Database name is required'],
31
- unique: true,
32
- trim: true
40
+ dbName: {
41
+ type: String,
42
+ required: [true, 'Database name is required'],
43
+ unique: true,
44
+ trim: true
33
45
  }
34
46
 
35
47
  }, {