@things-factory/reference-app 4.0.11 → 4.0.12

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.
Files changed (31) hide show
  1. package/attachments/0598f578-ddd9-4b8c-8726-74ea5fe13778.jpeg +0 -0
  2. package/attachments/3c562896-8cc8-489b-8760-5109602b631a.jpeg +0 -0
  3. package/attachments/6309383a-7c72-4a2c-8fb9-b14fe4f1905a.jpeg +0 -0
  4. package/attachments/82214212-6296-4c73-812f-18a509368247.jpeg +0 -0
  5. package/attachments/8b82bd3d-10ed-4c9e-94d5-7f01400b1fe1.jpeg +0 -0
  6. package/attachments/f8a9e56b-6205-4dc8-991e-eec568403810.jpeg +0 -0
  7. package/client/components/camera-capturer.js +2 -2
  8. package/client/components/ocr-viewpart.js +7 -3
  9. package/client/pages/grist-mode-page.js +1 -1
  10. package/client/pages/label-scan-page.js +4 -5
  11. package/config.development.js +2 -2
  12. package/db.sqlite +0 -0
  13. package/dist-server/service/reference/lambda-call.js +14 -7
  14. package/dist-server/service/reference/lambda-call.js.map +1 -1
  15. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +9 -29
  16. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +15 -10
  17. package/logs/application-2021-12-06-18.log +9 -0
  18. package/logs/application-2021-12-06-19.log +12 -0
  19. package/logs/application-2021-12-07-18.log +5 -0
  20. package/logs/{connections-2021-11-23-17.log → connections-2021-12-06-18.log} +0 -0
  21. package/logs/{connections-2021-11-23-18.log → connections-2021-12-06-19.log} +0 -0
  22. package/logs/connections-2021-12-07-18.log +0 -0
  23. package/package.json +43 -42
  24. package/server/service/reference/lambda-call.ts +14 -7
  25. package/logs/application-2021-11-23-17.log +0 -4
  26. package/logs/application-2021-11-23-18.log +0 -27
  27. package/logs/application-2021-11-23-19.log +0 -8
  28. package/logs/application-2021-11-24-10.log +0 -14
  29. package/logs/application-2021-11-24-11.log +0 -3
  30. package/logs/application-2021-11-24-17.log +0 -4
  31. package/logs/application-2021-11-24-18.log +0 -4
@@ -1,4 +1,4 @@
1
- import { LitElement, css, html } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit-element'
2
2
 
3
3
  import { FileDropHelper } from '@things-factory/utils'
4
4
 
