tango-api-schema 2.2.182 → 2.2.183

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.182",
3
+ "version": "2.2.183",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -17,14 +17,17 @@ const fixtureShelfSchema = new mongoose.Schema(
17
17
  planoId: {
18
18
  type: mongoose.Types.ObjectId,
19
19
  required: true,
20
+ index:true
20
21
  },
21
22
  floorId: {
22
23
  type: mongoose.Types.ObjectId,
23
24
  required: true,
25
+ index:true
24
26
  },
25
27
  fixtureId: {
26
28
  type: mongoose.Types.ObjectId,
27
29
  required: true,
30
+ index:true
28
31
  },
29
32
  shelfNumber: {
30
33
  type: Number,
@@ -17,10 +17,12 @@ const storeFixtureSchema = new mongoose.Schema(
17
17
  planoId: {
18
18
  type: mongoose.Types.ObjectId,
19
19
  required: true,
20
+ index:true
20
21
  },
21
22
  floorId: {
22
23
  type: mongoose.Types.ObjectId,
23
24
  required: true,
25
+ index:true
24
26
  },
25
27
  fixtureName: {
26
28
  type: String,
@@ -184,9 +186,11 @@ const storeFixtureSchema = new mongoose.Schema(
184
186
  ],
185
187
  fixtureLibraryId: {
186
188
  type: mongoose.Types.ObjectId,
189
+ index:true
187
190
  },
188
191
  fixtureConfigId: {
189
192
  type: mongoose.Types.ObjectId,
193
+ index:true
190
194
  },
191
195
  fixtureNumber: {
192
196
  type: Number,
@@ -49,6 +49,7 @@ 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,
@@ -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,6 +236,7 @@ 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