tango-api-schema 2.2.137 → 2.2.139
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
|
@@ -7,10 +7,64 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
7
7
|
enum: ['complete', 'incomplete', 'missing'],
|
|
8
8
|
required: true
|
|
9
9
|
},
|
|
10
|
-
answers:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
answers: [
|
|
11
|
+
{
|
|
12
|
+
userId: {
|
|
13
|
+
type: mongoose.Types.ObjectId,
|
|
14
|
+
},
|
|
15
|
+
userName: {
|
|
16
|
+
type: String
|
|
17
|
+
},
|
|
18
|
+
role: {
|
|
19
|
+
type: String
|
|
20
|
+
},
|
|
21
|
+
qno: {
|
|
22
|
+
type: Number,
|
|
23
|
+
},
|
|
24
|
+
question: {
|
|
25
|
+
type: String
|
|
26
|
+
},
|
|
27
|
+
timeStamp: {
|
|
28
|
+
type: Date,
|
|
29
|
+
default: Date.now()
|
|
30
|
+
},
|
|
31
|
+
answer: {
|
|
32
|
+
type: Boolean
|
|
33
|
+
},
|
|
34
|
+
comment: {
|
|
35
|
+
type: String
|
|
36
|
+
},
|
|
37
|
+
issues: [
|
|
38
|
+
{
|
|
39
|
+
userId: {
|
|
40
|
+
type: mongoose.Types.ObjectId,
|
|
41
|
+
},
|
|
42
|
+
userName: {
|
|
43
|
+
type: String
|
|
44
|
+
},
|
|
45
|
+
role: {
|
|
46
|
+
type: String
|
|
47
|
+
},
|
|
48
|
+
qno: {
|
|
49
|
+
type: Number,
|
|
50
|
+
},
|
|
51
|
+
question: {
|
|
52
|
+
type: String
|
|
53
|
+
},
|
|
54
|
+
timeStamp: {
|
|
55
|
+
type: Date,
|
|
56
|
+
default: Date.now()
|
|
57
|
+
},
|
|
58
|
+
video: {
|
|
59
|
+
type: String
|
|
60
|
+
},
|
|
61
|
+
image: {
|
|
62
|
+
type: String
|
|
63
|
+
},
|
|
64
|
+
Details: []
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}],
|
|
14
68
|
planoId: {
|
|
15
69
|
type: mongoose.Types.ObjectId,
|
|
16
70
|
required: true
|
|
@@ -27,18 +81,21 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
27
81
|
enum: ['fixture', 'vm', 'product', 'layout'],
|
|
28
82
|
required: true
|
|
29
83
|
},
|
|
30
|
-
date_string:{
|
|
31
|
-
type:String,
|
|
32
|
-
required:true
|
|
84
|
+
date_string: {
|
|
85
|
+
type: String,
|
|
86
|
+
required: true
|
|
33
87
|
},
|
|
34
|
-
storeName:{
|
|
35
|
-
type:String
|
|
88
|
+
storeName: {
|
|
89
|
+
type: String
|
|
36
90
|
},
|
|
37
|
-
|
|
38
|
-
type:
|
|
91
|
+
storeId: {
|
|
92
|
+
type: String
|
|
93
|
+
},
|
|
94
|
+
taskId: {
|
|
95
|
+
type: mongoose.Types.ObjectId
|
|
39
96
|
},
|
|
40
|
-
date_iso:{
|
|
41
|
-
type:Date
|
|
97
|
+
date_iso: {
|
|
98
|
+
type: Date
|
|
42
99
|
}
|
|
43
100
|
},
|
|
44
101
|
{
|
package/schema/store.model.js
CHANGED
|
@@ -78,11 +78,9 @@ const store = new mongoose.Schema(
|
|
|
78
78
|
},
|
|
79
79
|
processingOpen: {
|
|
80
80
|
type: String,
|
|
81
|
-
default:""
|
|
82
81
|
},
|
|
83
82
|
processingClose: {
|
|
84
83
|
type: String,
|
|
85
|
-
default:""
|
|
86
84
|
},
|
|
87
85
|
},
|
|
88
86
|
status: {
|
|
@@ -331,6 +329,10 @@ const store = new mongoose.Schema(
|
|
|
331
329
|
type: Array,
|
|
332
330
|
default: ["YOLO-VIDEO"],
|
|
333
331
|
},
|
|
332
|
+
tagQueueList:{
|
|
333
|
+
type: Array,
|
|
334
|
+
default: ["YOLO-V3-TRACKER"],
|
|
335
|
+
},
|
|
334
336
|
processType: {
|
|
335
337
|
type: String,
|
|
336
338
|
default: "eod"
|