tango-api-schema 2.2.34 → 2.2.36

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.34",
3
+ "version": "2.2.36",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -132,11 +132,7 @@ const collection = new Schema(
132
132
  height: {
133
133
  type: Number,
134
134
  },
135
- streamBy:{
136
- type: String,
137
- enum: ["Rtsp", "Edge"],
138
- default: "Edge"
139
- }
135
+
140
136
  },
141
137
  {
142
138
  strict: true,
@@ -191,6 +191,9 @@ const checklistconfigSchema = new mongoose.Schema({
191
191
  default: 'store',
192
192
  enum: ["store", "user"]
193
193
  },
194
+ isPlano:{
195
+ type:Boolean
196
+ },
194
197
  },
195
198
  {
196
199
  strict: true,
@@ -401,6 +401,11 @@ const client = new mongoose.Schema(
401
401
  traxDateRange:{
402
402
  type:Number,
403
403
  default:7
404
+ },
405
+ streamBy:{
406
+ type: String,
407
+ enum: ["Rtsp", "Edge"],
408
+ default: "Rtsp"
404
409
  }
405
410
  },
406
411
  document: {
@@ -206,6 +206,12 @@ const processedchecklistSchema = new mongoose.Schema({
206
206
  default: 'store',
207
207
  enum: ["store", "user"]
208
208
  },
209
+ planoId:{
210
+ type:mongoose.Types.ObjectId
211
+ },
212
+ isPlano:{
213
+ type:Boolean,
214
+ }
209
215
  },
210
216
  {
211
217
  strict: true,
@@ -115,6 +115,9 @@ const processedchecklistconfigSchema = new mongoose.Schema({
115
115
  default: 'store',
116
116
  enum: ["store", "user"]
117
117
  },
118
+ isPlano:{
119
+ type:Boolean,
120
+ },
118
121
  },
119
122
  {
120
123
  strict: true,