@things-factory/reference-app 5.0.13 → 6.0.0-alpha.1
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/client/pages/data-set/data-set-importer.js +1 -1
- package/client/pages/data-set/data-set-list-page.js +9 -0
- package/dist-server/controllers/create-data-sample-mockup.js +1 -0
- package/dist-server/controllers/create-data-sample-mockup.js.map +1 -1
- package/dist-server/service/data-sample-mockup/data-sample-mockup-mutation.js.map +1 -1
- package/dist-server/service/reference/reference-mutation.js.map +1 -1
- package/dist-server/service/reference/reference-query.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -33
- package/server/controllers/create-data-sample-mockup.ts +1 -0
- package/server/service/data-sample-mockup/data-sample-mockup-mutation.ts +4 -1
- package/server/service/reference/reference-mutation.ts +2 -2
- package/server/service/reference/reference-query.ts +2 -2
- package/translations/ko.json +8 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/reference-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-alpha.1",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"author": "heartyoh",
|
|
8
|
+
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
9
9
|
"description": "Applications that can be referenced for development",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public",
|
|
@@ -62,39 +62,39 @@
|
|
|
62
62
|
"@operato/scene-tab": "^1.0.0",
|
|
63
63
|
"@operato/shell": "^1.0.1",
|
|
64
64
|
"@operato/utils": "^1.0.1",
|
|
65
|
-
"@things-factory/api": "^
|
|
66
|
-
"@things-factory/apptool-ui": "^
|
|
67
|
-
"@things-factory/attachment-base": "^
|
|
68
|
-
"@things-factory/auth-ui": "^
|
|
69
|
-
"@things-factory/board-service": "^
|
|
70
|
-
"@things-factory/board-ui": "^
|
|
71
|
-
"@things-factory/ccp": "^
|
|
72
|
-
"@things-factory/context-ui": "^
|
|
73
|
-
"@things-factory/dashboard": "^
|
|
74
|
-
"@things-factory/dataset": "^
|
|
75
|
-
"@things-factory/export-ui": "^
|
|
76
|
-
"@things-factory/export-ui-excel": "^
|
|
77
|
-
"@things-factory/grist-ui": "^
|
|
78
|
-
"@things-factory/help": "^
|
|
79
|
-
"@things-factory/integration-ui": "^
|
|
80
|
-
"@things-factory/lite-menu": "^
|
|
81
|
-
"@things-factory/more-ui": "^
|
|
82
|
-
"@things-factory/notification": "^
|
|
83
|
-
"@things-factory/oauth2-client": "^
|
|
84
|
-
"@things-factory/print-ui": "^
|
|
85
|
-
"@things-factory/product-base": "^
|
|
86
|
-
"@things-factory/qc": "^
|
|
87
|
-
"@things-factory/resource-ui": "^
|
|
88
|
-
"@things-factory/routing-base": "^
|
|
89
|
-
"@things-factory/setting-base": "^
|
|
90
|
-
"@things-factory/setting-ui": "^
|
|
91
|
-
"@things-factory/shell": "^
|
|
92
|
-
"@things-factory/system-ui": "^
|
|
93
|
-
"@things-factory/work-shift": "^
|
|
65
|
+
"@things-factory/api": "^6.0.0-alpha.0",
|
|
66
|
+
"@things-factory/apptool-ui": "^6.0.0-alpha.0",
|
|
67
|
+
"@things-factory/attachment-base": "^6.0.0-alpha.0",
|
|
68
|
+
"@things-factory/auth-ui": "^6.0.0-alpha.1",
|
|
69
|
+
"@things-factory/board-service": "^6.0.0-alpha.0",
|
|
70
|
+
"@things-factory/board-ui": "^6.0.0-alpha.0",
|
|
71
|
+
"@things-factory/ccp": "^6.0.0-alpha.0",
|
|
72
|
+
"@things-factory/context-ui": "^6.0.0-alpha.0",
|
|
73
|
+
"@things-factory/dashboard": "^6.0.0-alpha.0",
|
|
74
|
+
"@things-factory/dataset": "^6.0.0-alpha.0",
|
|
75
|
+
"@things-factory/export-ui": "^6.0.0-alpha.0",
|
|
76
|
+
"@things-factory/export-ui-excel": "^6.0.0-alpha.0",
|
|
77
|
+
"@things-factory/grist-ui": "^6.0.0-alpha.0",
|
|
78
|
+
"@things-factory/help": "^6.0.0-alpha.0",
|
|
79
|
+
"@things-factory/integration-ui": "^6.0.0-alpha.0",
|
|
80
|
+
"@things-factory/lite-menu": "^6.0.0-alpha.0",
|
|
81
|
+
"@things-factory/more-ui": "^6.0.0-alpha.0",
|
|
82
|
+
"@things-factory/notification": "^6.0.0-alpha.0",
|
|
83
|
+
"@things-factory/oauth2-client": "^6.0.0-alpha.0",
|
|
84
|
+
"@things-factory/print-ui": "^6.0.0-alpha.0",
|
|
85
|
+
"@things-factory/product-base": "^6.0.0-alpha.0",
|
|
86
|
+
"@things-factory/qc": "^6.0.0-alpha.0",
|
|
87
|
+
"@things-factory/resource-ui": "^6.0.0-alpha.1",
|
|
88
|
+
"@things-factory/routing-base": "^6.0.0-alpha.0",
|
|
89
|
+
"@things-factory/setting-base": "^6.0.0-alpha.0",
|
|
90
|
+
"@things-factory/setting-ui": "^6.0.0-alpha.0",
|
|
91
|
+
"@things-factory/shell": "^6.0.0-alpha.0",
|
|
92
|
+
"@things-factory/system-ui": "^6.0.0-alpha.0",
|
|
93
|
+
"@things-factory/work-shift": "^6.0.0-alpha.0",
|
|
94
94
|
"random-words": "^1.2.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@things-factory/builder": "^
|
|
97
|
+
"@things-factory/builder": "^6.0.0-alpha.0"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "b978f296de5c8be4a3f3450929821e5554855438"
|
|
100
100
|
}
|
|
@@ -10,6 +10,7 @@ import { getWorkDateAndShift } from '@things-factory/work-shift'
|
|
|
10
10
|
|
|
11
11
|
import { DataSampleMockupInfo } from '../service/data-sample-mockup/data-sample-mockup-type'
|
|
12
12
|
|
|
13
|
+
process.env.TZ = 'UTC'
|
|
13
14
|
const randomWords = require('random-words')
|
|
14
15
|
|
|
15
16
|
const fillDataKeys = (dataKeySet, data) => {
|
|
@@ -10,7 +10,10 @@ export class DataSampleMockupMutation {
|
|
|
10
10
|
@Directive('@privilege(category: "data-sample", privilege: "mutation", domainOwnerGranted: true)')
|
|
11
11
|
@Directive('@transaction')
|
|
12
12
|
@Mutation(returns => Boolean, { description: 'To generate data sample one' })
|
|
13
|
-
async generateMockupData(
|
|
13
|
+
async generateMockupData(
|
|
14
|
+
@Arg('params') params: DataSampleMockupInfo,
|
|
15
|
+
@Ctx() context: ResolverContext
|
|
16
|
+
): Promise<Boolean> {
|
|
14
17
|
return await generateMockupData(params, context)
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -13,7 +13,7 @@ export class ReferenceMutation {
|
|
|
13
13
|
@Root() _,
|
|
14
14
|
@Arg('files', () => [GraphQLUpload])
|
|
15
15
|
files: FileUpload[],
|
|
16
|
-
@Ctx() context:
|
|
16
|
+
@Ctx() context: ResolverContext
|
|
17
17
|
): Promise<string> {
|
|
18
18
|
const { domain, user, tx } = context.state
|
|
19
19
|
const all = Promise.all(files)
|
|
@@ -34,7 +34,7 @@ export class ReferenceMutation {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@Mutation(returns => String, { description: 'To reference of pending job progress' })
|
|
37
|
-
async referencePendingJob(@Root() _, @Arg('tag') tag: string, @Ctx() context:
|
|
37
|
+
async referencePendingJob(@Root() _, @Arg('tag') tag: string, @Ctx() context: ResolverContext): Promise<string> {
|
|
38
38
|
const { domain } = context.state
|
|
39
39
|
|
|
40
40
|
for (var i = 0; i <= 100; i++) {
|
|
@@ -16,7 +16,7 @@ export class ReferenceQuery {
|
|
|
16
16
|
@Root() _,
|
|
17
17
|
@Arg('images', () => [GraphQLUpload])
|
|
18
18
|
images: FileUpload[],
|
|
19
|
-
@Ctx() context:
|
|
19
|
+
@Ctx() context: ResolverContext
|
|
20
20
|
): Promise<GraphQLScalarType[]> {
|
|
21
21
|
const { domain, user, tx } = context.state
|
|
22
22
|
const all = Promise.all(images)
|
|
@@ -60,7 +60,7 @@ export class ReferenceQuery {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@Query(returns => String, { description: 'To reference of pending job progress' })
|
|
63
|
-
async ocrPendingJob(@Root() _, @Arg('tag') tag: string, @Ctx() context:
|
|
63
|
+
async ocrPendingJob(@Root() _, @Arg('tag') tag: string, @Ctx() context: ResolverContext): Promise<string> {
|
|
64
64
|
const { domain } = context.state
|
|
65
65
|
|
|
66
66
|
for (var i = 0; i <= 100; i++) {
|
package/translations/ko.json
CHANGED
|
@@ -5,9 +5,16 @@
|
|
|
5
5
|
"field.active": "활성화",
|
|
6
6
|
"field.rate": "비율",
|
|
7
7
|
"field.color": "색상",
|
|
8
|
-
"field.role": "역할",
|
|
9
8
|
"field.dynamic_type": "변화 타입",
|
|
10
9
|
"field.dynamic_value": "변화타입 값",
|
|
10
|
+
"field.lot": "LOT",
|
|
11
|
+
"field.lot_id": "lot id",
|
|
12
|
+
"field.lot_no": "lot no",
|
|
13
|
+
"field.operation": "공정",
|
|
14
|
+
"field.operation_id": "공정 ID",
|
|
15
|
+
"field.product": "제품",
|
|
16
|
+
"field.role": "역할",
|
|
17
|
+
"field.work_date": "작업일",
|
|
11
18
|
"label.maximum value": "최대값",
|
|
12
19
|
"label.num_samples": "샘플 수",
|
|
13
20
|
"text.ox-data-report-grand-total": "총합계",
|