tango-api-schema 2.1.86 → 2.1.87
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 +1 -1
- package/schema/processedchecklist.js +12 -0
- package/schema/processedchecklistconfig.js +4 -0
- package/schema/taskAssign.model.js +4 -0
- package/schema/taskConfig.model.js +9 -1
- package/schema/taskProcessed.model.js +14 -2
- package/schema/taskProcessedConfig.model.js +1 -1
- package/schema/traxApprover.model.js +4 -0
package/package.json
CHANGED
|
@@ -177,6 +177,18 @@ const processedchecklistSchema = new mongoose.Schema({
|
|
|
177
177
|
aiStoreList: {
|
|
178
178
|
type:Array,
|
|
179
179
|
default:[]
|
|
180
|
+
},
|
|
181
|
+
approvalStatus:{
|
|
182
|
+
type:Boolean,
|
|
183
|
+
default:false
|
|
184
|
+
},
|
|
185
|
+
approvalEnable:{
|
|
186
|
+
type:Boolean,
|
|
187
|
+
default:false
|
|
188
|
+
},
|
|
189
|
+
redoStatus:{
|
|
190
|
+
type:Boolean,
|
|
191
|
+
default:false
|
|
180
192
|
}
|
|
181
193
|
},
|
|
182
194
|
{
|
|
@@ -51,7 +51,7 @@ const taskSchema = new mongoose.Schema(
|
|
|
51
51
|
checkListType:{
|
|
52
52
|
type:String,
|
|
53
53
|
default:"task",
|
|
54
|
-
enum: ['task','cctv']
|
|
54
|
+
enum: ['task','checklistTask','cctv']
|
|
55
55
|
},
|
|
56
56
|
createdAt: {
|
|
57
57
|
type: Date,
|
|
@@ -89,6 +89,14 @@ const taskSchema = new mongoose.Schema(
|
|
|
89
89
|
type: Boolean,
|
|
90
90
|
default:false
|
|
91
91
|
},
|
|
92
|
+
reinitiate:{
|
|
93
|
+
type:Boolean,
|
|
94
|
+
default:false
|
|
95
|
+
},
|
|
96
|
+
referenceCheckListId:{
|
|
97
|
+
type:mongoose.SchemaTypes.ObjectId,
|
|
98
|
+
default:''
|
|
99
|
+
}
|
|
92
100
|
},
|
|
93
101
|
{
|
|
94
102
|
strict: true,
|
|
@@ -77,8 +77,8 @@ const processedTaskSchema = new mongoose.Schema(
|
|
|
77
77
|
},
|
|
78
78
|
checkListType: {
|
|
79
79
|
type: String,
|
|
80
|
-
default: "
|
|
81
|
-
enum: ["task","cctv
|
|
80
|
+
default: "task",
|
|
81
|
+
enum: ["task","checklistTask",'cctv']
|
|
82
82
|
},
|
|
83
83
|
store_id: {
|
|
84
84
|
type: String,
|
|
@@ -166,6 +166,18 @@ const processedTaskSchema = new mongoose.Schema(
|
|
|
166
166
|
submitMobileTime:{
|
|
167
167
|
type:String
|
|
168
168
|
},
|
|
169
|
+
approvalStatus:{
|
|
170
|
+
type:Boolean,
|
|
171
|
+
default:false
|
|
172
|
+
},
|
|
173
|
+
approvalEnable:{
|
|
174
|
+
type:Boolean,
|
|
175
|
+
default:false
|
|
176
|
+
},
|
|
177
|
+
redoStatus:{
|
|
178
|
+
type:Boolean,
|
|
179
|
+
default:false
|
|
180
|
+
}
|
|
169
181
|
},
|
|
170
182
|
{
|
|
171
183
|
strict: true,
|