tango-api-schema 2.2.71 → 2.2.73

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.71",
3
+ "version": "2.2.73",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -41,7 +41,6 @@ const planoMappingSchema = new mongoose.Schema(
41
41
  },
42
42
  rfId: {
43
43
  type: String,
44
- required: true,
45
44
  },
46
45
  category: {
47
46
  type: String,
@@ -20,12 +20,11 @@ const planoTaskCompliance = new mongoose.Schema(
20
20
  required: true
21
21
  },
22
22
  fixtureId: {
23
- type: mongoose.Types.ObjectId,
24
- required: true
23
+ type: mongoose.Types.ObjectId
25
24
  },
26
25
  type: {
27
26
  type: String,
28
- enum: ['fixture', 'vm', 'product'],
27
+ enum: ['fixture', 'vm', 'product', 'layout'],
29
28
  required: true
30
29
  },
31
30
  },
@@ -197,9 +197,9 @@ const processedTaskSchema = new mongoose.Schema(
197
197
  default: 'store',
198
198
  enum: ["store", "user", "checklist"]
199
199
  },
200
- type:{
200
+ planoType:{
201
201
  type: String,
202
- enum: ['fixture', 'vm', 'product']
202
+ enum: ['fixture', 'vm', 'product', 'layout']
203
203
  },
204
204
  planoId:{
205
205
  type:mongoose.SchemaTypes.ObjectId,
@@ -208,6 +208,9 @@ const processedTaskSchema = new mongoose.Schema(
208
208
  type: Boolean,
209
209
  default:false
210
210
  },
211
+ isPlano:{
212
+ type:Boolean,
213
+ },
211
214
  },
212
215
  {
213
216
  strict: true,