tango-api-schema 2.2.189 → 2.2.191
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/index.js +13 -0
- package/package.json +1 -1
- package/schema/fixtureConfig.model.js +149 -16
- package/schema/fixtureLibrary.model.js +168 -0
- package/schema/fixtureShelf.model.js +72 -57
- package/schema/planoGlobalComment.model.js +46 -0
- package/schema/planoMapping.model.js +3 -0
- package/schema/planoProductCategoryDetails.model.js +26 -0
- package/schema/planoProductDetail.model.js +1 -18
- package/schema/planoRevision.model.js +36 -0
- package/schema/planoStaticData.model.js +1 -1
- package/schema/planoTaskCompliance.model.js +338 -14
- package/schema/planoVmDetail.model.js +63 -0
- package/schema/storeFixture.model.js +104 -56
- package/schema/storeLayout.model.js +8 -0
- package/schema/taskProcessed.model.js +6 -0
- package/schema/vmType.model.js +24 -0
|
@@ -49,12 +49,20 @@ const storeLayoutSchema = new mongoose.Schema( {
|
|
|
49
49
|
planoId: {
|
|
50
50
|
type: mongoose.Types.ObjectId,
|
|
51
51
|
required: true,
|
|
52
|
+
index:true
|
|
52
53
|
},
|
|
53
54
|
storeOrder: {
|
|
54
55
|
type: String,
|
|
55
56
|
enum: [ 'LTR', 'RTL' ],
|
|
56
57
|
// LTR - Left to Right, RTL - Right to Left
|
|
57
58
|
},
|
|
59
|
+
isEdited: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
},
|
|
62
|
+
planoProgress:{
|
|
63
|
+
type:Number,
|
|
64
|
+
default:25
|
|
65
|
+
}
|
|
58
66
|
},
|
|
59
67
|
{
|
|
60
68
|
strict: true,
|
|
@@ -199,9 +199,11 @@ const processedTaskSchema = new mongoose.Schema(
|
|
|
199
199
|
},
|
|
200
200
|
planoType:{
|
|
201
201
|
type: String,
|
|
202
|
+
index:true
|
|
202
203
|
},
|
|
203
204
|
planoId:{
|
|
204
205
|
type:mongoose.SchemaTypes.ObjectId,
|
|
206
|
+
index:true
|
|
205
207
|
},
|
|
206
208
|
streamId:{
|
|
207
209
|
type: String,
|
|
@@ -234,9 +236,13 @@ const processedTaskSchema = new mongoose.Schema(
|
|
|
234
236
|
},
|
|
235
237
|
floorId:{
|
|
236
238
|
type:mongoose.SchemaTypes.ObjectId,
|
|
239
|
+
index:true
|
|
237
240
|
},
|
|
238
241
|
checkListFrom: {
|
|
239
242
|
type: String
|
|
243
|
+
},
|
|
244
|
+
comments:{
|
|
245
|
+
type:Array
|
|
240
246
|
}
|
|
241
247
|
},
|
|
242
248
|
{
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const vmTypeSchema = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
clientId: {
|
|
6
|
+
type: String,
|
|
7
|
+
required: true,
|
|
8
|
+
},
|
|
9
|
+
vmType:{
|
|
10
|
+
type:String,
|
|
11
|
+
required:true
|
|
12
|
+
},
|
|
13
|
+
imageUrls:{
|
|
14
|
+
type:Array
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
strict: true,
|
|
19
|
+
versionKey: false,
|
|
20
|
+
timestamps: true,
|
|
21
|
+
},
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
export default mongoose.model( 'vmType', vmTypeSchema );
|