tango-api-schema 2.2.134 → 2.2.136

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.134",
3
+ "version": "2.2.136",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3,7 +3,7 @@ import mongoose from 'mongoose';
3
3
  const notification = new mongoose.Schema(
4
4
  {
5
5
  userId: {
6
- type: String,
6
+ type: mongoose.Types.ObjectId,
7
7
  },
8
8
  captureTime: {
9
9
  type:String,
@@ -16,6 +16,7 @@ const notification = new mongoose.Schema(
16
16
  },
17
17
  status:{
18
18
  type: String,
19
+ default:"unsend"
19
20
  },
20
21
  slotNo:{
21
22
  type: Number,
@@ -118,6 +118,10 @@ const processedchecklistconfigSchema = new mongoose.Schema({
118
118
  isPlano:{
119
119
  type:Boolean,
120
120
  },
121
+ webnotification:{
122
+ type:Boolean,
123
+ default:false
124
+ },
121
125
  rawImageUpload: {
122
126
  type: Boolean,
123
127
  default:false