lfra_db 1.1.0 → 1.1.1

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": "lfra_db",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -17,7 +17,7 @@ const MessageSchema = mongoose.Schema({
17
17
  required: true
18
18
  },
19
19
  sentOn: {
20
- type: Date,
20
+ type: String,
21
21
  required: false
22
22
  },
23
23
  createdOn:{
@@ -79,7 +79,7 @@ const userSchema = new mongoose.Schema({
79
79
  required: false
80
80
  },
81
81
  verificationExpiration: {
82
- type: Date,
82
+ type: String,
83
83
  required: false
84
84
  }
85
85
  }, {
@@ -38,11 +38,11 @@ const visitLogSchema = new mongoose.Schema({
38
38
  required: false
39
39
  },
40
40
  startTime: {
41
- type: Date, // Changed to Date for better handling of time
41
+ type: String,
42
42
  required: true
43
43
  },
44
44
  endTime: {
45
- type: Date,
45
+ type: String,
46
46
  required: false
47
47
  },
48
48
  days: {
@@ -51,7 +51,7 @@ const visitorSchema = new mongoose.Schema({
51
51
  default: false
52
52
  },
53
53
  invitationDate: {
54
- type: Date, // Changed to Date for better handling of dates
54
+ type: String, // Changed to Date for better handling of dates
55
55
  required: false
56
56
  }
57
57
  }, {