tango-api-schema 2.2.197 → 2.2.199

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.197",
3
+ "version": "2.2.199",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,7 +20,7 @@ const planoTaskCompliance = new mongoose.Schema(
20
20
  },
21
21
  timeStamp: {
22
22
  type: Date,
23
- default: () => new Date()
23
+ default: () => new Date()
24
24
  },
25
25
  video: {
26
26
  type: String
@@ -47,7 +47,7 @@ const planoTaskCompliance = new mongoose.Schema(
47
47
  },
48
48
  timeStamp: {
49
49
  type: Date,
50
- default: () => new Date()
50
+ default: () => new Date()
51
51
  }
52
52
  }
53
53
  ],
@@ -70,7 +70,7 @@ const planoTaskCompliance = new mongoose.Schema(
70
70
  },
71
71
  timeStamp: {
72
72
  type: Date,
73
- default: () => new Date()
73
+ default: () => new Date()
74
74
  },
75
75
  issueType: {
76
76
  type: String,
@@ -103,7 +103,7 @@ const planoTaskCompliance = new mongoose.Schema(
103
103
  },
104
104
  timeStamp: {
105
105
  type: Date,
106
- default: () => new Date()
106
+ default: () => new Date()
107
107
  }
108
108
  }
109
109
  ],
@@ -128,7 +128,7 @@ const planoTaskCompliance = new mongoose.Schema(
128
128
  },
129
129
  timeStamp: {
130
130
  type: Date,
131
- default: () => new Date()
131
+ default: () => new Date()
132
132
  }
133
133
  }
134
134
  ],
@@ -145,7 +145,31 @@ const planoTaskCompliance = new mongoose.Schema(
145
145
  }]
146
146
  }
147
147
  ],
148
-
148
+ merchData:[ {
149
+ productBrandName: {
150
+ type: String
151
+ },
152
+ productCategory: [{
153
+ type: String
154
+ }]
155
+ }],
156
+ vmData:[ {
157
+ image: {
158
+ type: String
159
+ },
160
+ vmType: {
161
+ type: String
162
+ },
163
+ vmName: {
164
+ type: String
165
+ },
166
+ count:{
167
+ type: Number
168
+ },
169
+ vmId: {
170
+ type: mongoose.Schema.Types.ObjectId,
171
+ },
172
+ }],
149
173
  image: {
150
174
  type: String
151
175
  },
@@ -336,7 +360,7 @@ const planoTaskCompliance = new mongoose.Schema(
336
360
  },
337
361
  type: {
338
362
  type: String,
339
- enum: ['fixture', 'vm', 'product', 'layout'],
363
+ enum: ['fixture', 'vm', 'product', 'layout', 'merchRollout', 'vmRollout'],
340
364
  required: true
341
365
  },
342
366
  date_string: {
@@ -362,7 +386,7 @@ const planoTaskCompliance = new mongoose.Schema(
362
386
  approvalStatus: {
363
387
  type: String,
364
388
  enum: ['pending', 'approved', 'rejected'],
365
- default:'pending'
389
+ default: 'pending'
366
390
  }
367
391
  },
368
392
  {
@@ -199,6 +199,14 @@ const storeFixtureSchema = new mongoose.Schema(
199
199
  type: Number,
200
200
  default: 1,
201
201
  },
202
+ isMerchEdited: {
203
+ type: Boolean,
204
+ default: false,
205
+ },
206
+ isVmEdited: {
207
+ type: Boolean,
208
+ default: false,
209
+ },
202
210
 
203
211
  },
204
212
  {
@@ -77,6 +77,9 @@ const taskassignconfigSchema = new mongoose.Schema({
77
77
  default: 'store',
78
78
  enum: ["store", "user"]
79
79
  },
80
+ comments:{
81
+ type:String
82
+ },
80
83
  },
81
84
  {
82
85
  strict: true,