tango-api-schema 2.5.60 → 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,28 +1,28 @@
1
- {
2
- "name": "tango-api-schema",
3
- "version": "2.5.60",
4
- "description": "tangoEye model schema",
5
- "main": "index.js",
6
- "type": "module",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1",
9
- "start": "node index.js",
10
- "build:patch": "node build.js patch && npm publish",
11
- "build:minor": "node build.js minor && npm publish",
12
- "build:major": "node build.js major && npm publish"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://praveen22raj@bitbucket.org/tangoeye-retail/tango-api-schema.git"
17
- },
18
- "author": "praveenraj",
19
- "license": "ISC",
20
- "bugs": {
21
- "url": "https://bitbucket.org/tangoeye-retail/tango-api-schema/issues"
22
- },
23
- "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
24
- "dependencies": {
25
- "express": "^4.21.1",
26
- "mongoose": "^7.5.3"
27
- }
1
+ {
2
+ "name": "tango-api-schema",
3
+ "version": "2.5.61",
4
+ "description": "tangoEye model schema",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "start": "node index.js",
10
+ "build:patch": "node build.js patch && npm publish",
11
+ "build:minor": "node build.js minor && npm publish",
12
+ "build:major": "node build.js major && npm publish"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://praveen22raj@bitbucket.org/tangoeye-retail/tango-api-schema.git"
17
+ },
18
+ "author": "praveenraj",
19
+ "license": "ISC",
20
+ "bugs": {
21
+ "url": "https://bitbucket.org/tangoeye-retail/tango-api-schema/issues"
22
+ },
23
+ "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
24
+ "dependencies": {
25
+ "express": "^4.21.1",
26
+ "mongoose": "^7.5.3"
27
+ }
28
28
  }
@@ -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
  }