@things-factory/reference-app 4.0.8 → 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.
- package/attachments/{b2331d78-f55d-4b9e-8aae-34f80c1252b3.jpeg → 02d2c4ea-147a-411e-a34e-5dbd96eea3f8.jpeg} +0 -0
- package/attachments/05284c84-1330-4b54-a698-bcd3020d9d90.png +0 -0
- package/attachments/0554c8c2-aefe-4ce5-b030-94c643976577.jpeg +0 -0
- package/attachments/0598f578-ddd9-4b8c-8726-74ea5fe13778.jpeg +0 -0
- package/attachments/09fd9f4d-1909-4fbb-b5bd-b3604dd44d83.pdf +0 -0
- package/attachments/0c759fb7-b15a-4eba-b55f-1c97c9320e12.jpeg +0 -0
- package/attachments/0ca13d71-3df4-4932-b834-0057a6454776.jpeg +0 -0
- package/attachments/0fe94be8-c2bf-44ea-b8bd-3b2e5d65cb07.png +0 -0
- package/attachments/105aff20-62d2-41ae-a9ab-8ea1eb03a064.jpeg +0 -0
- package/attachments/124d6ef2-6ab9-4963-8b0b-5f8607b79a5b.png +0 -0
- package/attachments/1e647161-13ff-4540-9115-0fe383860516.jpeg +0 -0
- package/attachments/1e7fec94-e08f-468e-af89-e108904e4401.png +0 -0
- package/attachments/1ee44a5b-b946-4609-bf09-bc4f741325f1.png +0 -0
- package/attachments/2b1cfec6-4d1c-4130-8ac5-5dffa64ac4d5.png +0 -0
- package/attachments/3a328a7f-b7fd-4ea1-9c4c-005e24e1e897.png +0 -0
- package/attachments/3c562896-8cc8-489b-8760-5109602b631a.jpeg +0 -0
- package/attachments/426bd3d4-aaec-496c-8d20-a84692d574dc.jpeg +0 -0
- package/attachments/4412432a-b79b-49b8-81b2-af6b927703b4.png +0 -0
- package/attachments/5427ece0-13b3-48a8-ac14-b25dcfae3cd9.jpeg +0 -0
- package/attachments/56aad6a3-e99d-4186-985b-d8d3ccd4ab68.jpeg +0 -0
- package/attachments/5a4d23c9-6fa0-43ce-87d1-27fbb252438d.jpeg +0 -0
- package/attachments/5a564ed4-1858-4656-8d88-b6a490bc0309.jpeg +0 -0
- package/attachments/5d34b97a-61b9-472f-a88f-636b85c1e45c.jpeg +0 -0
- package/attachments/5dc41b95-4970-4221-accb-86afa94b4f3b.png +0 -0
- package/attachments/60ca3d2a-cfa4-4f14-b952-a96be9f64f96.png +0 -0
- package/attachments/62232866-32ef-43fe-b84b-993d074c173d.png +0 -0
- package/attachments/6309383a-7c72-4a2c-8fb9-b14fe4f1905a.jpeg +0 -0
- package/attachments/63142721-6030-4889-b52d-d21e8ddd52cd.jpeg +0 -0
- package/attachments/6a284a40-de4a-4e79-adbb-fe2ac6f123d4.png +0 -0
- package/attachments/6b1839fa-098b-4881-9d26-f950282f0ee7.pdf +0 -0
- package/attachments/6cb59217-600f-47a1-91fc-299c27e5e248.png +0 -0
- package/attachments/6da5c66a-08a0-409b-8f35-1a953cf44c3f.jpeg +0 -0
- package/attachments/70bd97b9-0cfe-4c43-9cba-3c0dbedfff70.jpeg +0 -0
- package/attachments/71a71839-5521-456b-8eee-134b5f0a6c1c.jpeg +0 -0
- package/attachments/7f4f78ba-bfe5-466c-88b4-b31824263b84.png +0 -0
- package/attachments/82214212-6296-4c73-812f-18a509368247.jpeg +0 -0
- package/attachments/8488bba6-353a-4f77-84be-1526c92f7b7f.png +0 -0
- package/attachments/891d2e46-a01d-408d-b715-4513fcb52240.jpeg +0 -0
- package/attachments/8a240663-dffe-4c20-a6a0-51e4561c2037.png +0 -0
- package/attachments/8b82bd3d-10ed-4c9e-94d5-7f01400b1fe1.jpeg +0 -0
- package/attachments/8cee2fe7-1bb9-48b1-b759-1efd0164b8c9.jpeg +0 -0
- package/attachments/90ea058c-ed47-4802-a694-bce0e86c217f.png +0 -0
- package/attachments/92be3157-e6b1-4104-b86c-4e510895a71e.jpeg +0 -0
- package/attachments/93a9638b-34b6-4625-9a23-dc088d5ed615.jpeg +0 -0
- package/attachments/9c92e78d-afcb-4d62-b51e-f73f15211314.png +0 -0
- package/attachments/a64d028e-7e33-4455-a1c4-f294250b5650.png +0 -0
- package/attachments/b1008da4-9e8a-4360-9600-2aeca8e4503a.pdf +0 -0
- package/attachments/b174f420-3f33-463a-8efd-6abad2f709fe.jpeg +0 -0
- package/attachments/b27517ec-f2ac-4735-9d8a-353af2fa5f67.png +0 -0
- package/attachments/b3b99d3b-6e95-4ac8-a349-b4bcf5d78dcd.png +0 -0
- package/attachments/b6c2d24d-8f18-4925-bc2d-4d3bffad4a02.png +0 -0
- package/attachments/b8a5d357-e196-4c32-8059-6d9b94470672.jpeg +0 -0
- package/attachments/b93a5d06-7395-4409-8680-64e8fa9542bb.jpeg +0 -0
- package/attachments/bacf8fe2-a3ef-433b-a00d-f154378db75a.png +0 -0
- package/attachments/c47bf238-810c-489b-bc2e-c942033b2ac3.png +0 -0
- package/attachments/c5953130-2bc7-4f73-ab00-835e10658027.png +0 -0
- package/attachments/c66e06b2-32d5-416e-bc8a-c057cf938491.png +0 -0
- package/attachments/c7e77261-cfa2-48e8-8135-383cb0487901.jpeg +0 -0
- package/attachments/cc7892b9-fca6-49f9-a10b-3febeef83fd2.png +0 -0
- package/attachments/d179dc14-baf5-4549-b79e-580ce6b9b897.jpeg +0 -0
- package/attachments/d5ac154b-8c03-4456-9296-e9ce0b24c9ac.png +0 -0
- package/attachments/dbf0459a-4f1a-44c6-a4fc-d73adc3e4cfa.png +0 -0
- package/attachments/de9e417e-9636-41c7-8e27-49ff2c759ddb.jpeg +0 -0
- package/attachments/e5bfd176-32ac-48c0-ad7c-d65478950e28.jpeg +0 -0
- package/attachments/e6fcee2a-cdda-4131-8f9c-90b1fa06a4f4.png +0 -0
- package/attachments/f8a9e56b-6205-4dc8-991e-eec568403810.jpeg +0 -0
- package/client/components/camera-capturer.js +2 -2
- package/client/components/ocr-viewpart.js +7 -3
- package/client/pages/context-menu-page.js +5 -6
- package/client/pages/grist-mode-page.js +1 -1
- package/client/pages/label-scan-page.js +4 -5
- package/config.development.js +7 -0
- package/db.sqlite +0 -0
- package/dist-server/service/reference/lambda-call.js +14 -7
- package/dist-server/service/reference/lambda-call.js.map +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +9 -9
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +29 -9
- package/logs/application-2021-12-06-18.log +9 -0
- package/logs/application-2021-12-06-19.log +12 -0
- package/logs/application-2021-12-07-18.log +5 -0
- package/logs/{connections-2021-11-29-20.log → connections-2021-11-23-19.log} +0 -0
- package/logs/{connections-2021-11-29-21.log → connections-2021-11-24-10.log} +0 -0
- package/logs/{connections-2021-11-29-23.log → connections-2021-11-24-17.log} +0 -0
- package/logs/connections-2021-11-24-18.log +0 -0
- package/logs/connections-2021-12-06-18.log +0 -0
- package/logs/connections-2021-12-06-19.log +0 -0
- package/logs/connections-2021-12-07-18.log +0 -0
- package/package.json +44 -43
- package/server/service/reference/lambda-call.ts +14 -7
- package/attachments/03176f83-6c50-4850-ab43-e6765b259afd.png +0 -0
- package/attachments/2b963bee-3ca5-4a86-95b7-e557b7eba8eb.html +0 -5695
- package/attachments/4880d6fb-7045-4c50-bfb9-daf83ecf6cc1.png +0 -0
- package/attachments/5bcde766-32e5-4cdc-ad9b-9e0139c122f4.txt +0 -673
- package/attachments/6f9d5fd4-6546-40c6-90c0-0207233ad12f.json +0 -145
- package/attachments/a1aaa123-4c8d-485e-9975-5b5b4add6a30.png +0 -0
- package/attachments/b9a3e2fd-fe83-4394-8fc8-66478443f65e.png +0 -0
- package/attachments/be3d2cd7-d236-45af-b512-4f141c8e2cfc.pptx +0 -0
- package/attachments/d211b356-1619-4f2b-9b10-ed46b4fd82de.png +0 -0
- package/attachments/d445e1a1-a048-49d7-96f2-284ac00fe96a.png +0 -0
- package/attachments/d462b12b-d519-4d6c-861a-f56d2494b135.png +0 -0
- package/attachments/f63986fb-bef5-4b55-a342-6fd4abf26739.png +0 -0
- package/logs/application-2021-11-29-20.log +0 -21
- package/logs/application-2021-11-29-21.log +0 -4
- package/logs/application-2021-11-29-23.log +0 -4
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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="
|
|
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
|
-
|
|
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
|
-
...
|
|
78
|
-
boundaries: JSON.parse(
|
|
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 {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import '@material/mwc-icon'
|
|
2
2
|
import '@operato/popup'
|
|
3
3
|
|
|
4
|
-
import { css, html } from 'lit-element'
|
|
5
|
-
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
6
|
-
|
|
7
|
-
import { PopupMenu } from '@operato/popup'
|
|
8
4
|
import { PageView, store } from '@things-factory/shell'
|
|
5
|
+
import { css, html } from 'lit-element'
|
|
9
6
|
|
|
7
|
+
import { OxPopupMenu } from '@operato/popup'
|
|
8
|
+
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
10
9
|
import { referencePageStyles } from './reference-page-styles'
|
|
11
10
|
|
|
12
11
|
class ContextMenuPage extends connect(store)(PageView) {
|
|
@@ -36,7 +35,7 @@ class ContextMenuPage extends connect(store)(PageView) {
|
|
|
36
35
|
return html`
|
|
37
36
|
<p>여기서는 Context Menu 등의 용도로 사용될 수 있는 팝업 메뉴 기능을 설명합니다.</p>
|
|
38
37
|
<p>
|
|
39
|
-
|
|
38
|
+
OxPopupMenu는 미리 hidden element로 위치하고 있을 수도 있으며, 동적으로 생성될 수도 있습니다. 여기서는 미리
|
|
40
39
|
페이지내에 엘리먼트를 위치시키고 open method로 활성화 시키는 방법을 예시합니다. 데스크톱 브라우저 페이지 내 어느
|
|
41
40
|
위치에서든 마우스 우측버튼을 클릭하고, 모바일 디바이스에서는 탭을 오래누르면(longpress) 팝업메뉴가 동작합니다.
|
|
42
41
|
</p>
|
|
@@ -47,7 +46,7 @@ class ContextMenuPage extends connect(store)(PageView) {
|
|
|
47
46
|
this.addEventListener('contextmenu', e => {
|
|
48
47
|
e.preventDefault()
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
OxPopupMenu.open({
|
|
51
50
|
template: html`
|
|
52
51
|
<ox-popup-menuitem
|
|
53
52
|
label="article - click me"
|
|
@@ -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
|
-
|
|
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
|
-
></
|
|
66
|
+
></ox-input-barcode>
|
|
68
67
|
</section>
|
|
69
68
|
|
|
70
69
|
<section>
|
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
|
-
|
|
14
|
+
extractInfos: {
|
|
15
15
|
__args: {
|
|
16
16
|
images
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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,
|
|
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,19 +6,19 @@
|
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/application-2021-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1638784227578,
|
|
10
|
+
"name": "logs/application-2021-12-06-18.log",
|
|
11
|
+
"hash": "54fabcf9798be8b227267b7e42863eea"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"date":
|
|
15
|
-
"name": "logs/application-2021-
|
|
16
|
-
"hash": "
|
|
14
|
+
"date": 1638785300521,
|
|
15
|
+
"name": "logs/application-2021-12-06-19.log",
|
|
16
|
+
"hash": "b4b397e740c5c28a3ab8c801fd6658ff"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"date":
|
|
20
|
-
"name": "logs/application-2021-
|
|
21
|
-
"hash": "
|
|
19
|
+
"date": 1638870081374,
|
|
20
|
+
"name": "logs/application-2021-12-07-18.log",
|
|
21
|
+
"hash": "4cc64d074f8373ed8f05e6cabb419761"
|
|
22
22
|
}
|
|
23
23
|
]
|
|
24
24
|
}
|
|
@@ -6,19 +6,39 @@
|
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/connections-2021-11-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1637662677621,
|
|
10
|
+
"name": "logs/connections-2021-11-23-19.log",
|
|
11
|
+
"hash": "14ae42756cf908019578a5abf71f16e9"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"date":
|
|
15
|
-
"name": "logs/connections-2021-11-
|
|
16
|
-
"hash": "
|
|
14
|
+
"date": 1637718648504,
|
|
15
|
+
"name": "logs/connections-2021-11-24-10.log",
|
|
16
|
+
"hash": "66b33a27ee085f2cffc70d3aae95d503"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"date":
|
|
20
|
-
"name": "logs/connections-2021-11-
|
|
21
|
-
"hash": "
|
|
19
|
+
"date": 1637744215431,
|
|
20
|
+
"name": "logs/connections-2021-11-24-17.log",
|
|
21
|
+
"hash": "97d71fe2626ad99010a7fffa667966b2"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"date": 1637746683906,
|
|
25
|
+
"name": "logs/connections-2021-11-24-18.log",
|
|
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"
|
|
22
42
|
}
|
|
23
43
|
]
|
|
24
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
|
|
File without changes
|
|
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": "4.0.
|
|
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.
|
|
40
|
+
"@hatiolab/things-scene": "^2.7.24",
|
|
41
41
|
"@material/mwc-checkbox": "^0.25.3",
|
|
42
|
-
"@operato/data-grist": "^0.2.
|
|
43
|
-
"@operato/ghost-print": "0.2.
|
|
44
|
-
"@operato/
|
|
45
|
-
"@operato/
|
|
46
|
-
"@operato/
|
|
47
|
-
"@operato/
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@things-factory/
|
|
54
|
-
"@things-factory/
|
|
55
|
-
"@things-factory/
|
|
56
|
-
"@things-factory/
|
|
57
|
-
"@things-factory/
|
|
58
|
-
"@things-factory/
|
|
59
|
-
"@things-factory/
|
|
60
|
-
"@things-factory/
|
|
61
|
-
"@things-factory/
|
|
62
|
-
"@things-factory/
|
|
63
|
-
"@things-factory/
|
|
64
|
-
"@things-factory/
|
|
65
|
-
"@things-factory/
|
|
66
|
-
"@things-factory/
|
|
67
|
-
"@things-factory/
|
|
68
|
-
"@things-factory/
|
|
69
|
-
"@things-factory/
|
|
70
|
-
"@things-factory/
|
|
71
|
-
"@things-factory/
|
|
72
|
-
"@things-factory/scene-
|
|
73
|
-
"@things-factory/scene-
|
|
74
|
-
"@things-factory/scene-
|
|
75
|
-
"@things-factory/scene-
|
|
76
|
-
"@things-factory/scene-
|
|
77
|
-
"@things-factory/
|
|
78
|
-
"@things-factory/setting-
|
|
79
|
-
"@things-factory/
|
|
80
|
-
"@things-factory/
|
|
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",
|
|
74
|
+
"@things-factory/scene-half-roundrect": "^4.0.9",
|
|
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.
|
|
84
|
+
"@things-factory/builder": "^4.0.12"
|
|
84
85
|
},
|
|
85
|
-
"gitHead": "
|
|
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
|
-
|
|
11
|
+
extractInfos: {
|
|
12
12
|
__args: {
|
|
13
13
|
images
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
}
|
|
Binary file
|