@things-factory/reference-app 5.0.0-alpha.22 → 5.0.0-alpha.25

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/_index.html CHANGED
@@ -73,6 +73,34 @@
73
73
  })
74
74
  }
75
75
  </script>
76
+ <script type="text/javascript">
77
+ !(function (a, b, c, d, e, f, g, h) {
78
+ ;(a.RaygunObject = e),
79
+ (a[e] =
80
+ a[e] ||
81
+ function () {
82
+ ;(a[e].o = a[e].o || []).push(arguments)
83
+ }),
84
+ (f = b.createElement(c)),
85
+ (g = b.getElementsByTagName(c)[0]),
86
+ (f.async = 1),
87
+ (f.src = d),
88
+ g.parentNode.insertBefore(f, g),
89
+ (h = a.onerror),
90
+ (a.onerror = function (b, c, d, f, g) {
91
+ h && h(b, c, d, f, g),
92
+ g || (g = new Error(b)),
93
+ (a[e].q = a[e].q || []),
94
+ a[e].q.push({
95
+ e: g
96
+ })
97
+ })
98
+ })(window, document, 'script', '//cdn.raygun.io/raygun4js/raygun.min.js', 'rg4js')
99
+ </script>
100
+ <script type="text/javascript">
101
+ rg4js('apiKey', 'VvPzjH0zKdOM0hynpycw')
102
+ rg4js('enableCrashReporting', true)
103
+ </script>
76
104
  </head>
77
105
 
78
106
  <body>
