tango-api-schema 2.3.27 → 2.3.29

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.3.27",
3
+ "version": "2.3.29",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -104,7 +104,7 @@ const downloadSchema = new mongoose.Schema({
104
104
  },
105
105
  checkListName:{
106
106
  type: String,
107
- },
107
+ },
108
108
  downloadInsertFrom: {
109
109
  type: String,
110
110
  enum: ['','report','gallery','dashboard'],
@@ -113,7 +113,10 @@ const downloadSchema = new mongoose.Schema({
113
113
  filtertype: {
114
114
  type: String,
115
115
  enum: ['Clusters','Teams']
116
- },
116
+ },
117
+ aiFilter:{
118
+ type: String,
119
+ },
117
120
  },
118
121
  {
119
122
  strict: true,
@@ -6,8 +6,9 @@ const collection = new mongoose.Schema({
6
6
  type: String,
7
7
  required: true
8
8
  },
9
- userList: {
10
- _id: {
9
+ userList: [
10
+ {
11
+ _id: {
11
12
  type: mongoose.Schema.Types.ObjectId,
12
13
  required: true,
13
14
 
@@ -18,17 +19,21 @@ const collection = new mongoose.Schema({
18
19
  unique:true,
19
20
  trim:true
20
21
  }
21
- },
22
+ }
23
+
24
+ ],
22
25
  configureType: {
23
26
  type: String,
24
27
  enum: ['user', 'email'],
25
28
  },
26
29
  complianceThreshold: {
27
30
  condition: {
28
- type: String
31
+ type: String,
32
+ default:"<"
29
33
  },
30
34
  value: {
31
- type: String
35
+ type: String,
36
+ default:"10%"
32
37
  }
33
38
  }
34
39
  },