@things-factory/reference-app 6.0.77 → 6.0.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/installer/config.production.js +12 -0
- package/installer/docker-compose.yml +9 -0
- package/package.json +35 -35
- package/schema.gql +2 -2
|
@@ -36,5 +36,17 @@ module.exports = {
|
|
|
36
36
|
password: 'abcd1234',
|
|
37
37
|
synchronize: true,
|
|
38
38
|
logging: true
|
|
39
|
+
},
|
|
40
|
+
scheduler: {
|
|
41
|
+
/* Name to be used for setting client's "application" properties when registering a schedule */
|
|
42
|
+
application: 'reference-app',
|
|
43
|
+
/* Base endpoint to be used for setting "callback" properties when registering a schedule */
|
|
44
|
+
callbackBase: 'http://app:3000',
|
|
45
|
+
/*
|
|
46
|
+
Scheduler service endpoint
|
|
47
|
+
caution) endpoint for "localhost" has some problem.
|
|
48
|
+
https://github.com/node-fetch/node-fetch/issues/1624
|
|
49
|
+
*/
|
|
50
|
+
endpoint: 'http://scheduler:9902'
|
|
39
51
|
}
|
|
40
52
|
}
|
|
@@ -19,6 +19,7 @@ services:
|
|
|
19
19
|
depends_on:
|
|
20
20
|
- postgres
|
|
21
21
|
- mosquitto
|
|
22
|
+
- scheduler
|
|
22
23
|
postgres:
|
|
23
24
|
image: postgres:13.2
|
|
24
25
|
container_name: db-reference-app
|
|
@@ -35,3 +36,11 @@ services:
|
|
|
35
36
|
ports:
|
|
36
37
|
- 1883:1883
|
|
37
38
|
- 9001:9001
|
|
39
|
+
|
|
40
|
+
scheduler:
|
|
41
|
+
image: hatiolab/schevt-mgr:latest
|
|
42
|
+
container_name: scheduler
|
|
43
|
+
volumes:
|
|
44
|
+
- ./config.yaml:/app/config.yaml
|
|
45
|
+
ports:
|
|
46
|
+
- '9902:9902'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/reference-app",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.78",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -66,43 +66,43 @@
|
|
|
66
66
|
"@operato/scene-tab": "^1.0.0",
|
|
67
67
|
"@operato/shell": "^1.0.1",
|
|
68
68
|
"@operato/utils": "^1.0.1",
|
|
69
|
-
"@things-factory/api": "^6.0.
|
|
70
|
-
"@things-factory/apptool-ui": "^6.0.
|
|
71
|
-
"@things-factory/attachment-base": "^6.0.
|
|
72
|
-
"@things-factory/auth-ui": "^6.0.
|
|
73
|
-
"@things-factory/board-service": "^6.0.
|
|
74
|
-
"@things-factory/board-ui": "^6.0.
|
|
75
|
-
"@things-factory/ccp": "^6.0.
|
|
76
|
-
"@things-factory/contact": "^6.0.
|
|
77
|
-
"@things-factory/context-ui": "^6.0.
|
|
78
|
-
"@things-factory/dashboard": "^6.0.
|
|
79
|
-
"@things-factory/dataset": "^6.0.
|
|
80
|
-
"@things-factory/export-ui": "^6.0.
|
|
81
|
-
"@things-factory/export-ui-excel": "^6.0.
|
|
82
|
-
"@things-factory/grist-ui": "^6.0.
|
|
83
|
-
"@things-factory/help": "^6.0.
|
|
84
|
-
"@things-factory/integration-ui": "^6.0.
|
|
85
|
-
"@things-factory/lite-menu": "^6.0.
|
|
86
|
-
"@things-factory/more-ui": "^6.0.
|
|
87
|
-
"@things-factory/notification": "^6.0.
|
|
88
|
-
"@things-factory/oauth2-client": "^6.0.
|
|
89
|
-
"@things-factory/organization": "^6.0.
|
|
90
|
-
"@things-factory/print-ui": "^6.0.
|
|
91
|
-
"@things-factory/product-base": "^6.0.
|
|
92
|
-
"@things-factory/qc": "^6.0.
|
|
93
|
-
"@things-factory/resource-ui": "^6.0.
|
|
94
|
-
"@things-factory/routing-base": "^6.0.
|
|
95
|
-
"@things-factory/setting-base": "^6.0.
|
|
96
|
-
"@things-factory/setting-ui": "^6.0.
|
|
97
|
-
"@things-factory/shell": "^6.0.
|
|
98
|
-
"@things-factory/system-ui": "^6.0.
|
|
99
|
-
"@things-factory/web-editor": "^6.0.
|
|
100
|
-
"@things-factory/work-shift": "^6.0.
|
|
69
|
+
"@things-factory/api": "^6.0.78",
|
|
70
|
+
"@things-factory/apptool-ui": "^6.0.78",
|
|
71
|
+
"@things-factory/attachment-base": "^6.0.78",
|
|
72
|
+
"@things-factory/auth-ui": "^6.0.78",
|
|
73
|
+
"@things-factory/board-service": "^6.0.78",
|
|
74
|
+
"@things-factory/board-ui": "^6.0.78",
|
|
75
|
+
"@things-factory/ccp": "^6.0.78",
|
|
76
|
+
"@things-factory/contact": "^6.0.78",
|
|
77
|
+
"@things-factory/context-ui": "^6.0.78",
|
|
78
|
+
"@things-factory/dashboard": "^6.0.78",
|
|
79
|
+
"@things-factory/dataset": "^6.0.78",
|
|
80
|
+
"@things-factory/export-ui": "^6.0.78",
|
|
81
|
+
"@things-factory/export-ui-excel": "^6.0.78",
|
|
82
|
+
"@things-factory/grist-ui": "^6.0.78",
|
|
83
|
+
"@things-factory/help": "^6.0.78",
|
|
84
|
+
"@things-factory/integration-ui": "^6.0.78",
|
|
85
|
+
"@things-factory/lite-menu": "^6.0.78",
|
|
86
|
+
"@things-factory/more-ui": "^6.0.78",
|
|
87
|
+
"@things-factory/notification": "^6.0.78",
|
|
88
|
+
"@things-factory/oauth2-client": "^6.0.78",
|
|
89
|
+
"@things-factory/organization": "^6.0.78",
|
|
90
|
+
"@things-factory/print-ui": "^6.0.78",
|
|
91
|
+
"@things-factory/product-base": "^6.0.78",
|
|
92
|
+
"@things-factory/qc": "^6.0.78",
|
|
93
|
+
"@things-factory/resource-ui": "^6.0.78",
|
|
94
|
+
"@things-factory/routing-base": "^6.0.78",
|
|
95
|
+
"@things-factory/setting-base": "^6.0.78",
|
|
96
|
+
"@things-factory/setting-ui": "^6.0.78",
|
|
97
|
+
"@things-factory/shell": "^6.0.78",
|
|
98
|
+
"@things-factory/system-ui": "^6.0.78",
|
|
99
|
+
"@things-factory/web-editor": "^6.0.78",
|
|
100
|
+
"@things-factory/work-shift": "^6.0.78",
|
|
101
101
|
"@tinymce/tinymce-webcomponent": "^2.0.1",
|
|
102
102
|
"random-words": "^1.2.0"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@things-factory/builder": "^6.0.
|
|
105
|
+
"@things-factory/builder": "^6.0.78"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "6d1b076baae617ee1c1df25e176c21d7b1a18e61"
|
|
108
108
|
}
|
package/schema.gql
CHANGED
|
@@ -5038,7 +5038,7 @@ type Query {
|
|
|
5038
5038
|
"""
|
|
5039
5039
|
To fetch a work date and work shift for given datetime
|
|
5040
5040
|
"""
|
|
5041
|
-
getWorkDateAndShift(dateTime: Timestamp!):
|
|
5041
|
+
getWorkDateAndShift(dateTime: Timestamp!): WorkShiftInfo!
|
|
5042
5042
|
grantedRoles: [GrantedRole!]!
|
|
5043
5043
|
grantingRoles(customerId: String!): [GrantedRole!]!
|
|
5044
5044
|
|
|
@@ -5794,7 +5794,7 @@ type UserRole {
|
|
|
5794
5794
|
name: String
|
|
5795
5795
|
}
|
|
5796
5796
|
|
|
5797
|
-
type
|
|
5797
|
+
type WorkShiftInfo {
|
|
5798
5798
|
workDate: String!
|
|
5799
5799
|
workShift: String!
|
|
5800
5800
|
}
|