@@ -73,6 +73,17 @@ export default function bootstrap() {
73
73
  setAuthManagementMenus(credential)
74
74
 
75
75
  if (credential.owner) {
76
+ store.dispatch({
77
+ type: ADD_MORENDA,
78
+ morenda: {
79
+ icon: html` <mwc-icon>pending_actions</mwc-icon> `,
80
+ name: html` <i18n-msg msgid="title.work-shift"></i18n-msg> `,
81
+ action: () => {
82
+ navigate('work-shift')
83
+ }
84
+ }
85
+ })
86
+
76
87
  store.dispatch({
77
88
  type: ADD_MORENDA,
78
89
  morenda: {
@@ -3,5 +3,8 @@ module.exports = {
3
3
  awsAppSync: {
4
4
  apiUrl: '',
5
5
  apiKey: ''
6
+ },
7
+ raygun: {
8
+ apiKey: 'VvPzjH0zKdOM0hynpycw'
6
9
  }
7
10
  }
package/db.sqlite CHANGED
Binary file
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ require("./routes");
17
18
  __exportStar(require("./service"), exports);
18
19
  __exportStar(require("./migrations"), exports);
19
20
  __exportStar(require("./middlewares"), exports);
20
- require("./routes");
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,gDAA6B;AAE7B,oBAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAiB;AAEjB,4CAAyB;AACzB,+CAA4B;AAC5B,gDAA6B"}
@@ -5,11 +5,6 @@
5
5
  },
6
6
  "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
7
  "files": [
8
- {
9
- "date": 1648541764297,
10
- "name": "logs/application-2022-03-29-17.log",
11
- "hash": "c86a6fc116706f77099d4d008a6d2532"
12
- },
13
8
  {
14
9
  "date": 1648708055191,
15
10
  "name": "logs/application-2022-03-31-15.log",
@@ -19,6 +14,46 @@
19
14
  "date": 1648710443948,
20
15
  "name": "logs/application-2022-03-31-16.log",
21
16
  "hash": "40b47ee507212537cb4df08b721a160b"
17
+ },
18
+ {
19
+ "date": 1648723685413,
20
+ "name": "logs/application-2022-03-31-19.log",
21
+ "hash": "8e9e7cb3da008071a83a735f2909315f"
22
+ },
23
+ {
24
+ "date": 1648724439576,
25
+ "name": "logs/application-2022-03-31-20.log",
26
+ "hash": "57cfabdd1fc075a20b49699256a01e04"
27
+ },
28
+ {
29
+ "date": 1648774548332,
30
+ "name": "logs/application-2022-04-01-09.log",
31
+ "hash": "148c1388e2b32e60ba9821aee2189a92"
32
+ },
33
+ {
34
+ "date": 1648774960891,
35
+ "name": "logs/application-2022-04-01-10.log",
36
+ "hash": "7d98cf910391b88141e35a724a23ebbf"
37
+ },
38
+ {
39
+ "date": 1648787901068,
40
+ "name": "logs/application-2022-04-01-13.log",
41
+ "hash": "a181bcd1ac3a594adf74aa11413a37e8"
42
+ },
43
+ {
44
+ "date": 1648789304389,
45
+ "name": "logs/application-2022-04-01-14.log",
46
+ "hash": "3067898c7ed426b5c47d65442f7028f9"
47
+ },
48
+ {
49
+ "date": 1648796634176,
50
+ "name": "logs/application-2022-04-01-16.log",
51
+ "hash": "dc8dde429397c74da8b073f74b7c0a10"
52
+ },
53
+ {
54
+ "date": 1648800357414,
55
+ "name": "logs/application-2022-04-01-17.log",
56
+ "hash": "2493a8b82f1c7e7b304fdff6853a7433"
22
57
  }
23
58
  ],
24
59
  "hashType": "md5"
@@ -54,6 +54,31 @@
54
54
  "date": 1648710566461,
55
55
  "name": "logs/connections-2022-03-31-16.log",
56
56
  "hash": "b78dfaae1325736efeb6d37618f00da2"
57
+ },
58
+ {
59
+ "date": 1648723687387,
60
+ "name": "logs/connections-2022-03-31-19.log",
61
+ "hash": "62ebb078fab20bcac7857c4c02fb979c"
62
+ },
63
+ {
64
+ "date": 1648774550734,
65
+ "name": "logs/connections-2022-04-01-09.log",
66
+ "hash": "9a3a033585a3134bf5a69969b1143af5"
67
+ },
68
+ {
69
+ "date": 1648788027828,
70
+ "name": "logs/connections-2022-04-01-13.log",
71
+ "hash": "cff74b1b8f93bf278025f5c5f3346779"
72
+ },
73
+ {
74
+ "date": 1648796642090,
75
+ "name": "logs/connections-2022-04-01-16.log",
76
+ "hash": "8cef208a72cd0356ffd5ed418496cb47"
77
+ },
78
+ {
79
+ "date": 1648800359081,
80
+ "name": "logs/connections-2022-04-01-17.log",
81
+ "hash": "4273e164742e6c6eb336214a6bc6ce64"
57
82
  }
58
83
  ],
59
84
  "hashType": "md5"
@@ -0,0 +1,10 @@
1
+ 2022-03-31T10:48:10.279Z info: Database connection established
2
+ 2022-03-31T10:48:11.373Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
3
+ 2022-03-31T10:48:11.375Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
4
+ 2022-03-31T10:51:57.515Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
5
+ 2022-03-31T10:52:44.242Z error: SQLITE_CONSTRAINT: UNIQUE constraint failed: data_sensors.domain_id, data_sensors.name
6
+ 2022-03-31T10:52:55.240Z error: Variable "$ids" got invalid value null at "ids[0]"; Expected non-nullable type "String!" not to be null.
7
+ 2022-03-31T10:54:07.074Z error: TypeError: Cannot read property 'uploadFile' of undefined
8
+ 2022-03-31T10:54:07.471Z error: Only absolute URLs are supported
9
+ 2022-03-31T10:58:34.346Z error: TypeError: Cannot read property 'uploadFile' of undefined
10
+ 2022-03-31T10:58:34.411Z error: Only absolute URLs are supported
@@ -0,0 +1,2 @@
1
+ 2022-03-31T11:00:39.574Z error: TypeError: Cannot read property 'uploadFile' of undefined
2
+ 2022-03-31T11:00:39.613Z error: Only absolute URLs are supported
@@ -0,0 +1,7 @@
1
+ 2022-04-01T00:55:53.655Z info: Database connection established
2
+ 2022-04-01T00:55:54.828Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
3
+ 2022-04-01T00:55:54.831Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
4
+ 2022-04-01T00:56:46.136Z info: Database connection established
5
+ 2022-04-01T00:56:47.006Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2022-04-01T00:56:47.006Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
7
+ 2022-04-01T00:59:41.043Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
@@ -0,0 +1,8 @@
1
+ 2022-04-01T04:40:34.842Z info: Database connection established
2
+ 2022-04-01T04:40:36.469Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
3
+ 2022-04-01T04:40:36.469Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
4
+ 2022-04-01T04:50:51.395Z info: Database connection established
5
+ 2022-04-01T04:50:52.437Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2022-04-01T04:50:52.437Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
7
+ 2022-04-01T04:52:53.725Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
8
+ 2022-04-01T04:55:22.043Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
@@ -0,0 +1 @@
1
+ 2022-04-01T05:01:44.385Z error: domain is duplicated
@@ -0,0 +1,20 @@
1
+ 2022-04-01T07:04:05.482Z error: nonono
2
+ 2022-04-01T07:04:08.910Z info: Database connection established
3
+ 2022-04-01T07:04:09.980Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2022-04-01T07:04:09.981Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
+ 2022-04-01T07:07:06.324Z error: nonono
6
+ 2022-04-01T07:07:09.976Z info: Database connection established
7
+ 2022-04-01T07:07:11.183Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
8
+ 2022-04-01T07:07:11.184Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
9
+ 2022-04-01T07:08:01.955Z error: nonono
10
+ 2022-04-01T07:09:07.023Z error: nonono
11
+ 2022-04-01T07:09:56.839Z error: nonono
12
+ 2022-04-01T07:11:09.494Z error: nonono
13
+ 2022-04-01T07:11:43.901Z error: nonono
14
+ 2022-04-01T07:11:50.420Z info: Database connection established
15
+ 2022-04-01T07:11:51.563Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
16
+ 2022-04-01T07:11:51.566Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
17
+ 2022-04-01T07:12:59.852Z info: Database connection established
18
+ 2022-04-01T07:13:06.300Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
19
+ 2022-04-01T07:13:06.302Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
20
+ 2022-04-01T07:17:08.248Z error: domain is duplicated
@@ -0,0 +1,18 @@
1
+ 2022-04-01T08:06:01.918Z info: Database connection established
2
+ 2022-04-01T08:06:02.930Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
3
+ 2022-04-01T08:06:02.930Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
4
+ 2022-04-01T08:07:32.580Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
5
+ 2022-04-01T08:09:47.451Z info: Database connection established
6
+ 2022-04-01T08:09:48.338Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
7
+ 2022-04-01T08:09:48.338Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
8
+ 2022-04-01T08:10:49.613Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
9
+ 2022-04-01T08:27:13.628Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
10
+ 2022-04-01T08:40:36.142Z info: Database connection established
11
+ 2022-04-01T08:40:37.306Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
12
+ 2022-04-01T08:40:37.306Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
13
+ 2022-04-01T08:41:28.183Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
14
+ 2022-04-01T08:43:07.448Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
15
+ 2022-04-01T08:43:38.065Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
16
+ 2022-04-01T08:45:02.408Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
17
+ 2022-04-01T08:46:09.951Z error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
18
+ 2022-04-01T08:59:10.241Z error: SQLITE_CONSTRAINT: UNIQUE constraint failed: data_sets.domain_id, data_sets.name
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "5.0.0-alpha.22",
3
+ "version": "5.0.0-alpha.25",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -39,16 +39,16 @@
39
39
  "dependencies": {
40
40
  "@hatiolab/things-scene": "^2.7.34",
41
41
  "@material/mwc-checkbox": "^0.25.3",
42
- "@operato/data-grist": "1.0.0-alpha.45",
43
- "@operato/ghost-print": "1.0.0-alpha.45",
44
- "@operato/graphql": "1.0.0-alpha.45",
45
- "@operato/help": "1.0.0-alpha.45",
46
- "@operato/i18n": "1.0.0-alpha.45",
47
- "@operato/input": "1.0.0-alpha.45",
48
- "@operato/layout": "1.0.0-alpha.45",
49
- "@operato/ocr": "1.0.0-alpha.45",
50
- "@operato/popup": "1.0.0-alpha.45",
51
- "@operato/pull-to-refresh": "1.0.0-alpha.45",
42
+ "@operato/data-grist": "1.0.0-alpha.47",
43
+ "@operato/ghost-print": "1.0.0-alpha.47",
44
+ "@operato/graphql": "1.0.0-alpha.47",
45
+ "@operato/help": "1.0.0-alpha.47",
46
+ "@operato/i18n": "1.0.0-alpha.47",
47
+ "@operato/input": "1.0.0-alpha.47",
48
+ "@operato/layout": "1.0.0-alpha.47",
49
+ "@operato/ocr": "1.0.0-alpha.47",
50
+ "@operato/popup": "1.0.0-alpha.47",
51
+ "@operato/pull-to-refresh": "1.0.0-alpha.47",
52
52
  "@operato/scene-chartjs": "^1.0.0-alpha.4",
53
53
  "@operato/scene-clock": "^1.0.0-alpha.4",
54
54
  "@operato/scene-gauge": "^1.0.0-alpha.4",
@@ -59,37 +59,38 @@
59
59
  "@operato/scene-random": "^1.0.0-alpha.4",
60
60
  "@operato/scene-switch": "^1.0.0-alpha.4",
61
61
  "@operato/scene-tab": "^1.0.0-alpha.4",
62
- "@operato/shell": "1.0.0-alpha.45",
63
- "@operato/utils": "1.0.0-alpha.45",
64
- "@things-factory/api": "^5.0.0-alpha.22",
65
- "@things-factory/apptool-ui": "^5.0.0-alpha.22",
66
- "@things-factory/auth-ui": "^5.0.0-alpha.22",
67
- "@things-factory/board-service": "^5.0.0-alpha.22",
68
- "@things-factory/board-ui": "^5.0.0-alpha.22",
69
- "@things-factory/ccp": "^5.0.0-alpha.22",
70
- "@things-factory/context-ui": "^5.0.0-alpha.22",
71
- "@things-factory/dashboard": "^5.0.0-alpha.22",
72
- "@things-factory/dataset": "^5.0.0-alpha.22",
73
- "@things-factory/export-ui": "^5.0.0-alpha.22",
74
- "@things-factory/export-ui-excel": "^5.0.0-alpha.22",
75
- "@things-factory/grist-ui": "^5.0.0-alpha.22",
76
- "@things-factory/help": "^5.0.0-alpha.22",
77
- "@things-factory/integration-ui": "^5.0.0-alpha.22",
78
- "@things-factory/lite-menu": "^5.0.0-alpha.22",
79
- "@things-factory/more-ui": "^5.0.0-alpha.22",
80
- "@things-factory/notification": "^5.0.0-alpha.22",
81
- "@things-factory/oauth2-client": "^5.0.0-alpha.22",
82
- "@things-factory/print-ui": "^5.0.0-alpha.22",
83
- "@things-factory/qc": "^5.0.0-alpha.22",
84
- "@things-factory/resource-ui": "^5.0.0-alpha.22",
85
- "@things-factory/scene-form": "^5.0.0-alpha.22",
86
- "@things-factory/setting-base": "^5.0.0-alpha.22",
87
- "@things-factory/setting-ui": "^5.0.0-alpha.22",
88
- "@things-factory/shell": "^5.0.0-alpha.22",
89
- "@things-factory/system-ui": "^5.0.0-alpha.22"
62
+ "@operato/shell": "1.0.0-alpha.47",
63
+ "@operato/utils": "1.0.0-alpha.47",
64
+ "@things-factory/api": "^5.0.0-alpha.25",
65
+ "@things-factory/apptool-ui": "^5.0.0-alpha.25",
66
+ "@things-factory/auth-ui": "^5.0.0-alpha.25",
67
+ "@things-factory/board-service": "^5.0.0-alpha.25",
68
+ "@things-factory/board-ui": "^5.0.0-alpha.25",
69
+ "@things-factory/ccp": "^5.0.0-alpha.25",
70
+ "@things-factory/context-ui": "^5.0.0-alpha.25",
71
+ "@things-factory/dashboard": "^5.0.0-alpha.25",
72
+ "@things-factory/dataset": "^5.0.0-alpha.25",
73
+ "@things-factory/export-ui": "^5.0.0-alpha.25",
74
+ "@things-factory/export-ui-excel": "^5.0.0-alpha.25",
75
+ "@things-factory/grist-ui": "^5.0.0-alpha.25",
76
+ "@things-factory/help": "^5.0.0-alpha.25",
77
+ "@things-factory/integration-ui": "^5.0.0-alpha.25",
78
+ "@things-factory/lite-menu": "^5.0.0-alpha.25",
79
+ "@things-factory/more-ui": "^5.0.0-alpha.25",
80
+ "@things-factory/notification": "^5.0.0-alpha.25",
81
+ "@things-factory/oauth2-client": "^5.0.0-alpha.25",
82
+ "@things-factory/print-ui": "^5.0.0-alpha.25",
83
+ "@things-factory/qc": "^5.0.0-alpha.25",
84
+ "@things-factory/resource-ui": "^5.0.0-alpha.25",
85
+ "@things-factory/scene-form": "^5.0.0-alpha.25",
86
+ "@things-factory/setting-base": "^5.0.0-alpha.25",
87
+ "@things-factory/setting-ui": "^5.0.0-alpha.25",
88
+ "@things-factory/shell": "^5.0.0-alpha.25",
89
+ "@things-factory/system-ui": "^5.0.0-alpha.25",
90
+ "@things-factory/work-shift": "^5.0.0-alpha.25"
90
91
  },
91
92
  "devDependencies": {
92
- "@things-factory/builder": "^5.0.0-alpha.22"
93
+ "@things-factory/builder": "^5.0.0-alpha.25"
93
94
  },
94
- "gitHead": "8e06de9c59237f1800b2ff4f1c53162a0228342a"
95
+ "gitHead": "d4307f6a23ea8be3555a06f17182558b2b00c74d"
95
96
  }
package/server/index.ts CHANGED
@@ -1,5 +1,5 @@
1
+ import './routes'
2
+
1
3
  export * from './service'
2
4
  export * from './migrations'
3
5
  export * from './middlewares'
4
-
5
- import './routes'
@@ -1,3 +0,0 @@
1
- 2022-03-29T08:16:10.304Z info: Database connection established
2
- 2022-03-29T08:16:11.311Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
3
- 2022-03-29T08:16:11.311Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions