@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/reference-app",
3
- "version": "6.0.0-alpha.6",
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.6",
66
- "@things-factory/apptool-ui": "^6.0.0-alpha.6",
67
- "@things-factory/attachment-base": "^6.0.0-alpha.6",
68
- "@things-factory/auth-ui": "^6.0.0-alpha.6",
69
- "@things-factory/board-service": "^6.0.0-alpha.6",
70
- "@things-factory/board-ui": "^6.0.0-alpha.6",
71
- "@things-factory/ccp": "^6.0.0-alpha.6",
72
- "@things-factory/context-ui": "^6.0.0-alpha.6",
73
- "@things-factory/dashboard": "^6.0.0-alpha.6",
74
- "@things-factory/dataset": "^6.0.0-alpha.6",
75
- "@things-factory/export-ui": "^6.0.0-alpha.6",
76
- "@things-factory/export-ui-excel": "^6.0.0-alpha.6",
77
- "@things-factory/grist-ui": "^6.0.0-alpha.6",
78
- "@things-factory/help": "^6.0.0-alpha.6",
79
- "@things-factory/integration-ui": "^6.0.0-alpha.6",
80
- "@things-factory/lite-menu": "^6.0.0-alpha.6",
81
- "@things-factory/more-ui": "^6.0.0-alpha.6",
82
- "@things-factory/notification": "^6.0.0-alpha.6",
83
- "@things-factory/oauth2-client": "^6.0.0-alpha.6",
84
- "@things-factory/print-ui": "^6.0.0-alpha.6",
85
- "@things-factory/product-base": "^6.0.0-alpha.6",
86
- "@things-factory/qc": "^6.0.0-alpha.6",
87
- "@things-factory/resource-ui": "^6.0.0-alpha.6",
88
- "@things-factory/routing-base": "^6.0.0-alpha.6",
89
- "@things-factory/setting-base": "^6.0.0-alpha.6",
90
- "@things-factory/setting-ui": "^6.0.0-alpha.6",
91
- "@things-factory/shell": "^6.0.0-alpha.6",
92
- "@things-factory/system-ui": "^6.0.0-alpha.6",
93
- "@things-factory/work-shift": "^6.0.0-alpha.6",
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": "633ba4d4b8dafbe71ff34a96c46a0db53867c4a2"
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