tango-api-schema 2.2.187 → 2.2.188

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.
@@ -49,12 +49,16 @@ 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
+ },
58
62
  },
59
63
  {
60
64
  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 );