tango-api-schema 2.2.181 → 2.2.182

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": "tango-api-schema",
3
- "version": "2.2.181",
3
+ "version": "2.2.182",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,7 +20,7 @@ const planoTaskCompliance = new mongoose.Schema(
20
20
  },
21
21
  timeStamp: {
22
22
  type: Date,
23
- default: Date.now()
23
+ default: new Date()
24
24
  },
25
25
  video: {
26
26
  type: String
@@ -47,7 +47,7 @@ const planoTaskCompliance = new mongoose.Schema(
47
47
  },
48
48
  timeStamp: {
49
49
  type: Date,
50
- default: Date.now()
50
+ default: new Date()
51
51
  }
52
52
  }
53
53
  ],
@@ -70,7 +70,7 @@ const planoTaskCompliance = new mongoose.Schema(
70
70
  },
71
71
  timeStamp: {
72
72
  type: Date,
73
- default: Date.now()
73
+ default: new Date()
74
74
  },
75
75
  issueType: {
76
76
  type: String,
@@ -103,7 +103,7 @@ const planoTaskCompliance = new mongoose.Schema(
103
103
  },
104
104
  timeStamp: {
105
105
  type: Date,
106
- default: Date.now()
106
+ default: new Date()
107
107
  }
108
108
  }
109
109
  ],
@@ -128,7 +128,7 @@ const planoTaskCompliance = new mongoose.Schema(
128
128
  },
129
129
  timeStamp: {
130
130
  type: Date,
131
- default: Date.now()
131
+ default: new Date()
132
132
  }
133
133
  }
134
134
  ],
@@ -55,6 +55,9 @@ const storeLayoutSchema = new mongoose.Schema( {
55
55
  enum: [ 'LTR', 'RTL' ],
56
56
  // LTR - Left to Right, RTL - Right to Left
57
57
  },
58
+ isEdited: {
59
+ type: Boolean,
60
+ },
58
61
  },
59
62
  {
60
63
  strict: true,