@@ -90,7 +90,7 @@ export class CameraCapturer extends LitElement {
90
90
  accept=${this.accept}
91
91
  ?multiple=${this.multiple}
92
92
  hidden
93
- capture="camera"
93
+ capture="environment"
94
94
  @change=${e => {
95
95
  const fileInput = e.currentTarget
96
96
 
@@ -72,10 +72,14 @@ class OCRViewPart extends LitElement {
72
72
 
73
73
  if (!response.errors) {
74
74
  const helper = this.shadowRoot.querySelector('ox-ocr-helper')
75
- RESULT = helper.result = response.data.ocrRequest.map(result => {
75
+ const result = response.data.ocrRequest
76
+ const ocrs = result.ocr.result
77
+ const barcodes = result.barcode.result
78
+
79
+ RESULT = helper.result = ocrs.map((result, idx) => {
76
80
  return {
77
- ...result,
78
- boundaries: JSON.parse(result.boundaries)
81
+ texts: [...ocrs[idx].texts, ...barcodes[idx].texts],
82
+ boundaries: [...JSON.parse(ocrs[idx].boundaries), ...JSON.parse(barcodes[idx].boundaries)]
79
83
  }
80
84
  })
81
85
  } else {
@@ -2,8 +2,8 @@ import '@operato/popup'
2
2
  import '@operato/data-grist'
3
3
 
4
4
  import { css, html } from 'lit-element'
5
-
6
5
  import { i18next, localize } from '@things-factory/i18n-base'
6
+
7
7
  import { PageView } from '@things-factory/shell'
8
8
 
9
9
  class GristModePage extends localize(i18next)(PageView) {
@@ -1,4 +1,5 @@
1
1
  import '@things-factory/barcode-ui'
2
+ import '@operato/input/dist/src/ox-input-barcode'
2
3
 
3
4
  import { css, html } from 'lit-element'
4
5
  import { connect } from 'pwa-helpers/connect-mixin.js'
@@ -51,10 +52,8 @@ class LabelScanPage extends connect(store)(PageView) {
51
52
  return html`
52
53
  <section>
53
54
  <h2>Barcode Scanable Input</h2>
54
- <p>
55
- barcode-scanable-input 컴포넌트는 카메라 입력을 통해서 바코드를 스캔하고, 스캔한 결과를 입력 필드에 적용한다.
56
- </p>
57
- <barcode-scanable-input
55
+ <p>ox-input-barcode 컴포넌트는 카메라 입력을 통해서 바코드를 스캔하고, 스캔한 결과를 입력 필드에 적용한다.</p>
56
+ <ox-input-barcode
58
57
  name="barcode-input"
59
58
  custom-input
60
59
  @keypress=${e => {
@@ -64,7 +63,7 @@ class LabelScanPage extends connect(store)(PageView) {
64
63
  console.log('input completed.', e.target.value)
65
64
  }
66
65
  }}
67
- ></barcode-scanable-input>
66
+ ></ox-input-barcode>
68
67
  </section>
69
68
 
70
69
  <section>
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  subdomain: 'system',
3
3
  awsAppSync: {
4
- apiUrl: 'https://x4l2mt6nxzbdjcrf2kfwclahdq.appsync-api.ap-northeast-2.amazonaws.com/graphql',
5
- apiKey: 'da2-rdg35mntfbcl5f46y22ulabbq4'
4
+ apiUrl: 'https://leqzefuvzfhvzloqchxtt37opu.appsync-api.ap-northeast-2.amazonaws.com/graphql',
5
+ apiKey: 'da2-lau46scnubb5pk3675e4shyky4'
6
6
  }
7
7
  }
package/db.sqlite CHANGED
Binary file
@@ -11,16 +11,23 @@ const appSyncConfig = env_1.config.get('awsAppSync');
11
11
  async function interpretImages(images) {
12
12
  const query = utils_1.gqlBuilder.jsonToGraphQLQuery({
13
13
  mutation: {
14
- upload: {
14
+ extractInfos: {
15
15
  __args: {
16
16
  images
17
17
  },
18
- success_count: true,
19
- failure_count: true,
20
- result: {
21
- key_values: true,
22
- boundaries: true,
23
- texts: true
18
+ ocr: {
19
+ success_count: true,
20
+ result: {
21
+ boundaries: true,
22
+ texts: true
23
+ }
24
+ },
25
+ barcode: {
26
+ success_count: true,
27
+ result: {
28
+ boundaries: true,
29
+ texts: true
30
+ }
24
31
  }
25
32
  }
26
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lambda-call.js","sourceRoot":"","sources":["../../../server/service/reference/lambda-call.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA8B;AAE9B,6CAA4C;AAC5C,iDAAkD;AAElD,MAAM,aAAa,GAAG,YAAM,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;AAEvC,KAAK,UAAU,eAAe,CAAC,MAAM;IAC1C,MAAM,KAAK,GAAG,kBAAU,CAAC,kBAAkB,CAAC;QAC1C,QAAQ,EAAE;YACR,MAAM,EAAE;gBACN,MAAM,EAAE;oBACN,MAAM;iBACP;gBACD,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,IAAI;gBACnB,MAAM,EAAE;oBACN,UAAU,EAAE,IAAI;oBAChB,UAAU,EAAE,IAAI;oBAChB,KAAK,EAAE,IAAI;iBACZ;aACF;SACF;KACF,CAAC,CAAA;IAEF,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;IACtC,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAK,EAAC,aAAa,CAAC,QAAQ,CAAC,EAAE;QACpD,MAAM,EAAE,MAAM;QACd,OAAO,EAAE;YACP,cAAc,EAAE,qBAAqB;YACrC,WAAW,EAAE,aAAa,CAAC,QAAQ,CAAC;SACrC;QACD,IAAI;KACL,CAAC,CAAA;IAEF,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAA;IACrC,OAAO,OAAO,CAAA;AAChB,CAAC;AA9BD,0CA8BC;AAED,cAAc;AACd,SAAS,cAAc,CAAC,MAAM;IAC5B,kDAAkD;IAClD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACjC,MAAM,IAAI,GAAG,EAAE,CAAA;QACf,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;YACnB,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;SACrC;QACD,OAAO,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACnC,CAAC,CAAC,CAAA;IAEF,4CAA4C;IAC5C,yBAAyB;IAEzB,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC;QAC1B,KAAK,EAAE;uBACY,SAAS;;;;;;;;;MAS1B;KACH,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC"}
1
+ {"version":3,"file":"lambda-call.js","sourceRoot":"","sources":["../../../server/service/reference/lambda-call.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA8B;AAE9B,6CAA4C;AAC5C,iDAAkD;AAElD,MAAM,aAAa,GAAG,YAAM,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;AAEvC,KAAK,UAAU,eAAe,CAAC,MAAM;IAC1C,MAAM,KAAK,GAAG,kBAAU,CAAC,kBAAkB,CAAC;QAC1C,QAAQ,EAAE;YACR,YAAY,EAAE;gBACZ,MAAM,EAAE;oBACN,MAAM;iBACP;gBACD,GAAG,EAAE;oBACH,aAAa,EAAE,IAAI;oBACnB,MAAM,EAAE;wBACN,UAAU,EAAE,IAAI;wBAChB,KAAK,EAAE,IAAI;qBACZ;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,IAAI;oBACnB,MAAM,EAAE;wBACN,UAAU,EAAE,IAAI;wBAChB,KAAK,EAAE,IAAI;qBACZ;iBACF;aACF;SACF;KACF,CAAC,CAAA;IAEF,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;IACtC,MAAM,QAAQ,GAAG,MAAM,IAAA,oBAAK,EAAC,aAAa,CAAC,QAAQ,CAAC,EAAE;QACpD,MAAM,EAAE,MAAM;QACd,OAAO,EAAE;YACP,cAAc,EAAE,qBAAqB;YACrC,WAAW,EAAE,aAAa,CAAC,QAAQ,CAAC;SACrC;QACD,IAAI;KACL,CAAC,CAAA;IAEF,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAA;IACrC,OAAO,OAAO,CAAA;AAChB,CAAC;AArCD,0CAqCC;AAED,cAAc;AACd,SAAS,cAAc,CAAC,MAAM;IAC5B,kDAAkD;IAClD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACjC,MAAM,IAAI,GAAG,EAAE,CAAA;QACf,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;YACnB,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;SACrC;QACD,OAAO,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACnC,CAAC,CAAC,CAAA;IAEF,4CAA4C;IAC5C,yBAAyB;IAEzB,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC;QAC1B,KAAK,EAAE;uBACY,SAAS;;;;;;;;;MAS1B;KACH,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -6,39 +6,19 @@
6
6
  "auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
7
7
  "files": [
8
8
  {
9
- "date": 1637657372344,
10
- "name": "logs/application-2021-11-23-17.log",
11
- "hash": "dc86852d895f59845837bbd599cbf0f5"
9
+ "date": 1638784227578,
10
+ "name": "logs/application-2021-12-06-18.log",
11
+ "hash": "54fabcf9798be8b227267b7e42863eea"
12
12
  },
13
13
  {
14
- "date": 1637658163098,
15
- "name": "logs/application-2021-11-23-18.log",
16
- "hash": "5edd4359fba7020d68c54d61c7924c89"
14
+ "date": 1638785300521,
15
+ "name": "logs/application-2021-12-06-19.log",
16
+ "hash": "b4b397e740c5c28a3ab8c801fd6658ff"
17
17
  },
18
18
  {
19
- "date": 1637662675502,
20
- "name": "logs/application-2021-11-23-19.log",
21
- "hash": "66b232de5182568fbed4e616336284d9"
22
- },
23
- {
24
- "date": 1637718646649,
25
- "name": "logs/application-2021-11-24-10.log",
26
- "hash": "a24d3e316c0f2c0fe79203f887f106df"
27
- },
28
- {
29
- "date": 1637719304663,
30
- "name": "logs/application-2021-11-24-11.log",
31
- "hash": "c1b88e83ad2d8075e425e90b9ee987b3"
32
- },
33
- {
34
- "date": 1637743385790,
35
- "name": "logs/application-2021-11-24-17.log",
36
- "hash": "40cfecbe3bd12f4776511745afa7e90c"
37
- },
38
- {
39
- "date": 1637746682152,
40
- "name": "logs/application-2021-11-24-18.log",
41
- "hash": "961d2868d028f84e9242c710ba84fde2"
19
+ "date": 1638870081374,
20
+ "name": "logs/application-2021-12-07-18.log",
21
+ "hash": "4cc64d074f8373ed8f05e6cabb419761"
42
22
  }
43
23
  ]
44
24
  }
@@ -5,16 +5,6 @@
5
5
  },
6
6
  "auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
7
7
  "files": [
8
- {
9
- "date": 1637657375300,
10
- "name": "logs/connections-2021-11-23-17.log",
11
- "hash": "5c7c352db426865b2909ff76f4c53b48"
12
- },
13
- {
14
- "date": 1637658270378,
15
- "name": "logs/connections-2021-11-23-18.log",
16
- "hash": "fec3a36eba3b70e383ae92114f38e143"
17
- },
18
8
  {
19
9
  "date": 1637662677621,
20
10
  "name": "logs/connections-2021-11-23-19.log",
@@ -34,6 +24,21 @@
34
24
  "date": 1637746683906,
35
25
  "name": "logs/connections-2021-11-24-18.log",
36
26
  "hash": "d15e7616daaabd2dc4b8fbd3dc37fa3d"
27
+ },
28
+ {
29
+ "date": 1638784229405,
30
+ "name": "logs/connections-2021-12-06-18.log",
31
+ "hash": "db425b25003b87e6bec1d94a748909d0"
32
+ },
33
+ {
34
+ "date": 1638785303642,
35
+ "name": "logs/connections-2021-12-06-19.log",
36
+ "hash": "ee793684ecc87d1b8e9f97b01c0bc30b"
37
+ },
38
+ {
39
+ "date": 1638870082934,
40
+ "name": "logs/connections-2021-12-07-18.log",
41
+ "hash": "577f2d2bc9e2ededbef8e499e292dcc1"
37
42
  }
38
43
  ]
39
44
  }
@@ -0,0 +1,9 @@
1
+ 2021-12-06T09:50:28.854Z info: File Storage is Ready.
2
+ 2021-12-06T09:50:31.136Z info: Database connection established
3
+ 2021-12-06T09:50:32.020Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2021-12-06T09:50:32.021Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
+ 2021-12-06T09:51:59.909Z error: Cannot return null for non-nullable field Query.ocrRequest.
6
+ 2021-12-06T09:53:38.961Z info: File Storage is Ready.
7
+ 2021-12-06T09:53:42.474Z info: Database connection established
8
+ 2021-12-06T09:53:43.432Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
9
+ 2021-12-06T09:53:43.432Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -0,0 +1,12 @@
1
+ 2021-12-06T10:08:22.719Z info: File Storage is Ready.
2
+ 2021-12-06T10:08:26.386Z info: Database connection established
3
+ 2021-12-06T10:08:27.523Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2021-12-06T10:08:27.525Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
+ 2021-12-06T10:08:55.224Z error: Cannot return null for non-nullable field Query.ocrRequest.
6
+ 2021-12-06T10:09:44.525Z error: Cannot return null for non-nullable field Query.ocrRequest.
7
+ 2021-12-06T10:10:45.038Z error: Cannot return null for non-nullable field Query.ocrRequest.
8
+ 2021-12-06T10:12:39.788Z info: File Storage is Ready.
9
+ 2021-12-06T10:12:43.278Z info: Database connection established
10
+ 2021-12-06T10:12:44.229Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
11
+ 2021-12-06T10:12:44.232Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
12
+ 2021-12-06T10:16:03.993Z error: Cannot return null for non-nullable field Query.ocrRequest.
@@ -0,0 +1,5 @@
1
+ 2021-12-07T09:41:22.237Z info: File Storage is Ready.
2
+ 2021-12-07T09:41:24.285Z info: Database connection established
3
+ 2021-12-07T09:41:24.877Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
+ 2021-12-07T09:41:24.878Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
+ 2021-12-07T09:54:16.589Z error: Cannot return null for non-nullable field Query.ocrRequest.
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "4.0.11",
3
+ "version": "4.0.12",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -37,50 +37,51 @@
37
37
  "docker:run": "docker run -it -p 4000:3000 hatiolab/reference-app:latest"
38
38
  },
39
39
  "dependencies": {
40
- "@hatiolab/things-scene": "^2.7.21",
40
+ "@hatiolab/things-scene": "^2.7.24",
41
41
  "@material/mwc-checkbox": "^0.25.3",
42
- "@operato/data-grist": "^0.2.35",
43
- "@operato/ghost-print": "^0.2.35",
44
- "@operato/ocr": "^0.2.35",
45
- "@operato/popup": "^0.2.35",
46
- "@operato/pull-to-refresh": "^0.2.35",
47
- "@operato/scene-chartjs": "^0.0.10",
48
- "@operato/scene-clock": "^0.0.10",
49
- "@operato/scene-progressbar": "^0.0.10",
50
- "@operato/scene-random": "^0.0.10",
51
- "@operato/scene-switch": "^0.0.10",
52
- "@things-factory/api": "^4.0.11",
53
- "@things-factory/apptool-ui": "^4.0.11",
54
- "@things-factory/auth-ui": "^4.0.11",
55
- "@things-factory/board-service": "^4.0.11",
56
- "@things-factory/board-ui": "^4.0.11",
57
- "@things-factory/context-ui": "^4.0.11",
58
- "@things-factory/dashboard": "^4.0.11",
59
- "@things-factory/export-ui": "^4.0.11",
60
- "@things-factory/export-ui-excel": "^4.0.11",
61
- "@things-factory/grist-ui": "^4.0.11",
62
- "@things-factory/help": "^4.0.11",
63
- "@things-factory/i18n-ui": "^4.0.11",
64
- "@things-factory/integration-ui": "^4.0.11",
65
- "@things-factory/lite-menu": "^4.0.11",
66
- "@things-factory/more-ui": "^4.0.11",
67
- "@things-factory/notification": "^4.0.11",
68
- "@things-factory/oauth2-client": "^4.0.11",
69
- "@things-factory/print-ui": "^4.0.11",
70
- "@things-factory/resource-ui": "^4.0.11",
71
- "@things-factory/scene-form": "^4.0.11",
72
- "@things-factory/scene-gauge": "^4.0.11",
42
+ "@operato/data-grist": "^0.2.43",
43
+ "@operato/ghost-print": "^0.2.43",
44
+ "@operato/input": "^0.2.43",
45
+ "@operato/ocr": "^0.2.43",
46
+ "@operato/popup": "^0.2.43",
47
+ "@operato/pull-to-refresh": "^0.2.43",
48
+ "@operato/scene-chartjs": "^0.0.15",
49
+ "@operato/scene-clock": "^0.0.15",
50
+ "@operato/scene-progressbar": "^0.0.15",
51
+ "@operato/scene-random": "^0.0.15",
52
+ "@operato/scene-switch": "^0.0.15",
53
+ "@things-factory/api": "^4.0.12",
54
+ "@things-factory/apptool-ui": "^4.0.12",
55
+ "@things-factory/auth-ui": "^4.0.12",
56
+ "@things-factory/board-service": "^4.0.12",
57
+ "@things-factory/board-ui": "^4.0.12",
58
+ "@things-factory/context-ui": "^4.0.12",
59
+ "@things-factory/dashboard": "^4.0.12",
60
+ "@things-factory/export-ui": "^4.0.12",
61
+ "@things-factory/export-ui-excel": "^4.0.12",
62
+ "@things-factory/grist-ui": "^4.0.12",
63
+ "@things-factory/help": "^4.0.12",
64
+ "@things-factory/i18n-ui": "^4.0.12",
65
+ "@things-factory/integration-ui": "^4.0.12",
66
+ "@things-factory/lite-menu": "^4.0.12",
67
+ "@things-factory/more-ui": "^4.0.12",
68
+ "@things-factory/notification": "^4.0.12",
69
+ "@things-factory/oauth2-client": "^4.0.12",
70
+ "@things-factory/print-ui": "^4.0.12",
71
+ "@things-factory/resource-ui": "^4.0.12",
72
+ "@things-factory/scene-form": "^4.0.12",
73
+ "@things-factory/scene-gauge": "^4.0.12",
73
74
  "@things-factory/scene-half-roundrect": "^4.0.9",
74
- "@things-factory/scene-indoor-map": "^4.0.11",
75
- "@things-factory/scene-news-ticker": "^4.0.11",
76
- "@things-factory/scene-tab": "^4.0.11",
77
- "@things-factory/setting-base": "^4.0.11",
78
- "@things-factory/setting-ui": "^4.0.11",
79
- "@things-factory/shell": "^4.0.11",
80
- "@things-factory/system-ui": "^4.0.11"
75
+ "@things-factory/scene-indoor-map": "^4.0.12",
76
+ "@things-factory/scene-news-ticker": "^4.0.12",
77
+ "@things-factory/scene-tab": "^4.0.12",
78
+ "@things-factory/setting-base": "^4.0.12",
79
+ "@things-factory/setting-ui": "^4.0.12",
80
+ "@things-factory/shell": "^4.0.12",
81
+ "@things-factory/system-ui": "^4.0.12"
81
82
  },
82
83
  "devDependencies": {
83
- "@things-factory/builder": "^4.0.11"
84
+ "@things-factory/builder": "^4.0.12"
84
85
  },
85
- "gitHead": "47745d8cdbe99f11d8d69bbcab3901c9771525a0"
86
+ "gitHead": "29d59ff95fcb473cb43c6f798cd04f3ec3a779a0"
86
87
  }
@@ -8,16 +8,23 @@ const appSyncConfig = config.get('awsAppSync')
8
8
  export async function interpretImages(images) {
9
9
  const query = gqlBuilder.jsonToGraphQLQuery({
10
10
  mutation: {
11
- upload: {
11
+ extractInfos: {
12
12
  __args: {
13
13
  images
14
14
  },
15
- success_count: true,
16
- failure_count: true,
17
- result: {
18
- key_values: true,
19
- boundaries: true,
20
- texts: true
15
+ ocr: {
16
+ success_count: true,
17
+ result: {
18
+ boundaries: true,
19
+ texts: true
20
+ }
21
+ },
22
+ barcode: {
23
+ success_count: true,
24
+ result: {
25
+ boundaries: true,
26
+ texts: true
27
+ }
21
28
  }
22
29
  }
23
30
  }
@@ -1,4 +0,0 @@
1
- 2021-11-23T08:49:34.265Z info: File Storage is Ready.
2
- 2021-11-23T08:49:37.260Z info: Database connection established
3
- 2021-11-23T08:49:38.181Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-11-23T08:49:38.182Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -1,27 +0,0 @@
1
- 2021-11-23T09:02:43.092Z error: Cannot query field "myFavorites" on type "Query".
2
- 2021-11-23T09:03:05.183Z error: debug is not defined
3
- 2021-11-23T09:04:29.750Z info: File Storage is Ready.
4
- 2021-11-23T09:04:32.361Z info: Database connection established
5
- 2021-11-23T09:04:33.241Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
- 2021-11-23T09:04:33.242Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
7
- 2021-11-23T09:08:35.639Z info: File Storage is Ready.
8
- 2021-11-23T09:08:37.977Z info: Database connection established
9
- 2021-11-23T09:08:38.902Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
10
- 2021-11-23T09:08:38.903Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
11
- 2021-11-23T09:11:15.322Z info: File Storage is Ready.
12
- 2021-11-23T09:11:17.984Z info: Database connection established
13
- 2021-11-23T09:11:19.023Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
14
- 2021-11-23T09:11:19.023Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
15
- 2021-11-23T09:23:35.017Z info: File Storage is Ready.
16
- 2021-11-23T09:23:37.487Z info: Database connection established
17
- 2021-11-23T09:23:38.429Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
18
- 2021-11-23T09:23:38.431Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
19
- 2021-11-23T09:30:35.903Z info: File Storage is Ready.
20
- 2021-11-23T09:30:38.329Z info: Database connection established
21
- 2021-11-23T09:30:39.274Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
22
- 2021-11-23T09:30:39.275Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
23
- 2021-11-23T09:31:35.431Z error: Cannot return null for non-nullable field Query.ocrRequest.
24
- 2021-11-23T09:33:01.773Z info: File Storage is Ready.
25
- 2021-11-23T09:33:04.409Z info: Database connection established
26
- 2021-11-23T09:33:05.293Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
27
- 2021-11-23T09:33:05.294Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -1,8 +0,0 @@
1
- 2021-11-23T10:17:57.053Z info: File Storage is Ready.
2
- 2021-11-23T10:17:59.801Z info: Database connection established
3
- 2021-11-23T10:18:01.245Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-11-23T10:18:01.246Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-11-23T10:20:33.720Z info: File Storage is Ready.
6
- 2021-11-23T10:20:36.552Z info: Database connection established
7
- 2021-11-23T10:20:37.706Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
8
- 2021-11-23T10:20:37.706Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -1,14 +0,0 @@
1
- 2021-11-24T01:50:47.608Z info: File Storage is Ready.
2
- 2021-11-24T01:50:49.893Z info: Database connection established
3
- 2021-11-24T01:50:50.541Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-11-24T01:50:50.541Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
5
- 2021-11-24T01:54:42.921Z info: File Storage is Ready.
6
- 2021-11-24T01:54:45.288Z info: Database connection established
7
- 2021-11-24T01:54:46.068Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
8
- 2021-11-24T01:54:46.069Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
9
- 2021-11-24T01:55:25.596Z error: Variable "$images" of required type "[Upload!]!" was not provided.
10
- 2021-11-24T01:58:02.219Z info: File Storage is Ready.
11
- 2021-11-24T01:58:04.694Z info: Database connection established
12
- 2021-11-24T01:58:05.494Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
13
- 2021-11-24T01:58:05.494Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
14
- 2021-11-24T01:59:18.226Z error: Variable "$images" of required type "[Upload!]!" was not provided.
@@ -1,3 +0,0 @@
1
- 2021-11-24T02:01:44.658Z error: Variable "$images" of required type "[Upload!]!" was not provided.
2
- 2021-11-24T02:04:02.404Z error: Variable "$images" of required type "[Upload!]!" was not provided.
3
- 2021-11-24T02:04:29.276Z error: Variable "$images" of required type "[Upload!]!" was not provided.
@@ -1,4 +0,0 @@
1
- 2021-11-24T08:56:54.576Z info: File Storage is Ready.
2
- 2021-11-24T08:56:56.816Z info: Database connection established
3
- 2021-11-24T08:56:57.460Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-11-24T08:56:57.460Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions
@@ -1,4 +0,0 @@
1
- 2021-11-24T09:38:03.063Z info: File Storage is Ready.
2
- 2021-11-24T09:38:05.568Z info: Database connection established
3
- 2021-11-24T09:38:06.226Z info: 🚀 Server ready at http://0.0.0.0:3000/graphql
4
- 2021-11-24T09:38:06.226Z info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/subscriptions