@things-factory/worklist-client 6.0.32 → 6.0.39
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/dist-server/index.js +0 -2
- package/dist-server/index.js.map +1 -1
- package/dist-server/service/activity/activity-type.js +8 -24
- package/dist-server/service/activity/activity-type.js.map +1 -1
- package/dist-server/service/activity/activity.js +8 -12
- package/dist-server/service/activity/activity.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/server/index.ts +0 -2
- package/server/service/activity/activity-type.ts +6 -18
- package/server/service/activity/activity.ts +6 -9
- package/server/middlewares/index.ts +0 -3
- package/server/migrations/index.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/worklist-client",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.39",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@operato/graphql": "^1.0.0",
|
|
30
30
|
"@operato/shell": "^1.0.0",
|
|
31
|
-
"@things-factory/auth-base": "^6.0.
|
|
32
|
-
"@things-factory/oauth2-client": "^6.0.
|
|
33
|
-
"@things-factory/shell": "^6.0.
|
|
31
|
+
"@things-factory/auth-base": "^6.0.34",
|
|
32
|
+
"@things-factory/oauth2-client": "^6.0.34",
|
|
33
|
+
"@things-factory/shell": "^6.0.34"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "0785dcb60e33faa110e9d6056909384c4f50b7bf"
|
|
36
36
|
}
|
package/server/index.ts
CHANGED
|
@@ -33,15 +33,6 @@ export class NewActivity {
|
|
|
33
33
|
@Field({ nullable: true })
|
|
34
34
|
standardTime?: number
|
|
35
35
|
|
|
36
|
-
@Field({ nullable: true })
|
|
37
|
-
cycleTime?: number
|
|
38
|
-
|
|
39
|
-
@Field({ nullable: true })
|
|
40
|
-
tactTime?: number
|
|
41
|
-
|
|
42
|
-
@Field({ nullable: true })
|
|
43
|
-
leadTime?: number
|
|
44
|
-
|
|
45
36
|
@Field(type => ObjectRef, { nullable: true })
|
|
46
37
|
issuerRole?: ObjectRef
|
|
47
38
|
|
|
@@ -57,6 +48,12 @@ export class NewActivity {
|
|
|
57
48
|
@Field({ nullable: true })
|
|
58
49
|
uiSource?: string
|
|
59
50
|
|
|
51
|
+
@Field({ nullable: true })
|
|
52
|
+
viewType?: ActivityUIType
|
|
53
|
+
|
|
54
|
+
@Field({ nullable: true })
|
|
55
|
+
viewSource?: string
|
|
56
|
+
|
|
60
57
|
@Field({ nullable: true })
|
|
61
58
|
reportType?: ActivityUIType
|
|
62
59
|
|
|
@@ -99,15 +96,6 @@ export class ActivityPatch {
|
|
|
99
96
|
@Field({ nullable: true })
|
|
100
97
|
standardTime?: number
|
|
101
98
|
|
|
102
|
-
@Field({ nullable: true })
|
|
103
|
-
cycleTime?: number
|
|
104
|
-
|
|
105
|
-
@Field({ nullable: true })
|
|
106
|
-
tactTime?: number
|
|
107
|
-
|
|
108
|
-
@Field({ nullable: true })
|
|
109
|
-
leadTime?: number
|
|
110
|
-
|
|
111
99
|
@Field(type => ObjectRef, { nullable: true })
|
|
112
100
|
issuerRole?: ObjectRef
|
|
113
101
|
|
|
@@ -86,15 +86,6 @@ export class Activity {
|
|
|
86
86
|
@Field({ nullable: true })
|
|
87
87
|
standardTime?: number
|
|
88
88
|
|
|
89
|
-
@Field({ nullable: true })
|
|
90
|
-
cycleTime?: number
|
|
91
|
-
|
|
92
|
-
@Field({ nullable: true })
|
|
93
|
-
tactTime?: number
|
|
94
|
-
|
|
95
|
-
@Field({ nullable: true })
|
|
96
|
-
leadTime?: number
|
|
97
|
-
|
|
98
89
|
@Field(type => Role, { nullable: true })
|
|
99
90
|
issuerRole?: Role
|
|
100
91
|
|
|
@@ -110,6 +101,12 @@ export class Activity {
|
|
|
110
101
|
@Field({ nullable: true })
|
|
111
102
|
uiSource?: string
|
|
112
103
|
|
|
104
|
+
@Field({ nullable: true })
|
|
105
|
+
viewType?: ActivityUIType
|
|
106
|
+
|
|
107
|
+
@Field({ nullable: true })
|
|
108
|
+
viewSource?: string
|
|
109
|
+
|
|
113
110
|
@Field({ nullable: true })
|
|
114
111
|
reportType?: ActivityUIType
|
|
115
112
|
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const glob = require('glob')
|
|
2
|
-
const path = require('path')
|
|
3
|
-
|
|
4
|
-
export var migrations = []
|
|
5
|
-
|
|
6
|
-
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {
|
|
7
|
-
if (file.indexOf('index.js') !== -1) return
|
|
8
|
-
migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])
|
|
9
|
-
})
|