@things-factory/reference-app 6.0.0-alpha.6 → 6.0.0-alpha.7
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/Dockerfile +1 -45
- package/README.md +4 -0
- package/client/menu.js +5 -0
- package/client/pages/data-set/data-set-list-page.js +1 -1
- package/dist-server/controllers/create-data-sample-mockup.js +3 -3
- package/dist-server/controllers/create-data-sample-mockup.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +34 -33
- package/server/controllers/create-data-sample-mockup.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/reference-app",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.7",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -33,8 +33,9 @@
|
|
|
33
33
|
"migration:revert": "node ../../node_modules/typeorm/cli.js migration:revert",
|
|
34
34
|
"stop:dev": "kill $(lsof -t -i:3000,3001)",
|
|
35
35
|
"stop": "things-factory-stop reference-app",
|
|
36
|
-
"docker": "things-factory-dockerize hatiolab/reference-app:latest",
|
|
37
|
-
"docker:run": "docker run -it -p 4000:3000 hatiolab/reference-app:latest"
|
|
36
|
+
"docker": "things-factory-dockerize hatiolab/reference-app:latest hatiolab/reference-app:$npm_package_version linux/amd64",
|
|
37
|
+
"docker:run": "docker run --platform linux/amd64 -it -p 4000:3000 hatiolab/reference-app:latest",
|
|
38
|
+
"docker:push": "docker image push hatiolab/reference-app:latest && docker image push hatiolab/reference-app:$npm_package_version"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
41
|
"@material/mwc-checkbox": "^0.26.1",
|
|
@@ -62,39 +63,39 @@
|
|
|
62
63
|
"@operato/scene-tab": "^1.0.0",
|
|
63
64
|
"@operato/shell": "^1.0.1",
|
|
64
65
|
"@operato/utils": "^1.0.1",
|
|
65
|
-
"@things-factory/api": "^6.0.0-alpha.
|
|
66
|
-
"@things-factory/apptool-ui": "^6.0.0-alpha.
|
|
67
|
-
"@things-factory/attachment-base": "^6.0.0-alpha.
|
|
68
|
-
"@things-factory/auth-ui": "^6.0.0-alpha.
|
|
69
|
-
"@things-factory/board-service": "^6.0.0-alpha.
|
|
70
|
-
"@things-factory/board-ui": "^6.0.0-alpha.
|
|
71
|
-
"@things-factory/ccp": "^6.0.0-alpha.
|
|
72
|
-
"@things-factory/context-ui": "^6.0.0-alpha.
|
|
73
|
-
"@things-factory/dashboard": "^6.0.0-alpha.
|
|
74
|
-
"@things-factory/dataset": "^6.0.0-alpha.
|
|
75
|
-
"@things-factory/export-ui": "^6.0.0-alpha.
|
|
76
|
-
"@things-factory/export-ui-excel": "^6.0.0-alpha.
|
|
77
|
-
"@things-factory/grist-ui": "^6.0.0-alpha.
|
|
78
|
-
"@things-factory/help": "^6.0.0-alpha.
|
|
79
|
-
"@things-factory/integration-ui": "^6.0.0-alpha.
|
|
80
|
-
"@things-factory/lite-menu": "^6.0.0-alpha.
|
|
81
|
-
"@things-factory/more-ui": "^6.0.0-alpha.
|
|
82
|
-
"@things-factory/notification": "^6.0.0-alpha.
|
|
83
|
-
"@things-factory/oauth2-client": "^6.0.0-alpha.
|
|
84
|
-
"@things-factory/print-ui": "^6.0.0-alpha.
|
|
85
|
-
"@things-factory/product-base": "^6.0.0-alpha.
|
|
86
|
-
"@things-factory/qc": "^6.0.0-alpha.
|
|
87
|
-
"@things-factory/resource-ui": "^6.0.0-alpha.
|
|
88
|
-
"@things-factory/routing-base": "^6.0.0-alpha.
|
|
89
|
-
"@things-factory/setting-base": "^6.0.0-alpha.
|
|
90
|
-
"@things-factory/setting-ui": "^6.0.0-alpha.
|
|
91
|
-
"@things-factory/shell": "^6.0.0-alpha.
|
|
92
|
-
"@things-factory/system-ui": "^6.0.0-alpha.
|
|
93
|
-
"@things-factory/work-shift": "^6.0.0-alpha.
|
|
66
|
+
"@things-factory/api": "^6.0.0-alpha.7",
|
|
67
|
+
"@things-factory/apptool-ui": "^6.0.0-alpha.7",
|
|
68
|
+
"@things-factory/attachment-base": "^6.0.0-alpha.7",
|
|
69
|
+
"@things-factory/auth-ui": "^6.0.0-alpha.7",
|
|
70
|
+
"@things-factory/board-service": "^6.0.0-alpha.7",
|
|
71
|
+
"@things-factory/board-ui": "^6.0.0-alpha.7",
|
|
72
|
+
"@things-factory/ccp": "^6.0.0-alpha.7",
|
|
73
|
+
"@things-factory/context-ui": "^6.0.0-alpha.7",
|
|
74
|
+
"@things-factory/dashboard": "^6.0.0-alpha.7",
|
|
75
|
+
"@things-factory/dataset": "^6.0.0-alpha.7",
|
|
76
|
+
"@things-factory/export-ui": "^6.0.0-alpha.7",
|
|
77
|
+
"@things-factory/export-ui-excel": "^6.0.0-alpha.7",
|
|
78
|
+
"@things-factory/grist-ui": "^6.0.0-alpha.7",
|
|
79
|
+
"@things-factory/help": "^6.0.0-alpha.7",
|
|
80
|
+
"@things-factory/integration-ui": "^6.0.0-alpha.7",
|
|
81
|
+
"@things-factory/lite-menu": "^6.0.0-alpha.7",
|
|
82
|
+
"@things-factory/more-ui": "^6.0.0-alpha.7",
|
|
83
|
+
"@things-factory/notification": "^6.0.0-alpha.7",
|
|
84
|
+
"@things-factory/oauth2-client": "^6.0.0-alpha.7",
|
|
85
|
+
"@things-factory/print-ui": "^6.0.0-alpha.7",
|
|
86
|
+
"@things-factory/product-base": "^6.0.0-alpha.7",
|
|
87
|
+
"@things-factory/qc": "^6.0.0-alpha.7",
|
|
88
|
+
"@things-factory/resource-ui": "^6.0.0-alpha.7",
|
|
89
|
+
"@things-factory/routing-base": "^6.0.0-alpha.7",
|
|
90
|
+
"@things-factory/setting-base": "^6.0.0-alpha.7",
|
|
91
|
+
"@things-factory/setting-ui": "^6.0.0-alpha.7",
|
|
92
|
+
"@things-factory/shell": "^6.0.0-alpha.7",
|
|
93
|
+
"@things-factory/system-ui": "^6.0.0-alpha.7",
|
|
94
|
+
"@things-factory/work-shift": "^6.0.0-alpha.7",
|
|
94
95
|
"random-words": "^1.2.0"
|
|
95
96
|
},
|
|
96
97
|
"devDependencies": {
|
|
97
98
|
"@things-factory/builder": "^6.0.0-alpha.6"
|
|
98
99
|
},
|
|
99
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "3f2bc58876ef158759040c977b96b554c1220859"
|
|
100
101
|
}
|
|
@@ -216,6 +216,7 @@ async function _generateMockupData(dataSources: any, tx: EntityManager) {
|
|
|
216
216
|
name: dataSet.name,
|
|
217
217
|
description: dataSet.description,
|
|
218
218
|
useCase: dataSet.useCase,
|
|
219
|
+
type: dataSet.type,
|
|
219
220
|
dataSet: dataSet,
|
|
220
221
|
dataSetVersion: dataSet.version,
|
|
221
222
|
data: sample,
|
|
@@ -256,14 +257,14 @@ export async function generateMockupData(
|
|
|
256
257
|
const products = await tx.getRepository(Product).find({
|
|
257
258
|
select: ['id', 'name', 'description'],
|
|
258
259
|
where: {
|
|
259
|
-
domain
|
|
260
|
+
domain: { id: domain.id }
|
|
260
261
|
}
|
|
261
262
|
})
|
|
262
263
|
|
|
263
264
|
const operations = await tx.getRepository(Operation).find({
|
|
264
265
|
select: ['id', 'name', 'description'],
|
|
265
266
|
where: {
|
|
266
|
-
domain
|
|
267
|
+
domain: { id: domain.id }
|
|
267
268
|
}
|
|
268
269
|
})
|
|
269
270
|
|