tango-api-schema 2.5.59 → 2.5.61

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.5.59",
3
+ "version": "2.5.61",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -435,6 +435,20 @@ const checklistconfigSchema = new mongoose.Schema({
435
435
  type: Number,
436
436
  default: 0
437
437
  },
438
+ export:{
439
+ type:Boolean,
440
+ default:false
441
+ },
442
+ notifyFlags:{
443
+ notifyType:{
444
+ type:Array,
445
+ default:[]
446
+ },
447
+ users:{
448
+ type:Array,
449
+ default:[]
450
+ }
451
+ }
438
452
  },
439
453
  {
440
454
  strict: true,
@@ -16,7 +16,6 @@ const collection = new mongoose.Schema({
16
16
  email: {
17
17
  type: String,
18
18
  required:true,
19
- unique:true,
20
19
  trim:true
21
20
  }
22
21
  }
@@ -11,6 +11,7 @@ const store = new mongoose.Schema(
11
11
  storeName: {
12
12
  type: String,
13
13
  require: true,
14
+ trim:true
14
15
  },
15
16
  appId: {
16
17
  type: String,
@@ -4,11 +4,13 @@ const user = new mongoose.Schema(
4
4
  {
5
5
  userName: {
6
6
  type: String,
7
+ trim:true
7
8
  },
8
9
  email: {
9
10
  type: String,
10
11
  required: true,
11
12
  unique: true,
13
+ trim:true
12
14
  },
13
15
  userProfile:{
14
16
  type:String