tango-api-schema 2.1.88 → 2.1.90

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.1.88",
3
+ "version": "2.1.90",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2,8 +2,7 @@ import mongoose from 'mongoose';
2
2
 
3
3
  const checklistlogSchema = new mongoose.Schema({
4
4
  checklistId: {
5
- type: mongoose.SchemaTypes.ObjectId,
6
- required:true
5
+ type: mongoose.SchemaTypes.ObjectId
7
6
  },
8
7
  checkListName: {
9
8
  type: String
@@ -379,6 +379,10 @@ const client = new mongoose.Schema(
379
379
  type:Boolean,
380
380
  default:false
381
381
  },
382
+ isControlCenter:{
383
+ type:Boolean,
384
+ default:false
385
+ },
382
386
  },
383
387
  document: {
384
388
  addressProof: {
@@ -71,7 +71,7 @@ const taskSchema = new mongoose.Schema(
71
71
  },
72
72
  priorityType:{
73
73
  type:String,
74
- enum:['hight','medium','low']
74
+ enum:['high','medium','low'],
75
75
  },
76
76
  approver:{
77
77
  type:Array,