tango-api-schema 2.1.76 → 2.1.78

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.76",
3
+ "version": "2.1.78",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -20,6 +20,6 @@
20
20
  "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
21
21
  "dependencies": {
22
22
  "express": "^4.21.1",
23
- "mongoose": "^8.8.2"
23
+ "mongoose": "^7.5.3"
24
24
  }
25
25
  }
@@ -166,6 +166,14 @@ const checklistconfigSchema = new mongoose.Schema({
166
166
  default: '',
167
167
  enum: ["daily", "weekly", "monthly","range","onetime","weekday",""]
168
168
  },
169
+ approver:{
170
+ type:Array,
171
+ default:[]
172
+ },
173
+ remainder:{
174
+ type:Array,
175
+ default:[]
176
+ },
169
177
  },
170
178
  {
171
179
  strict: true,
@@ -77,6 +77,10 @@ const taskSchema = new mongoose.Schema(
77
77
  type:Array,
78
78
  default:[]
79
79
  },
80
+ remainder:{
81
+ type:Array,
82
+ default:[]
83
+ },
80
84
  restrictAttendance:{
81
85
  type:Boolean,
82
86
  default:false
@@ -91,6 +91,10 @@ const processestaskconfigSchema = new mongoose.Schema({
91
91
  type: Boolean,
92
92
  default:false
93
93
  },
94
+ approver:{
95
+ type:Array,
96
+ default:[]
97
+ },
94
98
  },
95
99
  {
96
100
  strict: true,
@@ -99,4 +103,4 @@ const processestaskconfigSchema = new mongoose.Schema({
99
103
  },
100
104
  );
101
105
 
102
- export default mongoose.model( 'processedchecklistconfig', processestaskconfigSchema);
106
+ export default mongoose.model( 'processedTaskConfig', processestaskconfigSchema);