tango-api-schema 2.0.67 → 2.0.69

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.0.67",
3
+ "version": "2.0.69",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -141,6 +141,17 @@ const client = new mongoose.Schema(
141
141
  type: Number, // 0 for one camera and 1 for multi cameras
142
142
  enum:[0,1]
143
143
  },
144
+ infraReport:{
145
+ start:{
146
+ type:String,
147
+ default:"9:00"
148
+ },
149
+ end:{
150
+ type:String,
151
+ default:"19:00"
152
+
153
+ }
154
+ },
144
155
  infraDownTime: {
145
156
  type: Number,
146
157
  default:1,
@@ -190,9 +190,6 @@ const store = new mongoose.Schema(
190
190
  lastUpdatedAt: {
191
191
  type: Date,
192
192
  },
193
- deployed:{
194
- type: Boolean,
195
- },
196
193
  serialNumber:{
197
194
  type: String,
198
195
  }
@@ -76,8 +76,13 @@ const user = new mongoose.Schema(
76
76
  isEnable : {
77
77
  type: Boolean
78
78
  }
79
- }
80
-
79
+ },
80
+ emailAlert: {
81
+ infra: {
82
+ type: Boolean,
83
+ default: false
84
+ }
85
+ },
81
86
  },
82
87
  {
83
88
  strict: true,